/* =========================================
   ALCHEMIST GAMING — ENHANCED HOMEPAGE CSS
   ========================================= */

/* ---- Animated Counter Section ---- */
.ag-stats-section {
  background: linear-gradient(135deg, #050910 0%, #0D1018 50%, #0B1420 100%);
  padding: 70px 8%;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212,175,55,0.12);
  border-bottom: 1px solid rgba(212,175,55,0.12);
}
.ag-stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.ag-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.ag-stat-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.ag-stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.ag-stat-item:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(212,175,55,0.04); }
.ag-stat-item:hover::after { transform: scaleX(1); }
.ag-stat-icon { font-size: 28px; color: var(--gold); margin-bottom: 12px; }
.ag-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.ag-stat-number span { color: var(--gold); }
.ag-stat-label {
  font-size: 13px;
  color: #A0AAB5;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ---- Featured Games Section ---- */
.ag-games-section {
  padding: 80px 8%;
  background: #080C15;
}
.ag-section-label {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.ag-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.ag-section-sub {
  color: #A0AAB5;
  font-size: 15px;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 50px;
}
.ag-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.ag-game-card {
  background: #0D1018;
  border: 1px solid #1f293a;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  cursor: default;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
}
.ag-game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212,175,55,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.ag-game-card:hover { border-color: var(--gold); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.12); }
.ag-game-card:hover::before { opacity: 1; }
.ag-game-icon {
  width: 70px; height: 70px;
  border-radius: 16px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 30px;
  color: var(--gold);
  transition: all 0.3s ease;
}
.ag-game-card:hover .ag-game-icon { background: rgba(212,175,55,0.15); transform: scale(1.1); }
.ag-game-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ag-game-tag {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.ag-game-badge {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--gold);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Marquee Ticker ---- */
.ag-ticker-wrap {
  background: #050910;
  border-top: 1px solid rgba(212,175,55,0.12);
  border-bottom: 1px solid rgba(212,175,55,0.12);
  padding: 12px 0;
  overflow: hidden;
}
.ag-ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ag-marquee 35s linear infinite;
  will-change: transform;
}
.ag-ticker-inner:hover { animation-play-state: paused; }
@keyframes ag-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ag-ticker-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.ag-ticker-inner span:hover { color: var(--gold); }
.ag-ticker-dot {
  color: var(--gold) !important;
  font-size: 8px !important;
  padding: 0 6px !important;
}

/* ---- Why Choose Us ---- */
.ag-why-section {
  padding: 90px 8%;
  background: #0D1018;
}
.ag-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}
.ag-why-card {
  background: #131720;
  border: 1px solid #1f293a;
  border-radius: 14px;
  padding: 35px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.ag-why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}
.ag-why-card:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.ag-why-card:hover::after { transform: scaleY(1); }
.ag-why-icon {
  width: 56px; height: 56px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 20px;
  transition: all 0.3s;
}
.ag-why-card:hover .ag-why-icon { background: rgba(212,175,55,0.15); }
.ag-why-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ag-why-desc { font-size: 13.5px; color: #A0AAB5; line-height: 1.7; }

/* ---- CTA Banner ---- */
.ag-cta-section {
  position: relative;
  padding: 90px 8%;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1420 40%, #111820 100%);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.ag-cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ag-cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(212,175,55,0.025) 0px, rgba(212,175,55,0.025) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(212,175,55,0.025) 0px, rgba(212,175,55,0.025) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.ag-cta-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.ag-cta-badge {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.ag-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
.ag-cta-title .gold { color: var(--gold); }
.ag-cta-desc { color: #A0AAB5; font-size: 15px; margin-bottom: 36px; line-height: 1.7; }
.ag-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ag-btn-gold-lg {
  background: var(--gold);
  color: #000;
  padding: 15px 36px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 24px rgba(212,175,55,0.3);
}
.ag-btn-gold-lg:hover { background: #fff; box-shadow: 0 8px 30px rgba(212,175,55,0.4); transform: translateY(-2px); }
.ag-btn-outline-lg {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 15px 36px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.ag-btn-outline-lg:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Popup Improvements ---- */
.ag-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ag-popup-box {
  background: #131720;
  border: 1.5px solid rgba(212,175,55,0.3);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
  box-shadow: 0 0 60px rgba(212,175,55,0.15), 0 30px 80px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: ag-popIn 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes ag-popIn {
  from { transform: translateY(30px) scale(0.92); opacity: 0; }
  to   { transform: translateY(0)   scale(1);    opacity: 1; }
}
.ag-popup-img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.ag-popup-body { padding: 30px 28px 28px; }
.ag-popup-title {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.ag-popup-text { color: #ccc; margin-bottom: 24px; line-height: 1.7; font-size: 14px; }
.ag-popup-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ag-popup-tick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}
.ag-popup-tick-btn:hover { background: #fff; transform: translateY(-2px); }
.ag-popup-tick-btn i {
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.ag-popup-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}
.ag-popup-link-btn:hover { background: rgba(212,175,55,0.08); border-color: var(--gold); }
.ag-popup-close-x {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  line-height: 1;
}
.ag-popup-close-x:hover { background: rgba(212,175,55,0.15); color: var(--gold); border-color: var(--gold); }

/* ---- Section center layout ---- */
.ag-section-center { text-align: center; max-width: 1200px; margin: 0 auto; }
.ag-section-center .ag-section-sub { margin: 0 auto 50px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ag-games-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .ag-games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ag-game-card { padding: 20px 14px; }
  .ag-why-grid { grid-template-columns: 1fr; }
}

/* =========================================
   SHARED INNER PAGE COMPONENTS
   ========================================= */

/* ---- Premium Page Hero Banner ---- */
.ag-page-hero {
  position: relative;
  padding: 90px 8% 70px;
  background: linear-gradient(135deg, #050910 0%, #080d1a 60%, #0a1020 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  text-align: center;
}
.ag-page-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.ag-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(212,175,55,0.02) 0px, rgba(212,175,55,0.02) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(212,175,55,0.02) 0px, rgba(212,175,55,0.02) 1px, transparent 1px, transparent 80px);
  pointer-events: none;
}
.ag-page-hero-inner { position: relative; z-index: 2; }
.ag-page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.ag-page-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.ag-page-breadcrumb a:hover { color: var(--gold); }
.ag-page-breadcrumb span { color: var(--gold); }
.ag-page-label {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.ag-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.ag-page-title .gold { color: var(--gold); }
.ag-page-desc {
  color: #A0AAB5;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Gold Divider ---- */
.ag-gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
  margin: 0;
  border: none;
}

/* ---- Section Wrapper ---- */
.ag-inner-section {
  padding: 80px 8%;
  max-width: 1300px;
  margin: 0 auto;
}

/* =========================================
   SERVICES PAGE — PREMIUM CARDS
   ========================================= */
.ag-service-card {
  background: #0D1018;
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: 16px;
  padding: 36px 30px;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ag-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transition: height 0.4s ease;
}
.ag-service-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.06); }
.ag-service-card:hover::before { height: 100%; }
.ag-service-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: rgba(212,175,55,0.12);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.ag-service-card:hover .ag-service-num { color: rgba(212,175,55,0.25); }
.ag-service-icon-box {
  width: 58px; height: 58px;
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 22px;
  transition: all 0.3s ease;
}
.ag-service-card:hover .ag-service-icon-box {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: rotate(-5deg) scale(1.05);
}
.ag-service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ag-service-desc {
  color: #A0AAB5;
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
}

/* =========================================
   MEMBERS PAGE — PREMIUM TEAM CARDS
   ========================================= */
.ag-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.ag-member-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0D1018;
  border: 1px solid rgba(212,175,55,0.1);
  transition: all 0.4s ease;
  cursor: default;
}
.ag-member-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.5); }
.ag-member-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}
.ag-member-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.ag-member-card:hover .ag-member-img img { transform: scale(1.08); }
.ag-member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,9,16,0.96) 0%, rgba(5,9,16,0.5) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.ag-member-card:hover .ag-member-overlay { opacity: 1; }
.ag-member-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}
.ag-member-socials a {
  width: 34px; height: 34px;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.ag-member-socials a:hover { background: var(--gold); color: #000; }
.ag-member-info {
  background: #0F1623;
  padding: 18px 20px;
  border-top: 1px solid rgba(212,175,55,0.08);
}
.ag-member-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.ag-member-role {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   NEWS PAGE — MAGAZINE STYLE
   ========================================= */
.ag-news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.12);
  margin-bottom: 40px;
}
.ag-news-feat-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.ag-news-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; display: block; }
.ag-news-featured:hover .ag-news-feat-img img { transform: scale(1.05); }
.ag-news-feat-body {
  background: #0F1623;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ag-news-feat-badge {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.ag-news-feat-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
.ag-news-feat-title:hover { color: var(--gold); }
.ag-news-feat-excerpt { color: #A0AAB5; font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.ag-news-feat-meta { font-size: 12px; color: rgba(255,255,255,0.35); }
.ag-news-feat-meta span { color: var(--gold); }

.ag-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ag-news-card {
  background: #0D1018;
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.ag-news-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.ag-news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.ag-news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ag-news-card:hover .ag-news-card-img img { transform: scale(1.08); }
.ag-news-card-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.ag-news-card-badge {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.ag-news-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.ag-news-card-title:hover { color: var(--gold); }
.ag-news-card-excerpt { color: #A0AAB5; font-size: 13px; line-height: 1.6; flex-grow: 1; margin-bottom: 16px; }
.ag-news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.ag-news-read-btn {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.ag-news-read-btn:hover { border-color: var(--gold); }

/* =========================================
   GALLERY PAGE
   ========================================= */
.ag-gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.ag-tab-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.15);
  color: rgba(255,255,255,0.6);
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Poppins', sans-serif;
}
.ag-tab-btn:hover, .ag-tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.ag-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.ag-gallery-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.1);
  background: #0D1018;
  transition: all 0.35s ease;
}
.ag-gallery-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
.ag-gallery-img-box {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  display: block;
}
.ag-gallery-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.ag-gallery-card:hover .ag-gallery-img-box img { transform: scale(1.08); }
.ag-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
  gap: 8px;
}
.ag-gallery-img-box:hover .ag-gallery-overlay { opacity: 1; }
.ag-gallery-overlay i { font-size: 28px; color: var(--gold); }
.ag-gallery-overlay span { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.ag-gallery-caption {
  padding: 16px 18px;
}
.ag-gallery-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.ag-gallery-caption p { font-size: 12px; color: #A0AAB5; margin: 0; }

/* =========================================
   PARTNERS PAGE
   ========================================= */
.ag-partners-section-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.ag-partners-section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}
.ag-partners-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,0.4), transparent);
}
.ag-partner-card {
  background: #0D1018;
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s ease;
}
.ag-partner-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.ag-partner-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}
.ag-partner-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.ag-partner-card:hover .ag-partner-img img { transform: scale(1.06); }
.ag-partner-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(212,175,55,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.ag-partner-card:hover .ag-partner-img-overlay { opacity: 1; }
.ag-partner-info {
  background: #0F1623;
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.08);
}
.ag-partner-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.ag-partner-desc { font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.ag-partner-socials { display: flex; justify-content: center; gap: 10px; }
.ag-partner-socials a {
  width: 30px; height: 30px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  transition: all 0.2s;
  text-decoration: none;
}
.ag-partner-socials a:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* =========================================
   FAQ PAGE — ADVANCED ACCORDION
   ========================================= */
.ag-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.ag-faq-item {
  background: #0D1018;
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.ag-faq-item:hover, .ag-faq-item.active { border-color: rgba(212,175,55,0.35); }
.ag-faq-q {
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.ag-faq-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: rgba(212,175,55,0.2);
  font-weight: 700;
  flex-shrink: 0;
  transition: color 0.3s;
  line-height: 1;
}
.ag-faq-item.active .ag-faq-num { color: var(--gold); }
.ag-faq-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex: 1;
  line-height: 1.4;
}
.ag-faq-icon {
  width: 28px; height: 28px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.ag-faq-item.active .ag-faq-icon { background: var(--gold); color: #000; transform: rotate(45deg); border-color: var(--gold); }
.ag-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  color: #A0AAB5;
  font-size: 13.5px;
  line-height: 1.7;
  border-top: 1px solid transparent;
  padding: 0 22px;
}
.ag-faq-item.active .ag-faq-a {
  max-height: 300px;
  padding: 18px 22px;
  border-top: 1px solid rgba(212,175,55,0.08);
}

/* =========================================
   CONTACT PAGE ENHANCEMENTS
   ========================================= */
.ag-contact-info-card {
  background: #0D1018;
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s;
  margin-bottom: 18px;
}
.ag-contact-info-card:hover { border-color: rgba(212,175,55,0.35); transform: translateX(4px); }
.ag-ci-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--gold);
}
.ag-ci-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.ag-ci-value { font-size: 14px; color: #fff; font-weight: 500; }

/* =========================================
   TOURNAMENT PAGE HERO + FILTER
   ========================================= */
.ag-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
}
.ag-filter-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.15);
  color: rgba(255,255,255,0.6);
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ag-filter-btn:hover, .ag-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 4px 18px rgba(212,175,55,0.3);
}
.ag-filter-badge {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
}

/* =========================================
   RESPONSIVE — INNER PAGES
   ========================================= */
@media (max-width: 900px) {
  .ag-news-featured { grid-template-columns: 1fr; }
  .ag-news-feat-img { min-height: 220px; }
  .ag-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ag-members-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ag-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-page-hero { padding: 60px 6% 50px; }
}
@media (max-width: 480px) {
  .ag-members-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ag-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ag-partners-section-title::after { display: none; }
  .ag-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
  .ag-stat-item { padding: 20px 10px !important; }
  .ag-stat-number { font-size: 2rem !important; }
}

/* =========================================
   ANIMATIONS & MICRO-INTERACTIONS (PREMIUM)
   ========================================= */

@keyframes goldPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

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

@keyframes neonGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.5)); }
  50% { filter: drop-shadow(0 0 18px rgba(0, 243, 255, 0.9)); }
}

@keyframes shimmerGlow {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Global Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050910;
}
::-webkit-scrollbar-thumb {
  background: #1A2233;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Animated Pulse Button Class */
.btn-gold-pulse {
  animation: goldPulse 2.5s infinite;
}

/* Floating element helper */
.ag-float-element {
  animation: floatAnim 4s ease-in-out infinite;
}

/* Glassmorphism & Hover elevation card enhancements */
.card, .service-card, .ag-news-card, .ag-member-card, .ag-partner-card, .stat-box {
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover, .service-card:hover, .stat-box:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
}

/* Active Glowing Badges */
.badge-gold-glow {
  background: linear-gradient(90deg, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0.4) 50%, rgba(212,175,55,0.2) 100%);
  background-size: 200% 100%;
  animation: shimmerGlow 3s infinite linear;
}

/* =========================================
   TOP CYBER STATUS BAR
   ========================================= */
.ag-top-cyber-bar {
  background: linear-gradient(90deg, #050910 0%, #0D1424 50%, #050910 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 6px 5%;
  font-size: 12px;
  color: #A0AAB5;
}
.ag-top-cyber-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.ag-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: #FF0055;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 1px;
}
.ag-pulse-dot {
  width: 6px;
  height: 6px;
  background: #FF0055;
  border-radius: 50%;
  box-shadow: 0 0 8px #FF0055;
  animation: goldPulse 1.5s infinite;
}
.ag-tcb-text { margin-left: 10px; color: #fff; font-weight: 500; }
.ag-tcb-right { display: flex; align-items: center; gap: 12px; }
.ag-tcb-link { color: var(--gold); text-decoration: none; font-weight: 600; transition: 0.2s; }
.ag-tcb-link:hover { color: #fff; text-shadow: 0 0 8px var(--gold); }
.ag-tcb-sep { color: #333; }

.ag-sound-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
}
.ag-sound-toggle-btn:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 12px var(--gold);
}

/* =========================================
   MATCH SCOREBOARD WIDGET
   ========================================= */
.ag-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.ag-match-card {
  background: #0D121F;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.ag-match-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}
.ag-match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1E2738;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 12px;
}
.ag-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}
.ag-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.ag-team-badge {
  width: 50px;
  height: 50px;
  background: #141C2E;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
}
.ag-team-name { font-weight: 700; font-size: 14px; color: #fff; text-transform: uppercase; }
.ag-match-vs {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  padding: 0 15px;
}

/* =========================================
   PRO ROSTER / ESPORTS ATHLETE CARDS
   ========================================= */
.ag-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 35px;
}
.ag-roster-card {
  background: linear-gradient(180deg, #0F1625 0%, #090D17 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.ag-roster-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ag-roster-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.2);
}
.ag-roster-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background: #141D30;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.ag-roster-ign { font-size: 20px; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 2px; }
.ag-roster-role { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.ag-roster-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  margin-top: 15px;
  border: 1px solid #1A2335;
}
.ag-rstat-val { font-weight: 700; font-size: 15px; color: #fff; }
.ag-rstat-lbl { font-size: 10px; color: #888; text-transform: uppercase; }

@media (max-width: 768px) {
  .ag-top-cyber-bar { display: none; }
}



