
:root {
  --primary: #d32f2f;
  --background: #f9f9f9;
  --on-background: #1a1c1c;
  --surface: #f9f9f9;
  --on-surface: #1a1c1c;
  --inverse-surface: #121212;
  --on-primary: #ffffff;
  --secondary: #474747;
  --surface-variant: #e2e2e2;
  --outline: #8f6f6e;
  --sand-beige: #F9F3EE;
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;
  --margin-desktop: 5rem;
  --margin-mobile: 1.25rem;
  --stack-sm: 0.5rem;
  --stack-md: 1rem;
  --stack-lg: 2rem;
  --gutter: 1.5rem;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Nunito Sans', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  background-color: var(--background);
  color: var(--on-background);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.fiesta-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5l2 4h4l-3 3 1 4-4-2-4 2 1-4-3-3h4l2-4zm-20 30l1 2h2l-1.5 1.5 0.5 2-2-1-2 1 0.5-2-1.5-1.5h2l1-2zm35 15l1 2h2l-1.5 1.5 0.5 2-2-1-2 1 0.5-2-1.5-1.5h2l1-2z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.speech-bubble {
  position: relative;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 15px solid white;
  border-bottom: 15px solid transparent;
}
.container {
  padding-left: var(--margin-mobile);
  padding-right: var(--margin-mobile);
}
@media (min-width: 768px) {
  .container {
    padding-left: var(--margin-desktop);
    padding-right: var(--margin-desktop);
  }
}
.btn-primary {
  background-color: var(--surface);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-primary:active {
  transform: scale(0.95);
}
.btn-large {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: white;
  color: black;
  font-family: var(--font-heading);
  font-weight: 900;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-size: 1.125rem;
}
.btn-large:hover {
  opacity: 0.95;
  transform: translateY(-4px);
}
.btn-large:active {
  transform: scale(0.95);
}
.btn-large .icon-circle {
  width: 2rem;
  height: 2rem;
  background-color: black;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.btn-large:hover .icon-circle {
  transform: rotate(45deg);
}
.btn-large .icon-circle .material-symbols-outlined {
  color: white;
  font-size: 1.125rem;
  font-weight: bold;
}
.btn-large.btn-red {
  background-color: var(--primary);
  color: var(--on-primary);
}
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.text-primary { color: var(--primary); }
.text-white { color: white; }
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: var(--primary);
  color: var(--on-primary);
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
.nav-links {
  display: none;
  gap: var(--gutter);
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
  padding-bottom: 0.25rem;
}
.nav-links a:hover {
  color: white;
}
.nav-links a.active-nav-link {
  border-bottom: 2px solid white;
  color: white;
}
section {
  position: relative;
}
.hero-section {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: var(--stack-lg);
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gutter);
  z-index: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-section {
    flex-direction: row;
  }
}
.hero-content {
  width: 100%;
  color: var(--on-primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack-md);
  z-index: 10;
}
@media (min-width: 768px) {
  .hero-content { width: 50%; }
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 900;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .hero-title { font-size: 64px; }
}
.hero-text {
  font-size: 1.125rem;
  max-width: 36rem;
}
.hero-image-wrap {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
}
@media (min-width: 768px) {
  .hero-image-wrap { width: 50%; }
}
.hero-image-inner {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) {
  .hero-image-inner { height: 700px; }
}
.hero-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  transform: scale(1.4);
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15));
}
.why-us-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--inverse-surface);
  color: var(--on-primary);
  margin-top: -5rem;
  z-index: 10;
}
.why-us-grid {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}
@media (min-width: 768px) {
  .why-us-grid { flex-direction: row; }
}
.why-us-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--stack-md);
}
@media (min-width: 768px) {
  .why-us-text { width: 33.333%; }
}
.why-us-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .why-us-title { font-size: 3rem; }
}
.why-us-cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem var(--gutter);
}
@media (min-width: 768px) {
  .why-us-cards {
    width: 66.666%;
    grid-template-columns: 1fr 1fr;
  }
}
.feature-card {
  position: relative;
  background-color: white;
  border-radius: 24px;
  padding: 2rem;
  color: var(--on-surface);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.feature-card-number {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-primary);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.feature-card p {
  opacity: 0.8;
}
.games-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--sand-beige);
}
.game-box {
  background-color: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .game-box { flex-direction: row; }
}
.game-img-wrap {
  width: 100%;
  padding: 1rem;
}
@media (min-width: 768px) {
  .game-img-wrap { width: 60%; padding: 2rem; }
}
.game-img-inner {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 8px solid #eeeeee;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}
.game-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-content {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
  justify-content: center;
}
@media (min-width: 768px) {
  .game-content { width: 40%; padding: 3rem; }
}
.game-label {
  text-transform: uppercase;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}
.game-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 900;
}
@media (min-width: 768px) {
  .game-title { font-size: 3rem; }
}
.game-list {
  list-style: none;
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.game-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.game-list li .material-symbols-outlined {
  color: var(--primary);
  font-weight: bold;
}
.game-note {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 2px dashed var(--outline);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--secondary);
}
.path-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--inverse-surface);
  overflow: hidden;
}
.path-flex {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  align-items: center;
}
@media (min-width: 768px) {
  .path-flex { flex-direction: row; }
}
.path-character {
  width: 100%;
  position: relative;
  height: 400px;
}
@media (min-width: 768px) {
  .path-character { width: 33.333%; }
}
.path-character img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.1);
}
@media (min-width: 768px) {
  .path-character img {
    bottom: -5rem;
  }
}
.path-bubble {
  position: absolute;
  top: 2.5rem;
  right: 0;
  background-color: white;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.path-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .path-options { width: 66.666%; }
}
.path-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.path-card:hover { transform: scale(1.02); }
.path-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--on-surface);
}
.path-card p {
  color: rgba(26, 28, 28, 0.7);
}
.path-card .icon {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: bold;
}
.path-card.active {
  background-color: var(--primary);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
  z-index: 10;
  border: 4px solid rgba(255, 255, 255, 0.2);
}
.path-card.active h3 { color: white; font-size: 1.875rem; }
.path-card.active p { color: rgba(255, 255, 255, 0.9); }
.path-card.active .icon { color: white; font-size: 3rem; }
.economy-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.economy-box {
  max-width: 56rem;
  border: 12px solid rgba(255, 255, 255, 0.2);
  padding: 3rem;
  border-radius: 48px;
}
@media (min-width: 768px) {
  .economy-box { padding: 5rem; }
}
.economy-box h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: white;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
@media (min-width: 768px) {
  .economy-box h2 { font-size: 4rem; }
}
.economy-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-top: 1.5rem;
}
.atmosphere-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--sand-beige);
  overflow: hidden;
}
.atm-flex {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  align-items: center;
}
@media (min-width: 768px) {
  .atm-flex { flex-direction: row; }
}
.atm-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}
@media (min-width: 768px) {
  .atm-text { width: 50%; }
}
.atm-text h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .atm-text h2 { font-size: 3rem; }
}
.atm-text p {
  font-size: 1.125rem;
  color: var(--secondary);
}
.atm-features {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-direction: column;
}
@media (min-width: 768px) {
  .atm-features { flex-direction: row; }
}
.atm-feature-box {
  background-color: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.atm-feature-box span.icon {
  color: var(--primary);
  font-weight: bold;
}
.atm-feature-box span.text {
  font-weight: 900;
  font-size: 0.875rem;
}
.atm-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  position: relative;
  height: 16rem;
}
@media (min-width: 768px) {
  .atm-visual { width: 50%; }
}
.pulse-anim { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.bounce-anim { animation: bounce 1s infinite; animation-delay: 150ms; }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } }
.atm-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.atm-icon-wrap .big-icon {
  font-size: 100px;
}
.atm-icon-wrap .rotate-12 { transform: rotate(12deg); color: var(--primary); }
.atm-icon-wrap .rotate-n12 { transform: rotate(-12deg); color: var(--secondary); }
.atm-icon-label {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.atm-icon-label.c-primary { color: var(--primary); }
.atm-icon-label.c-secondary { color: var(--secondary); }
.atm-glow {
  position: absolute;
  z-index: -10;
  width: 16rem;
  height: 16rem;
  background-color: rgba(230, 57, 70, 0.1);
  border-radius: 50%;
  filter: blur(24px);
}
.faq-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--inverse-surface);
}
.faq-section h2 {
  font-family: var(--font-heading);
  color: white;
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .faq-section h2 { font-size: 3rem; }
}
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.faq-item {
  background-color: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--on-surface);
}
.faq-icon {
  color: var(--primary);
  font-weight: bold;
  transition: transform 0.2s;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-ans {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  color: var(--secondary);
}
.faq-item.active .faq-ans { display: block; }
.footer {
  background-color: var(--inverse-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
  padding-bottom: 2rem;
  color: var(--on-primary);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
.footer-brand-text {
  color: #9ca3af;
  max-width: 24rem;
  line-height: 1.625;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .footer-links { grid-template-columns: repeat(4, 1fr); }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-col-title {
  color: white;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}
.footer-col a {
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-legal {
  color: #4b5563;
  font-size: 0.75rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-legal { text-align: left; }
}
.footer-age {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--inverse-surface);
  color: white;
  padding: 1.5rem var(--margin-mobile);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}
@media (min-width: 768px) {
  .cookie-banner {
    padding: 1.5rem var(--margin-desktop);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.cookie-banner.hidden {
  display: none;
}
.cookie-text {
  font-size: 0.875rem;
  color: #d1d5db;
}
.lead-form-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: white;
  border-top: 1px solid var(--surface-variant);
  border-bottom: 1px solid var(--surface-variant);
}
.lead-form-container {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.lead-form-container h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.lead-form-container p {
  margin-bottom: 2rem;
  color: var(--secondary);
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .lead-form { flex-direction: row; }
}
.lead-input {
  flex: 1;
  padding: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--surface-variant);
  font-family: var(--font-body);
  outline: none;
}
.lead-input:focus {
  border-color: var(--primary);
}
.lead-submit {
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: white;
  font-weight: 900;
  font-family: var(--font-heading);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.lead-submit:hover { opacity: 0.9; }
.content-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background-color: var(--background);
  min-height: 100vh;
}
.content-wrapper {
  max-width: 48rem;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.content-wrapper h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.content-wrapper h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.content-wrapper p {
  margin-bottom: 1rem;
  color: var(--secondary);
  line-height: 1.7;
}
.ai-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
}
.ai-button {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.ai-button:hover {
  transform: scale(1.05);
}
.ai-button .material-symbols-outlined {
  font-size: 2rem;
}
.ai-chat-window {
  display: none;
  position: absolute;
  bottom: 5rem;
  right: 0;
  width: 320px;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  overflow: hidden;
  flex-direction: column;
}
.ai-chat-window.active {
  display: flex;
}
.ai-chat-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  font-family: var(--font-heading);
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-chat-close {
  cursor: pointer;
}
.ai-chat-messages {
  height: 250px;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--background);
}
.ai-message {
  max-width: 80%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.ai-message.bot {
  background-color: var(--surface-variant);
  color: var(--on-surface);
  align-self: flex-start;
  border-bottom-left-radius: 0;
}
.ai-message.user {
  background-color: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}
.ai-chat-input-area {
  display: flex;
  border-top: 1px solid var(--surface-variant);
}
.ai-chat-input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  outline: none;
}
.ai-chat-send {
  background-color: transparent;
  border: none;
  padding: 0.75rem;
  color: var(--primary);
  cursor: pointer;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.modal-container {
  background: var(--surface);
  border-radius: var(--rounded-lg);
  width: 90%;
  max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-header {
  padding: 1.5rem;
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  margin: 0;
  font-size: 1.5rem;
}
.modal-close {
  cursor: pointer;
  font-size: 1.5rem;
}
.modal-tabs {
  display: flex;
  background: var(--surface-container);
}
.modal-tab {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  color: var(--secondary);
  border-bottom: 3px solid transparent;
}
.modal-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.modal-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-form input {
  padding: 1rem;
  border: 2px solid var(--outline);
  border-radius: var(--rounded-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--background);
}
.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
}
.auth-form .btn-primary {
  width: 100%;
  justify-content: center;
}
.auth-message {
  text-align: center;
  font-weight: bold;
  padding: 1rem;
  border-radius: var(--rounded-sm);
}
.auth-message.success {
  background: var(--primary-container);
  color: var(--on-primary-container);
}
.auth-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: bold;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}
.slot-machine {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-color: var(--primary);
  border-radius: 1rem;
  border: 8px solid var(--secondary);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  box-sizing: border-box;
}
.slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
}
.slot-credits {
  background: rgba(0,0,0,0.3);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  border: 2px solid rgba(255,255,255,0.2);
}
.slot-win {
  color: var(--accent);
  font-size: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  animation: pulse 1s infinite;
  display: none;
}
.slot-win.active {
  display: block;
}
.slot-reels {
  display: flex;
  gap: 0.75rem;
  background-color: #0d1117;
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: inset 0 6px 12px rgba(0,0,0,0.7);
  height: 200px; 
  overflow: hidden;
  margin: 1rem 0;
}
.reel {
  flex: 1;
  background: linear-gradient(to bottom, #161b22, #0d1117, #161b22);
  border-radius: 0.5rem;
  border: 2px solid #30363d;
  position: relative;
  overflow: hidden;
}
.reel-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 3s cubic-bezier(0.1, 0.7, 0.1, 1);
}
.slot-symbol {
  width: 100%;
  height: 180px; 
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.slot-symbol span {
  font-size: 5rem !important; 
}
.slot-symbol span[data-icon="star"] { color: #ffd700; filter: drop-shadow(0 0 8px rgba(255,215,0,0.6)); }
.slot-symbol span[data-icon="favorite"] { color: #ff3b30; filter: drop-shadow(0 0 8px rgba(255,59,48,0.6)); }
.slot-symbol span[data-icon="diamond"] { color: #00d2ff; filter: drop-shadow(0 0 8px rgba(0,210,255,0.6)); }
.slot-symbol span[data-icon="payments"] { color: #34c759; filter: drop-shadow(0 0 8px rgba(52,199,89,0.6)); }
.slot-symbol span[data-icon="local_bar"] { color: #ff9500; filter: drop-shadow(0 0 8px rgba(255,149,0,0.6)); }
.slot-symbol span[data-icon="redeem"] { color: #af52de; filter: drop-shadow(0 0 8px rgba(175,82,222,0.6)); }
.slot-controls {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
.slot-btn {
  background-color: var(--accent) !important;
  color: var(--on-primary) !important;
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
  border: 2px solid white;
  box-shadow: 0 4px 0 #b38000;
  transition: all 0.1s;
}
.slot-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #b38000;
}
.slot-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 0 #b38000;
}
.slot-machine {
  position: relative;
  background: linear-gradient(145deg, #1f2937, #111827);
  border-color: #374151;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0,0,0,0.5), 0 0 30px rgba(var(--primary-rgb), 0.3);
}
.slot-controls {
  flex-direction: column;
  gap: 1rem;
}
.bet-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: rgba(0,0,0,0.4);
  padding: 0.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.bet-display {
  color: white;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 120px;
  text-align: center;
}
.btn-bet {
  background: var(--surface);
  color: var(--on-surface);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-bet:hover {
  background: var(--surface-variant);
  transform: scale(1.1);
}
.btn-bet:active {
  transform: scale(0.95);
}
.action-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.btn-auto {
  background-color: var(--secondary) !important;
  color: var(--on-secondary) !important;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 0 #1e3a8a;
  border-radius: 2rem;
}
.btn-auto.active {
  background-color: var(--error) !important;
  box-shadow: 0 4px 0 #7f1d1d;
  color: white !important;
}
.slot-symbol.win-glow span {
  animation: winPulse 1s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px var(--accent));
  transform: scale(1.1);
}
@keyframes winPulse {
  from { text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent); }
  to { text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent); transform: scale(1.2); }
}
.big-win-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  opacity: 1;
  transition: opacity 0.3s;
}
.big-win-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.big-win-content {
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.big-win-title {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 0 20px var(--accent);
  animation: colorShift 2s infinite alternate;
}
.big-win-amount {
  color: white;
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 900;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes colorShift {
  0% { color: var(--accent); }
  100% { color: #fff; }
}
.slot-machine-large {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
.slot-machine-large .slot-reels {
  height: 300px;
}
.slot-machine-large .slot-symbol {
  height: 280px;
}
.slot-machine-large .slot-symbol span {
  font-size: 8rem !important;
}
@media (max-width: 768px) {
  .slot-machine-large .slot-reels {
    height: 200px;
  }
  .slot-machine-large .slot-symbol {
    height: 180px;
  }
  .slot-machine-large .slot-symbol span {
    font-size: 5rem !important;
  }
}

/* Map Material Symbols class to the lighter Material Icons font family for 95% size reduction */
.material-symbols-outlined {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
