/* Home page — frozen from the approved v36 public demo, adapted only for real links. */
body[data-public-page="home"] .hero{display:grid}
body[data-public-page="home"] .actions a,
body[data-public-page="home"] .features a,
body[data-public-page="home"] .homeTournament a{text-decoration:none}
body[data-public-page="home"] .actions .primary,
body[data-public-page="home"] .actions .secondary,
body[data-public-page="home"] .homeTournament .secondary{display:inline-flex;align-items:center;justify-content:center}

.homeTournament{margin:0;background:linear-gradient(112deg,#171d46,#2e317b 60%,#1a5791);color:#fff;min-height:205px;padding:34px 7vw;display:grid;grid-template-columns:150px 1fr auto;gap:28px;align-items:center;position:relative;overflow:hidden}
.homeTournament:after{content:"";position:absolute;width:280px;height:280px;border:50px solid #44b0e522;border-radius:50%;right:8%;top:-100px}
.tournamentBadge{width:125px;height:125px;border-radius:50%;background:var(--orange);display:grid;place-content:center;text-align:center;box-shadow:0 0 0 10px #ffffff10,0 18px 35px #0003;animation:badgeFloat 4s ease-in-out infinite}
.tournamentBadge small,.tournamentBadge span{font-size:9px;font-weight:bold;letter-spacing:.12em}
.tournamentBadge b{font-size:34px;line-height:1}
.homeTournament>div:nth-child(2){position:relative;z-index:2}
.homeTournament>div:nth-child(2)>span{font-size:9px;color:var(--sky);font-weight:bold;letter-spacing:.15em}
.homeTournament h2{font-size:31px;margin:7px 0}
.homeTournament p{margin:0;color:#d9ddf1}
.tournamentActions{display:grid;gap:8px;position:relative;z-index:2}
.tournamentActions .secondary{color:#fff;border-color:#ffffff50;background:#ffffff0e}
.features article a{border:0;background:none;color:var(--orange);font-weight:bold}
@keyframes badgeFloat{50%{transform:translateY(-9px) rotate(2deg)}}
@media(max-width:1000px){.homeTournament{grid-template-columns:120px 1fr}.tournamentActions{grid-column:2;grid-template-columns:1fr 1fr}}
@media(max-width:720px){.homeTournament{grid-template-columns:1fr;text-align:center}.tournamentBadge{margin:auto}.tournamentActions{grid-column:auto;grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.tournamentBadge{animation:none!important}}


/* Home hero sports illustration — exact v36 enhancement moved out of runtime JS. */
body[data-public-page="home"] .sportArt{
  isolation:isolate;
  background:radial-gradient(circle at 48% 44%,#44b0e559,transparent 48%),linear-gradient(145deg,#24276b,#121834)!important;
  overflow:hidden;
}
body[data-public-page="home"] .sportArt:after{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(#ffffff12 1px,transparent 1px);
  background-size:20px 20px;
  z-index:-3;
}
body[data-public-page="home"] .tentCanopy{
  position:absolute;left:5%;right:5%;top:7%;height:145px;z-index:3;
  filter:drop-shadow(0 16px 14px #0005);
}
body[data-public-page="home"] .tentCanopy span{
  position:absolute;left:3%;right:3%;top:42px;height:15px;
  background:linear-gradient(90deg,var(--sky),#fff 50%,var(--sky));
  clip-path:polygon(0 85%,50% 0,100% 85%,100% 100%,50% 20%,0 100%);
}
body[data-public-page="home"] .tentCanopy:before,
body[data-public-page="home"] .tentCanopy:after{
  content:"";position:absolute;top:55px;width:8px;height:86px;
  background:linear-gradient(#fff,#44b0e588);
}
body[data-public-page="home"] .tentCanopy:before{left:4%}
body[data-public-page="home"] .tentCanopy:after{right:4%}
body[data-public-page="home"] .tentCanopy b{
  position:absolute;top:58px;left:50%;transform:translateX(-50%);
  color:#ffffffb8;letter-spacing:.55em;font-size:12px;
}
body[data-public-page="home"] .tentCanopy i,
body[data-public-page="home"] .tentCanopy em,
body[data-public-page="home"] .tentCanopy u{
  position:absolute;top:62px;width:2px;height:72px;background:#ffffff24;transform-origin:top;
}
body[data-public-page="home"] .tentCanopy i{left:26%;transform:rotate(-9deg)}
body[data-public-page="home"] .tentCanopy em{left:50%}
body[data-public-page="home"] .tentCanopy u{right:26%;transform:rotate(9deg)}
body[data-public-page="home"] .heroSpotlight{
  position:absolute;top:92px;width:170px;height:430px;
  background:linear-gradient(#ffffff24,transparent 70%);
  clip-path:polygon(45% 0,55% 0,100% 100%,0 100%);
  z-index:-1;animation:homeSpotSweep 7s ease-in-out infinite alternate;
}
body[data-public-page="home"] .lightOne{left:13%;transform:rotate(10deg)}
body[data-public-page="home"] .lightTwo{right:5%;animation-delay:-3.5s}
body[data-public-page="home"] .heroCourtLines{
  position:absolute;left:4%;right:-9%;bottom:-23%;height:330px;
  border:2px solid #54bbe655;
  transform:perspective(650px) rotateX(62deg) rotateZ(-5deg);
  z-index:-1;
}
body[data-public-page="home"] .heroCourtLines i{position:absolute;background:#54bbe655}
body[data-public-page="home"] .heroCourtLines i:first-child{height:2px;left:0;right:0;top:50%}
body[data-public-page="home"] .heroCourtLines i:nth-child(2){width:2px;top:0;bottom:0;left:50%}
body[data-public-page="home"] .heroCourtLines i:nth-child(3){height:2px;left:0;right:0;top:22%}
body[data-public-page="home"] .sportArt .paddle{
  z-index:4;top:25%;animation:homePaddleFloat 4.3s ease-in-out infinite;
}
body[data-public-page="home"] .sportArt .ball{
  z-index:5;top:41%;animation:homeBallFlight 3.2s ease-in-out infinite;
  box-shadow:0 20px 35px #0004;
}
body[data-public-page="home"] .sportArt .floatCard{
  z-index:5;animation:homeCardDrift 5s ease-in-out infinite;
}
body[data-public-page="home"] .openPlayFloat{
  position:absolute;right:7%;top:20%;z-index:6;background:#ffffffed;color:var(--ink);
  border-radius:13px;padding:13px 16px;display:grid;box-shadow:0 15px 40px #0004;
  animation:homeCardDrift 4.5s ease-in-out -2s infinite;
}
body[data-public-page="home"] .openPlayFloat small{color:var(--orange);font-weight:bold}
body[data-public-page="home"] .openPlayFloat span{font-size:9px;color:#2d9b5b;margin-top:4px}
@keyframes homePaddleFloat{0%,100%{transform:translateY(0) rotate(-12deg)}50%{transform:translateY(-20px) rotate(-7deg)}}
@keyframes homeBallFlight{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(-25px,-32px) rotate(20deg)}}
@keyframes homeCardDrift{50%{transform:translateY(-12px)}}
@keyframes homeSpotSweep{to{transform:translateX(95px) rotate(-8deg)}}
@media(max-width:900px){
  body[data-public-page="home"] .openPlayFloat{right:4%}
}
@media(max-width:600px){
  body[data-public-page="home"] .tentCanopy{top:2%}
  body[data-public-page="home"] .openPlayFloat{top:14%;right:3%;padding:10px 12px}
  body[data-public-page="home"] .openPlayFloat b{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  body[data-public-page="home"] .heroSpotlight,
  body[data-public-page="home"] .sportArt .paddle,
  body[data-public-page="home"] .sportArt .ball,
  body[data-public-page="home"] .sportArt .floatCard,
  body[data-public-page="home"] .openPlayFloat{animation:none!important}
}

/* Mobile-only containment fix for the approved Home hero.
   Desktop/tablet presentation remains unchanged. */
@media(max-width:600px){
  body[data-public-page="home"]{overflow-x:hidden}
  body[data-public-page="home"] .hero,
  body[data-public-page="home"] .hero .copy,
  body[data-public-page="home"] .hero .sportArt{min-width:0;max-width:100%}
  body[data-public-page="home"] .hero .copy{overflow:hidden}
  body[data-public-page="home"] .hero h1{
    max-width:100%;
    font-size:clamp(40px,12.5vw,49px);
    line-height:.98;
    overflow-wrap:normal;
    word-break:normal;
  }
  body[data-public-page="home"] .hero p{
    width:auto;
    max-width:100%;
    overflow-wrap:break-word;
  }
  body[data-public-page="home"] .actions{
    width:100%;
    flex-wrap:wrap;
  }
  body[data-public-page="home"] .actions a{
    min-width:0;
    max-width:100%;
  }
  body[data-public-page="home"] .facts{
    width:100%;
    max-width:100%;
    gap:0;
    align-items:flex-start;
  }
  body[data-public-page="home"] .facts>span{
    width:auto!important;
    min-width:0;
    flex:1 1 0;
    padding:0 9px;
  }
  body[data-public-page="home"] .facts>span:first-child{padding-left:0}
  body[data-public-page="home"] .facts>span:last-child{padding-right:0}
  body[data-public-page="home"] .facts b{font-size:22px}
  body[data-public-page="home"] .sportArt{overflow:hidden}
}
