/* ================================================
   TSG BONN — Turn- und Sportgemeinschaft Bonn
   Landing Page Stylesheet
   ================================================ */

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

/* ---- CSS Variables ---- */
:root {
  --color-black:    #0a0a0a;
  --color-dark:     #111111;
  --color-red:      #FE2A00;
  --color-red-dark: #c42000;
  --color-white:    #ffffff;
  --color-grey:     #888888;
  --color-grey-lt:  #cccccc;
  --color-panel:    #1a1a1a;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --transition: 0.3s ease;
  --radius: 4px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254,42,0,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
  overflow: visible;
}

.nav.scrolled {
  background: rgba(10,10,10,0.96);
  padding: 0.75rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: visible;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(254,42,0,0.3));
  transition: var(--transition);
}
.nav__logo:hover img {
  filter: drop-shadow(0 0 14px rgba(254,42,0,0.6));
}

.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__brand-abbr {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.nav__brand-name {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-grey);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey-lt);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--color-white); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}


/* ---- Dropdown Nav ---- */

/* Override the old gap so items control their own spacing */
.nav__links {
  gap: 0;
  align-items: stretch;
}

/* Each top-level item */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Top-level link / parent trigger */
.nav__item > a,
.nav__item > .nav__parent {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-grey-lt);
  transition: color var(--transition);
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  white-space: nowrap;
  height: 100%;
}

/* Kill the global underline pseudo-element on dropdown parents */
.nav__item > a::after,
.nav__item > .nav__parent::after { display: none; }

/* Hover state for top-level items */
.nav__item:hover > a,
.nav__item:hover > .nav__parent {
  color: var(--color-white);
}

/* Caret arrow */
.nav__caret {
  font-size: 0.55rem;
  line-height: 1;
  transition: transform var(--transition);
  opacity: 0.5;
  margin-top: 1px;
}

.nav__item--dropdown:hover > .nav__parent .nav__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Dropdown panel – hidden by default ── */
.nav__dropdown {
  position: absolute;
  top: 100%;           /* flush under the nav bar */
  left: 0;
  background: rgba(12, 12, 12, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--color-red);
  min-width: 220px;
  padding: 0.6rem 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 500;
  pointer-events: none;
}

/* ── Show on hover – pure CSS ── */
.nav__item--dropdown:hover > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
  pointer-events: auto;
}

/* Dropdown items */
.nav__dropdown li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(204,204,204,0.85);
  transition: color 0.18s ease, background 0.18s ease, padding-left 0.18s ease;
  white-space: nowrap;
  position: relative;
}

.nav__dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-red);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.nav__dropdown li a:hover {
  color: var(--color-white);
  background: rgba(254,42,0,0.07);
  padding-left: 1.6rem;
}

.nav__dropdown li a:hover::before {
  opacity: 1;
}

/* ── Mobile hamburger open state ── */
.nav__links--open {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(12px);
  padding: 1rem 5% 2rem;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  z-index: 400;
}

.nav__links--open .nav__item {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.nav__links--open .nav__item > a,
.nav__links--open .nav__item > .nav__parent {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  width: 100%;
  height: auto;
}

/* On mobile, show dropdowns on hover is meaningless — use click via .open class */
.nav__links--open .nav__dropdown {
  position: static;
  border: none;
  border-left: 2px solid var(--color-red);
  margin: 0 0 0.5rem 1rem;
  padding: 0.25rem 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transform: none;
  transition: opacity 0.2s ease, max-height 0.25s ease, visibility 0s linear 0.2s;
  pointer-events: none;
}

.nav__links--open .nav__item--dropdown.open > .nav__dropdown {
  opacity: 1;
  max-height: 400px;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, max-height 0.25s ease, visibility 0s linear 0s;
}

/* On mobile, hover does nothing for dropdowns — rely on .open only */
.nav__links--open .nav__item--dropdown:hover > .nav__dropdown {
  opacity: 0;
  max-height: 0;
  visibility: hidden;
  pointer-events: none;
}
.nav__links--open .nav__item--dropdown.open:hover > .nav__dropdown {
  opacity: 1;
  max-height: 400px;
  visibility: visible;
  pointer-events: auto;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(254,42,0,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(254,42,0,0.05) 0%, transparent 60%),
    var(--color-black);
  z-index: 0;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease both;
}

.hero__eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--color-red);
}

.hero__eyebrow-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-red);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero__title span {
  color: var(--color-red);
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-grey-lt);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp 0.7s 0.4s ease both;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-value span {
  color: var(--color-red);
}

.hero__stat-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-top: 0.25rem;
}

/* Logo visual side */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeIn 1s 0.4s ease both;
}

.hero__logo-wrap {
  position: relative;
  width: 340px;
  height: 340px;
}

.hero__logo-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254,42,0,0.12) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.hero__logo-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(254,42,0,0.2);
  animation: rotateSlow 20s linear infinite;
}

.hero__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(254,42,0,0.25));
}

/* ================================================
   SPORTS / ABTEILUNGEN
   ================================================ */
.sports {
  padding: 100px 0;
  background: var(--color-dark);
  position: relative;
}

.sports::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254,42,0,0.5), transparent);
}

.sports__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.sports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.sport-card {
  position: relative;
  background: var(--color-panel);
  padding: 2.25rem 1.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.sport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(254,42,0,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.sport-card:hover {
  background: #222;
  border-bottom-color: var(--color-red);
  transform: translateY(-4px);
}
.sport-card:hover::before { opacity: 1; }

.sport-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.sport-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.sport-card__members {
  font-size: 0.8rem;
  color: var(--color-grey);
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}

.sport-card__arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-grey);
  transition: var(--transition);
}
.sport-card:hover .sport-card__arrow {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
}

/* ================================================
   NEWS / EVENTS
   ================================================ */
.news {
  padding: 100px 0;
  background: var(--color-black);
}

.news__header {
  margin-bottom: 3rem;
}

.news__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5px;
}

.news-card {
  background: var(--color-panel);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover { background: #1e1e1e; }

.news-card--featured {
  grid-row: span 2;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter var(--transition), transform var(--transition);
}
.news-card:hover .news-card__image {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.news-card__image-wrap {
  overflow: hidden;
  flex-shrink: 0;
}

.news-card--featured .news-card__image {
  aspect-ratio: 4/3;
}

.news-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-card__tag {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
  background: rgba(254,42,0,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.news-card__date {
  font-size: 0.78rem;
  color: var(--color-grey);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.news-card:hover .news-card__title { color: var(--color-red); }

.news-card--featured .news-card__title {
  font-size: 1.65rem;
}

.news-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-grey-lt);
  line-height: 1.65;
  flex: 1;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  transition: gap var(--transition);
}
.news-card:hover .news-card__link { gap: 0.7rem; }

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  padding: 90px 0;
  background: var(--color-red);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'TSG';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 18rem;
  color: rgba(0,0,0,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
}

.cta-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.6rem;
  max-width: 400px;
}

.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
}
.cta-banner .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: #080808;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer__brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer__brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--color-grey);
  line-height: 1.7;
  max-width: 260px;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-grey);
  transition: var(--transition);
}
.footer__social-link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--color-grey);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-white); }

.footer__address {
  font-size: 0.88rem;
  color: var(--color-grey);
  line-height: 1.8;
  font-style: normal;
}

.footer__address a {
  color: var(--color-red);
  transition: color var(--transition);
}
.footer__address a:hover { color: var(--color-white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-grey);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--color-grey);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--color-white); }

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.06); opacity: 0.7; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin: 0 auto 2.5rem; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }

  .news__grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-row: auto; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .sports__header { flex-direction: column; align-items: flex-start; }
  .sports__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .sports__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 1.5rem; }
  .cta-banner::before { display: none; }
}

/* ===================================================
   ACCESSIBILITY — keyboard focus & reduced motion
   =================================================== */

/* Visible keyboard focus (WCAG 2.4.7). Mouse clicks stay clean via :focus-visible. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-link target support */
:target { scroll-margin-top: 100px; }

/* Respect users who prefer reduced motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Ensure scroll-reveal content is always shown, never hidden behind a transition */
  .reveal { opacity: 1 !important; transform: none !important; }
}
