/* ===========================
   CAC — نادي شلغوم العيد الرياضي
   RTL Arabic Stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:         #0B1D51;
  --navy-dark:    #070f2e;
  --primary:      #1A4BC4;
  --medium:       #2E72E8;
  --light:        #6BB5F8;
  --sky:          #A8D8FF;
  --white:        #FFFFFF;
  --gray:         #8a9cc2;
  --glass-bg:     rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow:  0 0 40px rgba(46, 114, 232, 0.3);
}

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

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

body {
  font-family: 'Cairo', sans-serif;
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 12px;
}
.section-label::after {
  content: '';
  display: block;
  width: 30px; height: 2px;
  background: var(--light);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
}
.section-title span { color: var(--light); }

.section-subtitle {
  margin-top: 14px;
  color: var(--gray);
  font-size: 1rem;
  max-width: 520px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--medium));
  color: var(--white);
  box-shadow: 0 8px 30px rgba(26, 75, 196, 0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(26, 75, 196, 0.6);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--glass-bg);
  border-color: var(--light);
  color: var(--light);
}

/* ========================
   NAVBAR
   ======================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(7, 15, 46, 0.96);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 48px; height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(107,181,248,0.5));
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .abbr {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
}
.nav-logo-text .full {
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  color: var(--light);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 0; height: 2px;
  background: var(--light);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--medium));
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.88; transform: translateY(-2px); }

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

/* ========================
   HERO
   ======================== */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 40% 50%, rgba(26,75,196,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(46,114,232,0.15) 0%, transparent 60%),
    linear-gradient(180deg, #070f2e 0%, #0B1D51 50%, #070f2e 100%);
}
.hero-pitch {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 48px,
    rgba(255,255,255,0.8) 48px, rgba(255,255,255,0.8) 50px
  );
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-glow {
  position: absolute;
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,114,232,0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.15); }
}

.hero-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 80px;
}
.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 6px 16px 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--light);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  animation: fadeInUp 0.9s ease 0.15s both;
}
.hero-title .line1 { display: block; color: var(--white); }
.hero-title .line2 {
  display: block;
  background: linear-gradient(90deg, var(--light), var(--medium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .line3 { display: block; color: var(--white); }

.hero-desc {
  margin-top: 20px;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 460px;
  animation: fadeInUp 0.9s ease 0.25s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.35s both;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 50px;
  animation: fadeInUp 0.9s ease 0.45s both;
}
.hero-stat .num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero-stat .num span { color: var(--light); }
.hero-stat .lbl {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 600;
  margin-top: 2px;
}

/* Logo side */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInLeft 1s ease 0.3s both;
}
.hero-logo-ring {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(107,181,248,0.15);
  animation: spin 20s linear infinite;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  background: var(--light);
  border-radius: 50%;
}
.hero-logo-ring2 {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px dashed rgba(107,181,248,0.1);
  animation: spin 15s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo-img {
  width: 260px; height: 260px;
  object-fit: contain;
  position: relative; z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(26,75,196,0.6))
          drop-shadow(0 0 80px rgba(107,181,248,0.3));
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ========================
   STATS BAR
   ======================== */
#stats-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(26,75,196,0.15), rgba(46,114,232,0.08));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
}
.stat-item {
  padding: 20px;
  border-left: 1px solid var(--glass-border);
}
.stat-item:last-child { border-left: none; }
.stat-item .number {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}
.stat-item .number .suffix { color: var(--light); font-size: 2.2rem; }
.stat-item .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  margin-top: 6px;
}

/* ========================
   ABOUT PAGE
   ======================== */
#about {
  padding: 100px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-crest-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-crest-card::before {
  content: '';
  position: absolute;
  top: -40%; left: -40%;
  width: 180%; height: 180%;
  background: radial-gradient(circle, rgba(26,75,196,0.12), transparent 60%);
}
.about-crest-card img {
  width: 220px; height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(26,75,196,0.5));
  position: relative; z-index: 1;
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.about-badge-pill {
  background: var(--navy);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--light);
}
.about-text {
  color: var(--gray);
  line-height: 1.9;
  margin-top: 16px;
  font-size: 1rem;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.value-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(107,181,248,0.3);
  transform: translateY(-4px);
}
.value-icon { font-size: 1.6rem; margin-bottom: 8px; }
.value-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.value-desc { font-size: 0.8rem; color: var(--gray); }

/* Staff cards */
.staff-section { margin-top: 80px; }
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.staff-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.staff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107,181,248,0.3);
}
.staff-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--medium));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 14px;
}
.staff-name { font-weight: 800; font-size: 1rem; }
.staff-role { font-size: 0.78rem; color: var(--light); font-weight: 600; margin-top: 4px; }

/* ========================
   GALLERY PAGE
   ======================== */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--gray);
  font-family: 'Cairo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--medium));
  border-color: var(--primary);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/7; }
.gallery-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,15,46,0.85), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
.lightbox-inner {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  font-size: 8rem;
  position: relative;
}
.lightbox-close {
  position: absolute;
  top: 16px; left: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--primary); }
.lightbox-caption { margin-top: 16px; font-weight: 700; font-size: 1rem; }

/* ========================
   SQUAD / TEAM PAGE
   ======================== */
.team-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}
.player-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}
.player-card:hover {
  transform: translateY(-8px);
  border-color: rgba(107,181,248,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--shadow-glow);
}
.player-card-top {
  height: 160px;
  background: linear-gradient(135deg, var(--navy), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
}
.player-number {
  position: absolute;
  top: 12px; left: 14px;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}
.player-info { padding: 16px 18px 18px; }
.player-name { font-weight: 800; font-size: 1rem; }
.player-pos {
  font-size: 0.78rem;
  color: var(--light);
  font-weight: 700;
  margin-top: 3px;
}
.player-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--gray);
}

/* Coach card */
.coach-section { margin-bottom: 60px; }
.coach-card {
  background: linear-gradient(135deg, rgba(26,75,196,0.2), rgba(46,114,232,0.1));
  border: 1px solid rgba(107,181,248,0.3);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 500px;
}
.coach-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--medium));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.coach-badge {
  display: inline-block;
  background: rgba(107,181,248,0.15);
  color: var(--sky);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 6px;
}
.coach-name { font-weight: 900; font-size: 1.2rem; }
.coach-info { font-size: 0.82rem; color: var(--gray); margin-top: 4px; }

/* ========================
   MATCHES (Home page section)
   ======================== */
#matches {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(26,75,196,0.05), transparent);
}
.matches-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.match-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.match-card::before {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, var(--primary), var(--light));
}
.match-card:hover { background: rgba(255,255,255,0.08); transform: translateX(-4px); }
.match-card.upcoming::before { background: var(--light); }
.match-card.win::before  { background: #22c55e; }
.match-card.loss::before { background: #ef4444; }
.match-card.draw::before { background: var(--gray); }

.match-date { text-align: center; min-width: 55px; }
.match-date .day   { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.match-date .month { font-size: 0.68rem; color: var(--gray); font-weight: 600; }
.match-teams {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  padding: 0 20px;
}
.match-team { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.88rem; }
.team-crest {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.match-vs { font-size: 1rem; font-weight: 900; color: var(--gray); }
.match-score { font-size: 1.6rem; font-weight: 900; color: var(--white); text-align: center; }
.match-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}
.badge-upcoming { background: rgba(107,181,248,0.15); color: var(--sky); }
.badge-win  { background: rgba(34,197,94,0.15); color: #4ade80; }
.badge-loss { background: rgba(239,68,68,0.15); color: #f87171; }
.badge-draw { background: rgba(138,156,194,0.15); color: var(--gray); }

/* Standings */
.standings-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px;
  height: fit-content;
}
.standings-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.standings-table { width: 100%; font-size: 0.78rem; border-collapse: collapse; }
.standings-table th {
  color: var(--gray);
  font-weight: 700;
  padding: 6px 4px;
  text-align: center;
}
.standings-table th:first-child { text-align: right; }
.standings-table td {
  padding: 9px 4px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--gray);
}
.standings-table td:first-child { text-align: right; }
.standings-table .highlight td { color: var(--white); font-weight: 700; }
.standings-table .highlight .club-name { color: var(--light); }
.club-row { display: flex; align-items: center; gap: 6px; }
.pos-num { font-size: 1rem; font-weight: 900; color: var(--primary); min-width: 16px; }

/* ========================
   NEWS (Home page section)
   ======================== */
#news { padding: 100px 0; }
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 20px;
  flex-wrap: wrap;
}
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 22px;
}
.news-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107,181,248,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.news-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.news-card.featured .news-img { height: 260px; }
.news-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,15,46,0.8), transparent 60%);
}
.news-body { padding: 18px 20px 20px; }
.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.news-title { font-weight: 800; font-size: 0.95rem; line-height: 1.5; color: var(--white); margin-bottom: 8px; }
.news-card.featured .news-title { font-size: 1.15rem; }
.news-date { font-size: 0.72rem; color: var(--gray); }

/* ========================
   PAGE HERO (inner pages)
   ======================== */
.page-hero {
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(26,75,196,0.2), transparent 70%),
    linear-gradient(180deg, #070f2e, #0B1D51 60%, #070f2e);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}
.page-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
}
.page-hero-title span { color: var(--light); }
.page-hero-sub {
  margin-top: 14px;
  color: var(--gray);
  font-size: 1rem;
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}
.breadcrumb a { color: var(--light); font-weight: 700; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }

/* ========================
   CONTACT (Home page)
   ======================== */
#contact { padding: 100px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(107,181,248,0.3); background: rgba(255,255,255,0.08); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--medium));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-card-label { font-size: 0.72rem; color: var(--gray); font-weight: 600; margin-bottom: 2px; }
.contact-card-value { font-weight: 700; font-size: 0.9rem; }

/* ========================
   FOOTER
   ======================== */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand-desc { color: var(--gray); font-size: 0.87rem; line-height: 1.8; max-width: 260px; margin-bottom: 22px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-col-title { font-weight: 800; font-size: 0.85rem; color: var(--white); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--gray); transition: color 0.2s; }
.footer-links a:hover { color: var(--light); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: var(--gray); }
.footer-copy span { color: var(--light); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--gray); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ========================
   ANIMATIONS
   ======================== */
@keyframes fadeInUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-40px); } to { opacity:1; transform:translateX(0); } }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 960px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; top: 68px; background: rgba(7,15,46,0.98); backdrop-filter: blur(20px); padding: 40px 24px; gap: 22px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; padding: 120px 0 60px; }
  .hero-logo-wrap { order: -1; }
  .hero-logo-img { width: 180px; height: 180px; }
  .hero-logo-ring { width: 240px; height: 240px; }
  .hero-logo-ring2 { width: 190px; height: 190px; }
  .hero-actions, .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-left: none; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .matches-layout { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .about-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
img.gallery-thumb { object-fit: cover; }
