/* Teban Galaxy FC — official club site */
:root {
  --bg: #05060f;
  --bg-2: #090b16;
  --bg-3: #10131f;
  --bg-card: #12162a;
  --navy: #0b1230;
  --line: rgba(232, 228, 255, .10);
  --line-strong: rgba(155, 108, 255, .35);
  --text: #f4f5fb;
  --muted: #9aa0b8;
  --faint: #6d738c;
  --teal: #2ee0b8;
  --teal-2: #7ff0d6;
  --teal-dim: rgba(46, 224, 184, .14);
  --purple: #9b6cff;
  --purple-2: #6b3bb8;
  --purple-dim: rgba(155, 108, 255, .14);
  --white: #fff;
  --danger: #ff6b8a;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --nav-h: 76px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --num: "Rajdhani", "Outfit", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-2); }
button, input, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: .02em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: #04140f; padding: .6rem 1rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Draft ribbon */
.draft-bar {
  background: linear-gradient(90deg, #1a1240, #0e2a24);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: .4rem 1rem;
}
.draft-bar strong { color: var(--teal); font-weight: 600; letter-spacing: .12em; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,6,15,.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 1.1rem;
  display: flex; align-items: center; gap: 1.2rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: var(--white); flex-shrink: 0;
}
.brand img, .brand svg, .brand .crest {
  width: 44px; height: 52px; object-fit: contain;
}
.wordmark { display: flex; flex-direction: column; line-height: .9; }
.wordmark .club {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: #fff;
}
.wordmark .fc {
  font-size: .62rem;
  letter-spacing: .28em;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
}
.nav {
  display: none;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem .55rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav a.is-active {
  color: var(--teal);
  background: var(--teal-dim);
}
.nav-cta { margin-left: .3rem; }
.menu-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: #fff;
  position: relative; border-radius: 1px;
}
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
@media (min-width: 1120px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}

/* Mobile drawer */
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #090b16;
  padding: .6rem 1.1rem 1.1rem;
}
.drawer.open { display: block; }
.drawer a {
  display: block;
  color: var(--text);
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
}
.drawer a.is-active { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-teal {
  background: var(--teal); color: #04140f;
  box-shadow: 0 8px 24px rgba(46,224,184,.22);
}
.btn-teal:hover { background: var(--teal-2); color: #04140f; }
.btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.22);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-purple {
  background: linear-gradient(135deg, #6b3bb8, #3d246e);
  color: #fff;
  border-color: rgba(155,108,255,.4);
}
.btn-purple:hover { color: #fff; box-shadow: 0 8px 24px rgba(155,108,255,.28); }
.btn[aria-disabled="true"], .btn.is-disabled {
  opacity: .7; cursor: not-allowed; transform: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.1rem; }
.section { padding: 4rem 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(16,19,35,.7)); }
.kicker {
  color: var(--teal);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.section h2, .page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: .06em;
  line-height: .95;
}
.lede { color: var(--muted); max-width: 40rem; margin-top: .8rem; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem;
}

/* Edit markers */
.edit, [data-edit] {
  color: inherit;
  font-style: normal;
  white-space: nowrap;
}
.edit-block {
  display: inline;
  border-bottom: 1px dashed rgba(46,224,184,.55);
  color: inherit;
}

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 15% 20%, rgba(155,108,255,.22), transparent 55%),
    radial-gradient(700px 420px at 80% 30%, rgba(46,224,184,.12), transparent 50%),
    radial-gradient(1200px 600px at 50% 110%, rgba(20,30,80,.6), transparent 50%),
    url("../assets/img/galaxy-texture.jpg") center/cover no-repeat;
  opacity: .55;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,15,.92) 0%, rgba(5,6,15,.78) 42%, rgba(5,6,15,.35) 100%),
    linear-gradient(180deg, rgba(5,6,15,.15), rgba(5,6,15,.85));
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  padding: 2.2rem 0 3.5rem;
  align-items: center;
}
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 1.5rem 0 1.8rem;
}
.hero-copy .eyebrow {
  color: var(--purple);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .8rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 10.5vw, 5.2rem);
  line-height: .9;
  letter-spacing: .04em;
  margin: 0 0 .4rem;
  color: #fff;
}
.hero h1 span { display: inline; color: #fff; }
.hero h1 .accent { color: var(--teal); }
.hero .tagline {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}
.hero-art {
  position: relative;
  display: flex; justify-content: center;
}
.hero-art img {
  width: min(520px, 100%);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
  animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero { min-height: 0; }
  .hero-center { padding: 2.8rem 0 3rem; }
}

/* Next match */
.match-card {
  background: linear-gradient(180deg, rgba(18,22,42,.95), rgba(10,14,28,.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.match-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--purple));
}
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  text-align: center;
  margin: 1rem 0 1.2rem;
}
.club-side { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.club-side .crest { width: 56px; height: 66px; }
.club-side .name {
  font-family: var(--display);
  letter-spacing: .08em;
  font-size: 1.2rem;
}
.vs {
  font-family: var(--display);
  color: var(--faint);
  letter-spacing: .2em;
  font-size: 1.1rem;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-top: .8rem;
}
.countdown div {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  padding: .7rem .3rem .55rem;
}
.countdown b {
  display: block;
  font-family: var(--num);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--teal);
  line-height: 1;
}
.countdown span {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Cards */
.grid-3, .grid-4, .news-grid, .shop-grid, .player-grid, .video-grid, .benefit-grid {
  display: grid; gap: 1.1rem;
}
.news-grid { grid-template-columns: 1fr; }
.shop-grid, .player-grid, .video-grid, .benefit-grid, .grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .news-grid { grid-template-columns: 1.3fr 1fr; }
  .shop-grid, .player-grid, .video-grid, .benefit-grid, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .news-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .player-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-grid, .video-grid, .benefit-grid, .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  color: inherit;
}
a.card { color: inherit; }
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(10,8,30,.45), 0 0 0 1px rgba(46,224,184,.08);
}
.card-media {
  position: relative;
  aspect-ratio: 16/10;
  background: #0c1020;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-meta {
  color: var(--teal);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
.card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: .04em;
  line-height: 1.05;
}
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.featured { grid-row: auto; }
@media (min-width: 640px) {
  .featured { grid-row: span 2; }
  .featured .card-media { aspect-ratio: 16/11; min-height: 220px; }
  .featured h3 { font-size: 2.1rem; }
}

/* Players */
.player-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20,16,48,.2), rgba(5,6,15,.85) 70%),
    url("../assets/img/galaxy-texture.jpg") center/cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 260px;
  padding: 1rem 1rem 1.1rem;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.player-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 16px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(46,224,184,.15);
  color: #fff;
}
.player-card .num {
  position: absolute; top: .4rem; right: .7rem;
  font-family: var(--display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(46,224,184,.22);
  letter-spacing: -.02em;
  transition: color .25s, transform .25s;
}
.player-card:hover .num { color: rgba(46,224,184,.55); transform: scale(1.04); }
.player-card .name {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: .06em;
  position: relative;
}
.player-card .pos {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.player-card.is-real { border-color: rgba(46,224,184,.28); }

/* Profile */
.profile {
  display: grid; gap: 2rem;
  align-items: start;
}
@media (min-width: 800px) {
  .profile { grid-template-columns: .8fr 1.2fr; }
}
.profile-hero {
  background:
    linear-gradient(180deg, rgba(12,10,30,.1), rgba(5,6,15,.2)),
    url("../assets/img/galaxy-texture.jpg") center/cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem;
  position: relative;
}
.profile-hero .num {
  font-family: var(--display);
  font-size: 8rem;
  line-height: .8;
  color: rgba(46,224,184,.3);
  position: absolute; top: .6rem; right: 1rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}
@media (min-width: 600px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem .8rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--num);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
}
.stat span {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data {
  width: 100%; border-collapse: collapse; min-width: 640px;
  font-size: .92rem;
}
table.data th, table.data td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data th {
  background: #0d1020;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(155,108,255,.06); }
table.data .us { background: rgba(46,224,184,.07); }
table.data .us:hover { background: rgba(46,224,184,.12); }
table.data .center, table.data td.num, table.data th.num { text-align: center; }
.placeholder-row td { color: var(--faint); font-style: italic; }

/* Tabs */
.tabs { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
  transition: .2s;
}
.tab.is-on, .tab:hover {
  color: #04140f;
  background: var(--teal);
  border-color: var(--teal);
}
.tab-panel { display: none; }
.tab-panel.is-on { display: block; }

/* Video */
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.thumb {
  position: relative; display: block;
  aspect-ratio: 16/9; overflow: hidden;
  background: #0c1020;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: auto; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(46,224,184,.92); color: #04140f;
  display: grid; place-items: center;
  font-size: 1.1rem;
}

/* Shop */
.price {
  font-family: var(--num);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal);
}
.size-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .7rem 0; }
.size {
  min-width: 44px; height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .04em;
  transition: .2s;
}
.size:hover, .size.is-on {
  border-color: var(--teal);
  background: var(--teal-dim);
  color: var(--teal);
}
.note {
  font-size: .85rem;
  color: var(--muted);
  margin: .4rem 0 1rem;
}
.shop-hero-card .card-media { aspect-ratio: 1/1; background: #fff; }
.shop-hero-card .card-media { background: #fff; }
.shop-hero-card .card-media img { object-fit: contain; object-position: center; padding: 0; }
.soon {
  display: inline-block;
  margin-left: .4rem;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #04140f;
  background: var(--purple);
  padding: .15rem .4rem;
  border-radius: 999px;
  vertical-align: middle;
}

/* Page hero */
.page-hero {
  padding: 2.6rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 180px at 10% 0%, rgba(155,108,255,.16), transparent 70%),
    radial-gradient(500px 160px at 90% 0%, rgba(46,224,184,.08), transparent 70%);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #070814;
  padding: 3rem 0 1.4rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid; gap: 1.8rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer .brand .club { font-size: 1.5rem; }
.footer h3 {
  font-family: var(--display);
  letter-spacing: .1em;
  font-size: 1.2rem;
  margin-bottom: .7rem;
}
.footer a, .footer p, .footer li { color: var(--muted); }
.footer ul { list-style: none; display: grid; gap: .4rem; }
.footer a:hover { color: var(--teal); }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.social {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .75rem;
  color: #fff;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.social:hover { border-color: var(--teal); color: var(--teal); }
.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .8rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  justify-content: space-between;
}
.domain { color: var(--teal); letter-spacing: .04em; }

/* Misc */
.about-grid {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.1fr .9fr; } }
.kit-shot {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--line);
}
.kit-shot img { width: 100%; object-fit: contain; }
.muted { color: var(--muted); }
.center { text-align: center; }
.tiny { font-size: .8rem; color: var(--faint); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.drawer-nav { display: block; }
.drawer-nav a { color: var(--text); }

/* Match archive */
.badge-featured {
  display: inline-block;
  margin: 0 0 .35rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b3bb8, #2ee0b8);
  color: #04140f;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card.is-featured {
  border-color: rgba(46,224,184,.35);
}
.archive-label {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: .08em;
  margin: 1.6rem 0 .8rem;
  color: var(--teal);
}
.archive-month { margin-bottom: 1.2rem; }
.card h4 {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: .04em;
  line-height: 1.15;
  margin: 0;
}

/* Official crest */
.brand .crest {
  width: 48px;
  height: auto;
  max-height: 56px;
}
.footer .brand .crest {
  width: 64px;
  max-height: none;
}
.club-side .crest {
  width: 72px;
  height: auto;
  max-height: none;
}
.footer .wordmark .club {
  font-size: 1.15rem;
  letter-spacing: .08em;
  max-width: 14.5rem;
  line-height: .95;
  white-space: normal;
}
.footer .wordmark .motto,
.motto {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: none;
  color: var(--teal);
  margin: 0;
}

/* Hero crest + motto */
.hero-crest {
  width: min(236px, 64vw);
  height: auto;
  margin: 0 auto .7rem;
  filter: drop-shadow(0 20px 36px rgba(0,0,0,.5));
}
.hero-copy .motto,
.hero .motto {
  font-size: clamp(1.05rem, 3.2vw, 1.55rem);
  letter-spacing: .18em;
  margin: 0 0 1.05rem;
  color: var(--teal-2);
  font-weight: 500;
}
.hero .btn-row { justify-content: center; }
@media (min-width: 900px) {
  .hero-crest { width: min(320px, 34vw); margin-bottom: .9rem; }
}

/* Our Club */
.our-club-hero {
  text-align: center;
  padding-bottom: .4rem;
}
.page-crest {
  width: min(220px, 62vw);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.4));
}
.our-club-hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}
.our-club-hero .motto {
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  margin-top: .7rem;
}
.identity { max-width: 46rem; }
.identity-text {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.75;
}
.value-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
.value-card h3 {
  color: var(--teal);
}
.majulah {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  letter-spacing: .06em;
  margin: 2.4rem 0 0;
  color: #fff;
}

/* One more nav item: slightly tighter, later breakpoint */
@media (min-width: 1120px) {
  .nav a { padding: .45rem .42rem; font-size: .72rem; }
}
@media (min-width: 1240px) {
  .nav a { padding: .45rem .55rem; font-size: .78rem; }
}


/* —— Compact home + tighter mobile pages —— */
.section-compact { padding: 1.7rem 0; }
.section-compact .section-head { margin-bottom: .9rem; }
.section-compact .lede { margin-top: .4rem; }

.shop-teaser-card {
  flex-direction: row;
  align-items: stretch;
}
.shop-teaser-card .card-media {
  aspect-ratio: 1/1;
  width: 132px;
  flex: 0 0 132px;
  background: #fff;
}
.shop-teaser-card .card-media img {
  object-fit: contain;
  padding: .35rem;
}
.shop-teaser-card .card-body { justify-content: center; padding: .9rem 1rem; }
.shop-teaser-card h3 { font-size: 1.45rem; }

.video-teaser-card .thumb { aspect-ratio: 16/9; }
.video-teaser-card .card-body { padding: .9rem 1rem 1rem; }
.video-teaser-card h3 { font-size: 1.4rem; }

.news-teaser .card-media { aspect-ratio: 16/7; max-height: 132px; }
.news-teaser .card-body { padding: .9rem 1rem 1.05rem; }
.news-teaser h3 { font-size: 1.45rem; }
.news-teaser p { font-size: .9rem; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
  margin-top: .55rem;
}
.quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .7rem .6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quick-links a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}
@media (min-width: 800px) {
  .quick-links { grid-template-columns: repeat(6, 1fr); }
  .quick-links a { font-size: 1.15rem; }
}

.is-hidden { display: none !important; }
.show-more-wrap { margin-top: 1.1rem; text-align: center; }
.archive-month.is-hidden { display: none; }

@media (max-width: 699px) {
  .section { padding: 2rem 0; }
  .section-compact { padding: 1.55rem 0; }
  .page-hero { padding: 1.25rem 0 .8rem; }
  .page-hero .lede { margin-top: .45rem; font-size: .95rem; }
  .section h2, .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .section-head { margin-bottom: 1rem; }
  .page-crest { width: min(160px, 46vw); margin-bottom: .7rem; }
  .our-club-hero { padding-bottom: 0; }
  .our-club-hero h1 { font-size: clamp(1.7rem, 7vw, 2.6rem); }
  .identity-text { font-size: 1rem; line-height: 1.65; }
  .majulah { margin: 1.4rem 0 0; font-size: clamp(1.5rem, 6vw, 2.1rem); }
  .footer { padding: 1.5rem 0 1rem; margin-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer ul { gap: .28rem; }
  .legal { margin-top: 1.1rem; padding-top: .8rem; }
  .player-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .player-card { min-height: 168px; padding: .75rem .7rem .85rem; }
  .player-card .num { font-size: 3.1rem; }
  .player-card .name { font-size: 1.35rem; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .video-grid { grid-template-columns: 1fr; }
  .shop-hero-card .card-media { aspect-ratio: 1/1; }
  .shop-hero-card .card-body { padding: .8rem .75rem 1rem; }
  .shop-hero-card h3 { font-size: 1.25rem; }
  .shop-hero-card .note { display: none; }
  .profile-hero { min-height: 240px; }
  .value-grid { gap: .7rem; }
}

@media (min-width: 640px) and (max-width: 699px) {
  .shop-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
}

/* —— First Team: compact cards, groups, formation —— */
.squad-summary,
.season-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
@media (min-width: 700px) {
  .squad-summary { grid-template-columns: repeat(4, 1fr); }
  .season-summary { grid-template-columns: repeat(3, 1fr); }
}
.squad-summary li,
.season-summary li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .8rem .65rem;
  text-align: center;
}
.squad-summary b,
.season-summary b {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--teal);
  letter-spacing: .04em;
  line-height: 1;
}
.squad-summary span,
.season-summary span {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.squad-block { margin-bottom: 1.15rem; }
.squad-block h2 {
  font-size: clamp(1.45rem, 5vw, 2rem);
  margin-bottom: .55rem;
}

.squad-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(18, 22, 42, .4);
  margin-bottom: .55rem;
  padding: 0 .75rem .75rem;
}
.squad-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  cursor: pointer;
  list-style: none;
  padding: .7rem 0;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .06em;
}
.squad-group summary::-webkit-details-marker { display: none; }
.squad-group summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
}
.squad-group[open] summary::after { transform: rotate(225deg); }
.squad-group .count {
  margin-left: auto;
  color: var(--faint);
  font-family: var(--font);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.player-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
}
@media (min-width: 700px) {
  .player-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .player-grid { grid-template-columns: repeat(4, 1fr); gap: .65rem; }
}
.player-card {
  min-height: 118px;
  padding: .6rem .65rem .65rem;
}
.player-card .num {
  font-size: 2.35rem;
  top: .15rem;
  right: .4rem;
}
.player-card .name {
  font-size: 1.22rem;
  letter-spacing: .04em;
  padding-right: 1.8rem;
}
.player-card .pos {
  font-size: .66rem;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.player-card .role {
  display: block;
  margin-top: .15rem;
  color: var(--teal);
  font-size: .65rem;
  letter-spacing: .06em;
  line-height: 1.3;
}
.badge-senior {
  display: inline-block;
  margin: 0 0 .3rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  background: var(--teal-dim);
  border: 1px solid rgba(46, 224, 184, .35);
  color: var(--teal-2);
  font-family: var(--font);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  width: fit-content;
  position: relative;
  z-index: 1;
}
.player-card .badge-senior { margin-bottom: .2rem; }
.departure-list {
  list-style: none;
  margin: 0;
  padding: 0 0 .2rem;
  display: grid;
  gap: .45rem;
}
.departure-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .8rem;
  color: var(--muted);
}
.departure-list strong { color: #fff; }

.formation-videos-head { margin-top: 2.2rem; }
.formation-layout {
  display: grid;
  gap: 1.1rem;
  align-items: start;
}
@media (min-width: 860px) {
  .formation-layout { grid-template-columns: 1.15fr .85fr; }
}
.pitch-wrap { max-width: 420px; margin: 0 auto; width: 100%; }
.pitch {
  position: relative;
  aspect-ratio: 3 / 4.4;
  border: 2px solid rgba(46, 224, 184, .4);
  border-radius: 10px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      180deg,
      #143326 0 12.5%,
      #10281e 12.5% 25%
    );
}
.pitch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(232, 228, 255, .45);
  pointer-events: none;
}
.pitch-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 74px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  z-index: 1;
}
.pitch-pin:hover { color: #fff; }
.pitch-pin .dot {
  width: 28px;
  height: 28px;
  margin: 0 auto .2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1230;
  border: 2px solid var(--teal);
  font-family: var(--display);
  font-size: .85rem;
  letter-spacing: .02em;
  color: var(--teal-2);
}
.pitch-pin .nm {
  display: block;
  font-family: var(--display);
  font-size: .92rem;
  letter-spacing: .04em;
  line-height: 1.05;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.pitch-pin .sl {
  display: block;
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-2);
}
.pitch-pin:hover .dot { background: var(--teal); color: #04140f; }
.xi-panel h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: .05em;
  margin-bottom: .25rem;
}
.xi-list {
  list-style: none;
  margin: .6rem 0 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}
.xi-list li {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: .35rem 0;
}
.xi-slot {
  flex: 0 0 3.2rem;
  color: var(--teal);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* —— Next match + fixtures + battles —— */
.next-match-card {
  background: linear-gradient(180deg, rgba(18,22,42,.95), rgba(10,14,28,.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem 1.05rem 1.2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.next-match-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--purple));
}
.next-match-card h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  letter-spacing: .05em;
  margin: .15rem 0 .7rem;
}
.next-match-card .btn-row { margin-top: .2rem; }
.next-match-meta {
  list-style: none;
  margin: 0 0 .9rem;
  padding: 0;
  display: grid;
  gap: .35rem;
  color: var(--muted);
}
.next-match-meta span {
  display: inline-block;
  min-width: 5.2rem;
  color: var(--faint);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.fixture-list {
  display: grid;
  gap: .65rem;
}
.results-heading,
.battles-list-heading { margin-top: 1.6rem; }
.results-intro { margin: .2rem 0 .8rem; }
.fixture-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem .9rem .85rem;
}
.fixture-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: .04em;
  line-height: 1.1;
  margin: .15rem 0 .15rem;
}
.fixture-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .15rem;
}
.fixture-card .card-meta .dot { color: var(--faint); padding: 0 .15rem; }
.fx-label, .fx-score, .fx-note { margin: 0; }
.fx-label { color: var(--muted); font-size: .88rem; }
.fx-score {
  color: var(--teal);
  font-weight: 600;
  letter-spacing: .04em;
  margin-top: .2rem;
}
.fixture-card.has-score .fx-score { font-size: 1.05rem; }
.fx-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  margin: .45rem 0 0;
  font-size: .9rem;
}

.moments-card {
  display: grid;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 1.3rem;
}
@media (min-width: 700px) {
  .moments-card { grid-template-columns: 1.1fr 1.2fr; align-items: stretch; }
}
.moments-media {
  position: relative;
  aspect-ratio: 16/9;
  background:
    linear-gradient(180deg, rgba(12,10,30,.2), rgba(5,6,15,.55)),
    #0c1020;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.moments-card.is-placeholder .moments-media { opacity: .85; }
.moments-media img { width: 100%; height: 100%; object-fit: cover; }
.moments-media .play {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,6,15,.7);
  border: 1px solid var(--teal);
  color: var(--teal);
  font-size: 1rem;
}
.moments-body { padding: .95rem 1rem 1.1rem; }
.moments-body h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: .15rem 0 .4rem;
}

@media (max-width: 699px) {
  .player-card { min-height: 112px; padding: .55rem .55rem .6rem; }
  .player-card .num { font-size: 2.05rem; }
  .player-card .name { font-size: 1.12rem; }
  .pitch-pin { width: 64px; }
  .pitch-pin .nm { font-size: .82rem; }
  .pitch-pin .dot { width: 24px; height: 24px; font-size: .75rem; }
  .next-match-card { padding: .9rem .9rem .95rem 1rem; }
  .fixture-card { padding: .7rem .75rem .75rem; }
  .fixture-card h3 { font-size: 1.28rem; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 800px) {
  .quick-links { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
}

/* Shop: pick your number (1–99) */
.number-picker .tiny { margin: 0 0 .7rem; }
.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: .35rem;
}
.num-btn {
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
}
.num-btn:hover, .num-btn.is-on { border-color: var(--teal); background: var(--teal-dim); color: var(--teal); }
.num-btn.is-taken {
  color: var(--faint);
  background: rgba(255, 255, 255, .03);
  text-decoration: line-through;
  cursor: help;
}
.num-btn.is-taken:hover { border-color: var(--line); background: rgba(255, 255, 255, .06); color: var(--muted); }
.number-status { min-height: 1.4em; margin: .7rem 0 0; font-size: .9rem; color: var(--muted); }
.number-status.is-free { color: var(--teal); }
.number-status.is-taken { color: var(--muted); }
