/*
Theme Name: Tollywood Pro League
Theme URI: https://tplt20.in/
Author: The EBG Group
Author URI: https://theebg.com/
Description: Official WordPress theme for the Tollywood Pro League (TPL) — Where Cinema Meets Cricket. Converted from the sliced HTML5 template: every page ships as a PHP page template that is created and assigned automatically on activation; forms, components and the branded liquid-glass login live in /templates and /custom-functions.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tollywood-pro
Tags: one-column, custom-logo, featured-images, threaded-comments, translation-ready, blog, entertainment, news
*/

/* ==========================================================================
   TOLLYWOOD PRO LEAGUE — style.css (WordPress theme v2.0.0)
   Bootstrap 5.3 grid/utilities + custom design system
   --------------------------------------------------------------------------
   01. Design tokens          12. Teams & crests         23. Fan ID
   02. Base & typography      13. Videos                 24. Auth (login/flip)
   03. Utilities              14. News (masonry)         25. Gallery
   04. Buttons                15. Article / TOC          26. Contact & map
   05. Preloader              16. Alai Balai             27. Tickets / coming soon
   06. Header & navigation    17. Partners               28. About
   07. Mobile drawer          18. Fan ID CTA band        29. Auction & stats
   08. Page hero / crumbs     19. Footer                 30. Legal / prose
   09. Home hero              20. Forms                  31. Season states
   10. Sections & headings    21. Filter tabs            32. Reveal animations
   11. Matches & points       22. Swiper overrides       33. Responsive
   ========================================================================== */

/* ---------- 01. DESIGN TOKENS ---------- */
:root {
  /* Gold — sampled from the TPL logo gradient */
  --tpl-gold-50: #fff9e6;
  --tpl-gold-100: #fbefc4;
  --tpl-gold-200: #f6dd8a;
  --tpl-gold-300: #eac249;
  --tpl-gold-400: #d9b144;
  --tpl-gold-500: #c09b3c;
  --tpl-gold-600: #af8838;
  --tpl-gold-700: #a47c2c;
  --tpl-gold-900: #4f3a10;

  /* Midnight — floodlit-stadium navy that makes the gold glow */
  --tpl-ink-950: #04050d;
  --tpl-ink-900: #070a1b;
  --tpl-ink-850: #0a0e26;
  --tpl-ink-800: #0d1230;
  --tpl-ink-700: #141a42;
  --tpl-ink-600: #1d2457;
  --tpl-ink-500: #2b336e;
  --tpl-ink-300: #6d74a6;

  /* Accents */
  --tpl-ruby: #e0234e;      /* red-carpet / cinema accent, live badges */
  --tpl-ruby-700: #b5173c;
  --tpl-emerald: #1fbf75;   /* wins, success */
  --tpl-sky: #3aa0ff;       /* info */

  /* Neutrals */
  --tpl-cream: #fbf6ea;
  --tpl-paper: #f3ecdc;
  --tpl-sand: #e7dcc3;
  --tpl-white: #ffffff;
  --tpl-text: #1a1d33;
  --tpl-text-soft: #545a7a;
  --tpl-muted: #a7acc9;
  --tpl-line-dark: rgba(234, 194, 73, 0.16);
  --tpl-line-light: rgba(13, 18, 48, 0.1);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #af8838 0%, #c09b3c 36%, #eac249 66%, #a47c2c 100%);
  --grad-gold-soft: linear-gradient(135deg, #f6dd8a 0%, #eac249 50%, #c09b3c 100%);
  --grad-night: radial-gradient(120% 90% at 85% 0%, #1d2457 0%, #0d1230 40%, #070a1b 100%);
  --grad-spot: radial-gradient(60% 60% at 50% 0%, rgba(234, 194, 73, 0.22) 0%, rgba(234, 194, 73, 0) 70%);
  --grad-ruby: linear-gradient(135deg, #e0234e 0%, #b5173c 100%);

  /* Type */
  --ff-display: "Anton", "Impact", "Haettenschweiler", sans-serif;
  --ff-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ff-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-telugu: "Ramabhadra", "Noto Sans Telugu", "Nirmala UI", "Gautami", "Telugu Sangam MN", sans-serif;

  --fs-hero: clamp(3rem, 8.4vw, 7.6rem);
  --fs-h1: clamp(2.6rem, 6vw, 5.2rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.8rem);
  --fs-h3: clamp(1.5rem, 2.4vw, 2.1rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.25rem);

  /* Shape & motion */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(4, 5, 13, 0.12);
  --shadow-md: 0 14px 40px rgba(4, 5, 13, 0.22);
  --shadow-lg: 0 30px 80px rgba(4, 5, 13, 0.4);
  --shadow-gold: 0 12px 34px rgba(234, 194, 73, 0.32);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --topbar-h: 40px;
  --mainbar-h: 78px;
  --header-h: calc(var(--topbar-h) + var(--mainbar-h));
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Bootstrap bridges */
  --bs-body-font-family: var(--ff-body);
  --bs-body-color: var(--tpl-text);
  --bs-body-bg: var(--tpl-cream);
  --bs-link-color: var(--tpl-gold-700);
  --bs-link-hover-color: var(--tpl-ruby);
  --bs-border-color: var(--tpl-line-light);

  color-scheme: light;
}

/* ---------- 02. BASE & TYPOGRAPHY ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mainbar-h) + 24px); }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tpl-text);
  background: var(--tpl-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease-out); }
a:hover { color: var(--tpl-gold-600); }

::selection { background: var(--tpl-gold-300); color: var(--tpl-ink-900); }

:focus-visible { outline: 2px solid var(--tpl-gold-300); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
  color: inherit;
}
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: 1.45rem; }
h5, .h5 { font-size: 1.2rem; }
h6, .h6 { font-size: 1rem; }

p { margin-bottom: 1.1em; }

.font-display { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 0.01em; }
.font-cond { font-family: var(--ff-cond); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tpl-gold-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
}
.section-dark .eyebrow,
.on-dark .eyebrow { color: var(--tpl-gold-300); }

.text-gold { color: var(--tpl-gold-300) !important; }
.text-gold-deep { color: var(--tpl-gold-700) !important; }
.text-ruby { color: var(--tpl-ruby) !important; }
.text-muted-tpl { color: var(--tpl-muted) !important; }
.text-soft { color: var(--tpl-text-soft) !important; }

.text-gradient {
  background: var(--grad-gold-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}

.lead-tpl { font-size: var(--fs-lead); line-height: 1.6; font-weight: 300; }

/* ---------- 03. UTILITIES ---------- */
.container-xxl-tpl { max-width: 1440px; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }

.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: calc(var(--section-y) * 0.6); }
.section-dark { background: var(--tpl-ink-900); color: #e9ebf7; }
.section-ink { background: var(--tpl-ink-800); color: #e9ebf7; }
.section-night { background: var(--grad-night); color: #e9ebf7; }
.section-cream { background: var(--tpl-cream); }
.section-paper { background: var(--tpl-paper); }
.section-white { background: #fff; }

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4,
.section-night h1, .section-night h2, .section-night h3, .section-night h4 { color: #fff; }

.bg-grid-lines {
  background-image:
    linear-gradient(rgba(234, 194, 73, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 194, 73, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

.noise::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.divider-gold { height: 3px; width: 64px; background: var(--grad-gold); border-radius: 3px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(234, 194, 73, 0.14);
  color: var(--tpl-gold-700);
  border: 1px solid rgba(234, 194, 73, 0.35);
}
.chip-dark { background: rgba(255, 255, 255, 0.06); color: var(--tpl-gold-200); border-color: rgba(234, 194, 73, 0.3); }
.chip-ruby { background: rgba(224, 35, 78, 0.12); color: var(--tpl-ruby); border-color: rgba(224, 35, 78, 0.35); }
.chip-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tpl-ruby);
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(224, 35, 78, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(224, 35, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 35, 78, 0); }
}

.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  background: var(--tpl-gold-300);
  color: var(--tpl-ink-900);
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
}

/* ---------- 04. BUTTONS ---------- */
.btn-tpl {
  --btn-bg: var(--grad-gold);
  --btn-color: var(--tpl-ink-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  background-size: 200% 100%;
  color: var(--btn-color);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), background-position 0.6s var(--ease-out), color 0.25s;
}
.btn-tpl::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}
.btn-tpl:hover { color: var(--btn-color); transform: translateY(-2px); box-shadow: var(--shadow-gold); background-position: 100% 0; }
.btn-tpl:hover::after { transform: translateX(120%); }
.btn-tpl:active { transform: translateY(0) scale(0.98); }
.btn-tpl i { font-size: 0.95em; transition: transform 0.3s var(--ease-out); }
.btn-tpl:hover i.fa-arrow-right,
.btn-tpl:hover i.fa-arrow-right-long { transform: translateX(4px); }
.btn-tpl[disabled], .btn-tpl.is-loading { opacity: 0.75; pointer-events: none; }

.btn-tpl-outline {
  --btn-bg: transparent;
  --btn-color: var(--tpl-gold-200);
  box-shadow: inset 0 0 0 1.5px rgba(234, 194, 73, 0.65);
}
.btn-tpl-outline:hover { --btn-color: var(--tpl-ink-900); background: var(--tpl-gold-300); box-shadow: inset 0 0 0 1.5px var(--tpl-gold-300), var(--shadow-gold); }

.btn-tpl-dark { --btn-bg: var(--tpl-ink-800); --btn-color: #fff; }
.btn-tpl-dark:hover { --btn-color: var(--tpl-gold-200); box-shadow: var(--shadow-md); }

.btn-tpl-light { --btn-bg: #fff; --btn-color: var(--tpl-ink-900); box-shadow: inset 0 0 0 1px var(--tpl-line-light); }
.btn-tpl-light:hover { --btn-color: var(--tpl-ink-900); box-shadow: var(--shadow-sm); }

.btn-tpl-ruby { --btn-bg: var(--grad-ruby); --btn-color: #fff; }
.btn-tpl-ruby:hover { box-shadow: 0 12px 30px rgba(224, 35, 78, 0.35); }

.btn-tpl-ghost {
  --btn-bg: transparent;
  --btn-color: var(--tpl-ink-800);
  box-shadow: inset 0 0 0 1.5px var(--tpl-ink-800);
}
.btn-tpl-ghost:hover { --btn-color: #fff; background: var(--tpl-ink-800); }

.btn-tpl-sm { padding: 0.65rem 1.15rem; font-size: 0.9rem; }
.btn-tpl-lg { padding: 1.15rem 2.1rem; font-size: 1.15rem; }
.btn-tpl-block { width: 100%; }

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: none;
  border: 0;
  padding: 0;
}
.btn-play .play-ring {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(234, 194, 73, 0.7);
  color: var(--tpl-gold-300);
  transition: transform 0.35s var(--ease-spring), background 0.3s;
}
.btn-play .play-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(234, 194, 73, 0.35);
  animation: ringPulse 2.2s infinite var(--ease-out);
}
.btn-play:hover { color: var(--tpl-gold-200); }
.btn-play:hover .play-ring { transform: scale(1.08); background: var(--tpl-gold-300); color: var(--tpl-ink-900); }

@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tpl-gold-700);
}
.link-arrow i { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover i { transform: translateX(5px); }
.section-dark .link-arrow, .section-ink .link-arrow, .section-night .link-arrow { color: var(--tpl-gold-300); }

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(234, 194, 73, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tpl-gold-200);
  transition: all 0.3s var(--ease-out);
}
.icon-btn:hover { background: var(--tpl-gold-300); color: var(--tpl-ink-900); border-color: var(--tpl-gold-300); transform: translateY(-3px); }

/* ---------- 05. PRELOADER ---------- */
.tpl-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: var(--grad-night);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.tpl-loader.is-done { opacity: 0; visibility: hidden; }
.tpl-loader__inner { display: grid; justify-items: center; gap: 1.2rem; }
.tpl-loader__lottie { width: min(260px, 60vw); aspect-ratio: 1; }
.tpl-loader__fallback { display: none; width: 132px; animation: loaderBeat 1.6s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(234, 194, 73, 0.35)); }
.tpl-loader.use-fallback .tpl-loader__lottie { display: none; }
.tpl-loader.use-fallback .tpl-loader__fallback { display: block; }
.tpl-loader__bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.tpl-loader__bar span { display: block; height: 100%; width: 40%; background: var(--grad-gold); animation: loaderBar 1.2s var(--ease-out) infinite; }
.tpl-loader__text { font-family: var(--ff-cond); letter-spacing: 0.35em; text-transform: uppercase; font-size: 0.8rem; color: var(--tpl-gold-200); }

@keyframes loaderBeat { 0%, 100% { transform: scale(0.94); } 50% { transform: scale(1.04); } }
@keyframes loaderBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

/* ---------- 06. HEADER & NAVIGATION ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: transform 0.45s var(--ease-out);
}

.topbar {
  height: var(--topbar-h);
  background: var(--tpl-ink-950);
  border-bottom: 1px solid rgba(234, 194, 73, 0.12);
  color: var(--tpl-muted);
  font-size: 0.82rem;
  transition: margin-top 0.45s var(--ease-out);
}
.topbar .container-xxl-tpl { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.topbar__links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.topbar__links a { font-family: var(--ff-cond); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; color: #c9cce3; }
.topbar__links a:hover, .topbar__links a.is-active { color: var(--tpl-gold-300); }
.topbar__social { display: flex; gap: 0.85rem; padding-left: 1.2rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.topbar__social a { color: #c9cce3; font-size: 0.85rem; }
.topbar__social a:hover { color: var(--tpl-gold-300); }

.mainbar {
  position: relative;
  height: var(--mainbar-h);
  background: rgba(7, 10, 27, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(234, 194, 73, 0.14);
  transition: background 0.4s, height 0.4s var(--ease-out);
}
.mainbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.mainbar .container-xxl-tpl { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { position: relative; display: block; flex-shrink: 0; align-self: flex-start; padding-top: 6px; z-index: 2; }
.brand img {
  height: 96px;
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
  transition: height 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.brand:hover img { transform: rotate(-3deg) scale(1.03); }

.nav-primary { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-primary > li { position: relative; }
.nav-primary > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #eef0fb;
}
.nav-primary > li > a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-primary > li > a:hover,
.nav-primary > li > a.is-active { color: var(--tpl-gold-300); }
.nav-primary > li > a:hover::after,
.nav-primary > li > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-primary .caret { font-size: 0.65rem; opacity: 0.7; transition: transform 0.3s; }
.nav-primary > li:hover .caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 250px;
  padding: 0.75rem;
  list-style: none;
  margin: 0;
  background: var(--tpl-ink-850);
  border: 1px solid rgba(234, 194, 73, 0.2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: all 0.35s var(--ease-out);
}
.nav-dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-primary > li:hover .nav-dropdown,
.nav-primary > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  color: #d9dcef;
  font-size: 0.95rem;
}
.nav-dropdown a:hover { background: rgba(234, 194, 73, 0.1); color: var(--tpl-gold-200); }
.nav-team-logo { flex-shrink: 0; width: 34px; height: 34px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; border: 2px solid var(--team-color, var(--tpl-gold-300)); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05), 0 6px 14px rgba(0, 0, 0, 0.35); transition: transform 0.35s var(--ease-spring); }
.nav-dropdown--teams { min-width: 470px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem 0.35rem; padding: 0.6rem; }
.nav-dropdown--teams a { gap: 0.6rem; padding: 0.42rem 0.6rem; white-space: nowrap; font-size: 0.94rem; }
.nav-dropdown--teams a:hover .nav-team-logo { transform: scale(1.1) rotate(-6deg); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .icon-btn { width: 40px; height: 40px; }

.btn-fanid {
  position: relative;
  padding: 0.8rem 1.25rem;
  font-size: 0.98rem;
  box-shadow: 0 0 0 0 rgba(234, 194, 73, 0.6);
  animation: fanIdGlow 2.8s infinite;
}
@keyframes fanIdGlow {
  0% { box-shadow: 0 0 0 0 rgba(234, 194, 73, 0.55); }
  60% { box-shadow: 0 0 0 12px rgba(234, 194, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 194, 73, 0); }
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(234, 194, 73, 0.35);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--tpl-gold-200);
  transition: transform 0.4s var(--ease-out), opacity 0.3s, top 0.4s var(--ease-out);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; right: 18px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* scrolled state */
.site-header.is-scrolled .topbar { margin-top: calc(var(--topbar-h) * -1); }
.site-header.is-scrolled .mainbar { background: rgba(7, 10, 27, 0.94); height: 68px; }
.site-header.is-scrolled .mainbar::after { transform: scaleX(1); }
.site-header.is-scrolled .brand img { height: 74px; }
.site-header.is-hidden { transform: translateY(-110%); }

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 1100;
  background: var(--grad-gold);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- 07. MOBILE DRAWER ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 13, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--grad-night);
  border-left: 1px solid rgba(234, 194, 73, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(234, 194, 73, 0.12); }
.drawer__head img { height: 58px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(234, 194, 73, 0.35); background: transparent; color: var(--tpl-gold-200); font-size: 1.1rem; }
.drawer__nav { list-style: none; margin: 0; padding: 1rem 1.25rem; }
.drawer__nav > li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); opacity: 0; transform: translateX(24px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.drawer.is-open .drawer__nav > li { opacity: 1; transform: none; }
.drawer__nav > li > a,
.drawer__nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  font-family: var(--ff-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary i { font-size: 0.9rem; color: var(--tpl-gold-300); transition: transform 0.3s; }
.drawer__nav details[open] summary i { transform: rotate(45deg); }
.drawer__nav a.is-active { color: var(--tpl-gold-300); }
.drawer__sub { list-style: none; margin: 0 0 0.8rem; padding: 0 0 0 0.5rem; display: grid; gap: 0.2rem; }
.drawer__sub a { display: block; padding: 0.4rem 0.25rem; color: #c9cce3; font-size: 0.98rem; }
.drawer__secondary { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 1.25rem 1rem; }
.drawer__secondary a { padding: 0.45rem 0.85rem; border-radius: var(--r-pill); border: 1px solid rgba(234, 194, 73, 0.25); font-size: 0.85rem; color: #d9dcef; font-family: var(--ff-cond); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.drawer__foot { margin-top: auto; padding: 1.25rem; border-top: 1px solid rgba(234, 194, 73, 0.12); display: grid; gap: 1rem; }
.drawer__social { display: flex; gap: 0.6rem; }

/* ---------- 08. PAGE HERO / BREADCRUMB ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: var(--tpl-ink-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  filter: grayscale(0.4) contrast(1.1);
  transform: scale(1.06);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(234, 194, 73, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(7, 10, 27, 0.55) 0%, rgba(7, 10, 27, 0.92) 85%, var(--tpl-ink-900) 100%);
}
.page-hero::after {
  content: attr(data-watermark);
  position: absolute;
  right: -1vw;
  bottom: -2.2vw;
  z-index: -1;
  font-family: var(--ff-display);
  font-size: clamp(5rem, 17vw, 16rem);
  line-height: 0.8;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(234, 194, 73, 0.16);
  white-space: nowrap;
  pointer-events: none;
}
.page-hero__title { font-size: var(--fs-h1); margin-bottom: 0.9rem; max-width: 16ch; }
.page-hero__lead { max-width: 640px; color: #c9cce3; font-size: var(--fs-lead); font-weight: 300; margin-bottom: 0; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; list-style: none; padding: 0; margin: 0 0 1.4rem; font-family: var(--ff-cond); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.88rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--tpl-muted); }
.crumbs li + li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.6rem; color: var(--tpl-gold-500); }
.crumbs a { color: #e3e5f4; }
.crumbs a:hover { color: var(--tpl-gold-300); }
.crumbs [aria-current="page"] { color: var(--tpl-gold-300); }

.stripe-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--tpl-gold-300) 0 14px, var(--tpl-ink-900) 14px 28px);
  opacity: 0.85;
}

/* ---------- 09. HOME HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 7rem;
  background: var(--tpl-ink-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; filter: saturate(0.7) contrast(1.15); transform: scale(1.08); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 70% at 78% 30%, rgba(234, 194, 73, 0.12), transparent 65%),
    radial-gradient(40% 50% at 10% 90%, rgba(224, 35, 78, 0.1), transparent 70%),
    linear-gradient(90deg, rgba(4, 5, 13, 0.82) 0%, rgba(4, 5, 13, 0.42) 48%, rgba(4, 5, 13, 0.08) 100%);
}
.hero__beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__beams span {
  position: absolute;
  top: -20%;
  width: 22vw;
  height: 140%;
  background: linear-gradient(180deg, rgba(246, 221, 138, 0.18), transparent 70%);
  filter: blur(8px);
  transform-origin: top center;
  animation: beamSwing 9s ease-in-out infinite alternate;
}
.hero__beams span:nth-child(1) { left: 55%; transform: rotate(18deg); }
.hero__beams span:nth-child(2) { left: 75%; transform: rotate(-12deg); animation-delay: -3s; }
.hero__beams span:nth-child(3) { left: 30%; transform: rotate(8deg); animation-delay: -6s; opacity: 0.6; }
@keyframes beamSwing { 0% { rotate: -6deg; } 100% { rotate: 6deg; } }

.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem; }
.hero__title { font-size: var(--fs-hero); line-height: 0.9; margin-bottom: 1.4rem; letter-spacing: 0.005em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
body:not(.is-loaded) .hero__title .line > span { animation-play-state: paused; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero__sub { font-size: var(--fs-lead); color: #d3d6ea; max-width: 560px; font-weight: 300; margin-bottom: 0.75rem; }
.hero__tagline { font-family: var(--ff-cond); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: 0.18em; text-transform: uppercase; color: var(--tpl-gold-200); margin-bottom: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.hero__tagline span + span::before { content: "•"; margin-right: 1rem; color: var(--tpl-ruby); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__logo { width: min(520px, 100%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 60px rgba(234, 194, 73, 0.25)); animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(234, 194, 73, 0.25); animation: spin 40s linear infinite; }
.hero__orbit::after { content: ""; position: absolute; top: 12%; left: 6%; width: 14px; height: 14px; border-radius: 50%; background: var(--tpl-gold-300); box-shadow: 0 0 20px var(--tpl-gold-300); }
@keyframes spin { to { transform: rotate(360deg); } }

.countdown { display: flex; gap: 0.6rem; }
.countdown__unit { min-width: 76px; padding: 0.7rem 0.6rem; text-align: center; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(234, 194, 73, 0.25); backdrop-filter: blur(8px); }
.countdown__num { display: block; font-family: var(--ff-display); font-size: 2.1rem; line-height: 1; color: var(--tpl-gold-200); font-variant-numeric: tabular-nums; }
.countdown__lbl { font-family: var(--ff-cond); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tpl-muted); }

.hero__announce {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  background: rgba(4, 5, 13, 0.85);
  border-top: 1px solid rgba(234, 194, 73, 0.2);
  backdrop-filter: blur(10px);
}
.hero__announce-label { flex-shrink: 0; display: flex; align-items: center; gap: 0.5rem; padding: 0.95rem 1.4rem; background: var(--grad-gold); color: var(--tpl-ink-900); font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.9rem; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); padding-right: 2.2rem; }

.marquee { position: relative; overflow: hidden; flex: 1; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; padding-left: 2rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.8rem; white-space: nowrap; font-family: var(--ff-cond); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; color: #e3e5f4; text-transform: uppercase; }
.marquee__item i { color: var(--tpl-gold-300); font-size: 0.7rem; }
.marquee__item a:hover { color: var(--tpl-gold-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

.stat-strip {
  position: relative;
  z-index: 5;
  padding-top: clamp(2rem, 4vw, 3rem);
}
.stat-strip + .section { padding-top: clamp(3.5rem, 7vw, 6rem); }
.stat-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--grad-gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat-strip__item { padding: 1.6rem 1.25rem; text-align: center; color: var(--tpl-ink-900); position: relative; }
.stat-strip__item + .stat-strip__item::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(7, 10, 27, 0.2); }
.stat-strip__num { font-family: var(--ff-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; }
.stat-strip__lbl { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.88rem; }

/* ---------- 10. SECTIONS & HEADINGS ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head__title { margin: 0; max-width: 18ch; }
.section-head__lead { max-width: 560px; color: var(--tpl-text-soft); margin: 0.8rem 0 0; }
.section-dark .section-head__lead, .section-ink .section-head__lead, .section-night .section-head__lead { color: var(--tpl-muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__title { max-width: 22ch; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-gold); }

.swiper-nav-btns { display: flex; gap: 0.6rem; }
.swiper-nav-btns button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--tpl-line-light);
  background: #fff;
  color: var(--tpl-ink-800);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease-out);
}
.swiper-nav-btns button:hover { background: var(--tpl-ink-800); color: var(--tpl-gold-300); border-color: var(--tpl-ink-800); }
.swiper-nav-btns button.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
.section-dark .swiper-nav-btns button, .section-ink .swiper-nav-btns button, .section-night .swiper-nav-btns button { background: transparent; border-color: rgba(234, 194, 73, 0.35); color: var(--tpl-gold-200); }
.section-dark .swiper-nav-btns button:hover, .section-ink .swiper-nav-btns button:hover, .section-night .swiper-nav-btns button:hover { background: var(--tpl-gold-300); color: var(--tpl-ink-900); }

/* pre-season / state placeholder card */
.state-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--tpl-ink-800), var(--tpl-ink-900));
  border: 1px solid rgba(234, 194, 73, 0.25);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.state-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-spot); }
.state-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 30px solid rgba(234, 194, 73, 0.06);
  z-index: -1;
}
.state-card__icon { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; font-size: 1.8rem; color: var(--tpl-ink-900); background: var(--grad-gold); box-shadow: var(--shadow-gold); }
.state-card__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 0.35rem; color: #fff; }
.state-card__text { color: #c9cce3; margin: 0; max-width: 620px; }
.state-card--light { background: #fff; color: var(--tpl-text); border-color: var(--tpl-line-light); box-shadow: var(--shadow-sm); }
.state-card--light .state-card__title { color: var(--tpl-ink-900); }
.state-card--light .state-card__text { color: var(--tpl-text-soft); }

/* ---------- 11. MATCHES & POINTS ---------- */
.match-card {
  --c1: var(--tpl-gold-300);
  --c2: var(--tpl-ruby);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--tpl-line-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.match-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.match-card::before { content: ""; height: 5px; background: linear-gradient(90deg, var(--c1) 0 50%, var(--c2) 50% 100%); }
.match-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem 0; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; color: var(--tpl-text-soft); }
.match-card__num { color: var(--tpl-ink-800); }
.match-card__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem; padding: 1.4rem 1.25rem; text-align: center; }
.match-card__team { display: grid; justify-items: center; gap: 0.5rem; }
.match-card__team .crest { width: 74px; }
.match-card__name { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; color: var(--tpl-ink-900); }
.match-card__star { font-size: 0.82rem; color: var(--tpl-text-soft); line-height: 1.3; }
.match-card__vs { font-family: var(--ff-display); font-size: 1.5rem; color: var(--tpl-gold-600); position: relative; }
.match-card__score { font-family: var(--ff-display); font-size: 1.3rem; color: var(--tpl-ink-800); }
.match-card__score small { font-family: var(--ff-cond); font-size: 0.85rem; color: var(--tpl-text-soft); letter-spacing: 0.05em; }
.match-card__meta { display: grid; gap: 0.35rem; padding: 0 1.25rem 1.25rem; font-size: 0.92rem; color: var(--tpl-text-soft); }
.match-card__meta i { width: 18px; color: var(--tpl-gold-600); }
.match-card__result { margin: 0 1.25rem 1.1rem; padding: 0.75rem 1rem; border-radius: var(--r-sm); background: rgba(31, 191, 117, 0.1); color: #0e7a49; font-weight: 600; font-size: 0.95rem; display: flex; gap: 0.6rem; align-items: center; }
.match-card__foot { margin-top: auto; display: flex; gap: 0.6rem; padding: 1rem 1.25rem; border-top: 1px dashed var(--tpl-line-light); background: var(--tpl-cream); }
.match-card__foot .btn-tpl { flex: 1; }
.match-card .when-completed { display: none; }
.match-card.is-completed .when-upcoming { display: none; }
.match-card.is-completed .when-completed { display: revert; }
.match-card.is-completed .match-card__foot.when-completed { display: flex; }

.points-table-wrap { border-radius: var(--r-lg); overflow-x: auto; border: 1px solid var(--tpl-line-light); background: #fff; box-shadow: var(--shadow-sm); }
.points-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.points-table thead th { background: var(--tpl-ink-800); color: var(--tpl-gold-200); font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; padding: 1rem; text-align: center; white-space: nowrap; }
.points-table thead th:nth-child(2) { text-align: left; }
.points-table td { padding: 0.95rem 1rem; text-align: center; border-bottom: 1px solid var(--tpl-line-light); font-variant-numeric: tabular-nums; font-weight: 500; }
.points-table td:nth-child(2) { text-align: left; }
.points-table tbody tr { transition: background 0.25s; }
.points-table tbody tr:hover { background: var(--tpl-cream); }
.points-table tbody tr.is-qualified td:first-child { box-shadow: inset 4px 0 0 var(--tpl-gold-300); }
.points-table .pos { font-family: var(--ff-display); font-size: 1.25rem; color: var(--tpl-ink-800); }
.points-table .pts { font-family: var(--ff-display); font-size: 1.25rem; color: var(--tpl-gold-700); }
.points-table .team-cell { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; color: var(--tpl-ink-900); }
.points-table .team-cell .crest { width: 38px; }
.form-pills { display: inline-flex; gap: 0.3rem; }
.form-pill { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: #fff; }
.form-pill.w { background: var(--tpl-emerald); }
.form-pill.l { background: var(--tpl-ruby); }
.form-pill.n { background: var(--tpl-ink-300); }

.mini-table { display: grid; gap: 0.75rem; }
.mini-table__row { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(234, 194, 73, 0.15); }
.mini-table__row:first-child { background: linear-gradient(90deg, rgba(234, 194, 73, 0.22), rgba(234, 194, 73, 0.04)); border-color: rgba(234, 194, 73, 0.45); }
.mini-table__pos { font-family: var(--ff-display); font-size: 1.8rem; color: var(--tpl-gold-300); }
.mini-table__team { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; color: #fff; }
.mini-table__team .crest { width: 40px; }
.mini-table__stat { font-family: var(--ff-cond); font-weight: 600; color: var(--tpl-muted); letter-spacing: 0.06em; }
.mini-table__pts { font-family: var(--ff-display); font-size: 1.6rem; color: #fff; }

/* scorecard */
.score-hero { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; text-align: center; }
.score-hero .crest { width: 110px; margin-inline: auto; }
.score-hero__name { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; margin-top: 0.8rem; }
.score-hero__runs { font-family: var(--ff-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--tpl-gold-200); line-height: 1; }
.score-hero__overs { font-family: var(--ff-cond); color: var(--tpl-muted); letter-spacing: 0.1em; }
.score-hero__vs { font-family: var(--ff-display); font-size: 2.6rem; color: var(--tpl-gold-300); }
.result-banner { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2rem; padding: 0.8rem 1.5rem; border-radius: var(--r-pill); background: var(--grad-gold); color: var(--tpl-ink-900); font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.scorecard { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--tpl-line-light); overflow: hidden; box-shadow: var(--shadow-sm); }
.scorecard + .scorecard { margin-top: 1.5rem; }
.scorecard__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--tpl-ink-800); color: #fff; }
.scorecard__head h3 { margin: 0; font-size: 1.4rem; color: #fff; }
.scorecard__head .total { font-family: var(--ff-display); font-size: 1.5rem; color: var(--tpl-gold-200); }
.scorecard table { width: 100%; border-collapse: collapse; min-width: 640px; }
.scorecard th { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; color: var(--tpl-text-soft); padding: 0.85rem 1rem; background: var(--tpl-cream); text-align: right; }
.scorecard td { padding: 0.85rem 1rem; border-top: 1px solid var(--tpl-line-light); text-align: right; font-variant-numeric: tabular-nums; }
.scorecard th:first-child, .scorecard td:first-child { text-align: left; }
.scorecard td:first-child strong { display: block; color: var(--tpl-ink-900); }
.scorecard td:first-child span { font-size: 0.82rem; color: var(--tpl-text-soft); }
.scorecard .extras td { background: var(--tpl-cream); font-weight: 600; }

.summary-tile { padding: 1.4rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--tpl-line-light); height: 100%; }
.summary-tile__lbl { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--tpl-gold-700); }
.summary-tile__val { font-family: var(--ff-display); font-size: 1.6rem; text-transform: uppercase; color: var(--tpl-ink-900); line-height: 1.1; margin-top: 0.4rem; }

/* ---------- 12. TEAMS & CRESTS ---------- */
.crest {
  --team-color: var(--tpl-gold-300);
  --team-color-2: var(--tpl-ink-800);
  position: relative;
  aspect-ratio: 0.86;
  width: 90px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 100% 14%, 100% 62%, 50% 100%, 0 62%, 0 14%);
  background: linear-gradient(160deg, var(--team-color) 0%, color-mix(in srgb, var(--team-color) 55%, #000) 100%);
  color: #fff;
  font-family: var(--ff-display);
  font-size: calc(var(--crest-size, 90px) * 0.3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.crest::before {
  content: "";
  position: absolute;
  inset: 6%;
  clip-path: inherit;
  border: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.25), transparent 55%);
}
.crest::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 10%;
  background: var(--grad-gold);
  opacity: 0.9;
}
.crest span { position: relative; z-index: 1; font-size: clamp(0.8rem, 30cqi, 3rem); }
.crest { container-type: inline-size; }

.team-card {
  --team-color: var(--tpl-gold-300);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--tpl-ink-800);
  color: #fff;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px color-mix(in srgb, var(--team-color) 30%, transparent); color: #fff; }
.team-card__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); filter: grayscale(0.35); }
.team-card:hover .team-card__media img { transform: scale(1.08); filter: grayscale(0); }
.team-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--team-color) 55%, var(--tpl-ink-900)) 82%, var(--tpl-ink-800) 100%);
}
.team-card__crest { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.team-card__crest .crest { width: 64px; }
.team-card__tag { position: absolute; top: 1.1rem; right: 1rem; z-index: 2; }
.team-card__body { position: relative; z-index: 2; padding: 0 1.4rem 1.4rem; margin-top: -4.5rem; display: flex; flex-direction: column; flex: 1; }
.team-card__house { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.82rem; color: var(--tpl-gold-200); }
.team-card__name { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 0.2rem 0 0.9rem; color: #fff; }
.team-card__star { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.9rem; margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.team-card__star img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--team-color); }
.team-card__star small { display: block; font-family: var(--ff-cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tpl-muted); font-size: 0.72rem; }
.team-card__star strong { font-weight: 600; }
.team-card__go { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--team-color); color: #fff; transition: transform 0.4s var(--ease-spring); }
.team-card:hover .team-card__go { transform: rotate(-45deg); }

.team-hero { --team-color: var(--tpl-gold-300); }
.team-hero .page-hero__bg { opacity: 0.4; }
.team-hero::before {
  background:
    radial-gradient(70% 90% at 85% 20%, color-mix(in srgb, var(--team-color) 55%, transparent), transparent 65%),
    linear-gradient(180deg, rgba(7, 10, 27, 0.5), rgba(7, 10, 27, 0.92) 85%, var(--tpl-ink-900));
}
.team-hero__grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.team-hero .crest { width: clamp(120px, 16vw, 200px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.team-hero__facts { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin-top: 1.5rem; }
.team-hero__fact small { display: block; font-family: var(--ff-cond); letter-spacing: 0.16em; text-transform: uppercase; color: var(--tpl-muted); font-size: 0.78rem; }
.team-hero__fact strong { font-family: var(--ff-display); font-size: 1.5rem; text-transform: uppercase; font-weight: 400; }
.team-swatches { display: flex; gap: 0.4rem; margin-top: 0.4rem; }
.team-swatches span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); }

.player-card { position: relative; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--tpl-line-light); height: 100%; transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.player-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.player-card__img { aspect-ratio: 1; overflow: hidden; background: var(--tpl-paper); }
.player-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.player-card:hover .player-card__img img { transform: scale(1.06); }
.player-card__body { padding: 1rem 1.1rem 1.2rem; }
.player-card__name { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.25rem; margin: 0 0 0.35rem; color: var(--tpl-ink-900); }
.player-card__role { display: inline-block; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.76rem; color: var(--tpl-gold-700); }
.player-card__craft { font-size: 0.88rem; color: var(--tpl-text-soft); margin: 0.2rem 0 0; }

.star-partner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.star-partner__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.star-partner__photo img { width: 100%; height: 100%; object-fit: cover; }
.star-partner__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(234, 194, 73, 0.4); background: linear-gradient(180deg, transparent 60%, rgba(7, 10, 27, 0.8)); }
.star-partner__badge { position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2; }
.quote-block { position: relative; padding: 1.8rem 1.8rem 1.8rem 2.4rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(234, 194, 73, 0.2); font-size: 1.15rem; font-weight: 300; color: #e3e5f4; }
.quote-block::before { content: "\201C"; position: absolute; top: -1.6rem; left: 1.2rem; font-family: var(--ff-display); font-size: 5.5rem; line-height: 1; color: var(--tpl-gold-300); }

/* ---------- 13. VIDEOS ---------- */
.video-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--tpl-ink-800); color: #fff; height: 100%; isolation: isolate; }
.video-card__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out), filter 0.5s; }
.video-card:hover .video-card__thumb img { transform: scale(1.07); filter: brightness(0.75); }
.video-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 27, 0.85)); }
.video-card__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(234, 194, 73, 0.95); color: var(--tpl-ink-900); font-size: 1.1rem; box-shadow: 0 0 0 8px rgba(234, 194, 73, 0.25); transition: transform 0.45s var(--ease-spring); }
.video-card:hover .video-card__play { transform: scale(1.14); }
.video-card__dur { position: absolute; z-index: 2; right: 0.9rem; bottom: 0.9rem; padding: 0.2rem 0.55rem; border-radius: 6px; background: rgba(4, 5, 13, 0.8); font-family: var(--ff-cond); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; }
.video-card__cat { position: absolute; z-index: 2; left: 0.9rem; top: 0.9rem; }
.video-card__body { padding: 1.1rem 1.25rem 1.35rem; }
.video-card__title { font-family: var(--ff-cond); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: 0.02em; margin: 0; color: #fff; }
.video-card:hover .video-card__title { color: var(--tpl-gold-200); }
.video-card__meta { font-size: 0.85rem; color: var(--tpl-muted); margin-top: 0.45rem; }
.video-card--feature .video-card__thumb { aspect-ratio: 16 / 9; }
.video-card--feature .video-card__title { font-family: var(--ff-display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.video-card--feature .video-card__play { width: 88px; height: 88px; margin: -44px 0 0 -44px; font-size: 1.5rem; }

/* ---------- 14. NEWS (cards + masonry) ---------- */
.news-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--tpl-line-light); transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card__img { position: relative; overflow: hidden; display: block; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__cat { position: absolute; left: 1rem; top: 1rem; z-index: 2; }
.news-card__cat .chip { background: rgba(7, 10, 27, 0.78); color: var(--tpl-gold-200); border-color: transparent; backdrop-filter: blur(6px); }
.news-card__body { padding: 1.3rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.82rem; color: var(--tpl-text-soft); margin-bottom: 0.6rem; }
.news-card__meta i { color: var(--tpl-gold-600); margin-right: 0.3rem; }
.news-card__title { font-family: var(--ff-cond); font-weight: 700; font-size: 1.4rem; line-height: 1.15; text-transform: none; letter-spacing: 0; margin-bottom: 0.6rem; color: var(--tpl-ink-900); }
.news-card__title a:hover { color: var(--tpl-gold-700); }
.news-card__excerpt { color: var(--tpl-text-soft); font-size: 0.96rem; margin-bottom: 1rem; }
.news-card .link-arrow { margin-top: auto; font-size: 0.92rem; }

.news-card--feature { color: #fff; border: 0; min-height: 100%; }
.news-card--feature .news-card__img { position: absolute; inset: 0; }
.news-card--feature .news-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 10, 27, 0.1) 20%, rgba(7, 10, 27, 0.95) 100%); }
.news-card--feature .news-card__body { position: relative; z-index: 2; margin-top: auto; padding: 2rem; min-height: 460px; justify-content: flex-end; }
.news-card--feature .news-card__title { font-family: var(--ff-display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; }
.news-card--feature .news-card__title a:hover { color: var(--tpl-gold-200); }
.news-card--feature .news-card__meta, .news-card--feature .news-card__excerpt { color: #c9cce3; }
.news-card--feature .link-arrow { margin-top: 0; color: var(--tpl-gold-200); }

/* JS-powered masonry: keeps left-to-right reading order */
.masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 8px;
  gap: 0 1.5rem;
}
.masonry > .masonry__item { margin-bottom: 1.5rem; align-self: start; }
.masonry:not(.is-ready) { grid-auto-rows: auto; gap: 1.5rem; }
.masonry:not(.is-ready) > .masonry__item { margin-bottom: 0; }
.masonry__item.is-hidden { display: none; }
.masonry .news-card { height: auto; }
.masonry .news-card__img img { height: auto; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- 15. ARTICLE / TOC / SIDEBAR ---------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1101; background: transparent; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; background: var(--grad-ruby); transform-origin: left; transform: scaleX(0); }

.article-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; margin-top: 1.4rem; color: #c9cce3; font-size: 0.95rem; }
.article-hero__meta i { color: var(--tpl-gold-300); margin-right: 0.35rem; }
.author-mini { display: flex; align-items: center; gap: 0.7rem; }
.author-mini img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--tpl-gold-300); }

.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 330px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2.2rem; }
.article-cover figcaption { font-size: 0.85rem; color: var(--tpl-text-soft); padding-top: 0.6rem; }

.article-body { font-size: 1.1rem; line-height: 1.8; color: #2a2e4a; }
.article-body > p:first-of-type::first-letter { float: left; font-family: var(--ff-display); font-size: 4.6rem; line-height: 0.82; padding: 0.4rem 0.7rem 0 0; color: var(--tpl-gold-600); }
.article-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 2.6rem 0 1rem; color: var(--tpl-ink-900); scroll-margin-top: 100px; }
.article-body h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 2rem 0 0.8rem; color: var(--tpl-ink-800); scroll-margin-top: 100px; }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body ul li::marker { color: var(--tpl-gold-600); }
.article-body blockquote { margin: 2rem 0; padding: 1.6rem 1.8rem; border-left: 4px solid var(--tpl-gold-300); background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--ff-cond); font-size: 1.45rem; line-height: 1.35; font-weight: 600; color: var(--tpl-ink-900); }
.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: var(--r-md); }
.article-body figcaption { font-size: 0.86rem; color: var(--tpl-text-soft); padding-top: 0.5rem; }
.article-callout { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: var(--r-md); background: var(--tpl-ink-800); color: #e3e5f4; font-size: 1rem; margin: 2rem 0; }
.article-callout i { color: var(--tpl-gold-300); font-size: 1.3rem; margin-top: 0.2rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--tpl-line-light); }

.toc { position: sticky; top: 96px; }
.toc__box { background: #fff; border: 1px solid var(--tpl-line-light); border-radius: var(--r-md); padding: 1.3rem 1.2rem; }
.toc__title { font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.85rem; color: var(--tpl-ink-900); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; }
.toc__title i { color: var(--tpl-gold-600); }
.toc__list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--tpl-line-light); max-height: 52vh; overflow-y: auto; }
.toc__list a { display: block; padding: 0.42rem 0 0.42rem 0.95rem; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.92rem; line-height: 1.35; color: var(--tpl-text-soft); transition: all 0.25s; }
.toc__list a.lvl-3 { padding-left: 1.75rem; font-size: 0.86rem; }
.toc__list a:hover { color: var(--tpl-ink-900); }
.toc__list a.is-active { color: var(--tpl-gold-700); border-left-color: var(--tpl-gold-500); font-weight: 600; }
.toc__progress { margin-top: 1rem; font-family: var(--ff-cond); font-weight: 600; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--tpl-text-soft); display: flex; justify-content: space-between; }

.share-rail { margin-top: 1.25rem; background: #fff; border: 1px solid var(--tpl-line-light); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.share-rail__title { font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.8rem; }
.share-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--tpl-line-light); background: var(--tpl-cream); color: var(--tpl-ink-800); font-size: 1rem; transition: all 0.3s var(--ease-out); cursor: pointer; }
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn[data-share="x"]:hover { background: #000; }
.share-btn[data-share="facebook"]:hover { background: #1877f2; }
.share-btn[data-share="whatsapp"]:hover { background: #25d366; }
.share-btn[data-share="linkedin"]:hover { background: #0a66c2; }
.share-btn[data-share="telegram"]:hover { background: #229ed9; }
.share-btn[data-share="copy"]:hover, .share-btn[data-share="native"]:hover { background: var(--tpl-gold-500); }

.toc-mobile { display: none; margin-bottom: 1.5rem; }
.toc-mobile details { background: #fff; border: 1px solid var(--tpl-line-light); border-radius: var(--r-md); }
.toc-mobile summary { padding: 1rem 1.2rem; font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.toc-mobile .toc__list { margin: 0 1.2rem 1.2rem; max-height: none; }

.sidebar { position: sticky; top: 96px; display: grid; gap: 1.4rem; }
.widget { background: #fff; border: 1px solid var(--tpl-line-light); border-radius: var(--r-lg); padding: 1.5rem; }
.widget__title { font-size: 1.35rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.6rem; color: var(--tpl-ink-900); }
.widget__title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--tpl-gold-300), transparent); }
.widget-search { position: relative; }
.widget-search input { padding-right: 3.2rem; }
.widget-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 10px; border: 0; background: var(--grad-gold); color: var(--tpl-ink-900); }
.widget-cats { list-style: none; margin: 0; padding: 0; }
.widget-cats li + li { border-top: 1px dashed var(--tpl-line-light); }
.widget-cats a { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; font-weight: 500; }
.widget-cats a span { min-width: 30px; height: 26px; padding: 0 0.5rem; border-radius: var(--r-pill); background: var(--tpl-cream); display: grid; place-items: center; font-size: 0.8rem; color: var(--tpl-gold-700); font-weight: 700; }
.widget-post { display: grid; grid-template-columns: 78px 1fr; gap: 0.9rem; align-items: center; }
.widget-post + .widget-post { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--tpl-line-light); }
.widget-post img { width: 78px; height: 78px; border-radius: 12px; object-fit: cover; }
.widget-post h4 { font-family: var(--ff-cond); text-transform: none; font-weight: 700; font-size: 1.05rem; letter-spacing: 0; line-height: 1.2; margin: 0 0 0.3rem; color: var(--tpl-ink-900); }
.widget-post small { color: var(--tpl-text-soft); font-size: 0.8rem; }
.widget-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag { display: inline-block; padding: 0.4rem 0.8rem; border-radius: var(--r-pill); background: var(--tpl-cream); border: 1px solid var(--tpl-line-light); font-size: 0.82rem; font-weight: 500; color: var(--tpl-text-soft); transition: all 0.25s; }
.tag:hover { background: var(--tpl-ink-800); color: var(--tpl-gold-200); border-color: var(--tpl-ink-800); }
.widget--cta { background: var(--grad-night); color: #fff; border: 1px solid rgba(234, 194, 73, 0.3); text-align: center; position: relative; overflow: hidden; }
.widget--cta img { width: 96px; margin: 0 auto 1rem; }
.widget--cta h3 { color: #fff; font-size: 1.8rem; }
.widget--cta p { color: #c9cce3; font-size: 0.95rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.4rem; }
.post-nav a { display: block; padding: 1.2rem 1.3rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--tpl-line-light); transition: all 0.3s; }
.post-nav a:hover { border-color: var(--tpl-gold-300); box-shadow: var(--shadow-sm); color: inherit; }
.post-nav small { display: block; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tpl-gold-700); font-size: 0.78rem; margin-bottom: 0.3rem; }
.post-nav strong { font-weight: 600; line-height: 1.3; color: var(--tpl-ink-900); }
.post-nav a:last-child { text-align: right; }

/* ---------- 16. ALAI BALAI ---------- */
.alai-banner { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; padding: clamp(2.5rem, 6vw, 5rem); background: var(--tpl-ink-900); }
.alai-banner__bg { position: absolute; inset: 0; z-index: -2; }
.alai-banner__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.alai-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(7 10 27 / 0%) 25%, rgba(7, 10, 27, 0.4) 100%), radial-gradient(60% 80% at 100% 100%, rgba(224, 35, 78, 0.35), transparent 70%); }
.alai-banner__telugu { position: absolute; right: 3%; bottom: -0.2em; z-index: -1; font-family: var(--ff-telugu); font-size: clamp(4rem, 12vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(234, 194, 73, 0.3); pointer-events: none; white-space: nowrap; }
.alai-banner h2 { color: #fff; max-width: 14ch; }

.pillar-card { position: relative; height: 100%; padding: 2rem 1.6rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--tpl-line-light); overflow: hidden; transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-card__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: var(--tpl-gold-300); background: var(--tpl-ink-800); margin-bottom: 1.3rem; transition: transform 0.5s var(--ease-spring); }
.pillar-card:hover .pillar-card__icon { transform: rotate(-8deg) scale(1.08); }
.pillar-card h3 { font-size: 1.6rem; color: var(--tpl-ink-900); }
.pillar-card p { color: var(--tpl-text-soft); margin: 0; }
.pillar-card__num { position: absolute; right: 1.2rem; top: 0.6rem; font-family: var(--ff-display); font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--tpl-sand); }

.welfare-note { display: flex; gap: 1.2rem; align-items: center; padding: 1.6rem 1.8rem; border-radius: var(--r-lg); background: var(--grad-gold); color: var(--tpl-ink-900); }
.welfare-note i { font-size: 2rem; }
.welfare-note p { margin: 0; font-family: var(--ff-cond); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.25; }

.photo-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.photo-mosaic a { position: relative; border-radius: var(--r-md); overflow: hidden; display: block; }
.photo-mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.photo-mosaic a:nth-child(4) { grid-row: span 2; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.photo-mosaic a:hover img { transform: scale(1.07); }
.photo-mosaic span { position: absolute; left: 0.8rem; bottom: 0.8rem; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); background: rgba(7, 10, 27, 0.75); color: #fff; font-size: 0.8rem; backdrop-filter: blur(6px); }

/* ---------- 17. PARTNERS ---------- */
.partner-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partner-marquee .marquee__track { gap: 1.25rem; animation-duration: 45s; padding-left: 0; }
.partner-logo { position: relative; display: block; flex-shrink: 0; width: 150px; aspect-ratio: 1 / 1; padding: 0; border-radius: var(--r-md); overflow: hidden; background: var(--tpl-ink-800); border: 1px solid var(--tpl-line-light); box-shadow: var(--shadow-sm); transition: all 0.35s var(--ease-out); }
.partner-logo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); opacity: 0.92; transition: all 0.5s var(--ease-out); }
.partner-logo:hover { border-color: var(--tpl-gold-300); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.partner-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }

.partner-tier { padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--tpl-line-light); }
.partner-tier + .partner-tier { margin-top: 1.5rem; }
.partner-tier__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.partner-tier__head h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--tpl-ink-900); }
.partner-tier__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.partner-tier__grid .partner-logo { width: 100%; height: auto; }
.partner-tier--title { background: var(--grad-night); border-color: rgba(234, 194, 73, 0.3); color: #fff; }
.partner-tier--title h3 { color: #fff; }
.partner-tier--title .partner-logo { width: 100%; max-width: 340px; border-color: rgba(234, 194, 73, 0.45); box-shadow: 0 24px 60px rgba(4, 5, 13, 0.5), 0 0 0 6px rgba(234, 194, 73, 0.08); }
.partner-tier--title .partner-logo img { filter: none; opacity: 1; }
.partner-name { font-size: 0.82rem; text-align: center; color: var(--tpl-text-soft); margin-top: 0.5rem; }

.reach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.reach-tile { padding: 1.6rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(234, 194, 73, 0.2); }
.reach-tile strong { display: block; font-family: var(--ff-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--tpl-gold-200); font-weight: 400; }
.reach-tile span { font-family: var(--ff-cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tpl-muted); font-weight: 600; }

/* ---------- 18. FAN ID CTA BAND ---------- */
.fan-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--grad-gold);
  color: var(--tpl-ink-900);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2rem;
  align-items: center;
}
.fan-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 22px); }
.fan-cta::after { content: "FAN ID"; position: absolute; right: -2%; bottom: -16%; z-index: -1; font-family: var(--ff-display); font-size: clamp(6rem, 16vw, 14rem); line-height: 1; color: rgba(7, 10, 27, 0.07); pointer-events: none; }
.fan-cta h2 { color: var(--tpl-ink-900); margin-bottom: 0.6rem; }
.fan-cta p { font-size: var(--fs-lead); margin-bottom: 1.6rem; color: #2a2410; max-width: 52ch; }
.fan-cta__card { justify-self: center; width: min(320px, 100%); transform: rotate(6deg); transition: transform 0.6s var(--ease-spring); }
.fan-cta:hover .fan-cta__card { transform: rotate(0deg) scale(1.03); }

/* ---------- 19. FOOTER ---------- */
.site-footer {
  position: relative;
  background: var(--tpl-ink-950);
  color: #c9cce3;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(4rem, 8vw, 6rem);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(234, 194, 73, 0.1), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(224, 35, 78, 0.08), transparent 70%);
}
/* Big off-colour wordmark rendered with a pseudo element — responsive via vw/clamp */
.site-footer::after {
  content: attr(data-wordmark);
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  transform: translate(-50%, 22%);
  font-family: var(--ff-display);
  font-size: clamp(5.5rem, 27vw, 30rem);
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(234, 194, 73, 0.13) 0%, rgba(234, 194, 73, 0.02) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(234, 194, 73, 0.08);
  pointer-events: none;
  user-select: none;
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.6fr)) minmax(0, 1.15fr); gap: clamp(1.75rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.footer-brand img { width: 150px; margin-bottom: 1.3rem; }
.footer-brand p { max-width: 34ch; font-size: 0.98rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.footer-col h4 { font-family: var(--ff-cond); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.22em; color: var(--tpl-gold-300); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { position: relative; color: #d9dcef; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-col a::before { content: ""; width: 0; height: 2px; background: var(--tpl-gold-300); transition: width 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--tpl-gold-200); }
.footer-col a:hover::before { width: 12px; }
.footer-news h4 { font-family: var(--ff-display); font-size: 1.9rem; color: #fff; letter-spacing: 0.01em; margin-bottom: 0.5rem; }
.footer-news p { font-size: 0.95rem; }
.footer-news__form { position: relative; display: flex; margin-top: 1rem; }
.footer-news__form input { flex: 1; min-width: 0; height: 56px; padding: 0 9rem 0 1.2rem; border-radius: var(--r-pill); border: 1px solid rgba(234, 194, 73, 0.28); background: rgba(255, 255, 255, 0.04); color: #fff; font-size: 0.95rem; }
.footer-news__form input::placeholder { color: #8b90b3; }
.footer-news__form input:focus { outline: none; border-color: var(--tpl-gold-300); background: rgba(255, 255, 255, 0.07); }
.footer-news__form .btn-tpl { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 1.1rem; font-size: 0.88rem; }
.footer-apps { display: flex; gap: 0.6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.footer-apps a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.95rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.78rem; line-height: 1.15; color: #fff; }
.footer-apps a i { font-size: 1.35rem; }
.footer-apps a small { display: block; font-size: 0.65rem; color: var(--tpl-muted); }
.footer-apps a:hover { border-color: var(--tpl-gold-300); color: var(--tpl-gold-200); }

.footer-venues { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(234, 194, 73, 0.12); border-bottom: 1px solid rgba(234, 194, 73, 0.12); }
.footer-venues__list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.92rem; color: #e3e5f4; }
.footer-venues__list span i { color: var(--tpl-gold-300); margin-right: 0.45rem; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0 clamp(6rem, 22vw, 17rem); font-size: 0.88rem; color: #8b90b3; }
.footer-bottom a { color: #c9cce3; }
.footer-bottom a:hover { color: var(--tpl-gold-300); }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--tpl-ink-900);
  background: conic-gradient(var(--tpl-gold-300) var(--p, 0%), rgba(234, 194, 73, 0.18) 0);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}
.back-to-top::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--tpl-ink-900); }
.back-to-top i { position: relative; color: var(--tpl-gold-300); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 20. FORMS ---------- */
.form-tpl .form-label { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: var(--tpl-ink-800); margin-bottom: 0.45rem; }
.form-tpl .form-label .req { color: var(--tpl-ruby); }
.input-tpl,
.form-tpl .form-control,
.form-tpl .form-select {
  width: 100%;
  min-height: 56px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid var(--tpl-line-light);
  background-color: #fff;
  color: var(--tpl-text);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-tpl textarea.form-control { min-height: 150px; resize: vertical; }
.input-tpl:focus,
.form-tpl .form-control:focus,
.form-tpl .form-select:focus { outline: none; border-color: var(--tpl-gold-500); box-shadow: 0 0 0 4px rgba(234, 194, 73, 0.2); }
.form-tpl .form-control::placeholder { color: #9aa0bf; }
.form-tpl .is-invalid { border-color: var(--tpl-ruby) !important; box-shadow: 0 0 0 4px rgba(224, 35, 78, 0.12) !important; background-image: none; }
.form-tpl .is-valid { border-color: var(--tpl-emerald) !important; background-image: none; }
.field-error { display: none; font-size: 0.82rem; color: var(--tpl-ruby); margin-top: 0.35rem; font-weight: 500; }
.field-error.is-shown { display: block; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--tpl-gold-600); pointer-events: none; z-index: 2; }
.input-icon > .form-control, .input-icon > .form-select { padding-left: 2.9rem; }
.input-icon .toggle-pass { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--tpl-text-soft); width: 40px; height: 40px; border-radius: 10px; z-index: 2; }
.input-icon .toggle-pass:hover { color: var(--tpl-gold-700); background: var(--tpl-cream); }
.input-group-tpl { display: flex; gap: 0.6rem; }
.input-group-tpl .prefix { flex-shrink: 0; display: grid; place-items: center; min-width: 74px; border-radius: 14px; background: var(--tpl-paper); border: 1.5px solid var(--tpl-line-light); font-weight: 600; }

.form-check-tpl { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: 0.93rem; color: var(--tpl-text-soft); }
.form-check-tpl input { appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin-top: 0.1rem; border-radius: 7px; border: 1.5px solid #c4c7d9; background: #fff; display: grid; place-items: center; cursor: pointer; transition: all 0.25s; }
.form-check-tpl input::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.7rem; color: var(--tpl-ink-900); transform: scale(0); transition: transform 0.25s var(--ease-spring); }
.form-check-tpl input:checked { background: var(--grad-gold); border-color: var(--tpl-gold-500); }
.form-check-tpl input:checked::after { transform: scale(1); }
.form-check-tpl input.is-invalid { border-color: var(--tpl-ruby); }

.form-card { padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--tpl-line-light); box-shadow: var(--shadow-md); }
.form-card--dark { background: var(--tpl-ink-800); border-color: rgba(234, 194, 73, 0.2); color: #fff; }

.otp-inputs { display: flex; gap: 0.55rem; }
.otp-inputs input { width: 100%; max-width: 58px; aspect-ratio: 1; min-height: 0; text-align: center; font-family: var(--ff-display); font-size: 1.6rem; padding: 0; border-radius: 14px; border: 1.5px solid var(--tpl-line-light); }
.otp-inputs input:focus { outline: none; border-color: var(--tpl-gold-500); box-shadow: 0 0 0 4px rgba(234, 194, 73, 0.2); }
.otp-box { display: none; margin-top: 1rem; padding: 1.2rem; border-radius: 16px; background: var(--tpl-cream); border: 1px dashed var(--tpl-gold-500); }
.otp-box.is-open { display: block; animation: fadeUp 0.5s var(--ease-out); }
.otp-status { display: none; align-items: center; gap: 0.4rem; font-weight: 600; color: #0e7a49; font-size: 0.9rem; }
.otp-status.is-shown { display: inline-flex; }
.resend-link { background: none; border: 0; padding: 0; color: var(--tpl-gold-700); font-weight: 600; font-size: 0.9rem; }
.resend-link[disabled] { color: var(--tpl-text-soft); }

.pass-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; margin-top: 0.5rem; }
.pass-meter span { height: 4px; border-radius: 4px; background: var(--tpl-line-light); transition: background 0.3s; }
.pass-meter[data-score="1"] span:nth-child(-n+1) { background: var(--tpl-ruby); }
.pass-meter[data-score="2"] span:nth-child(-n+2) { background: #f59e0b; }
.pass-meter[data-score="3"] span:nth-child(-n+3) { background: var(--tpl-gold-400); }
.pass-meter[data-score="4"] span { background: var(--tpl-emerald); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 21. FILTER TABS ---------- */
.filter-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.35rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--tpl-line-light); scrollbar-width: none; max-width: 100%; width: max-content; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs button {
  position: relative;
  flex-shrink: 0;
  padding: 0.7rem 1.3rem;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tpl-text-soft);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.filter-tabs button:hover { color: var(--tpl-ink-900); }
.filter-tabs button.is-active { background: var(--tpl-ink-800); color: var(--tpl-gold-200); box-shadow: var(--shadow-sm); }
.filter-tabs button .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 0.4rem; padding: 0 0.35rem; border-radius: var(--r-pill); font-size: 0.75rem; background: rgba(234, 194, 73, 0.18); color: var(--tpl-gold-700); }
.filter-tabs button.is-active .count { background: var(--tpl-gold-300); color: var(--tpl-ink-900); }
.section-dark .filter-tabs, .section-ink .filter-tabs, .section-night .filter-tabs { background: rgba(255, 255, 255, 0.04); border-color: rgba(234, 194, 73, 0.2); }
.section-dark .filter-tabs button, .section-ink .filter-tabs button, .section-night .filter-tabs button { color: #c9cce3; }
.section-dark .filter-tabs button.is-active, .section-ink .filter-tabs button.is-active, .section-night .filter-tabs button.is-active { background: var(--grad-gold); color: var(--tpl-ink-900); }

.filter-item { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.filter-item.is-hidden { display: none !important; }
.filter-item.is-entering { animation: popIn 0.55s var(--ease-out) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease-out); }

.empty-filter { display: none; text-align: center; padding: 3rem 1rem; color: var(--tpl-text-soft); }
.empty-filter.is-shown { display: block; }

/* ---------- 22. SWIPER OVERRIDES ---------- */
.swiper { --swiper-theme-color: var(--tpl-gold-300); --swiper-pagination-bullet-inactive-color: var(--tpl-ink-300); --swiper-pagination-bullet-inactive-opacity: 0.45; }
.swiper-pagination-bullet { width: 10px; height: 10px; transition: width 0.35s var(--ease-out); }
.swiper-pagination-bullet-active { width: 32px; border-radius: 6px; background: var(--grad-gold); }
.swiper-slide { height: auto; }
.swiper-progress { position: relative; height: 3px; margin-top: 2rem; background: var(--tpl-line-light); border-radius: 3px; overflow: hidden; }
.section-dark .swiper-progress, .section-ink .swiper-progress, .section-night .swiper-progress { background: rgba(255, 255, 255, 0.1); }
.swiper-progress .swiper-pagination-progressbar-fill { background: var(--grad-gold) !important; }
.swiper-progress.swiper-pagination-progressbar { position: relative !important; }
.swiper-overflow { overflow: visible; }
.clip-x { overflow-x: clip; }

/* ---------- 23. FAN ID ---------- */
.benefit-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; height: 100%; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(234, 194, 73, 0.18); transition: all 0.4s var(--ease-out); }
.benefit-card:hover { background: rgba(234, 194, 73, 0.08); border-color: rgba(234, 194, 73, 0.45); transform: translateY(-4px); }
.benefit-card__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-gold); color: var(--tpl-ink-900); font-size: 1.25rem; }
.benefit-card h3 { font-family: var(--ff-cond); text-transform: uppercase; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; color: #fff; margin: 0 0 0.25rem; }
.benefit-card p { margin: 0; color: var(--tpl-muted); font-size: 0.95rem; }

/* the digital Fan ID card */
.fan-card {
  --team-color: var(--tpl-gold-500);
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.586;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--team-color) 85%, transparent) 0%, transparent 60%),
    linear-gradient(135deg, var(--tpl-ink-800) 0%, var(--tpl-ink-950) 100%);
  box-shadow: 0 30px 60px rgba(4, 5, 13, 0.45), inset 0 0 0 1px rgba(234, 194, 73, 0.4);
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: var(--ff-body);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.fan-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 16px); }
.fan-card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%); background-size: 250% 100%; background-position: var(--shine, 120%) 0; mix-blend-mode: overlay; }
.fan-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.fan-card__top img { width: 64px; }
.fan-card__label { text-align: right; font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.72rem; color: var(--tpl-gold-200); }
.fan-card__label strong { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.04em; color: #fff; }
.fan-card__chip { width: 46px; height: 34px; border-radius: 7px; background: var(--grad-gold); margin-top: 0.4rem; position: relative; }
.fan-card__chip::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(7, 10, 27, 0.35); border-radius: 4px; }
.fan-card__name { font-family: var(--ff-display); font-size: clamp(1.4rem, 4vw, 1.9rem); text-transform: uppercase; line-height: 1; align-self: end; letter-spacing: 0.02em; }
.fan-card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 0.8rem; margin-top: 0.6rem; }
.fan-card__meta small { display: block; font-family: var(--ff-cond); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.62rem; color: var(--tpl-gold-200); }
.fan-card__meta span { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.08em; font-size: 0.95rem; }
.fan-card__team { display: flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); background: var(--team-color); font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.fan-card__qr { width: 54px; height: 54px; border-radius: 8px; background: #fff; padding: 5px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.fan-card__qr i { display: block; background: var(--tpl-ink-900); border-radius: 1px; }
.fan-card__qr i.o { background: transparent; }

.fanid-result { display: none; }
.fanid-result.is-shown { display: block; animation: fadeUp 0.6s var(--ease-out); }
.fanid-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.steps-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.steps-line li { list-style: none; position: relative; padding: 1.3rem 1.2rem 1.2rem; border-radius: var(--r-md); background: var(--tpl-cream); border: 1px solid var(--tpl-line-light); counter-increment: step; }
.steps-line li::before { content: "0" counter(step); font-family: var(--ff-display); font-size: 2rem; line-height: 1; color: var(--tpl-gold-600); display: block; margin-bottom: 0.4rem; }
.steps-line strong { display: block; font-family: var(--ff-cond); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem; color: var(--tpl-ink-900); }
.steps-line span { font-size: 0.9rem; color: var(--tpl-text-soft); }

.faq .accordion-item { border: 1px solid var(--tpl-line-light); border-radius: var(--r-md) !important; overflow: hidden; margin-bottom: 0.75rem; background: #fff; }
.faq .accordion-button { font-family: var(--ff-cond); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; padding: 1.15rem 1.3rem; color: var(--tpl-ink-900); background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--tpl-gold-700); background: var(--tpl-cream); }
.faq .accordion-button::after { background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tpl-cream); color: var(--tpl-gold-700); transform: none; }
.faq .accordion-button:not(.collapsed)::after { content: "\f068"; background: var(--grad-gold); color: var(--tpl-ink-900); }
.faq .accordion-body { color: var(--tpl-text-soft); padding: 0 1.3rem 1.3rem; background: var(--tpl-cream); }

/* ---------- 24. AUTH (login + flip registration) ---------- */
.auth-page { min-height: 100svh; background: var(--tpl-ink-950); color: #fff; position: relative; overflow-x: clip; isolation: isolate; }
.auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45% 55% at 15% 20%, rgba(234, 194, 73, 0.22), transparent 70%),
    radial-gradient(40% 50% at 90% 90%, rgba(224, 35, 78, 0.2), transparent 70%),
    var(--grad-night);
}
.auth-page__bg { position: fixed; inset: 0; z-index: -3; }
.auth-page__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: grayscale(0.6); }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem clamp(1rem, 4vw, 2.5rem); }
.auth-topbar img { height: 72px; width: auto; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) 3rem; max-width: 1360px; margin-inline: auto; min-height: calc(100svh - 112px); }
.auth-intro h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 0.92; margin-bottom: 1.2rem; }
.auth-intro p { color: #c9cce3; font-size: var(--fs-lead); max-width: 46ch; font-weight: 300; }
.auth-perks { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 0.85rem; }
.auth-perks li { display: flex; gap: 0.85rem; align-items: center; font-weight: 500; }
.auth-perks li i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(234, 194, 73, 0.15); color: var(--tpl-gold-300); flex-shrink: 0; }

.flip { perspective: 1800px; width: 100%; }
.flip__inner {
  position: relative;
  display: grid;
  transform-style: preserve-3d;
  transition: transform 1s var(--ease-out);
}
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(160deg, rgba(29, 36, 87, 0.96), rgba(7, 10, 27, 0.98));
  border: 1px solid rgba(234, 194, 73, 0.3);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flip__face--back { transform: rotateY(180deg); }
.flip.is-flipped .flip__face--front, .flip:not(.is-flipped) .flip__face--back { pointer-events: none; }
.auth-card__head { text-align: center; margin-bottom: 1.6rem; }
.auth-card__head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.3rem; color: #fff; }
.auth-card__head p { color: var(--tpl-muted); margin: 0; }
.auth-card__badge { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 20px; display: grid; place-items: center; background: var(--grad-gold); color: var(--tpl-ink-900); font-size: 1.5rem; box-shadow: var(--shadow-gold); }

.form-dark .form-label { color: var(--tpl-gold-100); }
.form-dark .form-control, .form-dark .form-select {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(234, 194, 73, 0.22);
  color: #fff;
}
.form-dark .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23eac249' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-dark .form-select option { background: var(--tpl-ink-800); color: #fff; }
.form-dark .form-control::placeholder { color: #8b90b3; }
.form-dark .form-control:focus, .form-dark .form-select:focus { background-color: rgba(255, 255, 255, 0.08); color: #fff; }
.form-dark .form-check-tpl { color: #c9cce3; }
.form-dark .form-check-tpl input { background: transparent; border-color: rgba(234, 194, 73, 0.45); }
.form-dark .input-icon .toggle-pass { color: var(--tpl-muted); }
.form-dark .input-icon .toggle-pass:hover { background: rgba(255, 255, 255, 0.06); color: var(--tpl-gold-200); }
.form-dark .pass-meter span { background: rgba(255, 255, 255, 0.1); }
.form-dark a { color: var(--tpl-gold-300); }

.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #fff;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s var(--ease-out);
}
.btn-google svg { width: 22px; height: 22px; }
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15); color: #1f1f1f; }
.or-sep { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; color: var(--tpl-muted); }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: rgba(234, 194, 73, 0.22); }
.auth-switch { text-align: center; margin-top: 1.4rem; color: #c9cce3; font-size: 0.96rem; }
.auth-switch button { background: none; border: 0; padding: 0; color: var(--tpl-gold-300); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.auth-switch button:hover { color: var(--tpl-gold-200); }
.auth-social { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px dashed rgba(234, 194, 73, 0.2); }
.auth-footer { text-align: center; padding: 1.4rem 1rem 2rem; font-size: 0.85rem; color: var(--tpl-muted); }
.auth-footer a { color: #c9cce3; }
.auth-footer a:hover { color: var(--tpl-gold-300); }

/* ---------- 25. GALLERY ---------- */
.feature-slider { position: relative; }
.feature-slide { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 7.4; background: var(--tpl-ink-800); isolation: isolate; }
.feature-slide > a { display: block; height: 100%; }
.feature-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.swiper-slide-active .feature-slide img { transform: scale(1); }
.feature-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(7, 10, 27, 0.92) 0%, rgba(7, 10, 27, 0.35) 55%, transparent 100%); }
.feature-slide__caption { position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 640px; padding: clamp(1.6rem, 4vw, 3.4rem); color: #fff; }
.feature-slide__caption > * { opacity: 0; transform: translateY(24px); transition: all 0.8s var(--ease-out); }
.swiper-slide-active .feature-slide__caption > * { opacity: 1; transform: none; }
.swiper-slide-active .feature-slide__caption > *:nth-child(2) { transition-delay: 0.1s; }
.swiper-slide-active .feature-slide__caption > *:nth-child(3) { transition-delay: 0.2s; }
.swiper-slide-active .feature-slide__caption > *:nth-child(4) { transition-delay: 0.3s; }
.feature-slide__caption h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); color: #fff; margin: 0.8rem 0 0.6rem; }
.feature-slide__caption p { color: #d3d6ea; font-size: 1.05rem; margin-bottom: 1.3rem; }
.feature-slide__zoom { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tpl-gold-200); }
.feature-slider__controls { position: absolute; right: clamp(1rem, 3vw, 2.4rem); bottom: clamp(1rem, 3vw, 2.4rem); z-index: 5; display: flex; align-items: center; gap: 1rem; }
.feature-slider__count { font-family: var(--ff-display); font-size: 1.4rem; color: #fff; letter-spacing: 0.05em; }
.feature-slider__count b { color: var(--tpl-gold-300); font-weight: 400; font-size: 2rem; }
.feature-thumbs { margin-top: 1rem; }
.feature-thumbs .swiper-slide { border-radius: var(--r-md); overflow: hidden; cursor: pointer; opacity: 0.45; aspect-ratio: 16 / 9; height: auto; transition: opacity 0.3s; position: relative; }
.feature-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.feature-thumbs .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--tpl-gold-300); outline-offset: -2px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 8px; gap: 0 1.25rem; }
.gallery-grid:not(.is-ready) { grid-auto-rows: auto; gap: 1.25rem; }
.gallery-item { margin-bottom: 1.25rem; align-self: start; }
.gallery-grid:not(.is-ready) .gallery-item { margin-bottom: 0; }
.gallery-item a { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; isolation: isolate; }
.gallery-item img { width: 100%; height: auto; transition: transform 0.9s var(--ease-out); }
.gallery-item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 10, 27, 0.88)); opacity: 0; transition: opacity 0.4s; }
.gallery-item a:hover img { transform: scale(1.07); }
.gallery-item a:hover::after { opacity: 1; }
.gallery-item__info { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; color: #fff; transform: translateY(14px); opacity: 0; transition: all 0.45s var(--ease-out); }
.gallery-item a:hover .gallery-item__info { transform: none; opacity: 1; }
.gallery-item__info strong { display: block; font-family: var(--ff-cond); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.gallery-item__info small { color: var(--tpl-gold-200); font-family: var(--ff-cond); letter-spacing: 0.12em; text-transform: uppercase; }
.gallery-item__zoom { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tpl-gold-300); color: var(--tpl-ink-900); transform: scale(0); transition: transform 0.45s var(--ease-spring); }
.gallery-item a:hover .gallery-item__zoom { transform: scale(1); }

/* GLightbox theme */
.glightbox-clean .gslide-description { background: var(--tpl-ink-900); }
.glightbox-clean .gdesc-inner { padding: 18px 22px; }
.glightbox-clean .gslide-title { font-family: var(--ff-cond); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.glightbox-clean .gslide-desc { color: #c9cce3; font-family: var(--ff-body); }
.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev { background-color: rgba(234, 194, 73, 0.18); border-radius: 50%; }
.glightbox-clean .gclose:hover, .glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover { background-color: var(--tpl-gold-500); }
.goverlay { background: rgba(4, 5, 13, 0.94) !important; }

/* ---------- 26. CONTACT & MAP ---------- */
.contact-card { position: relative; height: 100%; padding: 1.6rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--tpl-line-light); transition: all 0.4s var(--ease-out); overflow: hidden; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--tpl-gold-300); }
.contact-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tpl-ink-800); color: var(--tpl-gold-300); font-size: 1.3rem; margin-bottom: 1.1rem; }
.contact-card h3 { font-family: var(--ff-cond); text-transform: uppercase; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--tpl-ink-900); margin-bottom: 0.35rem; }
.contact-card p { font-size: 0.93rem; color: var(--tpl-text-soft); margin-bottom: 1rem; }
.contact-card__mail { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.65rem 0.65rem 0.65rem 1rem; border-radius: 12px; background: var(--tpl-cream); font-weight: 600; font-size: 0.93rem; color: var(--tpl-ink-900); word-break: break-all; }
.contact-card__mail button { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; border: 0; background: var(--tpl-ink-800); color: var(--tpl-gold-300); }
.contact-card__mail button:hover { background: var(--grad-gold); color: var(--tpl-ink-900); }

.address-card { display: flex; gap: 1.1rem; padding: 1.5rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(234, 194, 73, 0.2); height: 100%; }
.address-card i { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-gold); color: var(--tpl-ink-900); font-size: 1.2rem; }
.address-card h3 { font-family: var(--ff-cond); text-transform: uppercase; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--tpl-gold-200); margin-bottom: 0.35rem; }
.address-card p { margin: 0; color: #d9dcef; font-size: 0.96rem; }
.address-card a { color: var(--tpl-gold-300); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 0.4rem; align-items: center; margin-top: 0.6rem; }

.map-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(234, 194, 73, 0.3); box-shadow: var(--shadow-lg); background: var(--tpl-ink-800); }
.map-canvas { width: 100%; height: clamp(380px, 55vh, 560px); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: #c9cce3; background: radial-gradient(60% 60% at 50% 50%, rgba(234, 194, 73, 0.15), transparent 70%), var(--tpl-ink-800); }
.map-fallback.is-hidden { display: none; }
.map-fallback i { font-size: 2.6rem; color: var(--tpl-gold-300); margin-bottom: 1rem; }
.map-overlay-card { position: absolute; left: 1.25rem; top: 1.25rem; z-index: 5; max-width: 330px; padding: 1.2rem 1.3rem; border-radius: var(--r-md); background: rgba(7, 10, 27, 0.9); border: 1px solid rgba(234, 194, 73, 0.3); color: #fff; backdrop-filter: blur(10px); }
.map-overlay-card h4 { font-size: 1.35rem; color: var(--tpl-gold-200); margin-bottom: 0.3rem; }
.map-overlay-card p { font-size: 0.88rem; color: #c9cce3; margin-bottom: 0.7rem; }

/* custom HTML map pin (OverlayView) */
.tpl-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; }
.tpl-pin__head { width: 58px; height: 58px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad-gold); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45); border: 3px solid var(--tpl-ink-900); }
.tpl-pin__head img { width: 34px; transform: rotate(45deg); }
.tpl-pin__pulse { position: absolute; left: 50%; bottom: -10px; width: 24px; height: 10px; margin-left: -12px; border-radius: 50%; background: rgba(234, 194, 73, 0.5); animation: pinPulse 1.8s infinite; }
@keyframes pinPulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- 27. TICKETS / COMING SOON ---------- */
.coming-soon { position: relative; text-align: center; padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem); border-radius: var(--r-xl); background: var(--grad-night); color: #fff; overflow: hidden; isolation: isolate; }
.coming-soon::before { content: "SOON"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1; font-family: var(--ff-display); font-size: clamp(8rem, 30vw, 24rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(234, 194, 73, 0.1); white-space: nowrap; }
.coming-soon__ticket { display: inline-flex; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 30px; background: var(--grad-gold); color: var(--tpl-ink-900); font-size: 2.6rem; margin-bottom: 1.8rem; transform: rotate(-10deg); box-shadow: var(--shadow-gold); animation: ticketWiggle 4s ease-in-out infinite; }
@keyframes ticketWiggle { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(6deg) translateY(-6px); } }
.coming-soon h2 { font-size: clamp(3rem, 9vw, 7rem); line-height: 0.9; color: #fff; margin-bottom: 1rem; }
.coming-soon p { max-width: 560px; margin: 0 auto 2rem; color: #c9cce3; font-size: var(--fs-lead); font-weight: 300; }
.notify-form { display: flex; gap: 0.6rem; max-width: 520px; margin: 0 auto; }
.notify-form input { flex: 1; min-width: 0; height: 58px; padding: 0 1.3rem; border-radius: var(--r-pill); border: 1px solid rgba(234, 194, 73, 0.35); background: rgba(255, 255, 255, 0.06); color: #fff; }
.notify-form input::placeholder { color: #8b90b3; }
.notify-form input:focus { outline: none; border-color: var(--tpl-gold-300); }
.ticket-venues { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.4rem; }

/* ---------- 28. ABOUT ---------- */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-collage img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; }
.about-collage img:first-child { grid-row: span 2; }
.about-collage__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--tpl-ink-900); border: 4px solid var(--tpl-cream); color: var(--tpl-gold-200); font-family: var(--ff-cond); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; line-height: 1.1; }
.about-collage__badge strong { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 2.4rem; color: #fff; letter-spacing: 0; }

.equation { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0; }
.equation span { padding: 0.7rem 1.3rem; border-radius: var(--r-pill); background: var(--tpl-ink-800); color: var(--tpl-gold-200); font-family: var(--ff-display); font-size: 1.4rem; text-transform: uppercase; }
.equation b { font-family: var(--ff-display); font-size: 1.8rem; color: var(--tpl-gold-600); font-weight: 400; }
.equation span:last-child { background: var(--grad-gold); color: var(--tpl-ink-900); }

.leader-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--tpl-ink-800); color: #fff; height: 100%; isolation: isolate; }
.leader-card__img { aspect-ratio: 4 / 4.6; overflow: hidden; }
.leader-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: all 0.8s var(--ease-out); }
.leader-card:hover .leader-card__img img { filter: none; transform: scale(1.05); }
.leader-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(180deg, transparent, rgba(7, 10, 27, 0.95) 45%); }
.leader-card__role { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: var(--tpl-gold-300); }
.leader-card__name { font-size: 1.9rem; margin: 0.2rem 0 0; color: #fff; }

.timeline { position: relative; display: grid; gap: 1.5rem; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--tpl-gold-300), rgba(234, 194, 73, 0.1)); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -2.2rem; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--tpl-ink-900); border: 4px solid var(--tpl-gold-300); }
.timeline__item small { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tpl-gold-300); }
.timeline__item h4 { color: #fff; margin: 0.2rem 0 0.4rem; font-size: 1.5rem; }
.timeline__item p { color: #c9cce3; margin: 0; }

.legend-strip { display: flex; flex-wrap: wrap; gap: 1rem; }
.legend-chip { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 1.1rem 0.6rem 0.6rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(234, 194, 73, 0.25); }
.legend-chip img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.legend-chip strong { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }

.ebg-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--tpl-line-light); box-shadow: var(--shadow-sm); }
.ebg-card__logo { width: 120px; height: 120px; border-radius: 26px; display: grid; place-items: center; background: var(--tpl-ink-800); }
.ebg-card__logo img { width: 90px; border-radius: 12px; }

/* ---------- 29. AUCTION & STATS ---------- */
.step-card { position: relative; padding: 2rem 1.7rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(234, 194, 73, 0.2); height: 100%; overflow: hidden; }
.step-card__num { font-family: var(--ff-display); font-size: 5rem; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--tpl-gold-300); margin-bottom: 1rem; display: block; }
.step-card h3 { color: #fff; font-size: 1.7rem; }
.step-card p { color: var(--tpl-muted); margin: 0; }
.step-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(234, 194, 73, 0.18), transparent 70%); }
.step-arrow { position: absolute; top: 50%; right: -1.15rem; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--tpl-ink-900); font-size: 0.85rem; transform: translateY(-50%); }

.purse-bar { height: 10px; border-radius: 10px; background: var(--tpl-line-light); overflow: hidden; }
.purse-bar span { display: block; height: 100%; background: var(--team-color, var(--tpl-gold-500)); border-radius: inherit; }

.auction-table td .crest { width: 30px; }

.award-card { position: relative; padding: 2.2rem 2rem; border-radius: var(--r-xl); color: #fff; overflow: hidden; isolation: isolate; background: var(--grad-night); border: 1px solid rgba(234, 194, 73, 0.3); height: 100%; }
.award-card__icon { font-size: 3.2rem; background: var(--grad-gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; display: inline-block; }
.award-card h3 { color: #fff; font-size: 2.2rem; }
.award-card p { color: var(--tpl-muted); margin: 0; }
.award-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(234, 194, 73, 0.25), transparent 70%); z-index: -1; }

.leader-tabs { margin-bottom: 1.8rem; }
.leaderboard { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: stretch; }
.leaderboard__top { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--tpl-ink-800); color: #fff; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.leaderboard__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.leaderboard__top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(7, 10, 27, 0.95) 80%); }
.leaderboard__top-body { padding: 2rem; }
.leaderboard__big { font-family: var(--ff-display); font-size: clamp(4rem, 8vw, 6.5rem); line-height: 0.9; color: var(--tpl-gold-200); }
.leaderboard__name { font-size: 2rem; margin: 0.3rem 0 0.2rem; color: #fff; }
.leaderboard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.leaderboard__list li { display: grid; grid-template-columns: 44px 52px 1fr auto; gap: 1rem; align-items: center; padding: 0.85rem 1.2rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--tpl-line-light); transition: all 0.3s; }
.leaderboard__list li:hover { border-color: var(--tpl-gold-300); transform: translateX(4px); }
.leaderboard__list .rank { font-family: var(--ff-display); font-size: 1.5rem; color: var(--tpl-gold-600); }
.leaderboard__list img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.leaderboard__list strong { display: block; font-weight: 600; color: var(--tpl-ink-900); line-height: 1.2; }
.leaderboard__list small { color: var(--tpl-text-soft); font-size: 0.82rem; }
.leaderboard__list .val { font-family: var(--ff-display); font-size: 1.7rem; color: var(--tpl-ink-900); }

/* ---------- 30. LEGAL / PROSE ---------- */
.prose { max-width: 820px; font-size: 1.05rem; line-height: 1.8; color: #2a2e4a; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 2.4rem 0 0.8rem; color: var(--tpl-ink-900); scroll-margin-top: 100px; }
.prose h3 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; color: var(--tpl-ink-800); }
.prose ul { padding-left: 1.2rem; }
.prose li::marker { color: var(--tpl-gold-600); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.legal-note { padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: rgba(234, 194, 73, 0.12); border: 1px solid rgba(234, 194, 73, 0.4); font-size: 0.95rem; color: var(--tpl-ink-800); }


.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) 1rem 4rem; background: var(--grad-night); color: #fff; }
.error-page__code { font-family: var(--ff-display); font-size: clamp(8rem, 26vw, 18rem); line-height: 0.85; background: var(--grad-gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 31. SEASON STATES ----------
   <body data-season="pre|schedule|live">. Any element with data-season-show="..."
   is visible only in the listed state(s). Swap the attribute to move the whole
   site through Pre-season → Schedule announced → Season live without rebuilds. */
body[data-season="pre"] [data-season-show]:not([data-season-show~="pre"]),
body[data-season="schedule"] [data-season-show]:not([data-season-show~="schedule"]),
body[data-season="live"] [data-season-show]:not([data-season-show~="live"]) { display: none !important; }

.season-preview {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: var(--r-pill);
  background: rgba(7, 10, 27, 0.92);
  border: 1px solid rgba(234, 194, 73, 0.35);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}
.season-preview button { border: 0; border-radius: var(--r-pill); padding: 0.45rem 0.85rem; background: transparent; color: #c9cce3; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.season-preview button.is-active { background: var(--grad-gold); color: var(--tpl-ink-900); }

/* ---------- 32. REVEAL ANIMATIONS ---------- */
[data-reveal] { opacity: 0; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="down"] { transform: translateY(-30px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}

/* ---------- 33. RESPONSIVE ---------- */
@media (max-width: 1399.98px) {
  .nav-primary > li > a { padding: 0.6rem 0.6rem; font-size: 1rem; }
  .nav-primary > li > a::after { left: 0.6rem; right: 0.6rem; }
  .article-layout { grid-template-columns: 220px minmax(0, 1fr) 300px; }
}

@media (max-width: 1199.98px) {
  :root { --topbar-h: 0px; --mainbar-h: 74px; }
  .topbar { display: none; }
  .nav-primary, .header-actions .hide-xl { display: none; }
  .burger { display: inline-block; }
  .header-actions { margin-left: auto; }
  .brand img { height: 84px; }
  .site-header.is-scrolled .brand img { height: 66px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-news { grid-column: 1 / -1; }
  .masonry, .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .article-layout > .toc-col { display: none; }
  .toc-mobile { display: block; }
  .reach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .hero { min-height: auto; padding-bottom: 8rem; }
  .hero__visual { margin-top: 3rem; }
  .hero__logo { width: min(340px, 80%); }
  .stat-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-strip__item:nth-child(3)::before { display: none; }
  .stat-strip__item:nth-child(-n+2) { border-bottom: 1px solid rgba(7, 10, 27, 0.15); }
  .state-card { grid-template-columns: 1fr; text-align: left; }
  .fan-cta { grid-template-columns: 1fr; }
  .fan-cta__card { transform: rotate(0); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .star-partner { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-intro { text-align: center; }
  .auth-intro p { margin-inline: auto; }
  .auth-perks { display: none; }
  .leaderboard { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-layout .toc { position: static; }
  .feature-slide { aspect-ratio: 4 / 3.4; }
  .feature-slide::after { background: linear-gradient(0deg, rgba(7, 10, 27, 0.95) 10%, rgba(7, 10, 27, 0.2) 70%); }
  .feature-slider__controls { top: 1rem; bottom: auto; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .ebg-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .steps-line { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .score-hero { gap: 1rem; }
  .score-hero .crest { width: 74px; }
}

@media (max-width: 767.98px) {
  :root { --mainbar-h: 68px; }
  .brand img { height: 74px; }
  .site-header.is-scrolled .mainbar { height: 62px; }
  .site-header.is-scrolled .brand img { height: 58px; }
  .header-actions .btn-fanid { padding: 0.7rem 0.95rem; font-size: 0.85rem; }
  .header-actions .btn-fanid span { display: none; }
  .masonry, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .masonry > .masonry__item, .gallery-item { margin-bottom: 1rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-of-type(4) { grid-column: 1 / -1; }
  .hero__announce-label span { display: none; }
  .hero__announce-label { padding: 0.9rem 1.4rem 0.9rem 1rem; }
  .match-card__teams { padding: 1.2rem 1rem; }
  .match-card__team .crest { width: 60px; }
  .page-hero::after { font-size: 22vw; }
  .reach-grid { grid-template-columns: 1fr 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .notify-form { flex-direction: column; }
  .countdown__unit { min-width: 64px; }
  .countdown__num { font-size: 1.7rem; }
  .map-overlay-card { position: static; max-width: none; border-radius: 0; }
  .leaderboard__list li { grid-template-columns: 34px 44px 1fr auto; gap: 0.7rem; padding: 0.75rem 0.9rem; }
  .leaderboard__list img { width: 44px; height: 44px; }
  .season-preview { left: 50%; transform: translateX(-50%); bottom: 0.75rem; }
  .back-to-top { bottom: 4.25rem; }
}

@media (max-width: 575.98px) {
  .header-actions .icon-btn.hide-sm { display: none; }
  .masonry { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.75rem; }
  .gallery-item { margin-bottom: 0.75rem; }
  .gallery-item__info { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stat-strip__item { padding: 1.2rem 0.75rem; }
  .filter-tabs { width: 100%; }
  .otp-inputs { gap: 0.35rem; }
  .hero__ctas .btn-tpl { width: 100%; }
  .hero__ctas { gap: 1.2rem; }
  .fan-card { padding: 1.1rem 1.15rem; border-radius: 18px; }
  .fan-card__top img { width: 48px; }
  .fan-card__qr { width: 44px; height: 44px; padding: 4px; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .photo-mosaic a:nth-child(1) { grid-column: span 2; }
  .reach-grid { grid-template-columns: 1fr; }
  .score-hero { grid-template-columns: 1fr; }
  .score-hero__vs { font-size: 1.6rem; }
  .points-table-wrap, .scorecard { overflow-x: auto; }
}

/* ---------- 34. THIRD-PARTY THEMING (SweetAlert2 · Notyf) ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tpl-swal {
  border-radius: var(--r-xl) !important;
  background: var(--grad-night) !important;
  color: #e3e5f4 !important;
  border: 1px solid rgba(234, 194, 73, 0.35);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.6rem 1.8rem !important;
}
.tpl-swal-in { animation: swalIn 0.55s var(--ease-spring); }
@keyframes swalIn { from { opacity: 0; transform: translateY(24px) scale(0.94); } to { opacity: 1; transform: none; } }
.tpl-swal__title { font-family: var(--ff-display) !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: 0.01em; font-size: 2.1rem !important; color: #fff !important; }
.tpl-swal__text { font-family: var(--ff-body) !important; color: #c9cce3 !important; font-size: 1.02rem !important; }
.tpl-swal__text b { color: var(--tpl-gold-200); }
.tpl-swal__text code { color: var(--tpl-gold-300); }
.tpl-swal__actions { gap: 0.75rem; }
.tpl-swal .swal2-icon.swal2-success { border-color: var(--tpl-gold-300) !important; color: var(--tpl-gold-300) !important; }
.tpl-swal .swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: var(--tpl-gold-300) !important; }
.tpl-swal .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(234, 194, 73, 0.35) !important; }
.tpl-swal .swal2-success-circular-line-left,
.tpl-swal .swal2-success-circular-line-right,
.tpl-swal .swal2-success-fix { background: transparent !important; }
.tpl-swal .swal2-input, .tpl-swal .input-tpl { width: auto; margin: 1.2rem 0.4rem 0.2rem; background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(234, 194, 73, 0.3); color: #fff; border-radius: 14px; box-shadow: none; }
.tpl-swal .swal2-input:focus { border-color: var(--tpl-gold-300); box-shadow: 0 0 0 4px rgba(234, 194, 73, 0.2); }
.tpl-swal .swal2-validation-message { background: rgba(224, 35, 78, 0.12); color: #ffb3c4; }
.swal2-container.swal2-backdrop-show { background: rgba(4, 5, 13, 0.75) !important; backdrop-filter: blur(4px); }

.notyf__toast.tpl-toast { border-radius: 16px; max-width: 420px; box-shadow: var(--shadow-lg); border: 1px solid rgba(234, 194, 73, 0.3); padding: 0 1rem; }
.notyf__toast.tpl-toast .notyf__wrapper { padding: 0.95rem 0.25rem; }
.notyf__toast.tpl-toast .notyf__message { font-family: var(--ff-body); font-size: 0.95rem; line-height: 1.45; }
.notyf__toast.tpl-toast .notyf__icon { width: auto; height: auto; }
.notyf__toast.tpl-toast .notyf__icon i { font-size: 1.25rem; }
.notyf__toast.tpl-toast--error { border-color: rgba(255, 255, 255, 0.25); }
.notyf__dismiss-btn { background: rgba(255, 255, 255, 0.08) !important; }

/* ---------- 35. ADDITIONAL COMPONENTS ---------- */
/* compact video rows (home) */
.video-list { display: grid; gap: 1rem; height: 100%; }
.video-row { display: grid; grid-template-columns: 44% 1fr; gap: 1.1rem; align-items: center; padding: 0.75rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(234, 194, 73, 0.14); color: #fff; transition: all 0.35s var(--ease-out); }
.video-row:hover { background: rgba(234, 194, 73, 0.08); border-color: rgba(234, 194, 73, 0.4); color: #fff; }
.video-row__thumb { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.video-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.video-row:hover .video-row__thumb img { transform: scale(1.07); }
.video-row .video-card__play { width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: 0.8rem; box-shadow: 0 0 0 5px rgba(234, 194, 73, 0.25); }
.video-row .video-card__title { font-size: 1.08rem; }
.video-row .chip { font-size: 0.68rem; padding: 0.2rem 0.6rem; }

/* match card flips to its result when the season is live */
body[data-season="live"] .match-card[data-live-result] .when-upcoming { display: none; }
body[data-season="live"] .match-card[data-live-result] .when-completed { display: revert; }
body[data-season="live"] .match-card[data-live-result] .match-card__foot.when-completed,
body[data-season="live"] .match-card[data-live-result] .match-card__result.when-completed { display: flex; }
.match-card.is-completed .match-card__result.when-completed { display: flex; }

/* team chips / switcher */
.legend-chip .crest { width: 40px; }
.legend-chip { transition: all 0.3s var(--ease-out); color: #fff; }
a.legend-chip:hover { border-color: var(--tpl-gold-300); background: rgba(234, 194, 73, 0.1); color: #fff; }
.team-switch .legend-chip.is-active { background: var(--grad-gold); border-color: transparent; }
.team-switch .legend-chip.is-active strong { color: var(--tpl-ink-900); }
.team-cell .crest, .auction-table .crest { width: 38px; }
.mini-table__team .crest { width: 40px; }

/* Telugu watermark on Alai Balai hero */
.alai-hero::after { font-family: var(--ff-telugu); text-transform: none; }

/* fan card inside CTA / preview */
.fan-cta__card .fan-card, .form-card--dark .fan-card { max-width: 340px; }

/* misc */
.contact-card__mail a { color: inherit; }
.contact-card__mail a:hover { color: var(--tpl-gold-700); }
button.link-arrow { background: none; }
.widget-search .field { margin: 0; }
.footer-news__form .field { display: flex; flex-direction: column; }
.footer-news__form .field-error { position: absolute; top: 100%; left: 1.2rem; margin-top: 0.4rem; }
.notify-form .field-error { text-align: left; padding-left: 1.3rem; }
.hero .eyebrow { color: var(--tpl-gold-300); }
.page-hero .eyebrow { color: var(--tpl-gold-300); }
.text-white { color: #fff !important; }
.feature-slider .swiper-nav-btns button { background: rgba(7, 10, 27, 0.6); border-color: rgba(234, 194, 73, 0.4); color: var(--tpl-gold-200); backdrop-filter: blur(6px); }
.feature-slider .swiper-nav-btns button:hover { background: var(--tpl-gold-300); color: var(--tpl-ink-900); }
.legal-layout .toc__list { max-height: none; }
@media (max-width: 991.98px) {
  .legal-layout > aside { display: none; }
}
@media (max-width: 575.98px) {
  .video-row { grid-template-columns: 40% 1fr; gap: 0.8rem; }
  .input-group-tpl { flex-wrap: wrap; }
  .input-group-tpl .input-icon { flex-basis: calc(100% - 84px); }
  .input-group-tpl [data-otp-send] { width: 100%; }
}

/* primary nav visibility (self-contained, no reliance on utility order) */
.nav-wrap { margin-left: auto; }
@media (max-width: 1199.98px) { .nav-wrap { display: none; } }

/* graceful fallback if Swiper's script is unavailable: native scroll-snap rows */
.swiper:not(.swiper-initialized) > .swiper-wrapper { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; scrollbar-width: thin; }
.swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide { flex: 0 0 min(380px, 85%); width: auto; scroll-snap-align: start; }
.swiper[data-swiper="feature"]:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide { flex-basis: 100%; }
.swiper[data-swiper="feature"]:not(.swiper-initialized) .feature-slide__caption > * { opacity: 1; transform: none; }
.feature-thumbs:not(.swiper-initialized) { display: none; }

/* footer newsletter: input inside the column field wrapper must not flex on height */
.footer-news__form .field input { flex: none; width: 100%; }

/* image loading backgrounds — cards never flash white */
.news-card__img, .team-card__media, .video-card__thumb, .player-card__img, .gallery-item a, .photo-mosaic a, .leader-card__img, .star-partner__photo { background: var(--tpl-ink-700); }
.news-card--feature { background: var(--tpl-ink-800); }

/* Fan ID card scales proportionally at any width (container query units) */
.fan-card { container-type: inline-size; padding: 1.25rem 1.35rem; }
.fan-card__top img { width: 15cqi; }
.fan-card__label { font-size: 2.6cqi; }
.fan-card__label strong { font-size: 6.4cqi; }
.fan-card__chip { width: 10cqi; height: 7.4cqi; border-radius: 1.6cqi; }
.fan-card__name { font-size: 8cqi; }
.fan-card__meta small { font-size: 2.3cqi; }
.fan-card__meta span { font-size: 3.6cqi; }
.fan-card__team { font-size: 2.9cqi; padding: 1cqi 2.4cqi; white-space: nowrap; }
.fan-card__qr { width: 13cqi; height: 13cqi; padding: 1.1cqi; border-radius: 1.8cqi; }
.fan-card__bottom { gap: 2.4cqi; }
@media (max-width: 575.98px) { .fan-card { padding: 0.95rem 1.05rem; } .fan-card__top img { width: 15cqi; } .fan-card__qr { width: 13cqi; height: 13cqi; } }

/* select arrows (explicit, independent of vendor order) */
.form-tpl .form-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23af8838' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px 12px; padding-right: 2.75rem; }
.news-card--feature .news-card__body { padding-top: 4.5rem; }

/* ==========================================================================
   36. WORDPRESS V2 — components, content & utility pages
   ========================================================================== */

/* ---------- WP core helpers ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: 0.6rem 1rem; z-index: 3000; background: var(--tpl-gold-300); color: var(--tpl-ink-900); }
.tpl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar .drawer__panel { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .drawer__panel { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header.is-scrolled { top: 0; }
}
.contact-departments[hidden] { display: none !important; }

/* ---------- team logos (header submenu, drawer, team cards) ---------- */
.drawer__sub--teams a { display: flex; align-items: center; gap: 0.6rem; }
.drawer__sub--teams .nav-team-logo { width: 30px; height: 30px; border-color: rgba(234, 194, 73, 0.45); }
.team-card__media img { object-position: center 40%; }
.team-card__star img { aspect-ratio: 1 / 1; }
.star-partner__photo img[data-team-logo] { object-fit: cover; }

/* ---------- partner marquee (home) ---------- */
.partner-marquee .partner-logo { width: 148px; }

/* ---------- Partners: title partner + become-a-partner form ---------- */
.partner-title-grid { display: grid; min-width: 0; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.partner-title-grid__brand { position: sticky; top: 110px; }
.partner-title-logo { margin: 0.4rem 0 1.4rem; }
.partner-title-note { display: flex; align-items: center; gap: 0.5rem; color: var(--tpl-muted); font-size: 0.9rem; margin-bottom: 1.2rem; }
.partner-title-note i { color: var(--tpl-gold-300); }
.partner-title-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; color: #d9dcef; font-size: 0.96rem; }
.partner-title-points i { color: var(--tpl-gold-300); margin-right: 0.5rem; }
.partner-form-card {
  position: relative;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 70px rgba(4, 5, 13, 0.45);
}
.partner-form-card__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: #fff; margin-bottom: 0.4rem; }
.partner-form-card__lead { color: #c9cce3; margin-bottom: 1.5rem; }
.partner-form .form-label { color: var(--tpl-gold-100); }
.partner-cell .partner-name { margin-top: 0.6rem; }
.partner-tier--title { position: relative; overflow: hidden; isolation: isolate; }
.partner-tier--title::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(234, 194, 73, 0.22), transparent 65%); filter: blur(10px); }
.partner-tier--title::after { content: ""; position: absolute; width: 380px; height: 380px; left: -120px; bottom: -160px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(224, 35, 78, 0.18), transparent 65%); }

/* ---------- About: launch photos ---------- */
.launch-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
.launch-mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.launch-mosaic a:nth-child(4) { grid-row: span 1; }
.launch-mosaic span { background: rgba(7, 10, 27, 0.8); }

/* ---------- Alai Balai: purpose strip ---------- */
.purpose-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.purpose-strip figure { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tpl-ink-700); }
.purpose-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.purpose-strip figure:hover img { transform: scale(1.06); }
.purpose-strip figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.75rem; border-radius: var(--r-pill); background: rgba(7, 10, 27, 0.78); color: #fff; font-size: 0.8rem; font-family: var(--ff-cond); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }

/* ---------- Home Alai Balai banner: legible type over the lighter overlay ---------- */
.alai-banner h2, .alai-banner p, .alai-banner .eyebrow { text-shadow: 0 2px 18px rgba(4, 5, 13, 0.85), 0 1px 3px rgba(4, 5, 13, 0.9); }
.alai-banner .lead-tpl { color: #eef0fb !important; }

/* ---------- News: link tabs, top story, pagination ---------- */
.filter-tabs--links a {
  position: relative;
  flex-shrink: 0;
  padding: 0.7rem 1.3rem;
  border-radius: var(--r-pill);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tpl-text-soft);
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
}
.filter-tabs--links a:hover { color: var(--tpl-ink-900); }
.filter-tabs--links a.is-active { background: var(--tpl-ink-800); color: var(--tpl-gold-200); box-shadow: var(--shadow-sm); }
.filter-tabs--links a .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 0.4rem; padding: 0 0.35rem; border-radius: var(--r-pill); font-size: 0.75rem; background: rgba(234, 194, 73, 0.18); color: var(--tpl-gold-700); }
.filter-tabs--links a.is-active .count { background: var(--tpl-gold-300); color: var(--tpl-ink-900); }
.news-card--top { min-height: 520px; }
.masonry .news-card__img { display: block; }
.masonry .news-card__img img { height: 100%; }
.news-card__img[style] img { height: 100%; }

.tpl-pagination { display: flex; justify-content: center; margin-top: 2.6rem; }
.tpl-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.tpl-pagination .page-numbers a,
.tpl-pagination .page-numbers span,
.tpl-pagination--inline a,
.tpl-pagination--inline span {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 0.9rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--tpl-line-light);
  background: #fff;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--tpl-ink-800);
  transition: all 0.3s var(--ease-out);
}
.tpl-pagination .page-numbers a:hover { border-color: var(--tpl-gold-500); color: var(--tpl-gold-700); }
.tpl-pagination .page-numbers .current { background: var(--tpl-ink-800); border-color: var(--tpl-ink-800); color: var(--tpl-gold-200); }
.tpl-pagination .page-numbers .dots { border: 0; background: none; }

/* ---------- Article content (block editor output) ---------- */
.article-body > *:first-child { margin-top: 0; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.article-body a { color: var(--tpl-gold-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--tpl-ruby); }
.article-body .wp-block-image,
.article-body .wp-caption { margin: 2rem 0; max-width: 100%; }
.article-body .wp-element-caption,
.article-body .wp-caption-text { font-size: 0.86rem; color: var(--tpl-text-soft); padding-top: 0.5rem; }
.article-body .wp-block-quote { margin: 2rem 0; padding: 1.6rem 1.8rem; border-left: 4px solid var(--tpl-gold-300); background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; }
.article-body .wp-block-quote p { font-family: var(--ff-cond); font-size: 1.45rem; line-height: 1.35; font-weight: 600; color: var(--tpl-ink-900); margin: 0; }
.article-body .wp-block-quote cite { display: block; margin-top: 0.6rem; font-size: 0.9rem; color: var(--tpl-text-soft); font-style: normal; }
.article-body .wp-block-pullquote { border-top: 3px solid var(--tpl-gold-300); border-bottom: 3px solid var(--tpl-gold-300); padding: 2rem 0; text-align: center; }
.article-body .wp-block-table table,
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.98rem; }
.article-body th, .article-body td { padding: 0.75rem 0.9rem; border: 1px solid var(--tpl-line-light); text-align: left; }
.article-body th { background: var(--tpl-ink-800); color: var(--tpl-gold-200); font-family: var(--ff-cond); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.article-body .wp-block-embed,
.article-body iframe { width: 100%; border-radius: var(--r-md); overflow: hidden; margin: 2rem 0; }
.article-body .wp-block-separator { border: 0; height: 3px; width: 80px; margin: 2.4rem auto; background: var(--grad-gold); border-radius: 3px; opacity: 1; }
.article-body .wp-block-button__link { display: inline-flex; align-items: center; padding: 0.9rem 1.6rem; border-radius: var(--r-pill); background: var(--grad-gold); color: var(--tpl-ink-900) !important; text-decoration: none !important; font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.article-body pre, .article-body code { background: var(--tpl-ink-800); color: var(--tpl-gold-100); border-radius: 8px; }
.article-body code { padding: 0.15rem 0.4rem; font-size: 0.9em; }
.article-body pre { padding: 1.1rem 1.3rem; overflow-x: auto; }
.alignleft { float: left; margin: 0.4rem 1.6rem 1rem 0; max-width: 50%; }
.alignright { float: right; margin: 0.4rem 0 1rem 1.6rem; max-width: 50%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { max-width: 100%; }
.article-cover img { width: 100%; height: auto; }
.author-mini__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--tpl-gold-300); }
.article-hero__meta a.chip { text-decoration: none; }
.post-nav > span:empty { display: none; }
.prose--page { max-width: 860px; }
.prose--page > * + * { margin-top: 1.1em; }
.prose--page img { border-radius: var(--r-md); height: auto; }
.sticky .news-card__title::before { content: "\f08d"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.8em; margin-right: 0.45rem; color: var(--tpl-gold-600); }
.news-card--top .news-card__title::before, .news-card--feature .news-card__title::before { content: none; }

/* ---------- Comments ---------- */
.tpl-comments { margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--tpl-line-light); }
.tpl-comments__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--tpl-ink-900); margin-bottom: 1.4rem; }
.tpl-comments__list, .tpl-comments__list .children { list-style: none; margin: 0; padding: 0; }
.tpl-comments__list .children { margin-left: clamp(1rem, 4vw, 3rem); }
.tpl-comments__list .comment-body { position: relative; margin-bottom: 1rem; padding: 1.2rem 1.3rem 1.2rem 5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--tpl-line-light); }
.tpl-comments__list .avatar { position: absolute; left: 1.2rem; top: 1.2rem; border-radius: 50%; border: 2px solid var(--tpl-gold-300); }
.tpl-comments__list .comment-author .fn { font-weight: 700; font-style: normal; color: var(--tpl-ink-900); }
.tpl-comments__list .says { display: none; }
.tpl-comments__list .comment-metadata { font-size: 0.82rem; margin-bottom: 0.5rem; }
.tpl-comments__list .comment-metadata a { color: var(--tpl-text-soft); }
.tpl-comments__list .reply a { font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: var(--tpl-gold-700); }
.tpl-comments__list .bypostauthor > .comment-body { border-color: var(--tpl-gold-300); }
.tpl-comment-form { margin-top: 0.5rem; }
.tpl-comment-form .comment-reply-title small { margin-left: 0.6rem; font-size: 0.9rem; }
.tpl-comments__closed { color: var(--tpl-text-soft); }

/* ---------- Thank-you page ---------- */
.thankyou { position: relative; min-height: 88svh; display: grid; place-items: center; padding: calc(var(--header-h) + 3rem) 0 5rem; background: var(--grad-night); color: #fff; overflow: hidden; isolation: isolate; }
.thankyou__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); opacity: 0.8; animation: tplFloat 16s ease-in-out infinite alternate; }
.thankyou__orb--gold { width: 46vmax; height: 46vmax; left: 50%; top: 50%; margin: -26vmax 0 0 -23vmax; background: radial-gradient(circle, rgba(234, 194, 73, 0.4), transparent 68%); }
.thankyou__orb--ruby { width: 30vmax; height: 30vmax; right: -6vmax; bottom: -8vmax; background: radial-gradient(circle, rgba(224, 35, 78, 0.35), transparent 70%); animation-delay: -6s; }
.thankyou__card { max-width: 720px; margin: 0 auto; padding: clamp(2rem, 6vw, 3.6rem); text-align: center; border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.15); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--shadow-lg); }
.thankyou__icon { width: 96px; height: 96px; margin: 0 auto 1.4rem; border-radius: 30px; display: grid; place-items: center; font-size: 2.3rem; color: var(--tpl-ink-900); background: var(--grad-gold); box-shadow: var(--shadow-gold); transform: rotate(-8deg); }
.thankyou h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); color: #fff; margin-bottom: 0.8rem; }
.thankyou .lead-tpl { color: #c9cce3; max-width: 52ch; margin: 0 auto; }
.thankyou__social { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
@keyframes tplFloat { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(3vmax, -3vmax, 0) scale(1.08); } }

/* ---------- Maintenance / Coming soon ---------- */
body.tpl-maintenance { margin: 0; background: var(--tpl-ink-950); color: #fff; }
.mnt { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 1rem 1.5rem; overflow: hidden; isolation: isolate; text-align: center; }
.mnt__bg { position: absolute; inset: 0; z-index: -4; background-size: cover; background-position: center; opacity: 0.35; filter: saturate(0.9); transform: scale(1.05); animation: heroZoom 22s ease-in-out infinite alternate; }
.mnt::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(70% 60% at 50% 40%, rgba(7, 10, 27, 0.35), rgba(4, 5, 13, 0.92) 75%); }
.mnt__orbs { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.mnt__orbs span { position: absolute; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen; animation: tplFloat 18s ease-in-out infinite alternate; }
.mnt__orbs span:nth-child(1) { width: 44vmax; height: 44vmax; left: 50%; top: 45%; margin: -26vmax 0 0 -22vmax; background: radial-gradient(circle, rgba(234, 194, 73, 0.45), transparent 66%); }
.mnt__orbs span:nth-child(2) { width: 30vmax; height: 30vmax; right: -8vmax; bottom: -10vmax; background: radial-gradient(circle, rgba(224, 35, 78, 0.42), transparent 70%); animation-delay: -7s; }
.mnt__orbs span:nth-child(3) { width: 34vmax; height: 34vmax; left: -10vmax; top: -10vmax; background: radial-gradient(circle, rgba(58, 160, 255, 0.3), transparent 70%); animation-delay: -12s; }
.mnt__beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mnt__beams span { position: absolute; top: -20%; width: 24vw; height: 140%; background: linear-gradient(180deg, rgba(246, 221, 138, 0.16), transparent 70%); filter: blur(10px); transform-origin: top center; animation: beamSwing 10s ease-in-out infinite alternate; }
.mnt__beams span:nth-child(1) { left: 20%; transform: rotate(14deg); }
.mnt__beams span:nth-child(2) { right: 18%; transform: rotate(-14deg); animation-delay: -4s; }
.mnt__card {
  width: min(680px, 100%);
  container-type: inline-size;
  padding: clamp(2rem, 6vw, 3.4rem) clamp(1.4rem, 5vw, 3rem);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 40px 90px rgba(4, 5, 13, 0.6);
}
.mnt__logo { width: clamp(110px, 18vw, 150px); height: auto; margin: 0 auto 1.4rem; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 34px rgba(234, 194, 73, 0.3)); animation: floatY 6s ease-in-out infinite; }
.mnt__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.6rem; font-family: var(--ff-cond); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tpl-gold-200); }
.mnt__eyebrow::before, .mnt__eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.mnt__brand { margin: 0; font-family: var(--ff-cond); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.4rem); letter-spacing: 0.3em; text-transform: uppercase; color: #fff; }
.mnt__title { margin: 0.6rem 0 0.8rem; font-family: var(--ff-display); font-weight: 400; font-size: min(5.6rem, 12.5cqi); overflow-wrap: anywhere; line-height: 0.9; text-transform: uppercase; background: var(--grad-gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mnt__tagline { margin: 0; font-family: var(--ff-display); font-size: clamp(1.4rem, 4vw, 2.2rem); letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.mnt__lead { margin: 0.7rem auto 1.8rem; max-width: 36ch; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 300; color: #d3d6ea; }
.mnt__stay { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0; padding: 0.8rem 1.5rem; border-radius: 999px; background: var(--grad-gold); color: var(--tpl-ink-900); font-family: var(--ff-cond); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase; box-shadow: var(--shadow-gold); }
.mnt__pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--tpl-ruby); animation: pulseDot 1.4s infinite; }
.mnt__footer { margin-top: 2.2rem; font-size: 0.85rem; color: rgba(201, 204, 227, 0.85); }
.mnt__footer p { margin: 0; }
.mnt__footer a { color: var(--tpl-gold-200); font-weight: 600; }
.mnt__footer a:hover { color: var(--tpl-gold-300); }

/* ---------- Google Map: info window ---------- */
.tpl-map-info { font-family: var(--ff-body); color: var(--tpl-ink-900); max-width: 260px; }
.tpl-map-info strong { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 0.25rem; }
.tpl-map-info p { margin: 0 0 0.6rem; font-size: 0.86rem; line-height: 1.45; color: var(--tpl-text-soft); }
.tpl-map-info a { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--grad-gold); color: var(--tpl-ink-900); font-family: var(--ff-cond); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.gm-style .gm-style-iw-c { border-radius: 16px !important; padding: 14px !important; box-shadow: 0 18px 40px rgba(4, 5, 13, 0.4) !important; }
.map-canvas { background: var(--tpl-ink-800); }

/* ---------- responsive (V2 components) ---------- */
@media (max-width: 1199.98px) {
  .partner-title-grid { grid-template-columns: minmax(0, 1fr); }
  .partner-title-grid__brand { position: static; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 0 1.5rem; align-items: center; }
  .partner-title-grid__brand .partner-tier__head { grid-column: 1 / -1; }
  .partner-title-logo { margin: 0; width: 200px; }
}
@media (max-width: 991.98px) {
  .purpose-strip { grid-template-columns: repeat(2, 1fr); }
  .launch-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .news-card--top { min-height: 440px; }
}
@media (max-width: 575.98px) {
  .partner-title-grid__brand { grid-template-columns: minmax(0, 1fr); }
  .partner-tier--title { padding: 1.4rem 1rem; }
  .partner-form-card { padding: 1.3rem 1rem; }
  .partner-title-logo { width: 100%; max-width: 260px; margin-bottom: 1rem; }
  .partner-marquee .partner-logo { width: 116px; }
  .partner-tier__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
  .launch-mosaic { grid-auto-rows: 120px; }
  .tpl-comments__list .comment-body { padding-left: 1.2rem; padding-top: 4.4rem; }
  .filter-tabs--links { width: 100%; }
}
.form-tpl textarea, .form-tpl input, .form-tpl select, .form-tpl button { font-family: inherit; }
/* mobile: long CTA labels wrap; 2-col stat tiles can shrink */
@media (max-width: 575.98px) {
  .btn-tpl-lg { white-space: normal; text-align: center; line-height: 1.2; }
  .reach-grid[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem; }
  .reach-tile { padding: 1.1rem 0.9rem; }
  .reach-tile strong { font-size: 2.1rem; }
  .reach-tile span { font-size: 0.78rem; letter-spacing: 0.08em; }
}
