/* ===== ENHANCED MONTU GATE STYLES ===== */

:root {
  --gold: #c9a84c;
  --gold-light: #f4e4c1;
  --gold-dark: #8b7a47;
  --bg-dark: #0f0f0f;
  --text-light: #f0f0f0;
  --success: #4CAF50;
  --error: #ff6b6b;
  background: radial-gradient(circle, var(--gold-light), var(--gold));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  color: var(--gold);
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


#games-page nav .nav-links a,
#games-page nav .nav-logo,
#news-page nav .nav-links a,
#news-page nav .nav-logo {
  color: white !important;
}

#games-page nav .nav-links a:hover,
#news-page nav .nav-links a:hover {
  color: var(--gold) !important;
}

.nav-brand {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.nav-menu {
  flex: 2;
  display: flex;
  justify-content: center;
}

.nav-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;
}

.eagle-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  transition: all 0.3s ease;
}

.eagle-icon:hover {
  background: rgba(201, 168, 76, 0.4);
  transform: scale(1.1);
}


/* ---------- NAV LINKS ---------- */
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-right: 90px;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 20px;
  border-radius: 40px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: block;
  letter-spacing: 0.3px;
  backdrop-filter: blur(0px);
}

/* Elegant underline animation */
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

/* Glow effect on hover */
.nav-links a:hover {
  color: var(--gold-dark);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.05));
  transform: translateY(-1px);
  backdrop-filter: blur(4px);
}

.nav-links a:hover::before {
  width: 70%;
}

/* Active state with elegant background */
.nav-links a.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(201, 168, 76, 0.08));
  color: var(--gold-dark);
  position: relative;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.1);
}

.nav-links a.active::before {
  width: 70%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  height: 2.5px;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
}

/* Optional: Add a subtle pulse effect for active state */
@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.1);
  }
  50% {
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.2);
  }
}

.nav-links a.active {
  animation: subtlePulse 2s ease-in-out infinite;
}

/* Hover scale effect for interactive feedback */
.nav-links a:active {
  transform: translateY(0px);
  transition: transform 0.1s ease;
}

/* Enhanced mobile stacked links */
.nav-links.mobile {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 8px 0;
}

.nav-links.mobile a {
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 1rem;
  text-align: center;
  backdrop-filter: blur(0px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links.mobile a::before {
  bottom: 8px;
  height: 2px;
}

.nav-links.mobile a:hover {
  transform: translateX(4px);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.08));
  backdrop-filter: blur(8px);
}

.nav-links.mobile a.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.1));
  border-left: 3px solid var(--gold);
}

/* Optional: Add separator between mobile links */
.nav-links.mobile li:not(:last-child) {
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Focus states for accessibility */
.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 40px;
}


/* Language Button */
.lang-btn {
  padding: 10px 16px !important;
  border: 2px solid var(--gold) !important;
  border-radius: 6px !important;
  background: rgba(201, 168, 76, 0.1) !important;
  font-size: 14px !important;
  font-weight: 700;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(201, 168, 76, 0.3) !important;
  border-color: var(--gold-light) !important;
}

/* Theme Toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold) !important;
  background: transparent !important;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(201, 168, 76, 0.2) !important;
  transform: rotate(20deg);
}

/* Menu Toggle for Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  text-align: center;
  color: var(--gold);
  font-size: 24px;
  background: none;
  border: none;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  color: var(--gold-light);
  transform: scale(1.2);
}
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* 🔥 أهم سطر */
  .nav-links {
    margin:0;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  /* actions تحت links */
  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
  }

}
/* ===== PAGE LAYOUT ===== */
.page {
  display: none;
  margin-top: 70px;
  min-height: 100vh;
  animation: fadeIn 0.5s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CART PAGE ===== */
.cart-hero {
  background: linear-gradient(135deg, var(--crimson, #8b1a1a) 0%, #5a0e0e 55%, #1a0800 100%);
  padding: 70px 24px 55px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.cart-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9a84c' fill-opacity='0.07'%3E%3Cpolygon points='30 0 60 30 30 60 0 30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cart-hero h1 {
  font-family: "Amiri", serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.cart-hero h1 span { color: var(--gold); }

.cart-hero p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.cart-section {
  background: var(--page-bg, #f4f3f0);
}

.cart-container {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: 18px;
  padding: 30px;
  min-height: 400px;
  box-shadow: 0 6px 30px rgba(139,26,26,0.08);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  text-align: center;
}

.cart-empty i {
  font-size: 90px;
  margin-bottom: 20px;
  opacity: 0.25;
  color: var(--crimson, #8b1a1a);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.cart-empty p {
  font-size: 20px;
  margin-bottom: 24px;
  color: #555;
  font-weight: 600;
}

.cart-empty .btn-primary {
  max-width: 280px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  padding: 18px;
  border: 1.5px solid rgba(201,168,76,0.2);
  border-radius: 14px;
  margin-bottom: 14px;
  align-items: center;
  background: #fff;
  transition: all 0.3s ease;
  animation: slideIn 0.4s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.cart-item:hover {
  border-color: var(--gold);
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.18);
  background: linear-gradient(135deg, #fffdf5, #fff);
}

.cart-item-img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f6ee;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-img img { transform: scale(1.08); }

.cart-item-icon {
  font-size: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.cart-item-info { color: #333; }

.cart-item-info h4 {
  margin-bottom: 6px;
  font-size: 17px;
  color: var(--gold);
  font-weight: 700;
}

.cart-item-info p {
  font-size: 15px;
  color: #555;
  font-weight: 600;
}

.cart-summary {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(201,168,76,0.35);
  border-radius: 18px;
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 90px;
  box-shadow: 0 6px 30px rgba(139,26,26,0.08);
}

.cart-summary h3 {
  margin-bottom: 22px;
  font-size: 22px;
  color: var(--crimson, #8b1a1a);
  font-weight: 700;
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(201,168,76,0.3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.summary-row span:last-child {
  font-weight: 800;
  color: var(--gold);
  font-size: 17px;
}

.input-field {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid rgba(201,168,76,0.4);
  border-radius: 10px;
  background: #fff;
  color: #333;
  margin-bottom: 12px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.25);
}

.input-field::placeholder { color: #aaa; }

.btn-primary {
  width: 100%;
  padding: 13px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(139,26,26,0.3);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,26,0.45);
  background: linear-gradient(135deg, #a02020, #d44);
}

.btn-primary:active { transform: translateY(0); }

/* Dark mode cart */
[data-theme="dark"] .cart-container,
[data-theme="dark"] .cart-summary {
  background: rgba(26,18,8,0.92);
  border-color: rgba(201,168,76,0.4);
}
[data-theme="dark"] .cart-item {
  background: rgba(30,22,8,0.85);
  border-color: rgba(201,168,76,0.25);
}
[data-theme="dark"] .cart-item:hover { background: rgba(40,30,10,0.9); }
[data-theme="dark"] .cart-item-info h4 { color: var(--gold); }
[data-theme="dark"] .cart-item-info p,
[data-theme="dark"] .cart-empty p,
[data-theme="dark"] .summary-row { color: rgba(255,255,255,0.75); }
[data-theme="dark"] .cart-summary h3 { color: var(--gold); }
[data-theme="dark"] .input-field {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(201,168,76,0.4);
}

/* ===== RESPONSIVE (Bootstrap-augmented) ===== */
@media (max-width: 1024px) {
  .cart-summary { position: static; }
}

@media (max-width: 768px) {
  .cart-hero { padding: 50px 20px 38px; }
  .cart-container { padding: 18px; }
  .cart-summary { padding: 18px; }
  .cart-item {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }
  .cart-item-img { width: 76px; height: 76px; }
  .remove-btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .remove-text { display: inline; }
  .cart-empty i { font-size: 70px; }
}

@media (max-width: 480px) {
  .cart-hero { padding: 38px 16px 28px; }
  .cart-item { padding: 14px; }
  .cart-item-info h4 { font-size: 14px; }
  .cart-summary h3 { font-size: 18px; }
  .summary-row { font-size: 13px; }
  .remove-btn { font-size: 12px; padding: 8px 10px; }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===================================================
   GAMES STORE — Premium Card Styles
   =================================================== */

/* ── Hero Banner ─────────────────────────────────── */


.games-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  color: var(--gold);
  font-weight: 900;
  text-shadow: 0 0 30px rgba(201,168,76,0.5), 2px 2px 6px rgba(0,0,0,0.5);
  letter-spacing: 1px;
  margin-bottom: 14px;
  position: relative;
}

.games-hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: white;
  opacity: 0.85;
  position: relative;
  font-weight: 500;
}

/* ── Section Shell ───────────────────────────────── */
.games-section {
  padding: 50px 30px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Card Grid ───────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

/* ── Individual Card ─────────────────────────────── */
.game-card {
  background: var(--card-bg);
  border: 1.5px solid rgba(201,168,76,0.28);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(201,168,76,0.08) inset;
  animation: cardReveal 0.5s ease both;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.game-card:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: rgba(201,168,76,0.7);
  box-shadow: 0 20px 48px rgba(0,0,0,0.55), 0 0 30px rgba(201,168,76,0.22);
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.game-card:hover::before { opacity: 1; }

/* ── Card Header (Image Area) ─────────────────────── */
.game-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1200, #2e2200);
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25,0.8,0.25,1);
}

.game-card:hover .game-card-img {
  transform: scale(1.1);
}

.game-card-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(to top, rgba(20,16,0,0.95), transparent);
  pointer-events: none;
}

.main-icon {
  font-size: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.geo-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 14px 14px;
  pointer-events: none;
}

/* ── Type Badge ─────────────────────────────────── */
.game-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.badge-physical {
  background: rgba(201,168,76,0.85);
  color: #1a1100;
  border: 1.5px solid rgba(255,240,180,0.6);
}

.badge-digital {
  background: rgba(60,120,255,0.8);
  color: #fff;
  border: 1.5px solid rgba(120,160,255,0.4);
}

/* ── Card Body ───────────────────────────────────── */
.game-card-body {
  padding: 20px 20px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-number {
  font-size: 11px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.game-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.game-desc {
  font-size: 13px;
  color: white;
  font-weight: 400;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Card Footer ─────────────────────────────────── */
.game-card-footer {
  padding: 14px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(201,168,76,0.18);
  gap: 12px;
}

.game-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(201,168,76,0.45);
  white-space: nowrap;
}

.game-price span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
  margin-right: 3px;
}

.btn-game {
  padding: 9px 20px;
  border-radius: 22px;
  border: 1.5px solid var(--gold);
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-game:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1100;
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

/* ── Theme header accents ─────────────────────────── */
.theme-1 { background: linear-gradient(160deg, #1a1500, #2d2400); }
.theme-2 { background: linear-gradient(160deg, #001a10, #00261a); }
.theme-3 { background: linear-gradient(160deg, #1a0f0f, #2d1515); }
.theme-4 { background: linear-gradient(160deg, #0f1020, #141830); }

/* ── Modal Overrides ─────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 5000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}


.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.4);
  color: var(--gold);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255,80,80,0.2);
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: rotate(90deg);
}

.modal-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--gold);
  text-align: center;
  margin: 14px 0;
  text-shadow: 0 0 14px rgba(201,168,76,0.45);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .games-section { padding: 30px 16px 40px; }
  .games-grid    { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
  .game-card-header { height: 170px; }
  .game-title    { font-size: 18px; }
}

@media (max-width: 480px) {
  .games-hero    { padding: 50px 16px 36px; }
  .games-grid    { grid-template-columns: 1fr; gap: 18px; }
  .game-card-header { height: 200px; }
}

/* ── Dark Theme ───────────────────────────────────── */
[data-theme="dark"] .game-card {
  background:  #556B2F;
  border-color: rgba(201,168,76,0.35);
}

[data-theme="dark"] .game-desc {
  color: rgba(244,228,193,0.65);
}

/* =========================================================
   GLOBAL BOOTSTRAP-COMPATIBLE RESPONSIVE RULES
   ========================================================= */


/* Hero section */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem !important; }
  .hero-content p  { font-size: 0.9rem; }
  .hero-btns { flex-direction: column; gap: 10px; align-items: center; }
  .hero-btns button { width: 90%; max-width: 280px; }
}

/* About grid */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr !important; }
}

/* Promo grid */
@media (max-width: 768px) {
  .promo-grid { grid-template-columns: 1fr !important; }
}

/* Sponsors grid */
@media (max-width: 576px) {
  .sponsors-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 360px) {
  .sponsors-grid { grid-template-columns: 1fr !important; }
}

/* Stats strip */
@media (max-width: 576px) {
  .stats-strip { flex-wrap: wrap; gap: 0; }
  .stat-item { width: 50%; padding: 18px 10px; }
}

/* Games grid */
@media (max-width: 768px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; gap: 18px; }
  .games-section { padding: 28px 14px 40px; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .game-card-header { height: 190px; }
  .games-hero { padding: 46px 14px 32px; }
}

/* News grid */
@media (max-width: 768px) {
  .news-grid-layout { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; gap: 18px; }
}
.news-search-box input {
  color: white !important;
}

.news-read-more {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1100;
  border: 1.5px solid var(--gold);
  padding: 9px 20px;
  border-radius: 22px;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.news-read-more:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1100;
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

@media (max-width: 480px) {
  .news-grid-layout { grid-template-columns: 1fr !important; }
  .news-filter-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .news-search-box input { width: 140px; color: white; }
}

/* Modal responsive */
@media (max-width: 600px) {
  .modal { padding: 20px 16px; }
  .news-modal-box { border-radius: 14px; }
  .news-modal-body { padding: 18px 16px 22px; }
  .news-modal-title { font-size: 1.3rem; }
}

/* Footer responsive */
@media (max-width: 576px) {
  footer { padding: 30px 18px; }
  .footer-social { gap: 12px; flex-wrap: wrap; justify-content: center; }
}
