/* 358 casino global styles - optimized for performance, accessibility, and clarity */
/* Image optimization */
img{max-width:100%;height:auto;object-fit:cover}
img[loading="lazy"]{opacity:0;transition:opacity .3s ease}
img[loading="lazy"].loaded{opacity:1}

/* Heading font-size specifications to prevent deprecated API warnings */
h1{font-size:2.5rem;font-weight:700;margin:0 0 1rem}
h2{font-size:2rem;font-weight:600;margin:0 0 0.75rem}
h3{font-size:1.5rem;font-weight:600;margin:0 0 0.5rem}
h4{font-size:1.25rem;font-weight:600;margin:0 0 0.5rem}
h5{font-size:1.125rem;font-weight:600;margin:0 0 0.5rem}
h6{font-size:1rem;font-weight:600;margin:0 0 0.5rem}

/* Specific selectors for semantic elements to ensure font-size is applied */
section h1, article h1, aside h1, nav h1{font-size:2.5rem;font-weight:700;margin:0 0 1rem}
section h2, article h2, aside h2, nav h2{font-size:2rem;font-weight:600;margin:0 0 0.75rem}
section h3, article h3, aside h3, nav h3{font-size:1.5rem;font-weight:600;margin:0 0 0.5rem}
section h4, article h4, aside h4, nav h4{font-size:1.25rem;font-weight:600;margin:0 0 0.5rem}
section h5, article h5, aside h5, nav h5{font-size:1.125rem;font-weight:600;margin:0 0 0.5rem}
section h6, article h6, aside h6, nav h6{font-size:1rem;font-weight:600;margin:0 0 0.5rem}
:root{--bg:#0b1221;--bg2:#0a1020;--text:#e8edf7;--muted:#b6c2e2;--accent:#7cf3d6;--accent-2:#88a6ff;--focus:#ffcc66;--danger:#ff6b6b;--radius:12px;--maxw:1120px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html.reduce-motion{scroll-behavior:auto}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans",sans-serif;background:radial-gradient(1200px 600px at 10% 10%,rgba(124,243,214,.18),transparent),radial-gradient(1000px 500px at 90% 20%,rgba(136,166,255,.18),transparent),linear-gradient(180deg,var(--bg),var(--bg2));color:var(--text);line-height:1.6}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:16px;top:16px;width:auto;height:auto;background:#000;color:#fff;padding:10px 14px;border-radius:8px;z-index:1000}
.site-header{position:sticky;top:0;background:rgba(11,18,33,.72);backdrop-filter:saturate(150%) blur(8px);border-bottom:1px solid rgba(255,255,255,.08);z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:700}
.brand-text{font-size:1.125rem}
.site-nav ul,.footer-nav ul{list-style:none;display:flex;gap:16px;margin:0;padding:0;flex-wrap:wrap}
.site-nav a,.footer-nav a{color:var(--muted);text-decoration:none}
.site-nav a[aria-current="page"],.site-nav a:hover,.footer-nav a:hover{color:#fff}
.cta{display:flex;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:600;border:1px solid transparent;transition:transform .15s ease,background .2s ease}
.btn:focus{outline:2px dashed var(--focus);outline-offset:3px}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#04221c}
.btn-primary:hover{transform:translateY(-1px)}
.btn-secondary{background:transparent;border-color:rgba(255,255,255,.18);color:#fff}
.btn-secondary:hover{background:rgba(255,255,255,.06)}
.btn-ghost{background:transparent;border-color:transparent;color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.06)}
.hero{position:relative;isolation:isolate;padding:72px 0 56px}
.hero-content{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.hero-text{display:flex;flex-direction:column;gap:16px}
.hero-image{display:flex;justify-content:center;align-items:center}
.hero-image img{border-radius:var(--radius);box-shadow:0 8px 32px rgba(0,0,0,.3)}
.hero .lead{color:var(--muted);max-width:58ch}
.hero-actions{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}
#fx{position:absolute;inset:0;z-index:-1;pointer-events:none}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:16px 0}
.feature-grid li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);padding:16px;text-align:center}
.feature-icon{display:flex;justify-content:center;margin-bottom:12px}
.feature-icon img{border-radius:8px}
.content{padding:32px 0}
.registration-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin:32px 0}
.step-item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;align-items:center;text-align:center;transition:transform .2s ease,box-shadow .2s ease}
.step-item:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.3)}
.step-image{margin-bottom:16px}
.step-image img{border-radius:var(--radius);box-shadow:0 4px 16px rgba(0,0,0,.2)}
.step-content{display:flex;flex-direction:column;align-items:center;gap:8px}
.step-number{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#00110d;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.1rem;margin-bottom:8px}
.step-content h3{margin:0;color:var(--text)}
.step-content p{margin:8px 0 0;color:var(--muted);line-height:1.5}
.about-hero,.team-hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin:32px 0}
.about-image,.team-image{display:flex;justify-content:center}
.about-image img,.team-image img{border-radius:var(--radius);box-shadow:0 8px 32px rgba(0,0,0,.3)}
.about-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px;margin:32px 0;text-align:center}
.stat-item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);padding:20px}
.stat-item img{margin-bottom:12px;border-radius:8px}
.stat-item h3,.stat-item h4{margin:8px 0;color:var(--accent);font-size:2rem}
.support-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin:20px 0}
.service-item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);padding:20px;text-align:center}
.service-item img{margin-bottom:12px;border-radius:8px}
.site-footer{border-top:1px solid rgba(255,255,255,.08);padding:28px 0;background:rgba(11,18,33,.8)}
.footer-inner{display:flex;flex-direction:column;gap:12px}
/* High contrast focus visible */
:where(a,button,.btn,input,select,textarea):focus-visible{outline:2px dashed var(--focus);outline-offset:2px}
/* Responsive design */
@media (max-width:768px){
  .hero-content,.about-hero,.team-hero{grid-template-columns:1fr;gap:24px}
  .hero-image,.about-image,.team-image{order:-1}
  .feature-grid{grid-template-columns:1fr}
  .registration-steps{grid-template-columns:1fr;gap:20px}
  .about-stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
  .support-services{grid-template-columns:1fr}
  /* Optimize images for mobile */
  .hero-image img,.about-image img,.team-image img{max-width:100%;height:auto}
  .step-image img{max-width:180px;height:auto}
  .feature-icon img{max-width:48px;height:auto}
  .stat-item img{max-width:60px;height:auto}
  .service-item img{max-width:48px;height:auto}
  /* Responsive heading sizes */
  h1{font-size:2rem}
  h2{font-size:1.75rem}
  h3{font-size:1.5rem}
  h4{font-size:1.25rem}
  h5{font-size:1.125rem}
  h6{font-size:1rem}
  /* Responsive semantic element heading sizes */
  section h1, article h1, aside h1, nav h1{font-size:2rem}
  section h2, article h2, aside h2, nav h2{font-size:1.75rem}
  section h3, article h3, aside h3, nav h3{font-size:1.5rem}
  section h4, article h4, aside h4, nav h4{font-size:1.25rem}
  section h5, article h5, aside h5, nav h5{font-size:1.125rem}
  section h6, article h6, aside h6, nav h6{font-size:1rem}
}

/* Extra small screens */
@media (max-width:480px){
  h1{font-size:1.75rem}
  h2{font-size:1.5rem}
  h3{font-size:1.25rem}
  h4{font-size:1.125rem}
  h5{font-size:1rem}
  h6{font-size:0.875rem}
  /* Extra small semantic element heading sizes */
  section h1, article h1, aside h1, nav h1{font-size:1.75rem}
  section h2, article h2, aside h2, nav h2{font-size:1.5rem}
  section h3, article h3, aside h3, nav h3{font-size:1.25rem}
  section h4, article h4, aside h4, nav h4{font-size:1.125rem}
  section h5, article h5, aside h5, nav h5{font-size:1rem}
  section h6, article h6, aside h6, nav h6{font-size:0.875rem}
}
/* Reduce motion effects */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}
}

