/* =============================================================================
   NAS Sports Tournament — design system

   Everything here derives from the crest: a hexagon drawn in one sweep of
   indigo → blue → teal → green. So the page uses hexagons as its ambient
   geometry, cuts card corners on the same 30° diagonal the crest uses, and
   spends the gradient sparingly — on the things you can act on.

   Light throughout: ink on paper, with colour as accent rather than ground.
   ========================================================================== */

:root{
  /* Sampled from logo-top.png */
  --indigo:#3C2478; --blue:#246090; --teal:#18A89C; --green:#54B454;
  --grad:linear-gradient(120deg,var(--indigo) 0%,var(--blue) 34%,var(--teal) 68%,var(--green) 100%);
  --grad-soft:linear-gradient(120deg,rgba(60,36,120,.12),rgba(36,96,144,.10) 40%,rgba(24,168,156,.12) 70%,rgba(84,180,84,.12));

  --ink:#0E1B30; --ink-2:#33445F; --muted:#6B7C96;
  --line:#E4EBF4; --line-2:#D3DEEC;
  --bg:#F5F8FC; --card:#FFFFFF;

  --r-sm:10px; --r:14px; --r-lg:20px;
  /* Corner notch matching the crest's cut edges. */
  --notch:18px;
  --shadow-sm:0 2px 8px rgba(14,27,48,.05);
  --shadow:0 12px 30px rgba(14,27,48,.08);
  --shadow-lg:0 26px 60px rgba(14,27,48,.14);
  --ring:0 0 0 3px rgba(24,168,156,.20);
  --head-h:70px;
}

*,*::before,*::after{box-sizing:border-box}
/* Clip rather than hidden, and on html rather than body: `overflow-x:hidden`
   on body promotes body to its own scroll container, which breaks wheel
   scrolling in some embedders and confuses position:sticky. `clip` contains the
   decorative overflow without creating a scroll box at all. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font:16px/1.65 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-feature-settings:"kern","liga";
}
/* Arabic needs a face with real coverage and a touch more line height; the
   whole document mirrors rather than patching individual components. */
html[dir="rtl"] body{
  font-family:"Noto Naskh Arabic","Segoe UI",Tahoma,system-ui,serif;
  line-height:1.85;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.22;letter-spacing:-.015em}
::selection{background:rgba(24,168,156,.22)}

.wrap{max-width:1200px;margin:0 auto;padding:0 20px;position:relative}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Text that carries the crest's gradient. Used once or twice per page, never
   for anything long — it costs legibility. */
.grad-text{
  background:var(--grad);-webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
}

/* Corner-notched surface: the signature shape, one flat cut on opposing
   corners so cards echo the hexagon without literally being one. */
.notched{
  clip-path:polygon(var(--notch) 0,100% 0,100% calc(100% - var(--notch)),
                    calc(100% - var(--notch)) 100%,0 100%,0 var(--notch));
}

/* ------------------------------------------------------------ ambience -- */
/* Fixed, behind everything: soft brand light so large white areas are never
   flat. Cheap (three radial gradients), and it never scrolls or repaints. */
.mesh{
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(760px 520px at 8% -6%, rgba(60,36,120,.14), transparent 62%),
    radial-gradient(680px 520px at 96% 6%, rgba(24,168,156,.16), transparent 60%),
    radial-gradient(900px 640px at 50% 104%, rgba(84,180,84,.13), transparent 62%);
}

/* ------------------------------------------------------------- header --- */
.site-header{
  position:sticky;top:0;z-index:60;background:rgba(255,255,255,.86);
  backdrop-filter:saturate(1.6) blur(14px);border-bottom:1px solid var(--line);
}
/* The gradient reads as a hairline signature rather than a band. */
.site-header::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:2px;background:var(--grad);opacity:.85}
.site-header .bar{display:flex;align-items:center;gap:18px;min-height:var(--head-h);flex-wrap:wrap;padding:8px 0}
.brand{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}
.brand:hover{text-decoration:none}
.brand img{height:46px;width:auto;flex:none}
.brand-text{min-width:0;line-height:1.2}
.brand-text strong{display:block;font-size:14.5px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.brand-text span{display:block;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
html[dir="rtl"] .brand-text span{letter-spacing:0}

.nav{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.nav a{
  position:relative;padding:9px 14px;border-radius:var(--r-sm);
  font-size:14px;font-weight:650;color:var(--ink-2);white-space:nowrap;
}
.nav a:hover{background:rgba(36,96,144,.07);color:var(--ink);text-decoration:none}
.nav a.cta{
  margin-inline-start:6px;color:#fff;background:var(--grad);
  box-shadow:0 8px 20px rgba(36,96,144,.28);font-weight:750;
}
.nav a.cta:hover{filter:brightness(1.06);box-shadow:0 12px 26px rgba(36,96,144,.34)}
.lang-switch{
  margin-inline-start:4px;padding:8px 14px;border:1px solid var(--line-2);border-radius:999px;
  font-size:13px;font-weight:750;color:var(--blue);white-space:nowrap;background:#fff;
}
.lang-switch:hover{border-color:var(--teal);color:var(--teal);text-decoration:none}

/* ---------------------------------------------------------------- hero -- */
.hero{position:relative;padding:64px 0 78px;overflow:hidden}
/* Decorative hexagons, drawn as outlines at low opacity. Sparse and large —
   a few deliberate shapes read as design; a dense tile reads as wallpaper. */
.hero-hex{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hero-hex svg{position:absolute;opacity:.5}
.hero-hex .h1{top:-90px;inset-inline-end:-70px;width:420px;height:420px;animation:drift 26s ease-in-out infinite}
.hero-hex .h2{bottom:-140px;inset-inline-start:-90px;width:360px;height:360px;animation:drift 32s ease-in-out infinite reverse}
.hero-hex .h3{bottom:12%;inset-inline-end:38%;width:120px;height:120px;opacity:.26;animation:drift 22s ease-in-out infinite}
@keyframes drift{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  50%{transform:translate3d(0,-24px,0) rotate(8deg)}
}
@media (prefers-reduced-motion:reduce){.hero-hex svg{animation:none}}

.hero-grid{position:relative;z-index:2;display:grid;gap:44px;align-items:center;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);}
.hero-inner{min-width:0}

/* Honeycomb: the crest's hexagon used literally, as windows onto the sports.
   Sized from a pointy-top hexagon — horizontal step W, diagonal step W/2 and
   0.75H — so the cells interlock the way a real honeycomb does. */
.hero-comb{
  --w:158px; --h:182px; --g:9px;
  position:relative;width:calc(var(--w) * 2 + var(--g));
  height:calc(var(--h) * 1.75 + var(--g));margin-inline-start:auto;
}
.hero-comb .cell{
  position:absolute;width:var(--w);height:var(--h);overflow:hidden;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
  background:var(--grad);
  animation:comb-in .7s cubic-bezier(.2,.7,.3,1) both;
}
.hero-comb .cell img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.hero-comb .cell:hover img{transform:scale(1.09)}
/* One cell drops the photo and carries the crest on white, tying the cluster to
   the brand instead of reading as a stock collage. The logo is left untouched —
   knocking it to white loses the gradient that makes it recognisable. */
.hero-comb .cell.mark{
  display:flex;align-items:center;justify-content:center;
  background:#fff;box-shadow:inset 0 0 0 1px var(--line);
}
.hero-comb .cell.mark img{width:66%;height:auto;object-fit:contain}
.hero-comb .a{inset-inline-start:0;top:0;animation-delay:.05s}
.hero-comb .b{inset-inline-start:calc(var(--w) + var(--g));top:0;animation-delay:.13s}
.hero-comb .c{inset-inline-start:calc(var(--w) / 2 + var(--g) / 2);top:calc(var(--h) * .75 + var(--g));animation-delay:.21s}
.hero-comb .d{inset-inline-start:calc(var(--w) * 1.5 + var(--g) * 1.5);top:calc(var(--h) * .75 + var(--g));animation-delay:.29s}
@keyframes comb-in{from{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hero-comb .cell{animation:none}}
.hero .kicker{
  display:inline-flex;align-items:center;gap:9px;padding:7px 15px 7px 9px;border-radius:999px;
  background:#fff;border:1px solid var(--line-2);box-shadow:var(--shadow-sm);
  font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2);
  margin-bottom:22px;
}
.hero .kicker .dot{width:9px;height:9px;border-radius:50%;background:var(--grad);flex:none}
html[dir="rtl"] .hero .kicker{padding:7px 9px 7px 15px;letter-spacing:0}

.hero h1{
  margin:0 0 18px;font-size:clamp(30px,5.4vw,58px);font-weight:850;letter-spacing:-.03em;
  line-height:1.08;
}
.hero p{margin:0;font-size:clamp(15px,1.6vw,18px);line-height:1.8;color:var(--ink-2);max-width:660px}
.hero p + p{margin-top:12px}

.hero-meta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:28px}
/* Dates sit on a ticket stub — a small piece of physicality on an otherwise
   flat page, and it makes the one date on screen impossible to miss. */
.ticket{
  position:relative;display:inline-flex;align-items:center;gap:12px;
  padding:13px 20px;border-radius:var(--r);background:#fff;
  border:1px solid var(--line-2);box-shadow:var(--shadow);
}
.ticket::before{content:"";width:4px;align-self:stretch;border-radius:99px;background:var(--grad)}
.ticket .k{display:block;font-size:10.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.ticket .v{display:block;font-size:15px;font-weight:800;color:var(--ink)}
html[dir="rtl"] .ticket .k{letter-spacing:0}

/* ------------------------------------------------------------- buttons -- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 26px;border:0;border-radius:var(--r);font:inherit;font-size:15px;font-weight:750;
  color:#fff;background:var(--grad);cursor:pointer;position:relative;overflow:hidden;
  box-shadow:0 12px 28px rgba(36,96,144,.28);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
/* Sheen sweep on hover — one flourish, on the element you most want clicked. */
.btn::after{
  content:"";position:absolute;top:0;bottom:0;width:45%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
  transform:translateX(-180%) skewX(-18deg);transition:transform .6s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(36,96,144,.34);text-decoration:none}
.btn:hover::after{transform:translateX(260%) skewX(-18deg)}
.btn:active{transform:translateY(0)}
.btn.ghost{
  background:#fff;color:var(--blue);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);
}
.btn.ghost:hover{border-color:var(--teal);color:var(--teal);box-shadow:var(--shadow)}
.btn.ghost::after{display:none}
.btn.danger{background:#C0392B;box-shadow:0 12px 28px rgba(192,57,43,.28)}
.btn.sm{padding:9px 16px;font-size:13.5px;border-radius:var(--r-sm)}
.btn.lg{padding:17px 34px;font-size:16.5px}
.actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:22px;align-items:center}

/* -------------------------------------------------------- section head -- */
.section{padding:44px 0}
.section-head{margin-bottom:26px;max-width:720px}
.section-head .eyebrow{
  display:block;font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--teal);margin-bottom:9px;
}
html[dir="rtl"] .section-head .eyebrow{letter-spacing:0}
.section-head h2{margin:0;font-size:clamp(22px,3vw,32px);font-weight:820;letter-spacing:-.02em}
.section-head p{margin:9px 0 0;color:var(--muted);font-size:15px}

/* ---------------------------------------------------------- sport grid -- */
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.sport-card{
  position:relative;background:var(--card);border-radius:var(--r-lg);overflow:hidden;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;
  border:1px solid var(--line);
  transition:transform .24s cubic-bezier(.2,.7,.3,1),box-shadow .24s ease,border-color .24s ease;
}
.sport-card:hover{transform:translateY(-7px);box-shadow:var(--shadow-lg);border-color:transparent;text-decoration:none}
/* Gradient ring appears on hover instead of sitting there permanently — the
   grid stays calm at rest and the hovered tile is unmistakable. */
.sport-card::after{
  content:"";position:absolute;inset:0;border-radius:var(--r-lg);padding:2px;
  background:var(--grad);opacity:0;transition:opacity .24s ease;pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.sport-card:hover::after{opacity:1}

.sport-card .thumb{position:relative;aspect-ratio:16/11;overflow:hidden;background:#DCE6F1}
.sport-card .thumb img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .5s cubic-bezier(.2,.7,.3,1);
}
.sport-card:hover .thumb img{transform:scale(1.07)}
.sport-card .thumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(14,27,48,0) 40%,rgba(14,27,48,.55));
}
.sport-card .badge{
  position:absolute;z-index:2;inset-inline-start:12px;top:12px;
  padding:6px 11px;border-radius:999px;font-size:10.5px;font-weight:800;
  letter-spacing:.09em;text-transform:uppercase;color:#0E1B30;
  background:rgba(255,255,255,.93);backdrop-filter:blur(6px);
}
html[dir="rtl"] .sport-card .badge{letter-spacing:0}
.sport-card .body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:7px;flex:1}
.sport-card .body h3{margin:0;font-size:16.5px;font-weight:780;color:var(--ink);line-height:1.32}
.sport-card .body .meta{font-size:12.5px;color:var(--muted)}
.sport-card .body .go{
  margin-top:auto;padding-top:10px;font-size:13px;font-weight:800;color:var(--teal);
  display:flex;align-items:center;gap:7px;
}
.sport-card .body .go .arrow{transition:transform .24s ease}
.sport-card:hover .body .go .arrow{transform:translateX(5px)}
html[dir="rtl"] .sport-card:hover .body .go .arrow{transform:translateX(-5px) scaleX(-1)}
html[dir="rtl"] .sport-card .body .go .arrow{transform:scaleX(-1)}

/* --------------------------------------------------------------- panel -- */
.panel{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:26px 28px;box-shadow:var(--shadow-sm);margin-bottom:20px;
}
.panel > h2{margin:0 0 6px;font-size:20px;font-weight:800}
.panel h3{margin:24px 0 10px;font-size:16px;font-weight:800;color:var(--blue)}
.panel h3:first-child{margin-top:0}
.panel ol,.panel ul{margin:0 0 14px;padding-inline-start:22px}
.panel li{margin:6px 0}
.lede{color:var(--muted);margin:0 0 18px;font-size:15px}

.page-head{position:relative;padding:46px 0 40px;overflow:hidden}
.page-head h1{margin:0;font-size:clamp(24px,3.4vw,36px);font-weight:840;letter-spacing:-.025em}
.page-head .sub{margin-top:8px;font-size:14.5px;color:var(--muted)}
.page-head .sub a{color:var(--blue)}

/* --------------------------------------------------------------- table -- */
.table-scroll{overflow-x:auto;margin:0 0 18px;border-radius:var(--r);border:1px solid var(--line)}
table.data{width:100%;border-collapse:collapse;font-size:14px;min-width:460px;background:#fff}
table.data th,table.data td{padding:11px 14px;text-align:start;border-bottom:1px solid var(--line)}
table.data th{
  background:#F1F6FB;font-weight:750;font-size:12px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-2);white-space:nowrap;
}
html[dir="rtl"] table.data th{letter-spacing:0}
table.data tbody tr:last-child td{border-bottom:0}
table.data tbody tr:hover{background:#FAFCFE}
/* Prize tables read as a podium rather than a spreadsheet. */
table.data.podium td:nth-child(2){background:rgba(212,175,55,.15);font-weight:780}
table.data.podium td:nth-child(3){background:rgba(150,160,172,.16);font-weight:730}
table.data.podium td:nth-child(4){background:rgba(176,124,72,.15);font-weight:730}

/* ---------------------------------------------------------- categories -- */
.cat-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(172px,1fr))}
.cat-card{
  position:relative;border:1px solid var(--line);border-radius:var(--r);padding:18px 12px;
  background:#fff;display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--teal)}
.cat-card img{height:92px;width:auto;object-fit:contain}
.cat-card .name{font-size:13.5px;font-weight:750;color:var(--ink);line-height:1.4}
.cat-card .fee{
  font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--teal);
}
html[dir="rtl"] .cat-card .fee{letter-spacing:0}
/* Radio lives inside the label; hide the control and let the card be the target. */
.cat-card.selectable{cursor:pointer}
.cat-card.selectable input{position:absolute;opacity:0;pointer-events:none}
.cat-card.selectable:has(input:checked){
  border-color:transparent;box-shadow:var(--shadow),0 0 0 2px var(--teal);
  background:linear-gradient(180deg,rgba(24,168,156,.07),rgba(255,255,255,0));
}
.cat-card.selectable:has(input:focus-visible){box-shadow:var(--ring)}

/* --------------------------------------------------------- sport page --- */
.sport-hero{position:relative;min-height:400px;display:flex;align-items:flex-end;overflow:hidden}
.sport-hero .bg{position:absolute;inset:0}
.sport-hero .bg img{width:100%;height:100%;object-fit:cover}
/* Two scrims: a brand wash for identity, a dark foot so the type stays legible
   over whatever the photograph happens to be doing at the bottom. */
.sport-hero .bg::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(10,20,38,.10) 0%,rgba(10,20,38,.30) 42%,rgba(8,16,32,.90) 100%),
    linear-gradient(115deg,rgba(60,36,120,.62),rgba(36,96,144,.34) 45%,rgba(24,168,156,.24));
}
.sport-hero .inner{position:relative;z-index:2;width:100%;padding:70px 0 32px;color:#fff}
.sport-hero .eyebrow{
  display:inline-block;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;
  padding:6px 13px;border-radius:999px;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.32);backdrop-filter:blur(8px);margin-bottom:14px;
}
html[dir="rtl"] .sport-hero .eyebrow{letter-spacing:0}
.sport-hero h1{
  margin:0 0 8px;font-size:clamp(26px,4.4vw,44px);font-weight:850;letter-spacing:-.03em;
  text-shadow:0 10px 40px rgba(0,0,0,.45);
}
.sport-hero .sub{font-size:15.5px;color:rgba(255,255,255,.92);max-width:720px}

.facts{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.fact{
  display:flex;flex-direction:column;gap:2px;padding:10px 15px;border-radius:var(--r);
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26);
  backdrop-filter:blur(10px);min-width:100px;
}
.fact .k{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.78)}
html[dir="rtl"] .fact .k{letter-spacing:0}
.fact .v{font-size:14.5px;font-weight:780;color:#fff}
.fact a{color:#fff;text-decoration:underline}

/* Rides just under the hero and sticks while you read the rules. */
.sport-main{padding-top:0}
.action-bar{
  position:sticky;top:calc(var(--head-h) + 8px);z-index:40;
  margin:-26px 0 26px;
  background:rgba(255,255,255,.93);backdrop-filter:saturate(1.5) blur(14px);
  border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);
  padding:14px 18px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;
}
.action-bar .grow{flex:1 1 240px;min-width:0;font-size:13px;color:var(--muted)}
.action-bar .grow strong{display:block;color:var(--ink);font-size:16px;font-weight:800;letter-spacing:-.015em}

.sport-body{display:grid;gap:28px;grid-template-columns:240px 1fr;align-items:start}
.rule-index{position:sticky;top:calc(var(--head-h) + 92px)}
.rule-index .idx-title{
  font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);margin:0 0 10px;padding-inline-start:12px;
}
html[dir="rtl"] .rule-index .idx-title{letter-spacing:0}
.rule-index ol{list-style:none;margin:0;padding:0;counter-reset:idx}
.rule-index li{counter-increment:idx}
.rule-index a{
  display:flex;gap:10px;align-items:baseline;padding:9px 12px;border-radius:var(--r-sm);
  font-size:13.5px;font-weight:650;color:var(--muted);line-height:1.4;
  border-inline-start:2px solid transparent;
}
.rule-index a::before{
  content:counter(idx,decimal-leading-zero);font-size:10.5px;font-weight:800;
  color:var(--teal);flex:none;
}
.rule-index a:hover{background:#fff;color:var(--ink);border-inline-start-color:var(--teal);text-decoration:none}

.rule-section{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--shadow-sm);padding:26px 28px;margin-bottom:18px;
  scroll-margin-top:calc(var(--head-h) + 90px);overflow:hidden;
}
/* A gradient hairline on the leading edge ties sections to the crest without
   introducing another block of colour. */
.rule-section::before{
  content:"";position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:var(--grad);
}
.rule-section > h3{
  margin:0 0 16px;font-size:18px;font-weight:820;color:var(--ink);letter-spacing:-.015em;
  display:flex;align-items:baseline;gap:12px;
}
.rule-section > h3 .num{
  font-size:11.5px;font-weight:800;color:var(--teal);letter-spacing:.06em;flex:none;
  padding-top:2px;
}
.rule-section ol,.rule-section ul{margin:0;padding-inline-start:20px}
.rule-section li{margin:8px 0;color:var(--ink-2)}
.rule-section li::marker{color:var(--teal);font-weight:750}
.rule-section > img{border-radius:var(--r);margin:4px 0 14px}

/* --------------------------------------------------------------- forms -- */
.form-grid{display:grid;gap:17px;grid-template-columns:repeat(auto-fit,minmax(236px,1fr))}
.field{display:flex;flex-direction:column;gap:6px}
.field.wide{grid-column:1/-1}
.field label{
  font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);
}
html[dir="rtl"] .field label{letter-spacing:0}
.field input,.field select,.field textarea{
  font:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line-2);
  border-radius:var(--r);background:#fff;color:var(--ink);width:100%;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#B9CADD}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--teal);box-shadow:var(--ring);
}
.check{display:flex;align-items:flex-start;gap:11px;font-size:14.5px;color:var(--ink-2);cursor:pointer}
.check input{width:19px;height:19px;margin-top:2px;flex:none;accent-color:var(--teal)}

.note{padding:14px 17px;border-radius:var(--r);font-size:14.5px;margin-bottom:18px;border:1px solid}
.note.ok{background:#EAF8F0;border-color:#B4E3C7;color:#1B6B3E}
.note.err{background:#FDECEA;border-color:#F3C3BD;color:#9E2A1B}
.note.info{background:#EEF4FB;border-color:#CEDFF1;color:#28547E}

.pill{
  display:inline-block;padding:5px 12px;border-radius:999px;font-size:11.5px;font-weight:800;
  letter-spacing:.05em;text-transform:uppercase;
}
html[dir="rtl"] .pill{letter-spacing:0}
.pill.pending{background:#FFF3DF;color:#9C6410}
.pill.confirmed{background:#E6F7EC;color:#1B6B3E}
.pill.cancelled{background:#EEF0F3;color:#5F6C7D}

code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.94em;
  background:#F1F5FA;padding:2px 7px;border-radius:6px;color:var(--blue);
}

/* -------------------------------------------------------------- footer -- */
.site-footer{
  position:relative;margin-top:50px;padding:44px 0 34px;background:#fff;
  border-top:1px solid var(--line);text-align:center;
}
.site-footer::before{content:"";position:absolute;inset-inline:0;top:-1px;height:2px;background:var(--grad);opacity:.85}
.site-footer .foot-logo{height:56px;width:auto;margin:0 auto 16px;opacity:.95}
.site-footer .title{
  font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);margin:0 0 14px;
}
html[dir="rtl"] .site-footer .title{letter-spacing:0}
.socials{display:flex;justify-content:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.socials a{
  width:44px;height:44px;border-radius:var(--r);background:#fff;border:1px solid var(--line-2);
  display:flex;align-items:center;justify-content:center;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease;
}
.socials svg{width:19px;height:19px;fill:var(--ink-2);transition:fill .2s ease}
.socials a:hover{
  transform:translateY(-4px);background:var(--grad);border-color:transparent;
  box-shadow:0 12px 26px rgba(36,96,144,.28);
}
.socials a:hover svg{fill:#fff}
.copy{margin:0;font-size:12.5px;color:var(--muted)}

/* -------------------------------------------------------------- mobile -- */
@media (max-width:1040px){
  .hero-grid{grid-template-columns:1fr}
  .hero-comb{--w:132px;--h:152px;margin-inline:0}
}
@media (max-width:900px){
  .sport-body{grid-template-columns:1fr}
  .rule-index{display:none}
  .sport-hero{min-height:320px}
  .sport-hero .inner{padding:56px 0 26px}
}
@media (max-width:640px){
  :root{--head-h:62px}
  .hero-comb{display:none}
  .hero{padding:44px 0 54px}
  .hero .kicker{margin-bottom:16px}
  .brand img{height:40px}
  .brand-text span{display:none}
  .nav a{padding:8px 11px;font-size:13.5px}
  .panel,.rule-section{padding:20px 18px}
  .action-bar{
    top:0;margin:0 0 20px;border-radius:0;border-inline:0;padding:12px 16px;
  }
  .action-bar .btn{flex:1 1 auto}
  .section{padding:32px 0}
}

/* ------------------------------------------------------------- roster --- */
/* Team registration builds a squad one card at a time; each row needs to read
   as a discrete person, not another band of form fields. */
.player-row{
  position:relative;border:1px solid var(--line);border-radius:var(--r);
  padding:18px;margin-bottom:14px;background:#FBFDFF;
}
.player-row + .player-row{margin-top:0}
.player-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;
}
.player-head strong{
  font-size:11.5px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);
  display:flex;align-items:center;gap:9px;
}
html[dir="rtl"] .player-head strong{letter-spacing:0}
.player-head .player-n{
  display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;
  border-radius:50%;background:var(--grad);color:#fff;font-size:12px;font-weight:800;letter-spacing:0;
}
.remove-player{
  border:1px solid var(--line-2);background:#fff;color:var(--muted);cursor:pointer;
  width:30px;height:30px;border-radius:8px;font-size:17px;line-height:1;flex:none;
  transition:border-color .18s ease,color .18s ease;
}
.remove-player:hover{border-color:#E2A9A1;color:#B4392A}
.roster-count{font-size:13px;color:var(--muted);font-weight:600}

/* Narrow column for auth and entry forms — heading and card share one axis. */
.wrap.narrow{max-width:660px}
.wrap.narrow.wide{max-width:880px}
