/* ============================================================
   Ethiopia Karate Federation — Landing Page
   Built for: East African Regional Karate Championship 2025
   ============================================================ */

:root {
  --eth-green:   #078930;
  --eth-yellow:  #FCDD09;
  --eth-red:     #DA121A;
  --eth-blue:    #0F47AF;

  --dark-bg:     #0A1A0F;
  --darker-bg:   #050D08;
  --card-bg:     #112216;
  --card-bg-2:   #16321F;
  --text-light:  #F5F0E8;
  --text-muted-light: rgba(245, 240, 232, 0.65);
  --gold-accent: #D4AF37;
  --gold-bright: #E8C547;
  --karate-red:  #8B0000;

  --font-heading: 'Cinzel', serif;
  --font-body:    'Lato', sans-serif;
  --font-amharic: 'Noto Sans Ethiopic', sans-serif;

  --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.30);
  --shadow-gold: 0 0 0 1px rgba(212,175,55,0.4), 0 0 25px rgba(212,175,55,0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  color: var(--text-light);
}

a { color: var(--gold-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-bright); }

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

/* ====== FLAG STRIPE ====== */
.flag-stripe {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; height: 4px; z-index: 2000;
  pointer-events: none;
}
.flag-stripe span { flex: 1; display: block; }
.stripe-green  { background: var(--eth-green);  }
.stripe-yellow { background: var(--eth-yellow); }
.stripe-red    { background: var(--eth-red);    }
.flag-stripe-bottom { position: relative; height: 6px; }

/* ====== NAVBAR ====== */
.eth-navbar {
  background: rgba(10, 26, 15, 0.0);
  backdrop-filter: blur(0);
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  padding: 1.1rem 0;
  top: 4px;
}
.eth-navbar.scrolled {
  background: rgba(10, 26, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.55rem 0;
  box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-accent);
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.05), var(--shadow-md);
  transition: transform .3s ease;
}
.navbar-brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.brand-text {
  display: inline-flex; flex-direction: column; margin-left: 12px;
  line-height: 1;
}
.brand-line-1 {
  font-family: var(--font-heading); font-weight: 700;
  color: var(--gold-accent); font-size: 1rem;
  letter-spacing: .08em;
}
.brand-line-2 {
  font-family: var(--font-heading); font-weight: 500;
  color: var(--text-light); font-size: .8rem; margin-top: 2px;
  letter-spacing: .15em; text-transform: uppercase;
}
.eth-navbar .nav-link {
  color: var(--text-light) !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .12em;
  padding: .55rem 1rem !important;
  position: relative;
}
.eth-navbar .nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; background: var(--gold-accent);
  transition: width .3s ease, left .3s ease;
}
.eth-navbar .nav-link:hover::after,
.eth-navbar .nav-link.active::after { width: 60%; left: 20%; }
.eth-navbar .nav-link:hover { color: var(--gold-bright) !important; }
.navbar-toggler {
  border: 1px solid rgba(212,175,55,0.5);
}
.navbar-toggler-icon {
  filter: invert(85%) sepia(45%) saturate(450%) hue-rotate(5deg);
}
.lang-toggle {
  background: transparent;
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: all .25s ease;
}
.lang-toggle:hover {
  background: var(--gold-accent); color: var(--dark-bg);
}
.lang-toggle .lang-am { font-family: var(--font-amharic); }
.lang-toggle .active { color: var(--gold-bright); }

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg) center/cover no-repeat;
  padding: 7rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,26,15,0.65) 0%, rgba(5,13,8,0.93) 75%, #050d08 100%),
    linear-gradient(135deg, rgba(7,137,48,0.35), rgba(139,0,0,0.25));
  z-index: 0;
}
/* Ethiopian star pattern (decorative motif) */
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.10) 0, transparent 2px),
    radial-gradient(circle at 80% 60%, rgba(212,175,55,0.10) 0, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(212,175,55,0.08) 0, transparent 2px),
    radial-gradient(circle at 70% 20%, rgba(252,221,9,0.08) 0, transparent 2px);
  background-size: 220px 220px, 340px 340px, 280px 280px, 380px 380px;
  z-index: 0;
  opacity: .9;
  animation: drift 60s linear infinite;
}
@keyframes drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 220px 220px, -340px 340px, 280px -280px, -380px 380px; }
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-bright);
  padding: .5rem 1.2rem;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}
.floating-badge { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-eyebrow {
  font-family: var(--font-heading);
  color: var(--gold-accent);
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 1rem;
}
.hero-eyebrow i { margin-right: .4rem; }

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 0 auto 1.3rem;
  max-width: 14ch;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.title-accent {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-accent) 60%, #a87f1f 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--text-light);
  font-weight: 300;
  font-style: italic;
  letter-spacing: .04em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-host {
  color: var(--text-muted-light);
  margin-bottom: 2.2rem;
  font-size: 1rem;
}
.hero-host strong { color: var(--text-light); }

/* COUNTDOWN */
.countdown {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(212,175,55,0.35);
  padding: 1rem 1.6rem;
  border-radius: 18px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(8px);
}
.cd-unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 70px;
}
.cd-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--gold-bright);
  line-height: 1;
  text-shadow: 0 0 18px rgba(212,175,55,0.4);
}
.cd-label {
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .25em;
  margin-top: .35rem;
  color: var(--text-muted-light);
}
.cd-sep {
  font-size: 1.8rem; color: var(--gold-accent); padding: 0 .2rem;
  font-weight: 700; animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* BUTTONS */
.btn-ethiopia-gold,
.btn-ethiopia-outline {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: 999px;
  font-size: .85rem;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: .55rem;
  border: 2px solid transparent;
}
.btn-ethiopia-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-accent));
  color: #1a1a1a;
  box-shadow: 0 8px 25px rgba(212,175,55,0.35);
}
.btn-ethiopia-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(212,175,55,0.55);
  color: #000;
}
.btn-ethiopia-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(245,240,232,0.5);
}
.btn-ethiopia-outline:hover {
  background: rgba(245,240,232,0.08);
  border-color: var(--gold-accent);
  color: var(--gold-bright);
  transform: translateY(-3px);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-down {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--gold-accent); font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

/* ====== SECTION SHELL ====== */
.section {
  padding: 6rem 0;
  position: relative;
}
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  color: var(--gold-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .4em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .8rem;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--eth-green), var(--eth-yellow), var(--eth-red));
  margin: 0 auto;
  border-radius: 2px;
}

/* ====== ABOUT ====== */
.section-about { background: var(--darker-bg); }
.stat-card {
  background: linear-gradient(180deg, var(--card-bg), var(--card-bg-2));
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 18px;
  padding: 2.4rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(212,175,55,0.4), transparent 60%);
  z-index: -1; opacity: 0; transition: opacity .35s ease;
}
.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-gold);
}
.stat-card:hover::before { opacity: 1; }
.stat-icon {
  font-size: 2.4rem; color: var(--gold-accent); margin-bottom: 1rem;
}
.stat-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3rem;
  color: var(--text-light);
  line-height: 1;
}
.stat-label {
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  margin-top: .8rem;
}
.lead-paragraph { font-size: 1.15rem; color: var(--text-light); }

.federations-stack { display: flex; flex-direction: column; gap: 1rem; }
.fed-badge {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.15);
  border-left: 4px solid var(--gold-accent);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  transition: transform .25s ease, border-color .25s ease;
}
.fed-badge:hover { transform: translateX(6px); border-left-color: var(--gold-bright); }
.fed-badge i {
  font-size: 1.6rem; color: var(--gold-accent);
}
.fed-title { font-family: var(--font-heading); font-weight: 700; }
.fed-sub   { font-size: .8rem; color: var(--text-muted-light); letter-spacing: .12em; text-transform: uppercase; }
.fed-badge-host { border-left-color: var(--eth-yellow); background: linear-gradient(90deg, rgba(252,221,9,0.06), var(--card-bg) 50%); }
.fed-badge-host i { color: var(--eth-yellow); }

/* ====== CHAMPIONSHIP ====== */
.section-championship {
  background:
    linear-gradient(180deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}
.champ-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.18);
  height: 100%;
  transition: transform .4s ease, box-shadow .4s ease;
}
.champ-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.champ-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .8s ease;
}
.champ-card:hover img { transform: scale(1.06); }
.champ-card-body { padding: 1.6rem 1.5rem; }
.champ-card h3 {
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: .6rem;
}

/* ====== COUNTRIES ====== */
.section-countries {
  background: var(--darker-bg);
}
.country-card {
  background: var(--card-bg);
  border: 1px solid rgba(245,240,232,0.08);
  border-radius: 14px;
  padding: 1.6rem 1rem;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  height: 100%;
  position: relative; overflow: hidden;
}
.country-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--eth-green), var(--eth-yellow), var(--eth-red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.country-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-gold);
}
.country-card:hover::before { transform: scaleX(1); }
.country-flag {
  font-size: 3rem; line-height: 1;
  margin-bottom: .6rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}
.country-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-light);
}
.country-athletes {
  font-size: .8rem; color: var(--text-muted-light);
  margin-top: .35rem; letter-spacing: .08em;
}
.country-athletes i { color: var(--gold-accent); margin-right: 4px; }

/* ====== HERITAGE ====== */
.section-heritage {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
/* Tilet pattern — Ethiopian geometric textile motif */
.tilet-pattern {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .08;
  background-image:
    linear-gradient(45deg, transparent 45%, var(--eth-yellow) 45%, var(--eth-yellow) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--eth-red) 45%, var(--eth-red) 55%, transparent 55%),
    radial-gradient(circle at center, var(--eth-green) 2px, transparent 3px);
  background-size: 60px 60px, 60px 60px, 30px 30px;
  background-position: 0 0, 30px 30px, 0 0;
}
.amharic-quote {
  text-align: center;
  margin: 1rem auto 2rem;
  max-width: 720px;
}
.amharic-text {
  font-family: var(--font-amharic);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--gold-bright);
  line-height: 1.4;
  display: inline-block;
  padding: 0 1rem;
}
.quote-mark {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-accent);
  vertical-align: top;
}
.quote-translation {
  margin-top: 1rem;
  color: var(--text-muted-light);
  font-style: italic;
  letter-spacing: .08em;
}
.heritage-card {
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all .35s ease;
}
.heritage-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
}
.heritage-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--karate-red), var(--eth-red));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(139,0,0,0.45);
}
.heritage-card h4 {
  color: var(--gold-bright);
  font-size: 1.2rem;
  margin-bottom: .6rem;
}
.heritage-card p { color: var(--text-muted-light); font-size: .95rem; margin: 0; }

.diplomatic-capital {
  background: linear-gradient(135deg, rgba(7,137,48,0.18), rgba(15,71,175,0.18));
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 20px;
  padding: 2.5rem;
}
.diplomatic-capital h3 {
  color: var(--gold-bright);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}
.capital-stats {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.capital-stats > div {
  display: flex; flex-direction: column;
  padding: 1rem 1.2rem;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  border-left: 3px solid var(--gold-accent);
}
.capital-stats .big {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--gold-bright);
}
.capital-stats small {
  color: var(--text-muted-light);
  font-size: .8rem;
  letter-spacing: .1em;
}

/* ====== GALLERY ====== */
.section-gallery { background: var(--darker-bg); }
.masonry-grid {
  column-count: 3;
  column-gap: 14px;
}
@media (max-width: 992px) { .masonry-grid { column-count: 2; } }
@media (max-width: 576px) { .masonry-grid { column-count: 1; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(212,175,55,0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.masonry-item img {
  display: block; width: 100%; height: auto;
  transition: transform .6s ease;
}
.masonry-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: var(--text-light);
  font-size: .9rem;
  letter-spacing: .03em;
  transform: translateY(100%);
  transition: transform .35s ease;
}
.masonry-item:hover figcaption { transform: translateY(0); }

/* ====== SCHEDULE / TIMELINE ====== */
.section-schedule {
  background: var(--dark-bg);
}
.timeline {
  position: relative; padding: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(180deg, var(--eth-green), var(--eth-yellow), var(--eth-red));
  border-radius: 3px;
}
.tl-item {
  display: flex; justify-content: flex-end;
  position: relative;
  width: 50%; padding: 1.2rem 2.5rem 1.2rem 0;
}
.tl-item:nth-child(even) {
  margin-left: 50%; justify-content: flex-start;
  padding: 1.2rem 0 1.2rem 2.5rem;
}
.tl-dot {
  position: absolute;
  top: 32px;
  right: -10px;
  width: 20px; height: 20px;
  background: var(--gold-accent);
  border: 4px solid var(--dark-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold-accent), 0 0 18px rgba(212,175,55,0.6);
}
.tl-item:nth-child(even) .tl-dot { right: auto; left: -10px; }

.tl-card {
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 480px;
  transition: transform .3s ease, border-color .3s ease;
}
.tl-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-accent);
}
.tl-day {
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--karate-red);
  background: rgba(139,0,0,0.12);
  border: 1px solid rgba(139,0,0,0.35);
  border-radius: 999px;
  padding: .25rem .8rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.tl-card h4 { color: var(--gold-bright); font-size: 1.2rem; margin-bottom: .5rem; }
.tl-card p { color: var(--text-muted-light); margin: 0; font-size: .95rem; }

@media (max-width: 768px) {
  .timeline::before { left: 16px; }
  .tl-item, .tl-item:nth-child(even) {
    width: 100%; margin-left: 0;
    justify-content: flex-start;
    padding: 1rem 0 1rem 40px;
  }
  .tl-dot, .tl-item:nth-child(even) .tl-dot {
    left: 6px; right: auto;
  }
}

/* ====== SPONSORS ====== */
.section-sponsors {
  background: linear-gradient(180deg, var(--dark-bg), var(--darker-bg));
}
.tier-title {
  font-family: var(--font-heading);
  text-align: center;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 1rem 0 1.5rem;
  position: relative;
}
.tier-title::before, .tier-title::after {
  content: ''; display: inline-block;
  width: 60px; height: 1px;
  vertical-align: middle; margin: 0 1rem;
}
.tier-gold   { color: #E8C547; }
.tier-gold::before, .tier-gold::after { background: rgba(232,197,71,.5); }
.tier-silver { color: #C0C0C0; }
.tier-silver::before, .tier-silver::after { background: rgba(192,192,192,.5); }
.tier-bronze { color: #CD7F32; }
.tier-bronze::before, .tier-bronze::after { background: rgba(205,127,50,.5); }

.sponsor-card {
  background: var(--card-bg);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  height: 110px;
  font-family: var(--font-heading);
  letter-spacing: .15em;
  color: var(--text-muted-light);
  text-transform: uppercase;
  transition: all .3s ease;
  border: 2px solid transparent;
}
.tier-gold-card   { border-color: rgba(232,197,71,.45); }
.tier-silver-card { border-color: rgba(192,192,192,.45); }
.tier-bronze-card { border-color: rgba(205,127,50,.45); height: 90px; font-size: .8rem; }
.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.sponsor-card img { max-height: 70%; max-width: 80%; object-fit: contain; }
.placeholder-card { color: var(--text-muted-light); }

/* ====== CONTACT ====== */
.section-contact {
  background: var(--darker-bg);
}
.contact-form .form-label {
  color: var(--gold-accent);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
}
.contact-form .form-control {
  background: var(--card-bg);
  border: 1px solid rgba(245,240,232,0.12);
  color: var(--text-light);
  padding: .8rem 1rem;
  border-radius: 10px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form .form-control:focus {
  background: var(--card-bg);
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 .2rem rgba(212,175,55,0.18);
  color: var(--text-light);
}
.contact-form .form-control::placeholder { color: rgba(245,240,232,0.35); }

.contact-info {
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
}
.contact-info h3 {
  color: var(--gold-bright);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.contact-info p { color: var(--text-light) !important; }
.contact-info i { color: var(--gold-accent); margin-right: .55rem; width: 18px; }
.addis-illustration {
  margin-top: 1.5rem; padding: 1rem;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  text-align: center;
}
.addis-illustration svg { width: 100%; max-width: 280px; }
.addis-illustration small {
  display: block; color: var(--text-muted-light);
  font-size: .75rem; letter-spacing: .25em;
  text-transform: uppercase; margin-top: .4rem;
}

.socials {
  display: flex; gap: .65rem; flex-wrap: wrap;
}
.socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-accent);
  transition: all .25s ease;
}
.socials a:hover {
  background: var(--gold-accent);
  color: var(--dark-bg);
  transform: translateY(-3px) rotate(-5deg);
}

/* ====== ALERTS ====== */
.alert {
  border: 1px solid transparent;
  border-radius: 12px;
}
.alert-success {
  background: rgba(7,137,48,0.15);
  border-color: rgba(7,137,48,0.45);
  color: #79e8a7;
}
.alert-error, .alert-danger {
  background: rgba(218,18,26,0.15);
  border-color: rgba(218,18,26,0.45);
  color: #f9a3a8;
}
.alert .btn-close { filter: invert(1) brightness(2); }

/* ====== FOOTER ====== */
.eth-footer {
  background: #050d08;
  color: var(--text-muted-light);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.footer-brand {
  display: flex; align-items: center; gap: .8rem;
  color: var(--text-light);
}
.footer-brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold-accent);
}
.footer-brand strong { display: block; color: var(--text-light); font-family: var(--font-heading); }
.footer-brand small {
  display: block; color: var(--gold-accent);
  font-family: var(--font-amharic);
  font-size: .9rem;
}
.footer-tag { color: var(--text-muted-light); font-size: .9rem; max-width: 320px; }

.footer-title {
  color: var(--gold-accent);
  font-family: var(--font-heading);
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: 1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .55rem; }
.footer-list a { color: var(--text-muted-light); transition: color .2s, padding-left .2s; }
.footer-list a:hover { color: var(--gold-bright); padding-left: 4px; }

.footer-divider {
  border-color: rgba(245,240,232,0.08);
  margin: 2.5rem 0 1.2rem;
}
.eth-footer small { color: var(--text-muted-light); font-size: .8rem; }
.eth-footer a { color: var(--gold-accent); }
.eth-footer a:hover { color: var(--gold-bright); }

/* ====== REVEAL ON SCROLL ====== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE TWEAKS ====== */
@media (max-width: 768px) {
  .countdown { gap: .1rem; padding: .8rem 1rem; }
  .cd-unit { min-width: 56px; }
  .cd-sep { font-size: 1.2rem; }
  .section { padding: 4rem 0; }
  .eth-navbar { padding: .7rem 0; background: rgba(10,26,15,0.92); backdrop-filter: blur(12px); }
  .eth-navbar .navbar-collapse {
    background: var(--card-bg);
    margin-top: .8rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.15);
  }
  .brand-line-1 { font-size: .85rem; }
  .brand-line-2 { font-size: .68rem; }
  .hero { min-height: 90vh; padding-top: 6rem; }
  .diplomatic-capital { padding: 1.5rem; }
}

/* ============================================================
   PHASE 2: Stats bar · Dignitaries · Categories · News · Register
   ============================================================ */

/* ---------- LIVE STATS BAR ---------- */
.stats-bar {
  background: linear-gradient(90deg, var(--karate-red), var(--eth-red));
  padding: 2.2rem 0;
  color: var(--text-light);
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(252,221,9,0.18) 0, transparent 40%),
                    radial-gradient(circle at 85% 50%, rgba(7,137,48,0.18) 0, transparent 40%);
  pointer-events: none;
}
.stats-bar > .container { position: relative; z-index: 1; }
.stats-bar-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.stats-bar-label {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  margin-top: .35rem;
  color: rgba(245,240,232,0.85);
}

/* ---------- SECTION SUBTITLE ---------- */
.section-subtitle {
  margin-top: 1rem;
  color: var(--text-muted-light);
  font-size: 1.05rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- DIGNITARIES ---------- */
.section-dignitaries {
  background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
}
.dignitary-card {
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.dignitary-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-gold);
}
.dignitary-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--darker-bg);
  position: relative;
}
.dignitary-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .6s ease, filter .6s ease;
  filter: saturate(0.9);
}
.dignitary-card:hover .dignitary-photo img {
  transform: scale(1.06);
  filter: saturate(1.15);
}
.dignitary-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--gold-accent);
}
.dignitary-body {
  padding: 1.3rem 1.2rem 1.5rem;
  flex: 1; display: flex; flex-direction: column;
}
.dignitary-org {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: .6rem;
  font-weight: 700;
}
.dignitary-card h4 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: .35rem;
}
.dignitary-title {
  color: var(--text-muted-light);
  font-size: .9rem;
  margin: 0;
}
.dignitary-quote {
  margin-top: .8rem;
  font-style: italic;
  color: var(--text-muted-light);
  font-size: .85rem;
  border-left: 2px solid var(--gold-accent);
  padding-left: .8rem;
}

/* ---------- COMPETITION CATEGORIES ---------- */
.section-categories {
  background: var(--dark-bg);
}
.category-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.15);
  border-left: 4px solid var(--gold-accent);
  border-radius: 14px;
  padding: 1.3rem 1.3rem;
  height: 100%;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.category-card.cat-kumite, .category-card.cat-team-kumite {
  border-left-color: var(--eth-red);
}
.category-card.cat-kata, .category-card.cat-team-kata {
  border-left-color: var(--eth-green);
}
.category-card:hover {
  transform: translateX(6px) translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-accent);
}
.cat-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.05));
  color: var(--gold-bright);
  border-radius: 12px;
}
.cat-kumite .cat-icon, .cat-team-kumite .cat-icon {
  background: linear-gradient(135deg, rgba(218,18,26,0.22), rgba(139,0,0,0.08));
  color: #ffb3b6;
}
.cat-kata .cat-icon, .cat-team-kata .cat-icon {
  background: linear-gradient(135deg, rgba(7,137,48,0.25), rgba(7,137,48,0.08));
  color: #9be7ba;
}
.cat-body { flex: 1; }
.cat-discipline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: .5rem;
}
.cat-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .4rem; }
.cat-chip {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.12);
  color: var(--text-muted-light);
}
.cat-chip-gold {
  background: rgba(212,175,55,0.16);
  border-color: rgba(212,175,55,0.5);
  color: var(--gold-bright);
}
.cat-desc {
  color: var(--text-muted-light);
  font-size: .85rem;
  margin: .3rem 0 0;
}

/* ---------- NEWS ---------- */
.section-news {
  background: var(--darker-bg);
}
.news-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(212,175,55,0.12);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
}
.news-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--darker-bg);
}
.news-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.news-card:hover .news-image img { transform: scale(1.06); }
.news-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gold-accent);
}
.news-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-accent));
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(212,175,55,0.5);
}
.news-featured {
  border-color: rgba(212,175,55,0.45);
}
.news-body {
  padding: 1.3rem;
  flex: 1; display: flex; flex-direction: column;
}
.news-date {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: .55rem;
}
.news-card h3 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: .55rem;
  line-height: 1.3;
}
.news-card p {
  color: var(--text-muted-light);
  font-size: .92rem;
  margin: 0;
}

/* ---------- ATHLETE REGISTRATION ---------- */
.section-register {
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
  isolation: isolate;
}
.register-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(7,137,48,0.18) 0, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(139,0,0,0.20) 0, transparent 55%),
    var(--dark-bg);
}
.register-form {
  background: var(--card-bg);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 22px;
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-lg);
}
.register-form .form-label {
  color: var(--gold-accent);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.register-form .form-control,
.register-form .form-select {
  background: var(--darker-bg);
  border: 1px solid rgba(245,240,232,0.12);
  color: var(--text-light);
  padding: .75rem 1rem;
  border-radius: 10px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.register-form .form-control:focus,
.register-form .form-select:focus {
  background: var(--darker-bg);
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 .2rem rgba(212,175,55,0.18);
  color: var(--text-light);
}
.register-form .form-control::placeholder { color: rgba(245,240,232,0.35); }
.register-form .form-select {
  /* dark dropdown caret */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
}
.register-form .form-select option {
  background: var(--card-bg);
  color: var(--text-light);
}
.register-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(70%) sepia(50%) saturate(450%) hue-rotate(5deg);
  cursor: pointer;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 768px) {
  .stats-bar { padding: 1.5rem 0; }
  .register-form { padding: 1.5rem 1.2rem; }
}

/* ---------- FAIR DEAL CREDIT (footer) ---------- */
.fairdeal-credit {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .3rem .2rem;
  text-decoration: none;
  transition: transform .25s ease;
  float: right;
}
@media (max-width: 767px) { .fairdeal-credit { float: none; } }
.fairdeal-credit:hover { transform: translateY(-2px); }
.fairdeal-label {
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  font-weight: 700;
}
.fairdeal-logo {
  height: 46px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(27,125,208,0.35));
  transition: transform .35s ease, filter .35s ease;
}
.fairdeal-credit:hover .fairdeal-logo {
  transform: scale(1.08);
  filter: drop-shadow(0 5px 14px rgba(27,125,208,0.55));
}
.fairdeal-name {
  display: flex; flex-direction: column; line-height: 1;
}
.fairdeal-name strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  background: linear-gradient(90deg, #36B5E8, #1B7DD0);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.fairdeal-name small {
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #F08A1C;
  margin-top: 3px;
  font-weight: 700;
}
