/* --- BUNDLED: variables.css --- */
:root {
  /* Primary Brand */
  --color-primary:        #0A1628;   /* Deep Navy — основной фон */
  --color-secondary:      #102040;   /* Dark Blue — вторичный фон */
  --color-accent:         #C8A84B;   /* Warm Gold — акценты, кнопки */
  --color-accent-hover:   #E0C068;   /* Light Gold — hover-состояния */
  --color-accent-dark:    #9A7A30;   /* Dark Gold — нажатые состояния */

  /* Neutrals */
  --color-surface:        #14213D;   /* Card/Panel Background */
  --color-surface-alt:    #1A2D50;   /* Alt Surface */
  --color-border:         #1E3560;   /* Borders */
  --color-border-light:   #2A4575;   /* Light Borders */

  /* Text */
  --color-text-primary:   #F0EDE6;   /* Main text — warm white */
  --color-text-secondary: #A8B4C8;   /* Secondary text — muted blue-grey */
  --color-text-muted:     #6A7A90;   /* Muted text */
  --color-text-dark:      #0A1628;   /* Dark text on light BG */

  /* Status */
  --color-success:        #2E7D52;
  --color-warning:        #C8A84B;
  --color-error:          #B03030;
  --color-info:           #2A5EA0;

  /* Gradients */
  --gradient-hero:        linear-gradient(135deg, #0A1628 0%, #1A3060 50%, #0D1F3C 100%);
  --gradient-card:        linear-gradient(180deg, #14213D 0%, #0A1628 100%);
  --gradient-gold:        linear-gradient(135deg, #9A7A30 0%, #C8A84B 50%, #E0C068 100%);
  --gradient-overlay:     linear-gradient(180deg, rgba(10,22,40,0) 0%, rgba(10,22,40,0.95) 100%);

  /* Typography */
  --font-heading:  'Playfair Display', Georgia, serif;    /* Заголовки H1-H3 */
  --font-subhead:  'Raleway', 'Helvetica Neue', sans-serif; /* Подзаголовки, навигация */
  --font-body:     'Inter', 'Helvetica Neue', sans-serif;  /* Основной текст */
  --font-mono:     'JetBrains Mono', 'Courier New', monospace; /* Коды, теги */

  /* Sizes */
  --text-xs:    0.75rem;   /* 12px */
  --text-sm:    0.875rem;  /* 14px */
  --text-base:  1rem;      /* 16px */
  --text-lg:    1.125rem;  /* 18px */
  --text-xl:    1.25rem;   /* 20px */
  --text-2xl:   1.5rem;    /* 24px */
  --text-3xl:   1.875rem;  /* 30px */
  --text-4xl:   2.25rem;   /* 36px */
  --text-5xl:   3rem;      /* 48px */
  --text-6xl:   3.75rem;   /* 60px */

  /* Line heights */
  --leading-tight:  1.25;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Spacing */
  --spacing-xs:  0.25rem;   /* 4px */
  --spacing-sm:  0.5rem;    /* 8px */
  --spacing-md:  1rem;      /* 16px */
  --spacing-lg:  1.5rem;    /* 24px */
  --spacing-xl:  2rem;      /* 32px */
  --spacing-2xl: 3rem;      /* 48px */
  --spacing-3xl: 4rem;      /* 64px */
  --spacing-4xl: 6rem;      /* 96px */

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(200,168,75,0.25);

  --container-max: 1280px;
  --container-pad: 1.5rem;   /* 24px горизонтальный padding контейнера */
}


/* --- BUNDLED: reset.css --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: var(--leading-normal);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  fill: currentColor;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}


/* --- BUNDLED: typography.css --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
}

p strong {
  color: var(--color-text-primary);
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

.font-subhead {
  font-family: var(--font-subhead);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.text-muted {
  color: var(--color-text-muted);
}


/* --- BUNDLED: layout.css --- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  width: 100%;
}

.section {
  padding-top: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
  position: relative;
}

.section-alt {
  background-color: var(--color-secondary);
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

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

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

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

.flex {
  display: flex;
  gap: var(--spacing-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Common Page Banner Header */
.page-banner {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.08) 0%, rgba(200, 168, 75, 0) 70%);
  pointer-events: none;
}

.page-banner h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--spacing-md);
}

.page-banner p {
  font-family: var(--font-subhead);
  font-size: var(--text-lg);
  max-width: 700px;
  margin: 0 auto;
}


/* --- BUNDLED: components.css --- */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-subhead);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 24px;
  font-size: var(--text-xs);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200, 168, 75, 0.4);
  background: var(--color-accent-hover);
}

.btn-primary:active {
  transform: translateY(0);
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn-secondary:hover {
  background: rgba(200, 168, 75, 0.1);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1.5px solid var(--color-border-light);
}

.btn-ghost:hover {
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.03);
}

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(200, 168, 75, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(200, 168, 75, 0.3);
  margin-bottom: var(--spacing-sm);
}

/* Accordion */
.accordion-item {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-subhead);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: var(--spacing-md);
  flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(-135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body {
  padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* Tabs */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  font-family: var(--font-subhead);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-secondary);
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}

.tab-btn.active {
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- BUNDLED: navigation.css --- */
/* Header Top Strip */
.header-top {
  background-color: #050b14;
  border-bottom: 1px solid var(--color-border);
  padding: 6px 0;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-family: var(--font-subhead);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-notice {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.header-top-notice .age-badge {
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.header-socials {
  display: flex;
  gap: var(--spacing-md);
}

.header-social-link {
  color: var(--color-text-secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.header-social-link:hover {
  color: var(--color-accent);
}

.header-social-link svg {
  width: 14px;
  height: 14px;
}

/* Header Main */
.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
}

.header-main-wrapper {
  background-color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  transition: all 0.3s ease;
}

/* Sticky Header styling */
.site-header.scrolled .header-main-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(200, 168, 75, 0.2);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  font-family: var(--font-subhead);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  letter-spacing: -0.02em;
}

.logo strong {
  font-weight: 800;
  color: var(--color-accent);
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 10px;
}

.nav-link {
  font-family: var(--font-subhead);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: right;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* CTA buttons */
.header-ctas {
  display: none;
  gap: var(--spacing-sm);
}

/* Hamburger mobile burger button */
.burger-menu {
  background: none;
  border: none;
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 110;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.burger-menu.open .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(15px);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--spacing-2xl);
}

.mobile-nav-overlay.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.mobile-nav-link {
  font-family: var(--font-subhead);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--color-accent);
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 280px;
}


/* --- BUNDLED: hero.css --- */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: var(--spacing-4xl) 0 var(--spacing-3xl) 0;
}

/* SVG grid overlay with low opacity */
.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(200, 168, 75, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200, 168, 75, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  pointer-events: none;
}

/* Gold glow background decoration */
.hero-glow {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,168,75,0.15) 0%, rgba(200,168,75,0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Pure CSS animated floating particles (without canvas) */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  opacity: 0.2;
  animation: floatUp 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; width: 4px; height: 4px; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 25%; width: 8px; height: 8px; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 40%; width: 5px; height: 5px; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 55%; width: 9px; height: 9px; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 70%; width: 6px; height: 6px; animation-delay: 6s; animation-duration: 16s; }
.particle:nth-child(6) { left: 85%; width: 4px; height: 4px; animation-delay: 3s; animation-duration: 13s; }

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(1); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin-bottom: var(--spacing-3xl);
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 168, 75, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(200, 168, 75, 0.3);
  font-family: var(--font-subhead);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-lg);
}

.hero-content h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

.hero-content h1 span {
  font-family: var(--font-subhead);
  font-weight: 800;
  display: block;
  font-size: 1.15em;
  color: var(--color-accent);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

/* Statistics widgets */
.hero-stats {
  display: flex;
  gap: var(--spacing-2xl);
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-xl);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  font-weight: 700;
}

.stat-label {
  font-family: var(--font-subhead);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating interactive gaming cards display on desktop */
.hero-visual {
  position: relative;
  width: 100%;
  height: 350px;
  margin-top: var(--spacing-2xl);
  z-index: 2;
}

.floating-card {
  position: absolute;
  width: 260px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-color: var(--color-surface);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.floating-card-body {
  padding: var(--spacing-md);
}

.floating-card-tag {
  font-family: var(--font-subhead);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.floating-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  margin: 4px 0;
}

.floating-card:nth-child(1) {
  top: 10px;
  left: 10%;
  z-index: 4;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 80px;
  right: 10%;
  z-index: 3;
  animation-delay: 2s;
}

@keyframes floatCard {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}


/* --- BUNDLED: cards.css --- */
/* Generic Card design */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border-color: var(--color-accent);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  font-family: var(--font-subhead);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  z-index: 2;
}

.card-body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-family: var(--font-subhead);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-xs);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: var(--leading-tight);
}

.card-description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Trending Slider Cards & Container */
.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: var(--spacing-lg);
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--spacing-md);
}

.slider-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

.slider-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-xl);
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border-light);
  background-color: var(--color-surface);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.slider-dots {
  display: flex;
  gap: var(--spacing-sm);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border-light);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.slider-dot.active {
  background-color: var(--color-accent);
  width: 24px;
  border-radius: var(--radius-full);
}

/* Game Cards (Featured Games page style) */
.game-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.game-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.game-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-info {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-tag {
  font-family: var(--font-subhead);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
}

.game-info h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.game-info p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-subhead);
  font-size: 11px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-sm);
  margin-top: auto;
}

.game-rating {
  color: var(--color-accent);
  font-weight: 700;
}

/* Category Grid Card */
.cat-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.cat-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(200, 168, 75, 0.08);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: transform 0.3s ease;
}

.cat-card:hover .cat-icon-wrapper {
  transform: scale(1.1);
  background-color: var(--color-accent);
  color: var(--color-text-dark);
}

.cat-card svg {
  width: 28px;
  height: 28px;
}

.cat-title {
  font-family: var(--font-subhead);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.cat-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Team Card styling */
.team-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.team-info {
  padding: var(--spacing-lg);
}

.team-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-subhead);
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* --- BUNDLED: forms.css --- */
.form-group {
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-subhead);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px var(--spacing-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.01);
  box-shadow: 0 0 0 3px rgba(200, 168, 75, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23C8A84B'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='6%209%2012%2015%2018%209'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
}

/* Custom validation styles */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: var(--color-success);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--color-error);
}

.form-error-msg {
  font-size: var(--text-xs);
  color: #ff5555;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error-msg {
  display: block;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-secondary);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Form success and error display alerts */
.form-alert {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  font-family: var(--font-subhead);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--spacing-lg);
  display: none;
}

.form-alert.success {
  background-color: rgba(46, 125, 82, 0.15);
  color: #6cff9c;
  border: 1px solid var(--color-success);
  display: block;
}

.form-alert.error {
  background-color: rgba(176, 48, 48, 0.15);
  color: #ff8080;
  border: 1px solid var(--color-error);
  display: block;
}

/* Newsletter section box */
.newsletter-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl) var(--spacing-xl);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.newsletter-wrapper::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.05) 0%, rgba(200, 168, 75, 0) 70%);
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin: var(--spacing-xl) auto var(--spacing-md) auto;
  max-width: 500px;
}

.newsletter-input {
  background-color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  outline: none;
  text-align: center;
  width: 100%;
}

.newsletter-input:focus {
  border-color: var(--color-accent);
}


/* --- BUNDLED: footer.css --- */
.site-footer {
  background-color: #050b14;
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-3xl) 0 var(--spacing-xl) 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-brand p {
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
}

.footer-brand .header-socials {
  margin-top: var(--spacing-sm);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-col h4 {
  font-family: var(--font-subhead);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-list a {
  color: var(--color-text-secondary);
  transition: color 0.2s;
  display: inline-block;
}

.footer-list a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer-legal-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-legal-text p {
  margin-bottom: 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-legal-text .age-warning {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
}

.footer-legal-text .age-warning svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.footer-payment {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.footer-payment svg {
  height: 24px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.2s;
  fill: var(--color-text-primary);
}

.footer-payment svg:hover {
  opacity: 0.9;
}


/* --- BUNDLED: cookie-banner.css --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-secondary);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--spacing-lg) 0;
  display: none;
}

.cookie-banner.visible {
  display: block;
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.cookie-text strong {
  display: block;
  font-family: var(--font-subhead);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0;
  line-height: var(--leading-normal);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: center;
}

/* Detail panel styling */
.cookie-settings {
  margin-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-toggle span {
  font-family: var(--font-subhead);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Custom switch checkbox */
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 44px;
  height: 24px;
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-full);
  position: relative;
  outline: none;
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: background-color 0.2s;
}

.cookie-toggle input[type="checkbox"]:checked {
  background-color: var(--color-success);
}

.cookie-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-text-primary);
  transition: transform 0.2s;
}

.cookie-toggle input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* --- BUNDLED: age-gate.css --- */
.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-primary);
  background-image: var(--gradient-hero);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.age-gate-modal {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl) var(--spacing-xl);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.age-gate-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: var(--gradient-gold);
}

.age-gate-logo {
  font-family: var(--font-subhead);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-lg);
}

.age-gate-logo::first-line {
  font-weight: 800;
  color: var(--color-accent);
}

.age-gate-modal h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

.age-gate-modal p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--spacing-md);
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
}

.age-gate-actions .btn {
  width: 100%;
}

.age-gate-legal {
  font-size: var(--text-xs) !important;
  color: var(--color-text-muted) !important;
  margin-bottom: 0 !important;
}

.age-gate-legal a {
  color: var(--color-text-secondary);
  text-decoration: underline;
}

.age-gate-legal a:hover {
  color: var(--color-accent);
}


/* --- BUNDLED: ai-chat.css --- */
/* Chat widget floating button */
.ai-chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), var(--shadow-gold);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.ai-chat-trigger:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.4);
}

.ai-chat-trigger svg {
  width: 24px;
  height: 24px;
}

.ai-chat-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-error);
  color: #fff;
  font-family: var(--font-subhead);
  font-weight: 700;
  font-size: 9px;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Chat window panel */
.ai-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 360px;
  height: 500px;
  max-height: calc(100vh - 120px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0,0,0,0.5);
  z-index: 901;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatOpen 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes chatOpen {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-panel[hidden] {
  display: none !important;
}

.chat-header {
  background-color: var(--color-secondary);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-avatar {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  font-family: var(--font-subhead);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header strong {
  display: block;
  font-family: var(--font-subhead);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.chat-header .status-dot {
  font-size: 10px;
  color: #55ff55;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-header .status-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #55ff55;
  border-radius: 50%;
}

#chat-close {
  background: none;
  font-size: 24px;
  color: var(--color-text-secondary);
  cursor: pointer;
  line-height: 1;
}

#chat-close:hover {
  color: var(--color-text-primary);
}

/* Chat content body */
.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.chat-message {
  max-width: 85%;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.chat-message p {
  margin-bottom: 0;
  color: inherit;
}

.chat-message.bot {
  background-color: var(--color-secondary);
  color: var(--color-text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--color-border);
}

.chat-message.user {
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

/* Quick reply suggestion buttons */
.quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--spacing-sm);
}

.quick-reply {
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-family: var(--font-subhead);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-reply:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
  background-color: rgba(255, 255, 255, 0.02);
}

/* Input area */
.chat-input-area {
  padding: var(--spacing-md);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-secondary);
  display: flex;
  gap: var(--spacing-sm);
}

#chat-input {
  flex-grow: 1;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  outline: none;
}

#chat-input:focus {
  border-color: var(--color-accent);
}


/* --- BUNDLED: login-modal.css --- */
/* Login Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-2xl);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  padding: var(--spacing-2xl);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: var(--text-2xl);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-accent);
}

.modal-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.modal-header p {
  font-family: var(--font-subhead);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.modal-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.modal-form label {
  display: block;
  font-family: var(--font-subhead);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xs);
}

.modal-form input[type="text"],
.modal-form input[type="password"] {
  width: 100%;
  background-color: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px var(--spacing-md);
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: var(--text-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form input[type="text"]:focus,
.modal-form input[type="password"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(200, 168, 75, 0.15);
  outline: none;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  font-size: var(--text-xs);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: var(--color-text-secondary);
}

.forgot-link, .signup-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.forgot-link:hover, .signup-link:hover {
  opacity: 0.8;
}

.btn-block {
  width: 100%;
  padding: 14px;
}

.modal-footer {
  text-align: center;
  margin-top: var(--spacing-xl);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-md);
}


/* --- BUNDLED: responsive.css --- */
/* Responsive overrides */

@media (min-width: 480px) {
  .hero-content h1 {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 576px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section {
    padding: var(--spacing-4xl) 0;
  }
  
  .hero-content {
    margin-bottom: 0;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-2xl);
    align-items: center;
  }
  
  .hero-visual {
    margin-top: 0;
    height: 400px;
    display: block;
  }


  
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .cookie-text {
    flex-grow: 1;
    max-width: 60%;
  }
  
  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-legal-text {
    max-width: 60%;
  }
}

@media (min-width: 1280px) {
  .hero-visual {
    height: 450px;
  }
  
  .floating-card:nth-child(1) {
    left: 15%;
  }
  
  .floating-card:nth-child(2) {
    right: 15%;
  }
}

/* Critical tiny layout styles for 320px */
@media (max-width: 360px) {
  .container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
  
  .hero-content h1 {
    font-size: var(--text-3xl);
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.8rem;
  }
  
  .cookie-banner {
    padding: 12px;
  }
  
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-actions .btn {
    width: 100%;
  }
  
  .ai-chat-panel {
    width: calc(100vw - 32px);
    right: 16px;
    left: 16px;
  }
}

@media (min-width: 1180px) {
  .main-nav {
    display: block;
  }

  .header-ctas {
    display: flex;
  }

  .burger-menu {
    display: none;
  }
}


