/* BPL – Bavarian Premier League | bplt20.de – T20 Cricket
   Sporty cricket theme: BPL blue, pitch green, athletic energy */

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

:root {
  --bpl-blue: #0f172a;
  --bpl-blue-mid: #1e3a5f;
  --bpl-blue-light: #2563eb;
  --bpl-sky: #38bdf8;
  --pitch-green: #166534;
  --pitch-light: #22c55e;
  --bpl-bg: #f0f9ff;
  --white: #fff;
  --text: #0f172a;
  --text-muted: #475569;
  --gold: #eab308;
  --gold-dark: #ca8a04;
  --silver: #64748b;
  --stripe: rgba(15, 23, 42, 0.92);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--bpl-blue-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header – sporty bar */
.site-header {
  background: var(--stripe);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--bpl-sky);
}

.site-logo {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.site-nav a:hover {
  color: var(--bpl-sky);
  text-decoration: none;
}

/* Hero – full-bleed cricket image + overlay */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 95, 0.75) 50%, rgba(22, 101, 52, 0.4) 100%);
  z-index: 1;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.hero-logo {
  height: 100px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero .year {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--bpl-sky);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
  letter-spacing: 0.02em;
}

.hero .tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

.coming-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.coming-list li {
  background: rgba(255,255,255,0.15);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.3);
}

.insta-cta {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.insta-cta a {
  color: var(--bpl-sky);
  font-weight: 700;
}

/* Page hero (BPL 2025) */
.page-hero {
  position: relative;
  height: 42vh;
  min-height: 280px;
  overflow: hidden;
  margin: 0 -1.5rem 2rem;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.5rem;
}

.page-hero-overlay h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* Page content wrapper */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.section-title {
  font-family: "Oswald", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--bpl-blue);
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--pitch-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title:first-of-type {
  margin-top: 0;
}

/* Placeholder blocks */
.media-placeholder {
  background: linear-gradient(145deg, #e2e8f0 0%, #f1f5f9 100%);
  border: 2px dashed var(--bpl-blue-mid);
  border-radius: 8px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.media-placeholder.video {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-placeholder.image {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-placeholder strong {
  display: block;
  color: var(--bpl-blue);
  margin-bottom: 0.25rem;
  font-family: "Oswald", sans-serif;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.card-image {
  aspect-ratio: 1;
  background: linear-gradient(180deg, var(--bpl-bg) 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: var(--bpl-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Winners / Runners up – trophy style */
.winners-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.winner-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.winner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.winner-card.champion {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #fefce8 0%, #fef9c3 30%, var(--bpl-bg) 100%);
}

.winner-card.champion::before {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.winner-card.runner-up {
  border: 2px solid var(--silver);
  background: linear-gradient(180deg, #f8fafc 0%, var(--bpl-bg) 100%);
}

.winner-card.runner-up::before {
  background: linear-gradient(90deg, #475569, var(--silver));
}

.winner-card .trophy-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.winner-card.champion .trophy-label {
  color: var(--gold-dark);
}

.winner-card.runner-up .trophy-label {
  color: var(--silver);
}

.winner-card .team-name {
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bpl-blue);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.winner-card .placeholder-img {
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  margin: 1rem auto;
  background: var(--white);
  border: 2px dashed var(--bpl-blue-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--bpl-blue);
  color: var(--white);
  text-align: center;
  padding: 1.25rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--pitch-green);
}

.site-footer a {
  color: var(--bpl-sky);
}

@media (min-width: 768px) {
  .hero-bg img {
    object-position: center 40%;
  }
  .page-hero {
    height: 45vh;
    min-height: 320px;
    margin: 0 0 2rem;
    border-radius: 0 0 12px 12px;
  }
}
