@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');

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

:root {
  --bg-burgundy: #3d0f1f;
  --bg-dark: #1a0a10;
  --text-white: #ffffff;
  --accent-red: #c41e3a;
  --accent-red-dark: #9a1830;
  --gradient-border: linear-gradient(135deg, #c41e3a, #ff6b6b, #c41e3a);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Lora', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-burgundy);
  color: var(--text-white);
  line-height: 1.7;
  font-size: 16px;
}

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

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

a:hover {
  color: #ff6b6b;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

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

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

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

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

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

.header-nav a {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

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

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

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

.header-contacts a:hover {
  color: var(--accent-red);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent-red);
  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;
  background: var(--bg-dark);
  padding: 20px;
  border-top: 1px solid var(--accent-red);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}

.mobile-menu nav a {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(196, 30, 58, 0.3);
}

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

/* Banner */
.banner {
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 16, 0.55);
}

.banner h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  padding: 0 20px;
}

/* Sections */
section {
  padding: 70px 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(--text-white);
  position: relative;
}

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

/* Drop cap */
.drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 3.5em;
  line-height: 0.8;
  padding-right: 10px;
  padding-top: 5px;
  color: var(--accent-red);
  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;
  gap: 30px;
  padding: 20px 0;
  align-items: flex-end;
}

.strength-card {
  flex: 0 1 280px;
  background: var(--bg-dark);
  padding: 30px 25px;
  border-radius: 12px;
  position: relative;
  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(-35px); }
.strength-card:nth-child(4) { transform: translateY(5px); }
.strength-card:nth-child(5) { transform: translateY(-15px); }

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

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

.strength-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.service-card {
  background: var(--bg-dark);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--accent-red);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

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

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

.service-card .price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-red);
  margin: 10px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent-red);
  color: var(--text-white);
  border: 2px solid var(--accent-red);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn:hover {
  background: transparent;
  color: var(--accent-red);
}

/* Achievements */
.achievements {
  background: var(--bg-dark);
  padding: 50px 30px;
  border: 2px solid var(--accent-red);
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
  margin-top: 30px;
}

.achievement-item .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-red);
  display: block;
}

.achievement-item .label {
  font-size: 0.95rem;
  margin-top: 5px;
}

/* Forms */
.form-section {
  max-width: 700px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-dark);
  border: 2px solid var(--accent-red);
  border-radius: 6px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.3);
}

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

.form-message {
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
  display: none;
  font-size: 0.95rem;
}

.form-message.success {
  display: block;
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #90ee90;
}

.form-message.error {
  display: block;
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #ffaaaa;
}

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

.faq-item {
  border: 2px solid var(--accent-red);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--bg-dark);
  border: none;
  color: var(--text-white);
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-red);
  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;
  background: rgba(26, 10, 16, 0.5);
}

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

.faq-answer p {
  padding: 15px 20px;
  font-size: 0.95rem;
}

/* About - mission sticks */
.mission-sticks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.mission-stick {
  flex: 1 1 200px;
  max-width: 280px;
  background: var(--bg-dark);
  border-left: 4px solid var(--accent-red);
  padding: 25px 20px;
  box-shadow: var(--shadow);
}

.mission-stick h3 {
  color: var(--accent-red);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* 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(--accent-red);
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
  padding-left: 25px;
}

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

.timeline-item .year {
  font-family: var(--font-heading);
  color: var(--accent-red);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

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

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

/* Bonus program */
.bonus-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.bonus-icon {
  text-align: center;
  flex: 0 1 150px;
}

.bonus-icon .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2rem;
}

.bonus-icon h4 {
  color: var(--accent-red);
  font-size: 0.95rem;
}

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

.advantages-list li {
  padding: 15px 20px;
  margin-bottom: 10px;
  background: var(--bg-dark);
  border-left: 4px solid var(--accent-red);
  font-size: 0.95rem;
}

.advantages-list li strong {
  color: var(--accent-red);
  font-family: var(--font-heading);
}

/* Guarantees block */
.guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.guarantee-item {
  background: var(--bg-dark);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--accent-red);
}

.guarantee-item h4 {
  color: var(--accent-red);
  margin-bottom: 10px;
}

/* How to order */
.how-to-order {
  background: var(--bg-dark);
  padding: 40px;
  border-radius: 10px;
  border: 2px solid var(--accent-red);
  max-width: 900px;
  margin: 30px auto;
}

.how-to-order ol {
  padding-left: 25px;
  margin-top: 15px;
}

.how-to-order li {
  margin-bottom: 10px;
}

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

.contact-info-block {
  background: var(--bg-dark);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid var(--accent-red);
}

.contact-info-block p,
.contact-info-block a {
  margin-bottom: 12px;
  display: block;
  color: var(--text-white);
}

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

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

.legal-content h2 {
  margin: 25px 0 15px;
  font-size: 1.3rem;
  color: var(--accent-red);
}

.legal-content p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.8;
}

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

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

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

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

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

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
}

.footer-nav a {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  white-space: nowrap;
}

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

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(196, 30, 58, 0.4);
  padding-top: 25px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  justify-content: space-between;
  align-items: center;
}

.footer-legal a {
  color: var(--accent-red);
  font-size: 0.82rem;
  white-space: nowrap;
}

.footer-company {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  color: var(--accent-red);
  font-size: 0.85rem;
}

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

  .burger {
    display: flex;
  }

  .header-nav {
    display: none;
  }

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

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

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

  .footer-logo {
    justify-self: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-contacts {
    justify-self: center;
  }

  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
}

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

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

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

  section {
    padding: 50px 0;
  }
}
