/* Town Hero Hockey — Brand CSS */
/* Colors: Navy #001c62 | Red #dd1234 | White #fff | Ice #f0f4ff */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #001c62;
  --red: #dd1234;
  --white: #ffffff;
  --ice: #f0f4ff;
  --ice-dark: #e2e8f8;
  --gray: #6b7280;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--navy); overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
  padding: 0 24px;
  height: 60px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 2px;
}
.nav-town { color: var(--white); }
.nav-puck { font-size: 16px; }
.nav-hero { color: var(--red); }
.nav-sub { color: var(--white); opacity: 0.6; font-size: 13px; letter-spacing: 3px; margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; letter-spacing: 1px; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 8px 18px; border-radius: 4px; font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; }

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(221,18,52,0.12) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(221,18,52,0.15);
  border: 1px solid rgba(221,18,52,0.4);
  color: var(--red);
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 3px;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 32px;
}
.hero-title {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 10vw, 96px); letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 0;
}
.title-town { color: var(--white); }
.title-hero { color: var(--red); }
.title-emblem svg { filter: drop-shadow(0 0 20px rgba(221,18,52,0.4)); }
.hero-sub {
  font-family: var(--font-display); font-size: clamp(20px, 4vw, 32px);
  font-weight: 600; letter-spacing: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px; margin-bottom: 12px;
}
.hero-tagline {
  font-family: var(--font-display); font-size: 13px; font-weight: 400;
  letter-spacing: 6px; color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  letter-spacing: 2px; padding: 14px 32px; border-radius: 4px;
  transition: all 0.2s; display: inline-block;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #c00f28; transform: translateY(-1px); }
.btn-secondary { border: 1px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); }
.hero-lines { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.line-top, .line-bottom { height: 4px; background: var(--red); opacity: 0.3; }
.line-top { margin-bottom: 6px; }

/* SEASON BANNER */
.season-banner {
  background: var(--red); color: var(--white);
  padding: 12px 24px; overflow: hidden;
}
.season-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 2px;
}
.sep { opacity: 0.5; }

/* SECTIONS */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 4px; color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(28px, 5vw, 48px);
  font-weight: 700; color: var(--navy);
  margin-bottom: 40px;
}

/* TEAMS */
.teams { padding: 80px 0; background: var(--ice); }
.teams-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.team-card {
  background: var(--white); border-radius: 8px;
  padding: 32px; position: relative; overflow: hidden;
  border: 1px solid var(--ice-dark);
  box-shadow: 0 2px 12px rgba(0,28,98,0.06);
}
.team-card.elite { border-top: 4px solid var(--red); }
.team-card:not(.elite) { border-top: 4px solid var(--navy); }
.team-badge {
  display: inline-block;
  font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 3px;
  padding: 4px 10px; border-radius: 3px;
  margin-bottom: 16px;
}
.team-badge.senior { background: var(--navy); color: var(--white); }
.team-badge.junior { background: var(--red); color: var(--white); }
.team-card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.team-league { font-size: 13px; color: var(--red); font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; }
.team-desc { font-size: 15px; line-height: 1.6; color: var(--gray); margin-bottom: 24px; }
.team-details { border-top: 1px solid var(--ice-dark); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.detail { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.detail-label { color: var(--gray); font-weight: 500; }
.detail-val { color: var(--navy); font-weight: 600; }
.detail-val a { color: var(--red); }
.detail-val a:hover { text-decoration: underline; }

/* STORE */
.store { padding: 80px 0; background: var(--white); }
.store-sub { font-size: 16px; color: var(--gray); margin-bottom: 48px; margin-top: -24px; }
.store-items {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 40px;
}
.store-item {
  background: var(--ice); border-radius: 8px;
  padding: 28px 24px; text-align: center;
  border: 1px solid var(--ice-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,28,98,0.1); }
.store-icon { font-size: 36px; margin-bottom: 12px; }
.store-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.store-desc { font-size: 13px; color: var(--gray); }
.store-coming {
  background: var(--navy); color: rgba(255,255,255,0.8);
  padding: 16px 24px; border-radius: 6px; text-align: center;
  font-size: 14px; font-weight: 500;
}
.store-coming a { color: var(--red); font-weight: 600; }
.store-coming a:hover { text-decoration: underline; }

/* COMMUNITY */
.community { padding: 80px 0; background: var(--navy); color: var(--white); }
.community .section-label { color: rgba(221,18,52,0.8); }
.community .section-title { color: var(--white); }
.community-desc {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.7);
  max-width: 600px; margin-bottom: 48px;
}
.brands-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.brand-link {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 20px; border-radius: 6px; font-weight: 500; font-size: 14px;
  transition: all 0.2s;
}
.brand-link:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); }
.brand-icon { font-size: 18px; }

/* FOLLOW */
.follow { padding: 80px 0; background: var(--ice); text-align: center; }
.follow h2 { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.follow p { font-size: 16px; color: var(--gray); margin-bottom: 32px; }
.follow-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.follow-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  padding: 14px 28px; border-radius: 6px;
  font-weight: 600; font-size: 15px;
  transition: all 0.2s;
}
.follow-btn:hover { background: #002a9e; transform: translateY(-2px); }
.follow-btn.tiktok { background: #111; }
.follow-btn.tiktok:hover { background: #222; }

/* FOOTER */
.footer { background: var(--navy); border-top: 3px solid var(--red); padding: 40px 24px; text-align: center; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 2px;
  margin-bottom: 8px;
}
.footer-tagline { font-family: var(--font-display); font-size: 11px; letter-spacing: 5px; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-copy a { color: rgba(255,255,255,0.6); }
.footer-copy a:hover { color: var(--white); }

/* ELITE PAGE */
.elite-hero {
  min-height: 60vh; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px 60px;
}
.elite-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 8vw, 72px); font-weight: 700; color: var(--white); margin-bottom: 16px; }
.elite-hero h1 span { color: var(--red); }
.elite-hero p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 32px; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero-title { gap: 10px; }
  .title-emblem svg { width: 60px; height: 60px; }
  .season-inner { font-size: 11px; gap: 10px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .brands-grid { flex-direction: column; }
}
