@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg-terracotta: #6b3a2e;
  --bg-dark: #1a1a1a;
  --text-white: #ffffff;
  --gold: #d4af37;
  --gold-light: #e8c547;
  --gold-dark: #b8962e;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --gradient-border: linear-gradient(135deg, #d4af37, #f5e6a3, #b8962e, #d4af37);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  background-color: var(--bg-terracotta);
  color: var(--text-white);
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.header-logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.header-nav {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.header-nav a {
  color: var(--text-white);
  font-size: 0.9rem;
  white-space: nowrap;
  font-family: 'Cinzel', serif;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--gold);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-contacts p,
.header-contacts a,
.header-contacts span {
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--text-white);
}

.header-contacts a {
  color: var(--gold);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26, 26, 26, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-white);
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
}

.mobile-menu .mobile-contacts {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu .mobile-contacts p,
.mobile-menu .mobile-contacts a {
  color: var(--gold);
  font-size: 1rem;
}

/* Banner */
.page-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.3), rgba(107, 58, 46, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  padding: 0 20px;
}

/* Sections */
section {
  padding: 60px 0;
}

section:nth-child(even) {
  background: var(--bg-dark);
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 40px;
  color: var(--gold);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gradient-border);
  margin: 12px auto 0;
}

/* Drop cap */
.drop-cap::first-letter {
  float: left;
  font-family: 'Cinzel', serif;
  font-size: 3.5em;
  line-height: 0.8;
  padding-right: 10px;
  color: var(--gold);
  font-weight: 700;
}

.text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.text-block p {
  margin-bottom: 1.2em;
}

/* Strengths - staggered horizontal cards */
.strengths-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  padding: 20px 0;
}

.strength-card {
  position: relative;
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 28px 24px;
  width: 260px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.strength-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: var(--gradient-border);
  z-index: -1;
}

.strength-card:nth-child(1) { transform: translateY(-20px); }
.strength-card:nth-child(2) { transform: translateY(10px); }
.strength-card:nth-child(3) { transform: translateY(-10px); }
.strength-card:nth-child(4) { transform: translateY(15px); }

.strength-card:hover {
  transform: translateY(-5px) !important;
}

.strength-card h3 {
  color: var(--text-white);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.strength-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid var(--gold);
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: transform 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-card-body {
  padding: 20px;
}

.service-card-body h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-price {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
  text-align: center;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
}

/* Advantages stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold);
  border-radius: 8px;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Forms */
.form-section {
  background: var(--bg-dark);
}

.booking-form,
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-family: 'Lora', serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  padding: 14px 18px;
  border-radius: 6px;
  margin-top: 16px;
  display: none;
  text-align: center;
}

.form-message.success {
  display: block;
  background: rgba(46, 125, 50, 0.3);
  border: 1px solid #4caf50;
  color: #a5d6a7;
}

.form-message.error {
  display: block;
  background: rgba(198, 40, 40, 0.3);
  border: 1px solid #ef5350;
  color: #ef9a9a;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gold);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: rgba(212, 175, 55, 0.08);
  border: none;
  color: var(--text-white);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 16px 24px;
  font-size: 0.95rem;
}

/* About page */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}

.about-photos img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gold);
}

.mission-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.mission-sticker {
  background: var(--bg-dark);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 24px 32px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.mission-sticker h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-terracotta);
}

.timeline-year {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

/* Top advantages list */
.advantages-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.advantages-list li {
  padding: 14px 0 14px 36px;
  position: relative;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.advantages-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.1rem;
}

/* Bonus program */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.bonus-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-dark);
  border-radius: 8px;
  border: 1px solid var(--gold);
}

.bonus-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.bonus-item h4 {
  color: var(--gold);
  font-size: 0.95rem;
}

/* Guarantees */
.guarantee-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
}

.guarantee-box h4 {
  color: var(--gold);
  margin-bottom: 10px;
}

/* Contact page */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-details p,
.contact-details a {
  margin-bottom: 12px;
  display: block;
}

.contact-details h3 {
  color: var(--gold);
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--gold);
  padding: 50px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-white);
  font-size: 0.9rem;
}

.footer-contacts p,
.footer-contacts a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-white);
}

.footer-contacts a {
  color: var(--gold);
}

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 24px;
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-legal-links a {
  color: var(--gold);
}

.footer-company-info {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h1 {
  color: var(--gold);
  margin-bottom: 30px;
}

.legal-content h2 {
  color: var(--gold-light);
  margin: 28px 0 14px;
  font-size: 1.2rem;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

/* Casino page */
.casino-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.casino-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gold);
}

.casino-content {
  max-width: 900px;
  margin: 0 auto;
}

/* How to order steps */
.order-steps {
  counter-reset: step;
  list-style: none;
  max-width: 700px;
  margin: 30px auto;
}

.order-steps li {
  counter-increment: step;
  padding: 16px 0 16px 50px;
  position: relative;
  border-left: 2px solid var(--gold);
  margin-left: 20px;
}

.order-steps li::before {
  content: counter(step);
  position: absolute;
  left: -20px;
  top: 14px;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-contacts {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-nav {
    display: none;
  }

  .strengths-grid {
    flex-direction: column;
    align-items: center;
  }

  .strength-card:nth-child(n) {
    transform: none;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-nav {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 280px;
  }

  .about-photos {
    grid-template-columns: 1fr;
  }

  .mission-stickers {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 40px 0;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}
