/* === CSS Variables === */
:root {
  /* Triadic Color Scheme */
  --primary-color: #4a7aff; /* Blue */
  --secondary-color: #ff4a7a; /* Pink */
  --tertiary-color: #7aff4a; /* Green */

  /* Darker variants */
  --primary-dark: #2c5cd9;
  --secondary-dark: #d93a64;
  --tertiary-dark: #63d92c;

  /* Lighter variants */
  --primary-light: #8caeff;
  --secondary-light: #ff8cae;
  --tertiary-light: #aeff8c;

  /* Neutral colors */
  --neutral-100: #ffffff;
  --neutral-200: #f7f9fc;
  --neutral-300: #edf1f7;
  --neutral-400: #d5dcea;
  --neutral-500: #a1a9bc;
  --neutral-600: #737c94;
  --neutral-700: #4a5268;
  --neutral-800: #2e3446;
  --neutral-900: #1a1e2c;

  /* Shadow variables for neomorphism */
  --shadow-light: rgba(255, 255, 255, 0.7);
  --shadow-dark: rgba(174, 174, 192, 0.2);
  --inset-shadow-light: rgba(255, 255, 255, 0.5);
  --inset-shadow-dark: rgba(174, 174, 192, 0.4);

  /* Border radius */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Animation timing */
  --transition-fast: 0.2s;
  --transition-medium: 0.4s;
  --transition-slow: 0.8s;
}

/* === Base Styles === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-700);
  background-color: var(--neutral-200);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--spacing-md);
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast) ease-in-out;
}

a:hover {
  color: var(--primary-dark);
}

section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.title {
  margin-bottom: var(--spacing-lg);
}

.subtitle {
  color: var(--neutral-600);
  margin-bottom: var(--spacing-xl);
}

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

/* Read more links */
.read-more {
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-bottom: 2px;
  overflow: hidden;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast) ease-out;
}

.read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.read-more:hover {
  color: var(--primary-dark);
}

/* === Neomorphic Elements === */
.neomorphic {
  background: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: box-shadow var(--transition-fast) ease-in-out;
}

.neomorphic:hover {
  box-shadow: 10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.neomorphic-inset {
  background: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: inset 6px 6px 12px var(--inset-shadow-dark),
    inset -6px -6px 12px var(--inset-shadow-light);
}

/* === Button Styles === */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast) ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: translateY(100%);
  transition: transform var(--transition-fast) ease-out;
}

.button:hover::before {
  transform: translateY(0);
}

.button.is-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-light {
  background-color: var(--neutral-100);
  color: var(--primary-color);
  border: 1px solid var(--neutral-400);
}

.button.is-light:hover {
  background-color: var(--neutral-300);
  color: var(--primary-dark);
}

.play-button,
.learn-button {
  min-width: 160px;
}

/* Social media buttons */
.button.is-facebook {
  background-color: #3b5998;
  color: white;
}

.button.is-twitter {
  background-color: #1da1f2;
  color: white;
}

.button.is-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.button.is-discord {
  background-color: #7289da;
  color: white;
}

/* === Header === */
.header {
  background-color: rgba(255, 255, 255, 0.98);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium) ease-in-out;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  min-height: 70px;
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  height: 60px !important;
}

.logo {
  font-size: 20px;
}

.navbar-item::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-fast) ease-in-out;
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 60%;
}

.play-now-btn {
  transform: scale(1);
  transition: transform var(--transition-fast) ease-in-out;
}

.play-now-btn:hover {
  transform: scale(1.05);
}

/* === Hero Section === */
.hero {
  padding-top: 70px; /* Account for fixed header */
  position: relative;
  overflow: hidden;
}

.hero-body {
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem;
}

.hero.is-fullheight {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .title,
.hero .subtitle,
.hero-description {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: var(--spacing-xl);
}

.disclaimer-banner {
  background-color: rgba(0, 0, 0, 0.3);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  max-width: 800px;
  margin: 0 auto;
}

/* === About Section === */
.about-section {
  background-color: var(--neutral-100);
}

.info-card {
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  background-color: var(--neutral-200);
  height: 100%;
  transition: transform var(--transition-medium) ease-in-out;
}

.info-card:hover {
  transform: translateY(-5px);
}

/* === Simulator Section === */
.simulator-section {
  background-color: var(--neutral-200);
}

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

.simulator-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.simulator-screen {
  position: relative;
  padding-bottom: 65%;
  background-color: var(--neutral-900);
}

.simulator-screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.simulator-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.credit-display {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.spin-button {
  font-size: 1.2rem;
  padding: 0.5rem 2rem;
  border-radius: var(--border-radius-md);
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  transform: scale(1);
  transition: all var(--transition-fast) ease-in-out;
}

.spin-button:hover {
  transform: scale(1.05);
  background-color: var(--primary-dark);
}

.bet-controls {
  display: flex;
  align-items: center;
  color: white;
}

.bet-controls span {
  margin: 0 var(--spacing-sm);
}

.simulator-info {
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer-box {
  background-color: var(--neutral-300);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  color: var(--neutral-700);
}

/* === How to Play Section === */
.how-to-play-section {
  background-color: var(--neutral-100);
  position: relative;
}

.timeline-container {
  position: relative;
  padding: var(--spacing-xl) 0;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary-light),
    var(--secondary-light),
    var(--tertiary-light)
  );
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xxl);
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--neutral-100), 0 0 0 8px rgba(74, 122, 255, 0.2);
}

.timeline-content {
  width: 45%;
  margin-left: auto;
  margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-item:nth-child(odd) .timeline-marker {
  background-color: var(--secondary-color);
  box-shadow: 0 0 0 4px var(--neutral-100), 0 0 0 8px rgba(255, 74, 122, 0.2);
}

.timeline-item:nth-child(3n) .timeline-marker {
  background-color: var(--tertiary-color);
  box-shadow: 0 0 0 4px var(--neutral-100), 0 0 0 8px rgba(122, 255, 74, 0.2);
}

.timeline-item .card {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-medium) ease-in-out;
}

.timeline-item .card:hover {
  transform: translateY(-5px);
}

.timeline-item .card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.timeline-item .image {
  width: 100%;
  height: 200px;
}

.timeline-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease-in-out;
}

.timeline-item .card:hover .image img {
  transform: scale(1.05);
}

.rules-box {
  background-color: var(--neutral-300);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: inset 6px 6px 12px var(--inset-shadow-dark),
    inset -6px -6px 12px var(--inset-shadow-light);
}

.rules-box ul {
  margin-left: var(--spacing-xl);
}

.rules-box li {
  margin-bottom: var(--spacing-sm);
}

/* === Features Section === */
.features-section {
  background-color: var(--neutral-200);
}

.feature-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium) ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card .card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.feature-card .image {
  width: 100%;
  height: 100%;
}

.feature-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease-in-out;
}

.feature-card:hover .image img {
  transform: scale(1.1);
}

.feature-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* === Gallery Section === */
.gallery-section {
  background-color: var(--neutral-100);
  padding: var(--spacing-xxl) 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease-in-out;
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity var(--transition-medium) ease-in-out;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* === Webinars Section === */
.webinars-section {
  background-color: var(--neutral-200);
}

.webinar-card {
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium) ease-in-out;
}

.webinar-card:hover {
  transform: translateY(-5px);
}

.webinar-card .media-left {
  margin-right: var(--spacing-md);
}

.webinar-card .image {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webinar-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Resources Section === */
.resources-section {
  background-color: var(--neutral-100);
}

.resource-card {
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium) ease-in-out;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card .media-left {
  margin-right: var(--spacing-md);
}

.resource-card .image {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resource-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Customer Stories Section === */
.stories-section {
  background-color: var(--neutral-200);
}

.story-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium) ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-card:hover {
  transform: translateY(-5px);
}

.story-card .media {
  align-items: center;
}

.story-card .media-left {
  margin-right: var(--spacing-md);
}

.story-card .image {
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating {
  margin-top: var(--spacing-md);
}

/* === Awards Section === */
.awards-section {
  background-color: var(--neutral-100);
}

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

.award-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto var(--spacing-md);
  transition: transform var(--transition-medium) ease-in-out;
}

.award-item:hover img {
  transform: scale(1.1) rotate(5deg);
}

.award-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}

.award-org {
  color: var(--neutral-600);
}

/* === Community Section === */
.community-section {
  background-color: var(--neutral-200);
}

.community-stats {
  margin-bottom: var(--spacing-xl);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-md);
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  height: 100%;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--neutral-700);
}

.community-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium) ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-card:hover {
  transform: translateY(-5px);
}

.community-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.community-card .image {
  width: 100%;
  height: 100%;
}

.community-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease-in-out;
}

.community-card:hover .image img {
  transform: scale(1.1);
}

.social-connect {
  margin-top: var(--spacing-xl);
}

.social-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.social-buttons .button {
  min-width: 130px;
}

/* === FAQ Section === */
.faq-section {
  background-color: var(--neutral-100);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--neutral-400);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  cursor: pointer;
  margin-bottom: var(--spacing-sm);
}

.faq-question h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast) ease-in-out;
}

.faq-question h3::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-item.active .faq-question h3::after {
  content: "-";
}

.faq-item.active .faq-question h3 {
  color: var(--primary-color);
}

.faq-answer {
  overflow: hidden;
  transition: max-height var(--transition-medium) ease-in-out;
}

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

/* === Contact Section === */
.contact-section {
  background-color: var(--neutral-200);
}

.contact-card,
.info-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  height: 100%;
}

.contact-info {
  margin-top: var(--spacing-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.contact-item .icon {
  margin-right: var(--spacing-md);
  color: var(--primary-color);
}

.location-map {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.location-map img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.field {
  margin-bottom: var(--spacing-md);
}

.input,
.textarea,
.select select {
  background-color: var(--neutral-300);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: inset 4px 4px 8px var(--inset-shadow-dark),
    inset -4px -4px 8px var(--inset-shadow-light);
  padding: var(--spacing-md);
  transition: all var(--transition-fast) ease-in-out;
}

.input:focus,
.textarea:focus,
.select select:focus {
  box-shadow: inset 6px 6px 10px var(--inset-shadow-dark),
    inset -6px -6px 10px var(--inset-shadow-light);
}

/* === Footer === */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--spacing-xxl) 0;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--neutral-400);
  transition: color var(--transition-fast) ease-in-out;
  display: inline-block;
  position: relative;
  padding-left: var(--spacing-md);
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  transition: transform var(--transition-fast) ease-in-out;
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.legal-disclaimer {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

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

.social-links a {
  color: var(--neutral-400);
  transition: color var(--transition-fast) ease-in-out;
  display: inline-block;
  position: relative;
}

.social-links a:hover {
  color: white;
}

.newsletter .input {
  background-color: var(--neutral-700);
  color: white;
  border: none;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  border-top: 1px solid var(--neutral-700);
  color: var(--neutral-500);
  font-size: 0.9rem;
}

/* === Success Page === */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl);
}

.success-container {
  max-width: 600px;
  padding: var(--spacing-xl);
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-lg);
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: var(--spacing-lg);
}

/* === Terms & Privacy Pages === */
.terms-page,
.privacy-page {
  padding-top: 100px;
}

/* === Scroll-Dependent Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-medium) ease-out,
    transform var(--transition-medium) ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-medium) ease-out,
    transform var(--transition-medium) ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-medium) ease-out,
    transform var(--transition-medium) ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition-medium) ease-out,
    transform var(--transition-medium) ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* === Responsive Adjustments === */
@media screen and (max-width: 1023px) {
  .timeline-container::before {
    left: 40px;
  }

  .timeline-marker {
    left: 40px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
    margin-right: 0;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    margin-right: 0;
  }

  .social-buttons {
    flex-direction: column;
    align-items: center;
  }

  .social-buttons .button {
    width: 100%;
    max-width: 250px;
  }
}

@media screen and (max-width: 768px) {
  .hero-body {
    padding: 4rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .play-button,
  .learn-button {
    min-width: 120px;
  }

  section {
    padding: var(--spacing-xl) 0;
  }
}

@media screen and (max-width: 480px) {
  .hero-body {
    padding: 3rem 1rem;
  }

  .hero .title {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .timeline-container::before {
    left: 20px;
  }

  .timeline-marker {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50px;
  }
}

.container {
  padding-inline: 14px;
}

/* Black screen for under 18 */
.black-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  color: white;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10000;
}

.black-screen.show {
  display: flex;
}

.black-screen h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.black-screen p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 500px;
  line-height: 1.6;
}

/* Age verification popup */
.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.age-popup.hide {
  display: none;
}

.popup-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: popupIn 0.3s ease-out;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #ff6b35;
}

.popup-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.popup-message {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.btn-yes {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
}

.btn-yes:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-no {
  background: linear-gradient(135deg, #f44336, #da190b);
  color: white;
}

.btn-no:hover {
  background: linear-gradient(135deg, #da190b, #c4170a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

/* Body hiding class */
body.age-restricted {
  overflow: hidden;
}

body.age-restricted .main-content {
  display: none;
}

/* Responsive design */
@media (max-width: 600px) {
  .popup-content {
    padding: 30px 20px;
  }

  .popup-title {
    font-size: 1.6rem;
  }

  .popup-message {
    font-size: 1rem;
  }

  .popup-buttons {
    flex-direction: column;
    align-items: center;
  }

  .popup-btn {
    width: 100%;
    max-width: 200px;
  }

  .main-content h1 {
    font-size: 2rem;
  }

  .main-content p {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .popup-content {
    width: 95%;
    padding: 25px 15px;
  }

  .popup-icon {
    font-size: 3rem;
  }

  .popup-title {
    font-size: 1.4rem;
  }
}
