@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --court: #009c3b;
  --court-deep: #005c2a;
  --court-light: #3fc465;
  --lime: #ffdf00;
  --lime-soft: #fff3a6;
  --orange: #e87532;
  --ink: #123b25;
  --paper: #fff8d8;
  --white: #fffdf7;
  --muted: #687662;
  --line: rgba(0, 92, 42, .18);

  --ease: 220ms cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3, .nav-logo span, .stat-number, .player-number, .game-date, .record, .crest-badge strong { font-family: 'Barlow Condensed', sans-serif; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; display: inline-block; }
.section-title { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: .88; letter-spacing: .01em; text-transform: uppercase; margin-bottom: .6rem; }
.section-subtitle { color: var(--muted); font-size: .95rem; max-width: 480px; margin-bottom: 2.5rem; }

.btn { display: inline-flex; align-items: center; gap: .7rem; border: 0; border-radius: 999px; padding: 1rem 1.5rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease); }
.btn::after { content: '\2192'; font-size: 1.1rem; line-height: .5; }
.btn-primary { background: var(--lime); color: var(--court-deep); box-shadow: 0 0 0 0 rgba(255,223,0,.5); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -6px rgba(255,223,0,.55); }
.btn-outline { border: 1px solid rgba(0,92,42,.3); color: var(--court-deep); }
.btn-outline:hover { background: var(--court-deep); border-color: var(--court-deep); color: var(--white); transform: translateY(-3px); }

/* ===== NAVBAR ===== */
.navbar { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(255, 253, 247, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { width: min(1180px, calc(100% - 48px)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: .65rem; color: var(--court-deep); font-size: 1.3rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.logo-image { width: 42px; height: 38px; object-fit: contain; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { position: relative; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: color var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.nav-links a:hover { color: var(--court-deep); }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--court-deep); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 88vh; padding: 10rem max(24px, calc((100vw - 1132px) / 2)) 5rem; display: flex; align-items: center; gap: 4rem; overflow: hidden; background: radial-gradient(120% 90% at 82% 8%, var(--lime-soft) 0%, var(--paper) 55%); color: var(--ink); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(0,92,42,.035) 0 2px, transparent 2px 46px); pointer-events: none; }
.hero::after { content: '2010'; position: absolute; right: -2%; bottom: -9rem; color: transparent; font-family: 'Barlow Condensed', sans-serif; font-size: 24rem; font-weight: 900; line-height: .7; -webkit-text-stroke: 1.5px rgba(0,92,42,.08); pointer-events: none; }
.hero-content, .hero-side { position: relative; z-index: 1; }
.hero-content { max-width: 620px; }
.hero-badge { color: var(--orange); }
.hero h1 { max-width: 700px; margin: 1.3rem 0 1.5rem; color: var(--court-deep); font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 900; letter-spacing: -.03em; line-height: .92; text-transform: uppercase; }
.hero h1 em { color: var(--court); font-style: normal; }
.hero p { max-width: 470px; margin-bottom: 2.2rem; color: var(--muted); font-size: 1.02rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3.5rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; }
.stat { min-width: 115px; margin-right: 1.4rem; padding-right: 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat-number { display: block; color: var(--court); font-size: 2.3rem; font-weight: 800; line-height: 1; }
.stat-label { display: block; margin-top: .35rem; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }

.hero-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.crest-glow { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.crest-glow::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,223,0,.4) 0%, rgba(255,223,0,0) 68%); }
.crest-glow::after { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(0,92,42,.3); animation: spin 40s linear infinite; }
.crest-glow img { position: relative; width: 190px; filter: drop-shadow(0 18px 30px rgba(0,60,30,.2)); }
@keyframes spin { to { transform: rotate(360deg); } }

.scoreboard { width: 280px; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 30px -16px rgba(0,60,30,.3); }
.panel-topline, .next-game small { display: flex; justify-content: space-between; color: var(--muted); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { color: var(--orange); }
.record { display: flex; align-items: baseline; justify-content: center; gap: .5rem; padding: 1.3rem 0 .2rem; color: var(--court-deep); font-size: 3.6rem; font-weight: 800; line-height: .8; }
.record span { color: var(--orange); font-size: 1.5rem; }
.record-label { text-align: center; color: var(--muted); font-size: .74rem; margin-bottom: 1.1rem; }
.panel-divider { height: 1px; margin: 0 0 1.1rem; background: var(--line); }
.next-game span { display: block; margin-bottom: .55rem; color: var(--orange); font-size: .6rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.next-game strong { display: block; color: var(--court-deep); font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; letter-spacing: .05em; }
.next-game b { color: var(--court); font-size: .62rem; margin: 0 .35rem; }
.next-game small { display: block; margin-top: .5rem; }

/* ===== ABOUT ===== */
.about { padding: 7.5rem 0; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5rem; }
.about .eyebrow { color: var(--orange); margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.2rem; color: var(--court-deep); font-size: 3rem; line-height: .92; text-transform: uppercase; }
.about-text p { max-width: 520px; margin-bottom: 1rem; color: var(--muted); }
.values-list { margin-top: 1.6rem; list-style: none; display: grid; gap: .1rem; }
.values-list li { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.values-list strong { color: var(--court-deep); }
.values-list .icon { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: 0 0 auto; border-radius: 50%; background: var(--court); font-size: 1rem; }

.crest-badge { position: relative; padding: 3rem 2.5rem; background: var(--court-deep); color: var(--white); border-radius: 28px; overflow: hidden; box-shadow: 14px 14px 0 var(--lime); }
.crest-badge::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 34px); }
.crest-ball { position: relative; width: 130px; height: 130px; margin: 0 auto 2rem; border-radius: 50%; background: conic-gradient(from 20deg, var(--lime) 0deg 90deg, var(--court-light) 90deg 180deg, var(--lime) 180deg 270deg, var(--court-light) 270deg 360deg); border: 5px solid var(--white); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.crest-ball::before, .crest-ball::after { content: ''; position: absolute; border: 4px solid var(--court-deep); border-radius: 50%; }
.crest-ball::before { width: 182px; height: 74px; top: 24px; left: -30px; }
.crest-ball::after { width: 74px; height: 182px; top: -30px; left: 24px; }
.crest-stars { position: relative; display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; color: var(--lime); font-size: 1rem; letter-spacing: .4em; }
.crest-badge h3 { position: relative; text-align: center; color: var(--lime); font-size: 1.9rem; text-transform: uppercase; }
.crest-badge p { position: relative; text-align: center; margin-top: .6rem; color: rgba(255,255,255,.75); font-size: .85rem; }

/* ===== ROSTER ===== */
.roster { padding: 7.5rem 0; background: var(--white); }
.roster .eyebrow { color: var(--orange); }
.roster .section-title { color: var(--court-deep); }
.roster .section-subtitle { color: var(--muted); }
.roster-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.player-card { position: relative; padding: 1.6rem 1.2rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.player-card::before { content: attr(data-number); position: absolute; right: -.4rem; top: -1.6rem; color: rgba(0,92,42,.07); font-family: 'Barlow Condensed', sans-serif; font-size: 6.5rem; font-weight: 900; line-height: 1; }
.player-card:hover { transform: translateY(-8px); border-color: var(--court); box-shadow: 0 16px 28px -18px rgba(0,60,30,.35); }
.player-avatar { position: relative; width: 3.2rem; height: 3.2rem; margin-bottom: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--court); font-size: 1.4rem; overflow: hidden; }
.player-avatar:has(img) { width: 6.4rem; height: 6.4rem; border: 3px solid var(--court); }
.player-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.player-card:nth-child(3n) .player-avatar { background: var(--orange); }
.player-info { position: relative; }
.player-number { display: inline-block; margin-bottom: .4rem; color: var(--orange); font-size: 1rem; font-weight: 800; }
.player-name { color: var(--court-deep); font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1; text-transform: uppercase; }
.player-position { margin-top: .3rem; color: var(--muted); font-size: .7rem; }

/* ===== MAYORS CUP ===== */
.mayors-cup { padding: 7.5rem 0; background: var(--lime); }
.tournament-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.mayors-cup .eyebrow { color: var(--orange); }
.mayors-cup .section-title { color: var(--court-deep); }
.mayors-cup .section-subtitle { margin-bottom: 0; color: var(--ink); }
.bracket-mark { color: var(--court-deep); font-family: 'Barlow Condensed', sans-serif; font-size: 7rem; font-weight: 900; line-height: .7; opacity: .22; }
.bracket-mark span { color: var(--orange); }
.bracket-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.4rem; align-items: stretch; }
.featured-team { padding: 2.3rem; background: var(--court-deep); color: var(--white); border-radius: 22px; box-shadow: 10px 10px 0 var(--court); }
.featured-team .featured-label { display: block; margin-bottom: .8rem; color: var(--lime); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.featured-team > strong { display: block; color: var(--lime); font-family: 'Barlow Condensed', sans-serif; font-size: 4.6rem; line-height: .8; }
.featured-team-name { margin-top: 1rem; color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: .9; text-transform: uppercase; }
.featured-team p { margin-top: 1.3rem; color: rgba(255,255,255,.64); font-size: .85rem; }
.bracket-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.bracket-team { min-height: 88px; padding: 1rem 1.2rem; display: flex; flex-direction: column; justify-content: center; background: var(--white); border-radius: 14px; border: 1px solid rgba(0,92,42,.12); transition: transform var(--ease); }
.bracket-team:hover { transform: translateY(-4px); }
.bracket-team.current { background: var(--court-deep); }
.bracket-team span { color: var(--court); font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 800; }
.bracket-team.current span { color: var(--lime); }
.bracket-team strong { color: var(--court-deep); font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; line-height: 1; text-transform: uppercase; }
.bracket-team.current strong { color: var(--white); }
.bracket-team em { margin-top: .25rem; color: var(--orange); font-size: .6rem; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.fixture-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin: 5rem 0 1.5rem; padding-top: 2rem; border-top: 2px solid var(--court-deep); }
.fixture-heading h3 { color: var(--court-deep); font-size: 2.2rem; line-height: .9; text-transform: uppercase; }
.fixture-heading p { color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fixture-heading p span { color: var(--orange); margin: 0 .3rem; }
.fixture-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; }
.round-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 18px -10px rgba(0,58,26,.35); }
.round-name { min-height: 70px; padding: 1rem; background: var(--court-deep); color: var(--white); }
.round-name span { display: block; color: var(--lime); font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 800; }
.round-name strong { color: rgba(255,255,255,.62); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.fixture-game { min-height: 115px; padding: .85rem; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: .45rem; }
.fixture-game b { color: var(--court); font-family: 'Barlow Condensed', sans-serif; font-size: .9rem; line-height: 1; }
.fixture-game strong { color: var(--court-deep); font-family: 'Barlow Condensed', sans-serif; font-size: 1.02rem; line-height: .92; text-transform: uppercase; }
.fixture-game span { grid-column: 1 / -1; margin: .3rem 0; color: var(--orange); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fixture-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: .7rem; color: var(--muted); font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fixture-meta i { color: var(--court); font-style: normal; }

/* ===== GALLERY ===== */
.gallery { padding: 7.5rem 0; background: var(--paper); }
.gallery .eyebrow { color: var(--orange); }
.gallery .section-title { color: var(--court-deep); }
.gallery .section-subtitle { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; min-height: 200px; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, var(--court-light), var(--court)); cursor: pointer; transition: transform var(--ease); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item:hover { transform: translateY(-6px) rotate(-.5deg); }

footer { padding: 2rem 24px; background: var(--paper); border-top: 2px solid var(--court-deep); color: var(--muted); font-size: .78rem; text-align: center; }
footer strong { color: var(--court-deep); }

@media (max-width: 980px) {
  .hero { flex-direction: column; align-items: flex-start; padding-top: 8.5rem; text-align: left; }
  .hero-side { flex-direction: row; align-self: stretch; justify-content: space-between; width: 100%; }
  .crest-glow { width: 170px; height: 170px; }
  .crest-glow img { width: 120px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .roster-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .container, .nav-inner { width: min(100% - 32px, 600px); }
  .nav-inner { min-height: 64px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: .5rem 1rem 1.2rem; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .85rem .2rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hero { padding: 7.5rem 16px 4rem; gap: 3rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-side { flex-direction: column; align-items: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .stat { min-width: 0; margin-right: 0; padding-right: 1rem; }
  .scoreboard { width: 100%; }
  .about, .roster, .mayors-cup, .gallery { padding: 5rem 0; }
  .roster-grid { grid-template-columns: repeat(2, 1fr); }
  .tournament-heading { align-items: flex-start; margin-bottom: 2.5rem; }
  .bracket-mark { display: none; }
  .bracket-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .bracket-list { grid-template-columns: 1fr 1fr; }
  .bracket-team strong { font-size: 1.05rem; }
  .fixture-heading { display: block; margin-top: 4rem; }
  .fixture-heading p { margin-top: 1rem; }
  .fixture-board { grid-template-columns: 1fr; }
  .round-name { min-height: auto; }
  .fixture-game { min-height: 86px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery-item { min-height: 140px; }
}
