/* Homepage redesign — final Australian dark-luxury mockup */
:root{
  --home-red:#f31336;
  --home-red-dark:#d8072a;
  --home-navy:#080e17;
  --home-white:#f7f8fb;
  --home-muted:#adb5c2;
  --home-gold:#d9a11b;
}
html{scroll-behavior:smooth;}
body::before{
  background-image:linear-gradient(180deg,rgba(4,10,20,.35) 0%,rgba(4,10,20,.55) 50%,rgba(4,10,20,.90) 100%),url('./images/hero-australia-casino.webp')!important;
  background-position:center top!important;
}
.nl-flag-bar{position:relative;z-index:70;height:3px!important;opacity:.75!important;}
.site-header{
  min-height:72px;
  background:rgba(8,14,23,.91)!important;
  border-bottom:1px solid rgba(255,255,255,.075)!important;
  box-shadow:none!important;
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
}
.site-header .header-inner{width:min(1200px,calc(100% - 40px));max-width:1200px;min-height:72px;gap:28px;}
.logo{font-size:28px!important;letter-spacing:-.045em!important;line-height:1;color:var(--home-white)!important;}
.logo span{color:var(--home-red)!important;}
.header-actions{display:flex;align-items:center;gap:18px;margin-left:auto;}
.nav-desktop{gap:28px!important;}
.nav-desktop a{position:relative;color:rgba(247,248,251,.82)!important;font-size:14px;font-weight:650!important;letter-spacing:.005em;}
.nav-desktop a::after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--home-red);transition:right .18s ease;}
.nav-desktop a:hover,.nav-desktop a:focus-visible{color:#fff!important;}
.nav-desktop a:hover::after,.nav-desktop a:focus-visible::after{right:0;}
.header-search-toggle{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#f4f6fa;cursor:pointer;}
.header-search-toggle:hover,.header-search-toggle:focus-visible{background:rgba(255,255,255,.07);color:var(--home-red);}
.header-search-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;}
.market-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:78px;height:36px;padding:0 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.035);color:#f5f6f8;font-size:13px;font-weight:750;white-space:nowrap;}
.market-chevron{font-size:10px;color:#9da6b4;}
.site-search-panel{position:absolute;left:0;right:0;top:100%;z-index:60;padding:10px 20px 14px;background:rgba(8,14,23,.97);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 16px 30px rgba(0,0,0,.24);}
.site-search-panel[hidden]{display:none;}
.site-search-form{display:flex;align-items:center;gap:10px;width:min(720px,100%);margin:0 auto;}
.site-search-form input{flex:1;min-width:0;height:44px;padding:0 15px;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:#0d1724;color:#fff;font:inherit;}
.site-search-form button{height:44px;padding:0 19px;border:0;border-radius:12px;background:linear-gradient(180deg,var(--home-red),var(--home-red-dark));color:#fff;font-weight:800;cursor:pointer;}
.site-search-status{width:min(720px,100%);min-height:16px;margin:6px auto 0;color:var(--home-muted);font-size:12px;}
.header-search-toggle:focus-visible,.site-search-form input:focus-visible,.site-search-form button:focus-visible,.hero-action:focus-visible,.market-pill:focus-visible{outline:3px solid rgba(255,255,255,.8);outline-offset:3px;}

.hero,
body .hero:not(.review-page-hero):not(.review-mobile-hero):not(.review-page-hero-v2){min-height:360px;padding:12px 0!important;text-align:center;overflow:visible!important;}
.hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,10,20,.02),rgba(4,10,20,.18) 68%,rgba(4,10,20,.42));}
.hero::after{inset:auto 18% 0!important;background:linear-gradient(90deg,transparent,rgba(255,255,255,.13),transparent)!important;}
.hero .container{width:min(1200px,calc(100% - 36px));max-width:1200px;}
.hero-meta-row,
body .hero:not(.review-page-hero):not(.review-mobile-hero):not(.review-page-hero-v2) .hero-meta-row{display:flex!important;justify-content:center!important;}
.hero-meta-row .hero-badge{height:34px;padding:0 15px!important;border:1px solid rgba(217,161,27,.7)!important;border-radius:999px!important;background:rgba(4,10,20,.72)!important;color:#f6f4ee!important;font-size:12px!important;font-weight:800!important;letter-spacing:.055em!important;text-transform:uppercase;box-shadow:0 8px 20px rgba(0,0,0,.16);}
.hero h1,
body .hero:not(.review-page-hero):not(.review-mobile-hero):not(.review-page-hero-v2) h1{max-width:900px!important;margin:9px auto 8px!important;font-size:clamp(46px,3.8vw,58px)!important;line-height:.99!important;letter-spacing:-.055em!important;font-weight:900!important;text-wrap:balance;text-shadow:0 3px 20px rgba(0,0,0,.35);}
.hero h1 .highlight{color:var(--home-red)!important;}
.hero-sub,
body .hero:not(.review-page-hero):not(.review-mobile-hero):not(.review-page-hero-v2) .hero-sub{max-width:760px!important;margin:0 auto!important;color:rgba(255,255,255,.84)!important;font-size:17px!important;line-height:1.4!important;}
.hero-actions{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px;}
.hero-action{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:54px;padding:0 27px;border-radius:15px;text-decoration:none!important;color:#fff!important;font-size:16px;font-weight:850;transition:transform .18s ease,filter .18s ease,background .18s ease,border-color .18s ease;}
.hero-action-primary{min-width:270px;border:1px solid rgba(255,86,111,.82);background:linear-gradient(180deg,#f31336 0%,#d8072a 100%);box-shadow:0 10px 22px rgba(0,0,0,.25),0 4px 16px rgba(216,7,42,.16);}
.hero-action-secondary{min-width:225px;border:1px solid rgba(255,255,255,.4);background:rgba(5,12,21,.66);}
.hero-action:hover{transform:translateY(-1px);filter:brightness(1.08);}
.hero-action-secondary:hover{background:rgba(255,255,255,.07);}
.hero-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.hero-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;width:min(760px,100%);margin:12px auto 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.11);text-align:left;}
.hero-trust-item{display:flex;align-items:center;justify-content:center;gap:11px;min-width:0;}
.hero-trust-item svg{width:29px;height:29px;flex:0 0 29px;fill:none;stroke:rgba(255,255,255,.9);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.hero-trust-copy{display:grid;gap:2px;min-width:0;}
.hero-trust-copy strong{color:#f7f8fb;font-size:12.5px;line-height:1.2;font-weight:750;white-space:nowrap;}
.hero-trust-copy span{color:#aeb6c3;font-size:11px;line-height:1.25;}

.casino-section{padding-top:10px!important;}
.casino-section-heading{position:relative;width:min(1200px,100%);min-height:66px;margin:0 auto 4px;display:flex;align-items:flex-start;justify-content:center;}
.casino-section-heading .section-title{margin:0!important;color:#fff!important;font-size:clamp(36px,3vw,42px)!important;line-height:1.15!important;font-weight:900!important;letter-spacing:-.04em!important;}
.casino-section-heading .section-title::after{width:70px!important;height:2px!important;margin-top:10px!important;box-shadow:0 0 12px rgba(243,19,54,.18)!important;}
.section-updated{position:absolute;right:0;bottom:12px;display:inline-flex;align-items:center;gap:7px;color:#aeb5c0;font-size:12px;font-weight:600;white-space:nowrap;}
.section-updated svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;}
.desktop-casino-card-list{margin-top:0!important;}
.premium-casino-card:not(.is-top-pick){border-color:rgba(239,24,54,.34);box-shadow:0 14px 34px rgba(0,0,0,.28),0 0 14px rgba(235,20,50,.025);}

@media (min-width:1600px){
  .site-header .header-inner,.hero .container,.casino-section-heading{max-width:1200px;}
  .desktop-casino-card-list{max-width:1120px!important;}
}

@media (max-width:900px){
  .site-header .header-inner{width:min(100% - 28px,1200px);}
  .nav-desktop{gap:18px!important;}
  .header-actions{gap:10px;}
  .hero{min-height:360px;}
  .hero-trust{gap:14px;}
  .hero-trust-copy strong{white-space:normal;}
  .section-updated{right:8px;}
}

@media (max-width:720px){
  body::before{background-image:linear-gradient(180deg,rgba(4,10,20,.38) 0%,rgba(4,10,20,.59) 48%,rgba(4,10,20,.92) 100%),url('./images/hero-australia-casino-mobile.webp')!important;}
  .site-header,.site-header .header-inner{min-height:62px!important;}
  .site-header .header-inner{width:100%!important;padding-inline:14px!important;gap:10px;}
  .logo{font-size:24px!important;}
  .header-actions{gap:7px;}
  .header-search-toggle{width:38px;height:38px;}
  .market-pill{min-width:66px;height:34px;padding-inline:10px;font-size:12px;}
  .hamburger{display:inline-flex!important;width:38px;height:38px;align-items:center;justify-content:center;padding:6px!important;}
  .site-search-panel{padding-inline:14px;}
  .mobile-menu{background:rgba(8,14,23,.97);padding:10px 14px 16px!important;}
  .mobile-menu a{min-height:42px;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.07);}
  .hero,
  body .hero:not(.review-page-hero):not(.review-mobile-hero):not(.review-page-hero-v2){min-height:0;padding:16px 0 14px!important;}
  .hero .container{width:100%!important;padding-inline:16px!important;}
  .hero-meta-row .hero-badge{height:31px;padding-inline:11px!important;font-size:10px!important;letter-spacing:.035em!important;}
  .hero h1,
  body .hero:not(.review-page-hero):not(.review-mobile-hero):not(.review-page-hero-v2) h1{margin:9px auto 8px!important;font-size:clamp(36px,10.2vw,44px)!important;line-height:.98!important;letter-spacing:-.05em!important;}
  .hero-sub,
  body .hero:not(.review-page-hero):not(.review-mobile-hero):not(.review-page-hero-v2) .hero-sub{max-width:560px!important;font-size:15.5px!important;line-height:1.36!important;}
  .hero-actions{flex-direction:column;gap:8px;margin-top:12px;}
  .hero-action{width:100%;min-width:0;min-height:48px;padding-inline:18px;font-size:15px;}
  .hero-trust{grid-template-columns:1fr;gap:8px;width:min(330px,100%);margin-top:12px;padding-top:11px;}
  .hero-trust-item{justify-content:flex-start;}
  .hero-trust-item svg{width:25px;height:25px;flex-basis:25px;}
  .hero-trust-copy strong{font-size:13px;}
  .hero-trust-copy span{color:#c3c9d2;font-size:12px;line-height:1.3;}
  .casino-section{padding-top:12px!important;}
  .casino-section-heading{min-height:88px;margin-bottom:0;display:grid;place-items:start center;align-content:start;gap:10px;}
  .casino-section-heading .section-title{font-size:34px!important;text-align:center;}
  .section-updated{position:static;justify-self:center;color:#c7cdd6;font-size:12.5px;}
}

@media (max-width:390px){
  .market-chevron{display:none;}
  .market-pill{min-width:57px;padding-inline:8px;}
  .hero h1{font-size:36px!important;}
  .hero-meta-row .hero-badge{font-size:9.5px!important;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .nav-desktop a::after,.hero-action{transition:none;}
}
