@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* Colours from the World Taekwondo Association badge: royal blue, red and gold, on a dark base */
:root {
  --bg: #11206a;
  --bg2: #16278a;
  --surf: #1b2c86;
  --surf2: #2338a6;
  --line: #3a4fbf;
  --text: #ffffff;
  --muted: #c7cff5;
  --royal: #2338c4;
  --deep: #0c1650;
  --red: #e0303c;
  --red2: #ff6d77;
  --blue: #3550d8;
  --blue2: #8ea0ff;
  --gold: #f5c400;
  --gold2: #ffe066;
  --wa: #25d366;
  --glow-red: rgba(224, 48, 60, .32);
  --glow-blue: rgba(53, 80, 216, .38);
  --glow-gold: rgba(245, 196, 0, .2);
  --radius: 16px;
  --wrap: 1180px;
  --head: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold2); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.04; letter-spacing: .01em; margin: 0 0 .5em; text-transform: uppercase; color: #fff; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #111; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.eyebrow { font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red2); margin-bottom: .8em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.hl { background: linear-gradient(90deg, var(--gold2), var(--red2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center-link { text-align: center; margin: 28px 0 0; }
.center-row { justify-content: center; margin-top: 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; font-family: var(--body); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, #ef4a55, var(--red)); color: #fff; box-shadow: 0 10px 28px var(--glow-red); }
.btn-primary:hover { background: #fff; color: #111; }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { background: #1fbd59; color: #06331a; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 22, 80, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; gap: 16px 20px; min-height: 74px; }
.brand { margin-right: auto; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text b { font-family: var(--head); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.brand-text span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold2); }
.brand:hover { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .97rem; white-space: nowrap; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--red); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 24px; height: 2px; background: #fff; position: absolute; left: 10px; content: ""; transition: transform .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -7px; left: 0; }
.nav-toggle-bar::after { top: 7px; left: 0; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 8px 16px 20px; border-top: 1px solid rgba(255,255,255,.1); display: none; max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 14px; border-bottom: 0; }
}
@media (max-width: 420px) { .brand img { width: 44px; height: 44px; } .brand-text b { font-size: 1.15rem; } }

/* "Training today" card */
.today-card { background: rgba(12, 22, 80, .78); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.today-h { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--gold2); margin: 0 0 12px; }
.today-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.today-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 300px; overflow-y: auto; }
.today-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: .9rem; }
.today-list a { color: #fff; font-weight: 600; text-decoration: none; }
.today-list a:hover { color: var(--gold2); }
.today-list span { color: var(--muted); text-align: right; font-size: .84rem; }
.today-list .today-empty { display: block; background: none; padding: 0; color: var(--muted); }
.today-all { display: inline-block; margin-top: 12px; font-size: .9rem; font-weight: 600; text-decoration: none; }

/* Page hero */
.page-hero { background:
  radial-gradient(900px 500px at 88% 0%, var(--glow-blue), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, var(--glow-red), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); }
.page-hero p { color: #d7dcea; font-size: 1.12rem; max-width: 40em; }
.page-hero p a { color: #fff; }
.page-hero .btn-row { margin-top: 24px; }
.page-hero .hero-grid { align-items: end; }
@media (max-width: 900px) { .page-hero .today-card { margin-top: 28px; } }

/* Stats strip */
.stats { background: linear-gradient(90deg, #f5c400, #ffd93d 50%, #f5c400); }
.stats ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px; }
.stats-3 ul { grid-template-columns: repeat(3, 1fr); }
.stats li { display: flex; flex-direction: column; gap: 2px; }
.stats b { font-family: var(--head); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #c8141f; }
.stats b small { font-size: .45em; vertical-align: super; }
.stats span { font-size: .92rem; color: #1a1d3a; font-weight: 500; line-height: 1.35; }
@media (max-width: 860px) { .stats ul, .stats-3 ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .stats ul { gap: 14px 18px; padding: 20px 0; } .stats span { font-size: .8rem; } }

/* Marquee */
.marquee { overflow: hidden; background: linear-gradient(90deg, #b8141f, var(--red) 50%, #b8141f); padding: 14px 0; }
.marquee div { display: flex; gap: 40px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; white-space: nowrap; }
.marquee span::after { content: "\25C6"; color: var(--gold2); margin-left: 40px; font-size: .7em; vertical-align: 2px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tight { padding-top: clamp(36px, 5vw, 56px); }
.section-alt { background: radial-gradient(800px 400px at 50% 0%, rgba(255,255,255,.12), transparent 70%), linear-gradient(160deg, #2a43d6, #1b2c9e); }
.section-dark { background: radial-gradient(700px 400px at 100% 0%, rgba(245,196,0,.22), transparent 70%), linear-gradient(135deg, #a8101b, var(--red) 70%); }
.section-dark .eyebrow { color: var(--gold2); }
.section-dark .lead { color: #ffe3e5; }
.section-head { max-width: 780px; margin-bottom: 40px; }

/* Cards */
.cards { display: grid; gap: 16px; }
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: linear-gradient(180deg, var(--surf2), var(--surf)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 22px 44px rgba(0,0,0,.4); }
.card-ico { display: block; font-family: var(--head); font-size: 2.2rem; line-height: 1; color: var(--red2); margin-bottom: 12px; }
.card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card-link { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.card-link:hover { color: var(--text); }
.card-go { margin-top: auto; padding-top: 16px; color: var(--gold2); font-weight: 600; }
@media (max-width: 1080px) { .cards-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .cards-5, .cards-3 { grid-template-columns: 1fr 1fr; } .cards-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cards-5, .cards-3 { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.photo-frame { margin: 0; position: relative; }
.photo-frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 22px; border: 2px solid var(--red); opacity: .55; z-index: 0; }
.photo-frame img { position: relative; z-index: 1; border-radius: 18px; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.5); cursor: zoom-in; }
.photo-frame figcaption { position: relative; z-index: 1; margin-top: 12px; color: var(--muted); font-size: .88rem; }
.tick-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 32px; color: var(--muted); }
.tick-list strong { color: var(--text); }
.tick-list li::before { content: "\2713"; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--glow-red); color: var(--red2); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }

/* Belts */
.belts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: belt; }
.belt { position: relative; height: 92px; border-radius: 12px; display: flex; align-items: flex-end; padding: 10px 12px; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 -8px 0 rgba(0,0,0,.18), 0 14px 30px rgba(0,0,0,.35); overflow: hidden; transition: transform .25s; }
.belt::before { content: ""; position: absolute; left: 0; right: 0; top: 34%; height: 16px; background: rgba(0,0,0,.14); }
.belt::after { counter-increment: belt; content: counter(belt, decimal-leading-zero); position: absolute; top: 8px; right: 12px; font-family: var(--head); font-size: 1.4rem; opacity: .4; }
.belt:hover { transform: translateY(-6px) rotate(-1deg); }
.belt.white { background: #f2eee6; color: #111; } .belt.yellow { background: var(--gold); color: #111; } .belt.green { background: #2fae5f; color: #fff; }
.belt.blue { background: var(--blue); color: #fff; } .belt.red { background: var(--red); color: #fff; } .belt.black { background: #05070b; color: var(--gold2); border: 1px solid var(--gold); }
.app-anim .belts .belt { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.app-anim .belts.in .belt { opacity: 1; transform: none; }
.belts.in .belt:nth-child(2) { transition-delay: .1s; } .belts.in .belt:nth-child(3) { transition-delay: .2s; } .belts.in .belt:nth-child(4) { transition-delay: .3s; } .belts.in .belt:nth-child(5) { transition-delay: .4s; } .belts.in .belt:nth-child(6) { transition-delay: .5s; }
@media (max-width: 700px) { .belts { grid-template-columns: repeat(3, 1fr); } }

/* Values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value { padding: 24px 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); transition: border-color .2s, background .2s; }
.value:hover { border-color: var(--gold); background: rgba(245,196,0,.05); }
.value b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; color: var(--gold2); margin-bottom: 8px; }
.value p { margin: 0; color: #ffe9ea; font-size: .92rem; }
@media (max-width: 1080px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }

/* Prices */
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-col { background: linear-gradient(180deg, var(--surf2), var(--surf)); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.price-col-hi { background: linear-gradient(160deg, var(--glow-blue), var(--surf) 60%); border-color: var(--blue); }
.price-col h3 { font-size: 2rem; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-col h3 small { font-family: var(--body); font-size: .8rem; letter-spacing: .1em; color: var(--gold2); }
.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.prices b { display: block; color: #fff; }
.prices span { color: var(--muted); font-size: .9rem; }
.prices em { font-style: normal; font-family: var(--head); font-size: 2rem; line-height: 1; color: var(--gold2); white-space: nowrap; }
.prices em small { font-family: var(--body); font-size: .8rem; color: var(--muted); margin-left: 2px; }
@media (max-width: 860px) { .price-cols { grid-template-columns: 1fr; } }

/* Centre chips (home) */
.chip-map { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.chip-map a { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; background: var(--surf); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, border-color .2s; }
.chip-map a:hover { transform: translateY(-3px); border-color: var(--red); }
.chip-map b { color: #fff; font-size: 1.02rem; }
.chip-map span { color: var(--muted); font-size: .82rem; }

/* Centres page */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 28px; padding: 16px; border-radius: 18px; background: var(--surf); border: 1px solid var(--line); position: sticky; top: 84px; z-index: 5; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-group label { font-weight: 500; font-size: .92rem; color: var(--muted); }
.chip { font: inherit; font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.filters select { font: inherit; font-size: .92rem; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.filters select option { color: #111; }
.filter-count { margin: 0 0 0 auto; font-size: .88rem; color: var(--muted); }
@media (max-width: 700px) { .filters { position: static; } .filter-count { margin: 0; } }
.ctr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.ctr { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surf2), var(--surf)); scroll-margin-top: 170px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ctr:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 22px 44px rgba(0,0,0,.35); }
.ctr:target { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 22px 44px rgba(0,0,0,.35); }
.ctr[hidden] { display: none; }
.ctr-head { display: flex; gap: 14px; align-items: center; }
.ctr-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 75% 40%; flex: none; border: 3px solid var(--blue); background: var(--blue); }
.ctr-county { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 600; }
.ctr-hq { background: var(--red); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.ctr h3 { margin: 2px 0 0; font-size: 1.8rem; }
.ctr-inst { margin: 0; color: var(--muted); font-size: .92rem; }
.ctr-blurb { margin: 0; color: var(--muted); font-size: .93rem; }
.ctr-times { margin: 0; display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: rgba(8, 14, 60, .45); }
.ctr-times div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 4px 6px; border-radius: 8px; }
.ctr-times div.is-today { background: rgba(61,220,132,.12); }
.ctr-times div.is-today dt::after { content: " · today"; color: #6fe39a; font-weight: 500; font-size: .78rem; }
.ctr-times dt { font-weight: 600; color: #fff; font-size: .92rem; }
.ctr-times dd { margin: 0; display: grid; gap: 2px; font-size: .9rem; color: var(--muted); }
.ctr-times dd b { color: var(--text); font-weight: 500; white-space: nowrap; }
.ctr-ask p { margin: 0; font-size: .9rem; color: var(--muted); }
.ctr-ask p + p { color: var(--gold2); }
.ctr-note { margin: 0; font-size: .88rem; color: var(--gold2); }
.ctr-venue { margin: 0; font-size: .9rem; }
.ctr-venue a { color: var(--text); text-decoration: none; }
.ctr-venue a::before { content: "\25C9\00a0"; color: var(--red); }
.ctr-venue a:hover { color: var(--gold2); }
.ctr .btn-row { margin-top: auto; gap: 8px; }
.ctr-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* Masters */
.masters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.master { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surf2), var(--surf)); transition: border-color .2s; }
.master:hover { border-color: var(--red); }
.master-gm { grid-column: 1 / -1; grid-template-columns: 340px 1fr; background: linear-gradient(160deg, var(--glow-gold), var(--surf) 55%); border-color: rgba(245,196,0,.5); }
.master-photo { margin: 0; }
.master-photo img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; object-position: 50% 25%; border-radius: 16px; cursor: zoom-in; }
.master-rank { margin: 0 0 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 600; }
.master h3 { font-size: 1.8rem; }
.master-gm h3 { font-size: clamp(2rem, 3.5vw, 2.6rem); }
.master p:not(.master-rank) { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .masters { grid-template-columns: 1fr; } .master-gm { grid-template-columns: 240px 1fr; } }
@media (max-width: 600px) { .master, .master-gm { grid-template-columns: 1fr; } .master-photo img { max-height: 320px; } }

/* Events */
.evt-list { display: grid; gap: 14px; }
.evt { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surf2), var(--surf)); }
.evt-competition { background: linear-gradient(160deg, var(--glow-red), var(--surf) 60%); border-color: var(--red); }
.evt-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); padding: 12px 6px; text-align: center; align-self: start; }
.evt-date b { font-family: var(--head); font-weight: 400; font-size: 2.8rem; line-height: 1; color: #fff; }
.evt-date span { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--red2); font-size: .85rem; }
.evt-date small { color: var(--muted); font-size: .78rem; }
.evt-type { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 600; }
.evt h3 { font-size: 1.7rem; margin: 2px 0 6px; }
.evt-meta { color: #fff; font-weight: 500; font-size: .95rem; }
.evt-body > p:last-child { margin: 0; color: var(--muted); font-size: .93rem; }
.evt-past { margin-top: 56px; }
.evt-past-h { font-size: 1.8rem; }
.evt-past .evt { opacity: .6; }
.evt-none { padding: 26px; border-radius: 20px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
@media (max-width: 560px) { .evt { grid-template-columns: 1fr; } .evt-date { flex-direction: row; gap: 10px; justify-content: flex-start; padding: 10px 14px; } .evt-date b { font-size: 2rem; } }
.next-evt { padding: 22px; border-radius: 20px; border: 1px solid var(--red); background: linear-gradient(160deg, var(--glow-red), var(--surf) 65%); margin: 6px 0 22px; }
.next-evt-label { margin: 0 0 4px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 600; }
.next-evt h3 { font-size: 1.8rem; margin: 0 0 4px; }
.next-evt-meta { color: var(--muted); font-size: .93rem; }
.countdown { display: flex; gap: 10px; }
.countdown div { flex: 1; text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(0,0,0,.3); }
.countdown b { display: block; font-family: var(--head); font-weight: 400; font-size: 2.2rem; line-height: 1; color: #fff; }
.countdown span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Gallery */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #000; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s; }
.mosaic figure:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px 150px; } .mosaic figure:first-child { grid-column: span 2; grid-row: auto; } }
.album { margin-bottom: 64px; scroll-margin-top: 90px; }
.album-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.album-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.album-head p { margin: 0; color: var(--muted); }
.photo-grid { columns: 4 220px; column-gap: 10px; }
.photo-grid figure { margin: 0 0 10px; break-inside: avoid; border-radius: 12px; overflow: hidden; background: #000; }
.photo-grid img { width: 100%; cursor: zoom-in; transition: transform .4s, opacity .3s; }
.photo-grid figure:hover img { transform: scale(1.04); }
.album-more { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surf); }
.album-more h2 { font-size: 2rem; }
.more-albums { columns: 2 260px; padding-left: 1.1em; color: var(--muted); margin: 0 0 22px; }
.cat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cat-row a { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); border-radius: 999px; padding: 8px 16px; color: #fff; text-decoration: none; font-weight: 500; }
.cat-row a:hover { background: #fff; color: #111; }

/* Video */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 10px rgba(224,48,60,.3); transition: transform .2s; }
.video-play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.video:hover .video-play { transform: scale(1.08); }
.video iframe { width: 100%; height: 100%; border: 0; }

/* Friends / affiliations */
.affil { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.affil-item { display: flex; gap: 20px; align-items: center; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surf); }
.affil-item img { width: 96px; height: 96px; border-radius: 50%; background: #fff; flex: none; object-fit: contain; }
.affil-item h3 { font-size: 1.3rem; }
.affil-item p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 760px) { .affil { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surf); margin: 0 0 10px; transition: border-color .2s; }
.faq details[open] { border-color: var(--red); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* Callout and prose */
.callout { border-left: 4px solid var(--red); background: var(--surf); padding: 20px 22px; border-radius: 0 14px 14px 0; margin: 0 0 24px; }
.callout p { margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose p { color: var(--muted); }

/* CTA band */
.cta-band { background:
  radial-gradient(700px 360px at 50% 100%, var(--glow-red), transparent 70%),
  linear-gradient(120deg, #b8141f 0%, var(--red) 40%, var(--royal) 100%);
  border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.cta-band h2 { margin: 0 auto 26px; max-width: 18em; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.cta-band .btn-row { justify-content: center; }

/* Fade-in on scroll (added by site.js) */
.app-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.app-anim .reveal.in { opacity: 1; transform: none; }
.app-anim .belts.reveal { opacity: 1; transform: none; }

/* Full-screen photo viewer */
.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(5, 8, 16, .95); display: none; place-items: center; }
.viewer[open] { display: grid; }
.viewer::backdrop { background: rgba(5, 8, 16, .95); }
.viewer img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.viewer-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #d7dcea; font-size: .95rem; margin: 0; padding: 0 60px; }
.viewer-close, .viewer-nav { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.viewer-close { top: 14px; right: 16px; }
.viewer-nav { top: 50%; margin-top: -24px; }
.viewer-prev { left: 14px; } .viewer-next { right: 14px; }
.viewer-close:hover, .viewer-nav:hover { background: rgba(255,255,255,.25); }

/* Subscribe + footer */
.site-footer { background: var(--deep); color: var(--muted); padding: 64px 0 24px; font-size: .95rem; border-top: 1px solid var(--line); }
.subscribe { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.subscribe-h { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .3em; }
.subscribe-text p { margin: 0; }
.subscribe-form { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.subscribe-form input[type="email"], .subscribe-form select { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #fff; min-width: 0; }
.subscribe-form select option { color: #111; }
.subscribe-form input::placeholder { color: #8e97b3; }
.subscribe-status, .subscribe-fine { grid-column: 1 / -1; margin: 0; font-size: .85rem; }
.subscribe-status:empty { display: none; }
.subscribe-status.ok { color: #6fe39a; font-weight: 500; }
.subscribe-status.err { color: #ff9b9b; font-weight: 500; }
.subscribe-fine { color: #8e97b3; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .subscribe { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 520px) { .subscribe-form { grid-template-columns: 1fr; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 96px; height: 96px; border-radius: 50%; background: #fff; margin-bottom: 18px; }
.footer-h { font-family: var(--body); font-weight: 600; text-transform: none; font-size: 1rem; color: #fff; letter-spacing: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e3e7f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 20px; font-size: .85rem; }
.footer-base p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #06331a; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.wa-float:hover { color: #06331a; background: #1fbd59; }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* =====================================================================
   Home hero: royal blue and red like the badge, the logo spinning in,
   a flying kick in a gold-ringed circle, and the badge's ring text orbiting it
   ===================================================================== */
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.page-hero .hero-grid { grid-template-columns: 1.35fr .65fr; align-items: end; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold2); }
@media (max-width: 900px) { .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; gap: 0; } .page-hero .today-card { margin-top: 28px; } }

.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(700px 520px at 78% 40%, rgba(245,196,0,.28), transparent 62%),
    radial-gradient(900px 700px at 105% 110%, rgba(224,48,60,.85), transparent 60%),
    radial-gradient(800px 600px at -10% -10%, #3a55f0, transparent 60%),
    linear-gradient(135deg, #1a2fb8 0%, #2338c4 45%, #a8101b 100%); }
/* Big Korean "taekwondo" outline in the background, like the banner behind the masters */
.hero-hangul { position: absolute; z-index: -1; right: -2%; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-weight: 900; font-size: clamp(9rem, 22vw, 22rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.12); pointer-events: none; user-select: none; }
/* Speed lines */
.hero::before { content: ""; position: absolute; inset: -50%; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(255,255,255,.035) 70px 72px); animation: speed 14s linear infinite; }
@keyframes speed { to { transform: translateX(144px); } }
.hero-inner { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.hero-pill img { width: 30px; height: 30px; border-radius: 50%; }
.hero h1 { font-size: clamp(3rem, 7.6vw, 6.4rem); line-height: .95; margin-bottom: .3em; text-shadow: 0 6px 30px rgba(8,14,60,.45); }
.hero h1 .h1-small { display: block; font-size: .5em; letter-spacing: .02em; color: #fff; margin-top: .25em; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span { grid-area: 1 / 1; color: var(--gold2); opacity: 0; transform: translateY(60%) rotateX(-70deg); transition: opacity .45s, transform .45s cubic-bezier(.2,.9,.3,1.3); text-shadow: 0 0 30px rgba(245,196,0,.45); }
.rotator span.on { opacity: 1; transform: none; }
.rotator span.off { opacity: 0; transform: translateY(-60%) rotateX(70deg); }
.hero-lead { font-size: 1.18rem; color: #eef1ff; max-width: 32em; }
.hero .btn-row { margin-top: 26px; }
.btn-gold { background: linear-gradient(180deg, #ffe066, var(--gold)); color: #1a1300; box-shadow: 0 12px 30px rgba(245,196,0,.45); }
.btn-gold:hover { background: #fff; color: #111; }
.btn-xl { min-height: 58px; padding: .9em 1.8em; font-size: 1.08rem; }
.pulse-ring { position: relative; }
.pulse-ring::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--gold); animation: ring 2s ease-out infinite; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.18, 1.4); } }
.hero-proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(12,22,80,.45); border: 1px solid rgba(255,255,255,.2); font-size: .9rem; font-weight: 500; }
.hero-proof b { font-family: var(--head); font-weight: 400; font-size: 1.4rem; color: var(--gold2); line-height: 1; }

.hero-visual { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; margin: 30px 0; }
.hero-orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.hero-orbit text { font-family: var(--head); font-size: 15.5px; letter-spacing: 3.2px; fill: #ffe066; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-circle { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; border: 8px solid var(--gold); box-shadow: 0 0 0 8px #c8141f, 0 0 0 10px rgba(255,255,255,.5), 0 40px 80px rgba(8,14,60,.6), 0 0 120px rgba(245,196,0,.35); background: #1a2fb8; }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 45%; transform: scale(1.35); animation: kenburns 12s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.5) translate(-2%, 2%); } }
.hero-badge { position: absolute; width: 34%; left: -6%; bottom: -2%; border-radius: 50%; filter: drop-shadow(0 20px 30px rgba(8,14,60,.55)); animation: badge-in 1.2s cubic-bezier(.2,.9,.3,1.2) both, bob 5s 1.2s ease-in-out infinite; }
@keyframes badge-in { from { transform: rotate(-200deg) scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { translate: 0 -12px; } }
.hero-chip { position: absolute; z-index: 2; display: flex; flex-direction: column; padding: 10px 14px; border-radius: 14px; background: #fff; color: #1a1d3a; box-shadow: 0 18px 40px rgba(8,14,60,.45); font-size: .8rem; text-decoration: none; animation: bob 5s ease-in-out infinite; transition: transform .2s; }
.hero-chip b { font-family: var(--head); font-weight: 400; font-size: 1.35rem; line-height: 1.05; color: #c8141f; text-transform: uppercase; }
.hero-chip:hover { color: #1a1d3a; transform: scale(1.05); }
.hero-chip-1 { top: 4%; right: -4%; animation-delay: -1.5s; }
.hero-chip-2 { bottom: 14%; right: -6%; animation-delay: -3s; }
.hero-chip-2 b { color: var(--royal); }
.hero-chip .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1fb85a; margin-right: 6px; animation: pulse 1.8s infinite; }
/* Today's classes, scrolling along the bottom of the hero */
.hero-ticker { position: relative; display: flex; align-items: stretch; background: rgba(8,14,60,.6); border-top: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.hero-ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--red); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-ticker-label .live { width: 9px; height: 9px; border-radius: 50%; background: var(--gold2); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.hero-ticker-track div { display: flex; gap: 36px; width: max-content; padding-left: 24px; animation: scroll 30s linear infinite; }
.hero-ticker-track a { color: #fff; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.hero-ticker-track a b { color: var(--gold2); margin-right: 6px; }
.hero-ticker-track a:hover { text-decoration: underline; }
.hero-ticker:hover .hero-ticker-track div { animation-play-state: paused; }
/* Entrance */
.hero-in > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-in > :nth-child(2) { animation-delay: .1s; } .hero-in > :nth-child(3) { animation-delay: .25s; } .hero-in > :nth-child(4) { animation-delay: .4s; } .hero-in > :nth-child(5) { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero-visual { animation: zoom-in 1s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes zoom-in { from { opacity: 0; transform: scale(.85) rotate(-6deg); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero-inner { padding-bottom: 10px; }
  .hero-visual { width: min(84%, 420px); margin: 10px auto 44px; }
}
@media (max-width: 520px) { .hero-chip { font-size: .72rem; padding: 8px 10px; } .hero-chip b { font-size: 1.05rem; } .hero-chip-1 { right: -10%; } .hero-chip-2 { right: -12%; } .hero-ticker-label { padding: 12px; font-size: .72rem; } }

/* Logo watermark behind a section */
.wm { position: relative; overflow: hidden; isolation: isolate; }
.wm::before { content: ""; position: absolute; z-index: -1; width: min(760px, 90vw); aspect-ratio: 1; right: -12%; top: 50%; translate: 0 -50%; background: url("/assets/brand/wta-mark-white.webp") center / contain no-repeat; opacity: .08; animation: spin 120s linear infinite; pointer-events: none; }
.wm-left::before { right: auto; left: -14%; }
.page-hero.wm::before { opacity: .12; width: 520px; right: -4%; }

/* Light cream section for contrast */
.section-light { background: radial-gradient(700px 400px at 100% 0%, rgba(245,196,0,.25), transparent 70%), #fff8e7; color: #1a1d3a; }
.section-light h2, .section-light h3 { color: #11206a; }
.section-light .lead, .section-light p { color: #424a6b; }
.section-light .eyebrow { color: #c8141f; }
.section-light .hl { background: linear-gradient(90deg, #c8141f, #e0303c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-light .center-link a { color: #c8141f; }
.section-light .card { background: #fff; border-color: #ead9b0; box-shadow: 0 10px 30px rgba(17,32,106,.08); }
.section-light .card p { color: #424a6b; }
.section-light .card-ico { color: #c8141f; }
.section-light .mosaic figure { border-color: #ead9b0; }
.section-light .chip-map a { background: #fff; border-color: #ead9b0; }
.section-light .chip-map b { color: #11206a; }
.section-light .chip-map span { color: #6a7090; }
.section-light .faq details { background: #fff; border-color: #ead9b0; color: #1a1d3a; }
.section-light .faq details p { color: #424a6b; }
.section-light .btn-ghost { color: #11206a; border-color: #11206a; }
.section-light .btn-ghost:hover { background: #11206a; color: #fff; }
.section-light .photo-frame figcaption { color: #6a7090; }
.section-light .tick-list li { color: #424a6b; }
.section-light .tick-list strong { color: #11206a; }
.section-light .wm::before, .section-light.wm::before { filter: invert(1); opacity: .05; }

/* Red section */
.section-red { background: radial-gradient(700px 400px at 0% 0%, rgba(245,196,0,.2), transparent 70%), linear-gradient(135deg, #a8101b, var(--red) 70%); }
.section-red .eyebrow { color: var(--gold2); }
.section-red .lead, .section-red p { color: #ffe3e5; }
.section-red .card { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.section-red .card p { color: #ffe9ea; }
.section-red .card-ico { color: var(--gold2); }
.section-red .hl { background: linear-gradient(90deg, #fff, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero-orbit, .hero-circle img, .wm::before { animation: none; } }
.hero-ticker-label { margin: 0; }

/* Gallery upload page */
.up-card { display: grid; gap: 6px; padding: 26px; border-radius: 22px; background: linear-gradient(180deg, var(--surf2), var(--surf)); border: 1px solid var(--line); margin-bottom: 48px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; }
.field input { font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--deep); color: #fff; width: 100%; }
.field input:focus { border-color: var(--gold); outline: none; }
.field .small, .up-albums .small { margin: 0; font-size: .85rem; color: var(--muted); }
.up-drop { display: grid; place-items: center; gap: 4px; padding: 36px 16px; margin-bottom: 18px; border-radius: 18px; border: 2px dashed var(--gold); background: rgba(245,196,0,.08); text-align: center; cursor: pointer; transition: background .2s; }
.up-drop.over, .up-drop:hover { background: rgba(245,196,0,.18); }
.up-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.up-drop b { font-family: var(--head); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; color: var(--gold2); }
.up-drop span { color: var(--muted); }
.up-card .btn { justify-self: start; }
.up-progress { margin-top: 16px; }
.up-progress > div { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.up-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--red)); transition: width .3s; }
.up-progress p { margin: 10px 0 0; font-weight: 500; }
.up-album { margin-top: 28px; }
.up-album h3 { margin: 0; font-size: 1.6rem; }
.up-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 12px; }
.up-thumbs figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--deep); }
.up-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.up-thumbs button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(200,20,31,.9); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.page-admin .wa-float { display: none; }
