@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #08090c;
  --bg-alt: #101218;
  --surface: #15171f;
  --surface-2: #1b1e28;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,107,53,0.5);
  --text: #f5f5f7;
  --text-muted: #8b8f9c;
  --accent: #ff6b35;
  --accent-soft: rgba(255,107,53,0.12);
  --navy: #0a1628;
  --pitch: #14352b;
  --pitch-line: rgba(255,255,255,0.16);
  --gold: #e8c468;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
}

.display {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  letter-spacing: 1px;
}

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

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,9,12,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 40%, transparent 60%, var(--pitch) 100%);
  opacity: .6;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.logo span:first-child { color: var(--accent); }
.logo span:last-child { color: #fff; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  position: relative;
}

.nav-item {
  position: relative;
  padding: 10px 0;
}

.nav-item > a, .nav-item > span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s;
}

.nav-item:hover > a, .nav-item:hover > span { color: #fff; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  min-width: 200px;
  display: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nav-item:hover .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: all .15s;
}

.nav-dropdown a:hover { background: var(--accent-soft); color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.basket-icon {
  position: relative;
  cursor: pointer;
  font-size: 20px;
  color: var(--text);
}

.basket-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 32px 70px;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 15% 30%, rgba(255,107,53,0.10), transparent 65%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 88px;
  letter-spacing: 1px;
  line-height: .96;
  margin-bottom: 22px;
}

.hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta-primary, .hero-cta-secondary {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 14px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}
.hero-cta-primary { background: var(--accent); color: #0a0a0f; border: none; }
.hero-cta-primary:hover { background: #ff7f52; }
.hero-cta-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.hero-cta-secondary:hover { border-color: var(--border-hover); }

/* Hero visual: stylised jersey with floodlight glow + ghost squad number */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,107,53,0.16), transparent 70%);
  filter: blur(10px);
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.hero-ghost-number {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 340px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.06);
  z-index: 1;
  user-select: none;
}

.hero-jersey {
  position: relative;
  z-index: 2;
  width: 260px;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
}

@media(max-width:900px){
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { height: 300px; margin-top: 20px; }
  .hero-ghost-number { font-size: 220px; }
  .hero-jersey { width: 190px; }
}

@media(max-width:700px){ .hero h1 { font-size: 50px; } }

/* ---------- Pitch-line divider: a nod to a halfway line + centre spot ---------- */
.pitch-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.pitch-divider::before, .pitch-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--pitch-line);
}
.pitch-divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--pitch-line);
  flex-shrink: 0;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-strip .stat {
  text-align: center;
}
.stat-strip .stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  color: var(--accent);
  letter-spacing: .5px;
}
.stat-strip .stat .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}
@media(max-width:700px){ .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Category grid on homepage: styled as swing tags ---------- */
.category-strip {
  padding: 60px 32px 80px;
  max-width: 1320px;
  margin: 0 auto;
}

.category-strip .strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 10px;
}

.category-strip h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
}

.category-strip .strip-note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: .5px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

.category-card {
  --tag: var(--accent);
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 4px;
  padding: 26px 22px 22px 30px;
  transition: transform .25s, border-color .25s;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--tag);
}

.category-card::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
}

.category-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) rotate(-0.6deg);
}

.category-card .count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--tag);
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.category-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 27px;
  letter-spacing: 1px;
}

/* ---------- Team grid (category page) ---------- */
.page-heading {
  padding: 50px 32px 10px;
}

.page-heading .breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.page-heading .breadcrumb a:hover { color: var(--accent); }

.page-heading h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 1px;
}

.team-grid {
  padding: 30px 32px 90px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.team-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  cursor: pointer;
  transition: all .25s;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: .8;
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.team-card .crest {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.team-card .crest img { max-width: 70%; max-height: 70%; object-fit: contain; }

.team-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-card .desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.team-card .shop-btn {
  width: 100%;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  padding: 12px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .8px;
  cursor: pointer;
  transition: all .2s;
}
.team-card .shop-btn:hover { background: #ff7f52; }

/* ---------- Product page ---------- */
.product-layout {
  padding: 50px 32px 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

@media(max-width:900px){ .product-layout { grid-template-columns: 1fr; } }

.kit-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kit-option {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s;
}
.kit-option.selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.kit-option img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.kit-option .kit-label {
  padding: 12px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.kit-option.selected .kit-label { color: var(--accent); }

.product-info .breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.product-info .breadcrumb a:hover { color: var(--accent); }

.product-info h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 46px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-info .league-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 24px;
}

.form-block { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.size-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.size-btn {
  padding: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all .2s;
}
.size-btn:hover { border-color: var(--border-hover); }
.size-btn.selected { background: var(--accent); border-color: var(--accent); color: #0a0a0f; }

input[type="text"] {
  width: 100%;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}
input[type="text"]:focus { outline: none; border-color: var(--accent); }
input[type="text"]::placeholder { color: #565a66; }

.price-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px 12px 12px 4px;
  padding: 20px 20px 20px 26px;
  margin: 26px 0;
}
.price-box::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--accent);
}
.price-row {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.price-row.total {
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: 10px;
}
.price-row.total span:last-child { color: var(--accent); }

.add-basket-btn {
  width: 100%;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  padding: 16px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .8px;
  cursor: pointer;
  transition: all .2s;
}
.add-basket-btn:hover { background: #ff7f52; }

/* ---------- Basket panel ---------- */
.basket-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  padding: 28px;
  overflow-y: auto;
  transition: right .3s ease;
  z-index: 999;
}
.basket-panel.open { right: 0; }

.basket-panel h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.basket-close { cursor: pointer; font-size: 26px; color: var(--text-muted); }
.basket-close:hover { color: var(--accent); }

.basket-item {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  font-size: 13px;
}
.basket-item-name { font-weight: 700; margin-bottom: 4px; }
.basket-item-meta { color: var(--text-muted); font-size: 12px; margin-bottom: 8px; }
.basket-item-bottom { display: flex; justify-content: space-between; align-items: center; }
.basket-item-price { color: var(--accent); font-weight: 700; }
.remove-link { color: #ff6b6b; font-size: 12px; cursor: pointer; }

.basket-empty { text-align: center; color: var(--text-muted); padding: 60px 20px; }

.basket-total-row {
  display: flex;
  justify-content: space-between;
  background: var(--surface);
  padding: 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 18px;
  margin: 20px 0;
}
.basket-total-row span:last-child { color: var(--accent); }

.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  padding: 15px;
  border-radius: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
  margin-bottom: 10px;
}
.checkout-btn:hover { background: #ff7f52; }

.payment-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Request a kit page ---------- */
.request-layout {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 32px 100px;
}
.request-layout h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 46px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.request-layout > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 110px;
}
textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- Per-league tag colours ---------- */
.tag-premier-league { --tag: #7c5cd1; }
.tag-la-liga { --tag: #c23b4f; }
.tag-ligue-1 { --tag: #3a6fd6; }
.tag-serie-a { --tag: #2f9e5e; }
.tag-retro { --tag: #b08a4e; }
.tag-concept { --tag: #c04fb0; }
.tag-international { --tag: #2fa3a3; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 50px 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
