/*
Theme Name: Ένωση Ιλίου
Theme URI: https://enosiiliou.gr
Description: Επίσημο θέμα για τον Α.Ο. Ένωση Ιλίου — Αθλητικός Όμιλος Μπάσκετ & Βόλεϊ
Author: Α.Ο. Ένωση Ιλίου
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: enosi-iliou
Tags: sports, greek, basketball, volleyball, club
*/

/* ===================================================================
   CSS VARIABLES
=================================================================== */
:root {
  --navy:       #1e2f7a;
  --navy-dark:  #0b1233;
  --navy-deep:  #060a1f;
  --gold:       #ffd400;
  --red:        #c8102e;
  --white:      #ffffff;
  --glass:      rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.12);
  --radius:     18px;
}

/* ===================================================================
   RESET & BASE
=================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(30,47,122,.55), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(200,16,46,.25), transparent 60%),
    var(--navy-deep);
}
h1, h2, h3 { font-weight: 800; }
img { max-width: 100%; height: auto; }
a { transition: color .2s; }

/* ===================================================================
   LAYOUT
=================================================================== */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   SECTION TITLE
=================================================================== */
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-title h2 {
  font-size: clamp(24px, 3vw, 36px);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title .bar {
  width: 52px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  flex-shrink: 0;
}

/* ===================================================================
   BUTTONS
=================================================================== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold), #ffb800);
  color: var(--navy-dark);
  box-shadow: 0 10px 30px rgba(255,212,0,.35);
  transition: transform .25s, box-shadow .25s;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(255,212,0,.5);
  color: var(--navy-dark);
}
.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--glass-border);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ===================================================================
   HEADER / NAV
=================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(6,10,31,.82);
  border-bottom: 1px solid var(--glass-border);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 86px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav ul.left  { justify-content: flex-end; padding-right: 34px; }
.nav ul.right { justify-content: flex-start; padding-left: 34px; }
.nav li { position: relative; }
.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: .2s;
  display: block;
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); background: var(--glass); }

/* Logo Badge */
.logo-badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255,212,0,.25), 0 8px 30px rgba(0,0,0,.5);
  transition: transform .3s;
  text-decoration: none;
}
.logo-badge:hover { transform: scale(1.07) rotate(-3deg); }
.logo-badge img { width: 100%; height: 100%; object-fit: contain; }

/* Custom logo override */
.logo-badge .custom-logo { width: 100%; height: 100%; object-fit: contain; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 200px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(11,18,51,.97);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s;
}
.nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { font-size: 13px; padding: 10px 14px; }
.dropdown a:hover { background: rgba(255,212,0,.1); }

/* ===================================================================
   LIVE BAR
=================================================================== */
.livebar {
  background: linear-gradient(90deg, #12071f, #1a0b2e 40%, #12071f);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
}
.livebar .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.livebar .wrap::-webkit-scrollbar { display: none; }
.live-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(200,16,46,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0   rgba(200,16,46,0); }
}
.match-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  border-radius: 14px;
  flex-shrink: 0;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform .2s;
}
.match-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.team { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.team-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 10px;
  color: var(--navy);
  font-weight: 800;
}
.team-logo img { width: 100%; height: 100%; object-fit: contain; }
.score { font-family: 'Archivo Black', sans-serif; font-size: 20px; color: var(--gold); min-width: 70px; text-align: center; }
.match-meta { font-size: 11px; color: #9aa4d4; text-transform: uppercase; letter-spacing: 1px; }

/* ===================================================================
   SPONSOR MARQUEE
=================================================================== */
.logo-marquee {
  border-bottom: 1px solid var(--glass-border);
  background: rgba(11,18,51,.55);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee::before { left: 0;  background: linear-gradient(90deg, var(--navy-deep), transparent); }
.logo-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--navy-deep), transparent); }
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logo-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 26px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-weight: 800;
  font-size: 14px;
  color: #aab3dd;
  white-space: nowrap;
  transition: .25s;
  flex-shrink: 0;
  text-decoration: none;
}
.marquee-item:hover { color: var(--white); border-color: var(--gold); }
.marquee-item.mega { color: var(--gold); border-color: rgba(255,212,0,.45); background: rgba(255,212,0,.07); }
.marquee-item img { height: 128px; width: auto; object-fit: contain; }

/* ===================================================================
   HERO SLIDER
=================================================================== */
.hero { position: relative; margin: 34px auto 0; max-width: 1280px; padding: 0 24px; }
.slider {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  height: min(62vh, 560px);
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
  transform-style: preserve-3d;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; display: flex; align-items: flex-end; }
.slide.active { opacity: 1; }
.slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 6s linear;
}
.slide.active .bg { transform: scale(1); }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,10,31,.92));
}
.slide-content { position: relative; z-index: 2; padding: 48px; max-width: 640px; }
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--red);
  margin-bottom: 16px;
  color: var(--white);
}
.tag.gold { background: var(--gold); color: var(--navy-dark); }
.slide h2 { font-size: clamp(26px, 4vw, 44px); line-height: 1.1; margin-bottom: 12px; }
.slide p { color: #c3cbee; font-size: 16px; margin-bottom: 22px; }
.slider-nav {
  position: absolute;
  bottom: 26px;
  right: 40px;
  z-index: 5;
  display: flex;
  gap: 10px;
}
.slider-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(6,10,31,.6);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: .2s;
}
.slider-nav button:hover { background: var(--gold); color: var(--navy-dark); }
.dots { position: absolute; bottom: 36px; left: 48px; z-index: 5; display: flex; gap: 8px; }
.dots span { width: 26px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); cursor: pointer; transition: .3s; }
.dots span.on { background: var(--gold); width: 44px; }

/* ===================================================================
   MAIN GRID (News + Sidebar)
=================================================================== */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  margin-top: 70px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform .35s, box-shadow .35s;
  transform-style: preserve-3d;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  border-color: rgba(255,212,0,.4);
}
.news-card .thumb {
  height: 180px;
  background-size: cover;
  background-position: center top;
  position: relative;
}
.news-card .thumb .tag { position: absolute; top: 14px; left: 14px; margin: 0; }
.news-card .body { padding: 20px; }
.news-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; color: var(--white); }
.news-card .date { font-size: 12px; color: #8f99cc; text-transform: uppercase; letter-spacing: 1px; }

/* ===================================================================
   SIDEBAR
=================================================================== */
.side-box {
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(30,47,122,.4), rgba(11,18,51,.75));
  border: 1px solid var(--glass-border);
  padding: 22px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.side-box h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.side-box h3::before {
  content: "";
  width: 8px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(var(--gold), var(--red));
  flex-shrink: 0;
}
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs button {
  flex: 1;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 9px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: #aab3dd;
  cursor: pointer;
  transition: .2s;
  font-family: 'Manrope', sans-serif;
}
.tabs button.on { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left;
  color: #8f99cc;
  font-size: 11px;
  text-transform: uppercase;
  padding: 8px 6px;
  border-bottom: 1px solid var(--glass-border);
}
td { padding: 9px 6px; border-bottom: 1px solid rgba(255,255,255,.05); font-weight: 600; }
tr.us td { color: var(--gold); font-weight: 800; }
td.pos { color: #8f99cc; }
.fixture {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 13px;
  font-weight: 600;
}
.fixture .when { font-size: 11px; color: #8f99cc; text-align: right; }

/* ===================================================================
   SPONSORS
=================================================================== */
.sponsors { margin-top: 80px; }
.mega-banner {
  border-radius: 22px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy) 0%, #2a3f9e 50%, var(--navy) 100%);
  border: 1px solid rgba(255,212,0,.35);
  box-shadow: 0 30px 70px rgba(30,47,122,.45);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}
.mega-banner::before {
  content: "";
  position: absolute;
  top: -60%; left: -20%;
  width: 60%; height: 220%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: shine 4s infinite;
}
@keyframes shine { 0% { left: -40%; } 100% { left: 120%; } }
.mega-banner .label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 6px; }
.mega-banner .name  { font-family: 'Archivo Black', sans-serif; font-size: clamp(24px, 3.4vw, 40px); }
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.sponsor-tile {
  height: 86px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #aab3dd;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: .3s;
  font-size: 14px;
  text-align: center;
  padding: 8px;
  text-decoration: none;
}
.sponsor-tile:hover { transform: translateY(-4px); color: var(--white); border-color: var(--gold); background: rgba(255,212,0,.06); }

/* ===================================================================
   DONATE SECTION
=================================================================== */
.donate-section {
  margin-top: 80px;
  margin-bottom: 0;
}
.donate-box {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
  background: linear-gradient(135deg, rgba(30,47,122,.35), rgba(11,18,51,.7));
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 44px 48px;
  backdrop-filter: blur(12px);
}
.donate-subtitle {
  color: #c3cbee;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.donate-amount-btn {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid var(--glass-border);
  background: var(--glass);
  color: var(--white);
  cursor: pointer;
  transition: .25s;
  font-family: 'Manrope', sans-serif;
}
.donate-amount-btn:hover,
.donate-amount-btn.active {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.donate-custom {
  position: relative;
  display: flex;
  align-items: center;
}
.donate-custom input {
  width: 100%;
  padding: 13px 50px 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  outline: none;
  transition: border-color .2s;
}
.donate-custom input:focus { border-color: var(--gold); }
.donate-custom input::placeholder { color: #8f99cc; }
.donate-currency {
  position: absolute;
  right: 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  pointer-events: none;
}

/* IBAN Card */
.donate-iban-card {
  background: linear-gradient(145deg, rgba(30,47,122,.6), rgba(6,10,31,.8));
  border: 1px solid rgba(255,212,0,.3);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.donate-bank-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #aab3dd;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.donate-bank-icon { font-size: 20px; }
.donate-iban-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}
.donate-iban-number {
  font-family: 'Archivo Black', monospace;
  font-size: clamp(14px, 2.2vw, 19px);
  color: var(--white);
  letter-spacing: .5px;
  margin-bottom: 16px;
  word-break: break-all;
}
.donate-copy-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,212,0,.4);
  background: rgba(255,212,0,.1);
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: .25s;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 18px;
}
.donate-copy-btn:hover { background: var(--gold); color: var(--navy-dark); }
.donate-copy-btn.copied { background: #22c55e; color: var(--white); border-color: #22c55e; }
.donate-iban-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
}
.donate-iban-detail:last-of-type { border-bottom: none; }
.donate-iban-detail span  { color: #8f99cc; }
.donate-iban-detail strong { color: var(--white); font-weight: 700; }
.donate-amount-display {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255,212,0,.08);
  border: 1px solid rgba(255,212,0,.25);
  border-radius: 10px;
  font-size: 14px;
  color: #c3cbee;
  text-align: center;
}
.donate-amount-display strong { color: var(--gold); font-size: 18px; }

/* ===================================================================
   MEMBERS SECTION
=================================================================== */
.members {
  margin-top: 90px;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  padding: 70px 48px;
  background: linear-gradient(135deg, rgba(200,16,46,.25), rgba(30,47,122,.5)), var(--navy-dark);
  border: 1px solid var(--glass-border);
  text-align: center;
}
.members::before, .members::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  z-index: 0;
}
.members::before { width: 340px; height: 340px; background: var(--red); top: -120px; left: -90px; }
.members::after  { width: 340px; height: 340px; background: var(--gold); bottom: -140px; right: -90px; opacity: .3; }
.members > * { position: relative; z-index: 1; }
.members h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 14px; }
.members p { color: #c3cbee; max-width: 620px; margin: 0 auto 34px; font-size: 17px; }
.member-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 38px;
}
.m-card {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 30px 22px;
  border-radius: 20px;
  background: rgba(6,10,31,.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: transform .35s, border-color .35s;
}
.m-card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--gold); }
.m-card .icon  { font-size: 34px; margin-bottom: 12px; }
.m-card h3     { font-size: 17px; margin-bottom: 8px; }
.m-card p      { font-size: 13.5px; color: #aab3dd; margin: 0; }

/* ===================================================================
   FOOTER
=================================================================== */
footer {
  margin-top: 90px;
  border-top: 1px solid var(--glass-border);
  background: rgba(6,10,31,.8);
  padding: 50px 0 30px;
}
a.m-card h3 { color: #ffffff !important; text-decoration: none; }
a.m-card p { color: rgba(200,210,255,0.85); text-decoration: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 34px;
}
footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 14px; }
footer a  { display: block; color: #aab3dd; text-decoration: none; font-size: 14px; padding: 5px 0; transition: .2s; }
footer a:hover { color: var(--white); }
.copy {
  text-align: center;
  font-size: 12px;
  color: #6b76a8;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 22px;
}

/* ===================================================================
   CONTENT (single / page)
=================================================================== */
.entry-content h2, .entry-content h3 { margin: 28px 0 12px; }
.entry-content p  { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 24px; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { border-radius: 12px; margin: 16px 0; }
.entry-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--gold);
  background: rgba(255,212,0,.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #c3cbee;
}
.entry-content a { color: var(--gold); }
.entry-content a:hover { color: var(--white); }

/* Pagination */
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0; }
.page-numbers {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: #aab3dd;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: .2s;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 1100px) {
  .donate-box { grid-template-columns: 1fr; }
  .donate-iban-card { max-width: 500px; }
}
@media (max-width: 1000px) {
  .main-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { grid-template-columns: auto 1fr; height: auto; padding: 12px 16px; gap: 10px; }
  .nav ul.left, .nav ul.right { justify-content: flex-start; padding: 0; flex-wrap: wrap; }
  .nav ul.left { order: 3; grid-column: 1/-1; }
  .slide-content { padding: 30px 24px; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr; }
  .donate-box { padding: 28px 20px; }
  .mega-banner { padding: 28px 24px; }
  .members { padding: 50px 24px; }
  .slider { height: min(55vh, 380px); }
}

/* ===== SPONSOR LOGOS GRID ===== */
.sponsor-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.sponsor-logo-box {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  text-decoration: none;
  overflow: hidden;
}

.sponsor-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sponsor-name {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
}

.sponsor-placeholder {
  cursor: default;
}

.sponsor-placeholder span {
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  text-align: center;
  font-style: italic;
}

@media (max-width: 640px) {
  .sponsor-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}


/* ===================================================================
   MEMBERSHIP MODAL
=================================================================== */
#membership-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
#membership-modal-overlay.open {
  display: flex;
}
#membership-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
#membership-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 4px 8px;
}
#membership-modal-close:hover { color: #111; }
#membership-modal h2 {
  text-align: center;
  color: var(--navy-deep, #0b1233);
  font-size: 22px;
  margin-bottom: 24px;
}
#membership-modal .modal-notice {
  background: #f0f4ff;
  border-left: 4px solid var(--gold, #ffd400);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 20px;
  font-size: 13.5px;
  color: #333;
  line-height: 1.55;
}
@media (max-width: 600px) {
  #membership-modal { padding: 28px 18px 24px; }
}


/* ===================================================================
   MEMBERSHIP MODAL — FORM STYLES
=================================================================== */
#membership-modal label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep, #0b1233);
  margin-bottom: 6px;
}
#membership-modal label span { color: #c00; }
#membership-modal label small { font-weight: 400; color: #888; }
.mf-field {
  margin-bottom: 16px;
}
.mf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
#membership-modal input[type="text"],
#membership-modal input[type="email"],
#membership-modal input[type="tel"],
#membership-modal input[type="file"] {
  width: 100%;
  border: 1.5px solid #d0d7e8;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #222;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s;
}
#membership-modal input:focus {
  outline: none;
  border-color: var(--navy-deep, #0b1233);
}
.mf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #444;
}
.mf-check input { margin-top: 2px; flex-shrink: 0; }
.mf-submit {
  width: 100%;
  background: var(--navy-deep, #0b1233);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.mf-submit:hover { background: #1a2a6c; }
@media (max-width: 500px) {
  .mf-row { grid-template-columns: 1fr; }
}


/* ── Donate reward messages ── */
.donate-reward {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border-left: 3px solid #f5c518;
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.5;
}
.donate-reward--premium {
  border-left-color: #f5a623;
  background: rgba(245,166,35,0.10);
}


/* ── YouTube Videos Section ── */
.yt-section {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #0d0d22 0%, #10101e 100%);
}
.yt-section h2 {
  text-align: center;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 32px;
  font-weight: 700;
}
.yt-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 40px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #f5c518 #1c1c36;
}
.yt-scroll::-webkit-scrollbar {
  height: 5px;
}
.yt-scroll::-webkit-scrollbar-track {
  background: #1c1c36;
  border-radius: 4px;
}
.yt-scroll::-webkit-scrollbar-thumb {
  background: #f5c518;
  border-radius: 4px;
}
.yt-box {
  flex: 0 0 calc(33.333% - 12px);
  min-width: 260px;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #1a1a30;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.yt-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}
.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s ease;
}
.yt-box:hover .yt-thumb {
  filter: brightness(0.75);
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(230, 0, 0, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.yt-box:hover .yt-play-btn {
  background: rgba(230, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}
.yt-play-btn::after {
  content: '';
  display: block;
  border: 0 solid transparent;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
  margin-left: 5px;
}
@media (max-width: 900px) {
  .yt-box {
    flex: 0 0 calc(50% - 9px);
  }
}
@media (max-width: 600px) {
  .yt-box {
    flex: 0 0 85%;
  }
  .yt-scroll {
    padding: 0 20px 12px;
  }
}
