/* === BASE STYLES === */:root {
  --primary: #d4145a;
  --primary-dark: #a00e45;
  --secondary: #1a1a2e;
  --accent: #f39c12;
  --dark: #0f0f1e;
  --light: #ffffff;
  --gray: #94a3b8;
  --success: #10b981;
  --gradient-primary: linear-gradient(135deg, #d4145a 0%, #a00e45 100%);
  --gradient-accent: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
  --shadow-sm: 0 2px 8px rgba(212, 20, 90, 0.1);
  --shadow-md: 0 4px 16px rgba(212, 20, 90, 0.2);
  --shadow-lg: 0 8px 32px rgba(212, 20, 90, 0.3);
  --shadow-xl: 0 16px 48px rgba(212, 20, 90, 0.4);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--light);
  background: var(--dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1rem;
  color: var(--gray);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  min-width: 44px;
  min-height: 44px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  color: var(--light);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--light);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--dark);
}

.card {
  background: rgba(26, 26, 46, 0.6);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(212, 20, 90, 0.2);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.content-image {
  max-width: 100%;
  margin: 2rem auto;
  text-align: center;
}

.content-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.content-image.portrait img {
  max-height: 350px;
  max-width: 300px;
}

.content-image.wide img {
  max-height: 300px;
  max-width: 100%;
}

.content-image figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.7;
  font-style: italic;
}

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

table {
  width: 100%;
  background: rgba(26, 26, 46, 0.6);
  border-collapse: collapse;
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(212, 20, 90, 0.2);
}

table th {
  background: var(--gradient-primary);
  font-weight: 600;
  color: var(--light);
}

/* === LAYOUT STYLES === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 4px 20px rgba(212, 20, 90, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo img {
  max-height: 55px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(212, 20, 90, 0.5));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: var(--primary);
}

.nav-list a:hover::after {
  width: 100%;
}

.cta-button {
  white-space: nowrap;
}

.site-footer {
  background: var(--gradient-dark);
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--primary);
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--gray);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 20, 90, 0.2);
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .header-content {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    display: flex;
    order: 3;
  }

  .main-nav {
    order: 4;
    width: 100%;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(15, 15, 30, 0.98);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-list.active {
    right: 0;
  }

  .cta-button {
    order: 2;
    max-width: 200px;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-list {
    gap: 1.5rem;
  }

  .nav-list a {
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .header-content {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    display: flex;
    order: 3;
  }

  .main-nav {
    order: 4;
    width: 100%;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(15, 15, 30, 0.98);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-list.active {
    right: 0;
  }

  .cta-button {
    order: 2;
    max-width: 200px;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  section {
    padding: 4rem 0;
  }

  .hero-section {
    min-height: auto;
    padding: 6rem 0;
  }

  .hero-section::before,
  .hero-section::after {
    width: 300px;
    height: 300px;
  }

  .table-of-contents ul {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding: 2rem;
  }

  .timeline-item::before {
    left: -8px;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 3px var(--dark), 0 0 0 6px var(--primary);
  }

  .cards-grid-3 .container > article {
    grid-template-columns: 1fr;
  }

  .bonus-card,
  .game-category,
  .feature-item,
  .highlight-box,
  .provider-card {
    padding: 2rem;
  }

  .accordion-header {
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
  }

  .accordion-header::after {
    right: 1.5rem;
    font-size: 1.5rem;
  }

  .accordion-body {
    padding: 0 1.5rem;
  }

  .accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.5rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}