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

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

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: #8a6f2e;
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #161616;
  --surface: #1a1a1a;
  --border: rgba(201,168,76,0.15);
  --text: #e8e4dc;
  --text-dim: #7a7570;
  --text-muted: #4a4642;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }
::selection { background: var(--gold); color: #000; }


/* ── PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080600;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,.06) 0%, transparent 60%);
  animation: preloaderPulse 3s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.04); }
}
.preloader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.preloader-logo-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo {
  width: 150px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: preloaderLogoPulse 2s ease-in-out infinite;
}
@keyframes preloaderLogoPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(201,168,76,.5)); }
  50%       { filter: drop-shadow(0 0 22px rgba(201,168,76,1)) drop-shadow(0 0 40px rgba(201,168,76,.3)); }
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.35);
  animation: preloaderSpin 3s linear infinite;
}
.preloader-ring::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 6px 2px rgba(201,168,76,.8);
}
.preloader-ring--2 {
  inset: 8px;
  border-color: rgba(201,168,76,.15);
  animation-duration: 5s;
  animation-direction: reverse;
}
.preloader-ring--2::before {
  background: rgba(201,168,76,.4);
  box-shadow: none;
}
@keyframes preloaderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.preloader-name {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .1em;
  animation: preloaderFadeIn .8s .2s both;
}
.preloader-name .p1 { color: #fff; }
.preloader-name .p2 { color: var(--gold); margin-left: .4rem; }
.preloader-bar-wrap {
  width: 160px;
  height: 1px;
  background: rgba(201,168,76,.15);
  border-radius: 2px;
  overflow: hidden;
  animation: preloaderFadeIn .8s .3s both;
}
.preloader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c9a84c, #f0d080, #c9a84c);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: preloaderBarShimmer 1s .4s linear infinite;
}
@keyframes preloaderBarFill {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes preloaderBarShimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.preloader-tagline {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(201,168,76,.5);
  animation: preloaderFadeIn .8s .5s both;
}
@keyframes preloaderFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.preloading { overflow: hidden; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center; /* center the links */
  padding: 0 3rem;
  height: 68px;
  background: rgba(8,8,8,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
    position: absolute;
  left: 3rem;
}
.navbar-links { display: flex; gap: 0.25rem; list-style: none; }
.navbar-links a.nav-link {
  position: relative;
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.10);
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.navbar-links a.nav-link:hover {
  color: #ffffff81;
  background: rgba(255, 255, 255, 0.14);
}
.navbar-links a.nav-link:hover::after {
  left: 0.85rem;
  right: 0.85rem;
}
.navbar-links a.nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.28);
}

.navbar-actions {
  position: absolute;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.navbar-review-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.navbar-review-btn:hover {
  border-color: rgba(201,168,76,0.45);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}
.navbar-review-btn i { font-size: 0.75rem; }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  background: var(--gold);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.navbar-cta i { font-size: 0.85rem; }
.navbar-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(180deg, #080808 0%, #0a0906 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 0 2rem;
  animation: heroIn 1.2s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold); opacity: 0.5;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.3rem;
}
.hero-title span { color: var(--gold); display: block; }
.hero-sub {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.25); }
.btn-outline {
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid var(--gold);
  transition: all 0.25s;
}
.btn-outline:hover { background: rgba(201,168,76,0.1); transform: translateY(-2px); }
.hero-stats {
  position: absolute;
  bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4rem;
  white-space: nowrap;
}
.stat { text-align: center; }
.stat-num { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.stat-label { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }

@media (max-width: 768px) {
    
  .navbar-actions {
  right: 1rem;
  }
  
  .navbar-brand {
      left: 1rem;
  }
  
  .hero {
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }
  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 2rem;
    width: 100%;
  }
  .hero-title { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .hero-sub { letter-spacing: 0.15em; font-size: 0.7rem; }
  .hero-desc { font-size: 0.84rem; }
  .hero-actions { gap: 0.75rem; }
  .btn-primary, .btn-outline { padding: 0.85rem 1.5rem; font-size: 0.67rem; }

  /* Stats: leave absolute positioning, push below content */
  .hero-stats {
    position: relative;
    bottom: auto; left: auto;
    transform: none;
    width: 100%;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    flex-shrink: 0;
  }
  .stat {
    flex: 1;
    padding: 0 1rem;
    border-right: 1px solid var(--border);
  }
  .stat:last-child { border-right: none; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.55rem; }
}

/* ── SECTION ── */
.section { 
    padding: 6rem 0;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section-title { font-family: 'Cinzel', serif; font-size: clamp(1.8rem,4vw,3rem); font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.section-desc { font-size: 0.9rem; color: var(--text-dim); max-width: 500px; margin: 0 auto; line-height: 1.7; }
.divider { width: 60px; height: 2px; background: linear-gradient(90deg,transparent,var(--gold),transparent); margin: 1.5rem auto; }

/* ── FILTER TABS ── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 3rem; }
.filter-tab {
    padding: 0.5rem 1.2rem;
    font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-dim); background: rgba(255,255,255,0.07);
    border: 1px solid transparent; border-radius: 3px;
    cursor: pointer; transition: all 0.2s;
  }
  .filter-tab:hover { color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.11); border-color: transparent; }
  .filter-tab.active { color: var(--gold); background: rgba(201,168,76,0.2); border-color: rgba(201,168,76,0.35); }
  

/* ── GALLERY PANELS ── */
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

/* ── IMAGE GRID ── */
.grid-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}
.grid-images.compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.grid-images.wide { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.grid-item {
  position: relative; overflow: hidden;
  background: var(--surface); cursor: pointer;
  aspect-ratio: 16/10;
}
.grid-item.auto-height { aspect-ratio: unset; min-height: 140px; }
.grid-item.widescreen { aspect-ratio: 16/9; }
.grid-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  display: block;
}
.grid-item.contain img { object-fit: contain; background: #0d0d0d; }
.grid-item:hover img { transform: scale(1.06); }
.grid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.grid-item:hover .grid-overlay { opacity: 1; }
.overlay-title { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 600; color: #fff; }
.overlay-meta { font-size: 0.62rem; color: var(--gold); letter-spacing: 0.1em; margin-top: 0.2rem; }
.img-count {
  position: absolute; top: 0.7rem; right: 0.7rem;
  background: rgba(0,0,0,0.75); border: 1px solid var(--border);
  padding: 0.2rem 0.5rem; font-size: 0.58rem; color: var(--gold); border-radius: 2px;
}

/* ── ANIMATED BANNERS SPECIFIC ── */
/* ── ANIMATED BANNERS SPECIFIC ── */
#panel-anibanners .grid-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 4px;
    align-items: start;
  }
  #panel-anibanners .grid-item {
    aspect-ratio: unset;
    height: 200px;
  }
  #panel-anibanners .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    background: #0d0d0d;
  }

  #panel-npc .grid-images {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  

  #panel-npc .grid-item {
    aspect-ratio: 3/4;
  }

  #panel-npc .grid-item img {
    object-fit: contain;
    background: #0d0d0d;
  }
  
  @media (max-width: 768px) {
    #panel-npc .grid-images {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  #panel-icons .grid-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 4px;
    align-items: start;
  }
  #panel-icons .grid-item {
    aspect-ratio: unset;
    height: 200px;
  }
  #panel-icons .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    background: #0d0d0d;
  }

  /* ── COMMUNITY BOARDS SPECIFIC ── */
    #panel-cb .grid-item {
        aspect-ratio: 16/9;
    }

/* ── WEBSITE GRID ── */
.website-card {
  position: relative; overflow: hidden;
  background: var(--surface); cursor: pointer; aspect-ratio: 16/9;
}
.website-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), filter 0.3s; display: block; }
.website-card:hover img { transform: scale(1.05); filter: brightness(0.85); }
.website-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
}
.website-title { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700; color: #fff; }
.website-url { font-size: 0.68rem; color: var(--gold); margin-top: 0.3rem; }
.website-date { font-size: 0.6rem; color: var(--text-muted); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.1em; }
.website-visit {
  position: absolute; top: 1rem; right: 1rem;
  opacity: 0; transition: opacity 0.3s;
  background: var(--gold); color: #000;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.4rem 0.8rem;
  border-radius: 2px; text-decoration: none;
}
.website-card:hover .website-visit { opacity: 1; }

/* ── VIDEO GRID ── */
.video-item {
  position: relative; overflow: hidden;
  background: var(--surface); cursor: pointer; aspect-ratio: 16/9;
}
.video-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.video-item:hover .video-overlay { background: rgba(0,0,0,0.3); }
.play-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(201,168,76,0.9);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.play-btn svg { margin-left: 4px; }
.video-item:hover .play-btn { background: var(--gold); transform: scale(1.1); }
.video-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.2rem;
}
.video-label-title { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 600; color: #fff; }

/* ── ABOUT ── */
.about-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    min-height: 100vh;
  }
  .about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }
  
  .about-section .about-inner {
    margin: auto;
  }

  /* Image */
  .about-img-wrap {
    position: relative;
  }
  .about-img-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
  }
  .about-img-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .about-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(201,168,76,0.2);
    z-index: 2;
    pointer-events: none;
  }
  .about-img {
    width: 100%;
    display: block;
    border-radius: 4px;
    filter: grayscale(15%);
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), filter 0.4s;
  }
  .about-img-wrap {
    max-width: 550px;
    margin: 0 auto;
  }
  .about-img-wrap:hover .about-img {
    transform: scale(1.03);
    filter: grayscale(0%);
  }
  .about-img-badge {
    position: absolute;
    bottom: -1.2rem;
    right: -1.2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1rem 1.4rem;
    text-align: center;
    z-index: 3;
    backdrop-filter: blur(8px);
  }
  .about-img-badge-num {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
  }
  .about-img-badge-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    display: block;
    margin-top: 0.3rem;
  }
  
  /* Text */
  .about-text h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  .about-text p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.9;
    margin-bottom: 1.2rem;
  }
  
  /* Mini stats row */
  .about-stats {
    display: flex;
    gap: 0;
    margin: 2rem 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }
  .about-stat {
    flex: 1;
    padding: 1rem;
    text-align: center;
    border-right: 1px solid var(--border);
    background: rgba(201,168,76,0.03);
    transition: background 0.2s;
  }
  .about-stat:last-child { border-right: none; }
  .about-stat:hover { background: rgba(201,168,76,0.07); }
  .about-stat-num {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
  }
  .about-stat-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-top: 0.2rem;
  }
  
  /* Skills */
  .skills-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .skill-tag {
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--border);
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    border-radius: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .skill-tag:hover { color: var(--gold); border-color: rgba(201,168,76,0.4); }
  
  @media (max-width: 900px) {
    .about-inner { grid-template-columns: 1fr; gap: 4rem; }
    .about-img-badge { bottom: -1rem; right: -0.5rem; }
  }

/* ── REVIEWS SECTION ─────────────────────────────────────────────────────── */
.reviews-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 100vh;
  display: grid;
  align-content: center;
    position: relative;
  overflow: hidden;
}

.reviews-bg-glow {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}

.reviews-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  box-sizing: border-box;
}

/* Left column */
.reviews-left { display: flex; flex-direction: column; gap: 1.5rem; }

.reviews-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 0;
}
.reviews-desc {
  font-size: 0.9rem; color: var(--text-dim);
  line-height: 1.9; margin: 0;
}
.reviews-stats {
  display: flex; gap: 0;
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden;
}
.reviews-stat {
  flex: 1; padding: 0.9rem 1rem; text-align: center;
  border-right: 1px solid var(--border);
  background: rgba(201,168,76,0.03); transition: background 0.2s;
}
.reviews-stat:last-child { border-right: none; }
.reviews-stat:hover { background: rgba(201,168,76,0.07); }
.reviews-stat-num {
  font-family: 'Cinzel', serif; font-size: 1.4rem;
  font-weight: 700; color: var(--gold); display: block;
}
.reviews-stat-label {
  font-size: 0.58rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
  display: block; margin-top: 0.2rem;
}
.reviews-leave-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--border); border-radius: 3px;
  background: transparent; color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s; width: fit-content;
}
.reviews-leave-btn:hover {
  border-color: rgba(201,168,76,0.5); color: var(--gold);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 4px 16px rgba(201,168,76,0.12);
}
.reviews-leave-btn i { font-size: 0.85rem; }

/* Right column — carousel */
.reviews-right { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.reviews-carousel-wrap { position: relative; overflow: hidden; }
.reviews-track {
  display: flex; gap: 1.2rem;
}

/* Card */
.review-card {
  flex-shrink: 0; box-sizing: border-box;
  background: rgba(201,168,76,0.03);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
  border-left: 2px solid rgba(201,168,76,0.35);
  transition: border-color 0.2s, background 0.2s;
}
.review-card:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.5);
}
.review-card-top { display: flex; gap: 1rem; align-items: flex-start; }
.review-logo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--border); flex-shrink: 0;
}
.review-logo-fallback {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(201,168,76,0.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.review-meta { flex: 1; min-width: 0; }
.review-server {
  font-size: 0.92rem; font-weight: 700; color: #fff;
  margin-bottom: 0.15rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 180px;
}
.review-server-link { color: #fff; text-decoration: none; transition: color 0.2s; }
.review-server-link:hover { color: var(--gold); }
.review-author {
  font-size: 0.68rem; color: var(--text-muted); margin-bottom: 0.3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 180px;
}
.review-stars { display: flex; gap: 0.12rem; }
.star-filled { color: var(--gold); font-size: 0.72rem; }
.star-empty  { color: var(--text-muted); font-size: 0.72rem; }
.review-text {
  font-size: 0.82rem; color: var(--text-dim);
  line-height: 1.65; font-style: italic;
  border-top: 1px solid var(--border); padding-top: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.review-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.review-read-more {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
  cursor: pointer; margin-top: 0.4rem;
  opacity: 0.7; transition: opacity 0.2s;
  display: none;
}
.review-read-more:hover { opacity: 1; }
.review-read-more.visible { display: block; }

.review-date {
  font-size: 0.65rem; color: var(--text-muted);
  letter-spacing: 0.06em; display: flex;
  align-items: center; gap: 0.35rem;
  margin-top: 0.5rem;
}

/* Carousel controls row */
.reviews-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.2rem;
}
.reviews-dots { display: flex; gap: 0.4rem; align-items: center; }
.reviews-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--border); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.reviews-dot.active { background: var(--gold); transform: scale(1.4); }
.reviews-arrows { display: flex; gap: 0.5rem; }
.reviews-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; transition: all 0.2s;
}
.reviews-arrow:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.4); color: var(--gold);
}

@media (max-width: 768px) {
  .review-text {
    display: block;
    max-height: calc(1.65em * 5);
    overflow: hidden;
    cursor: pointer;
    transition: max-height 0.35s ease;
    font-size: 0.82rem; /* force explicit — prevents mobile font inflation */
    -webkit-text-size-adjust: 100%; /* stops iOS auto-enlarging text */
    text-size-adjust: 100%;
  }
  .review-text.expanded {
    max-height: 600px;
  }
  
.reviews-carousel-wrap {
  overflow: hidden;
  touch-action: pan-y; /* browser handles vertical scroll, JS handles horizontal */
}
  
}

/* Empty state */
.reviews-empty {
  text-align: center; padding: 3rem;
  color: var(--text-muted); font-size: 0.85rem;
}
.reviews-empty i { font-size: 2rem; margin-bottom: 0.8rem; display: block; color: var(--gold); opacity: 0.4; }

/* ── REVIEW MODAL ──────────────────────────────────────────────────────────── */
.review-modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.review-modal-backdrop.open { display: flex; }
.review-modal-box {
  background: var(--bg2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px; width: 100%; max-width: 680px;
  max-height: 90vh; overflow-y: auto; padding: 2rem 2.2rem;
  position: relative;
}

.review-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 50%; width: 30px; height: 30px;
  color: var(--text-dim); cursor: pointer; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.review-modal-close:hover { background: rgba(201,168,76,0.1); color: var(--gold); border-color: rgba(201,168,76,0.3); }

.review-modal-close i {
    margin-top: 3px;
}

.review-modal-header { margin-bottom: 1.6rem; padding-right: 2rem; }
.review-form-title {
  font-family: 'Cinzel', serif; font-size: 1.1rem;
  font-weight: 700; color: #fff; margin-bottom: 0.3rem;
}
.review-form-sub { font-size: 0.78rem; color: var(--text-dim); }

/* Form */
.rf-row { display: flex; gap: 1.2rem; }
.rf-row--2 > .rf-field { flex: 1; min-width: 0; }
.rf-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.rf-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
}
.rf-req { color: var(--gold); }
.rf-optional, .rf-hint { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.58rem; }
.rf-input, .rf-textarea {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 3px; padding: 0.6rem 0.85rem;
  font-family: 'Rajdhani', sans-serif; font-size: 0.85rem;
  color: var(--text); outline: none;
  transition: border-color 0.2s; width: 100%;
}
.rf-input:focus, .rf-textarea:focus { border-color: rgba(201,168,76,0.35); }
.rf-textarea { resize: vertical; min-height: 100px; }
.rf-char-count { font-size: 0.6rem; color: var(--text-muted); text-align: right; margin-top: 0.15rem; }
.rf-upload {
  display: block; cursor: pointer;
  border: 1px dashed var(--border); border-radius: 4px;
  overflow: hidden; transition: border-color 0.2s; position: relative;
}
.rf-upload:hover { border-color: rgba(201,168,76,0.4); }
.rf-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.rf-upload-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; padding: 1.2rem 1rem;
  color: var(--text-muted); font-size: 0.75rem; pointer-events: none;
}
.rf-upload-inner i { font-size: 1.3rem; color: var(--gold); opacity: 0.7; }
.rf-logo-preview { width: 100%; max-height: 80px; object-fit: contain; display: none; padding: 0.5rem; }
.rf-logo-preview.show { display: block; }
.rf-stars { display: flex; gap: 0.25rem; }
.rf-star {
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--text-muted);
  padding: 0; transition: color 0.15s, transform 0.15s;
}
.rf-star:hover, .rf-star.active { color: var(--gold); transform: scale(1.15); }
.rf-actions { display: flex; justify-content: flex-end; margin-top: 0.5rem; }
.rf-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; background: var(--gold); color: #000;
  font-family: 'Rajdhani', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; border-radius: 3px; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.rf-submit:hover { background: var(--gold-light, #d4b86a); transform: translateY(-1px); }
.rf-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.rf-errors {
  background: rgba(220,50,50,0.07); border: 1px solid rgba(220,50,50,0.2);
  border-radius: 3px; padding: 0.8rem 1rem;
  font-size: 0.78rem; color: #f08080; margin-bottom: 1rem;
}
.rf-errors ul { margin: 0; padding-left: 1.2rem; }
.rf-success {
  background: rgba(50,200,80,0.06); border: 1px solid rgba(50,200,80,0.2);
  border-radius: 3px; padding: 0.85rem 1rem;
  font-size: 0.82rem; color: #6dba82;
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .reviews-inner-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .reviews-inner-grid { padding: 0 1.2rem; }
  .rf-row--2 { flex-direction: column; }
  .review-modal-box { padding: 1.4rem 1rem; }
}

/* ── CTA ── */
.navbar-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.1);
  transition: opacity 0.2s;
}
.navbar-brand:hover .navbar-logo { opacity: 0.8; }

/* ── CONTACT SECTION ── */
.cta-section {
    position: relative;
    overflow: hidden;
    background: var(--bg2);
    padding: 8rem 0;
    border-top: 1px solid var(--border);
    min-height: 100vh;
    display: grid;
    align-content: center;
  }
  
  .cta-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    box-sizing: border-box;
  }

.cta-bg-glow {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 6rem; 
  align-items: center;
}
.cta-left .section-label { margin-bottom: 1rem; }
.cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 1.5rem;
}
.cta-desc {
  font-size: 0.88rem; color: var(--text-dim);
  line-height: 1.85; margin-bottom: 2.5rem; max-width: 420px;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.cta-discord-banner {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-left: 4px solid rgba(201,168,76,0.4);
  border-radius: 8px 4px 4px 8px;
  transition: border-color 0.3s ease;
}
.cta-discord-banner:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.14) 0%, transparent 70%);
  border-color: rgba(201,168,76,0.8);
}
.cta-discord-banner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cta-discord-banner-icon {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}
  .cta-discord-banner-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
  }
  .cta-discord-banner-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.5;
  }
  .cta-discord-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    background: var(--gold);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    flex-shrink: 0;
    transition: all 0.25s;
  }
  .cta-discord-banner-btn:hover {
    background: #e0c060;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
  }
  .cta-discord-banner-btn i { font-size: 1rem; }
  
  @media (max-width: 600px) {
    .cta-discord-banner {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
    }
    .cta-discord-banner-btn { width: 100%; justify-content: center; }
  }

.cta-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cta-info-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  border-left: 2px solid rgba(201,168,76,0.4);
  border-radius: 6px 4px 4px 6px;
  background: linear-gradient(90deg, rgba(128,98,17,0.06) 0%, transparent 100%);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.cta-info-item:hover {
  background: linear-gradient(90deg, rgba(201,168,76,0.15) 0%, transparent 100%);
  border-color: rgba(201,168,76,0.9);
}

  .cta-info-item:last-child { border-bottom: none; }
  .cta-info-icon {
    font-size: 1rem;
    color: var(--gold);
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
  }
  .cta-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }
  .cta-info-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
  }
  .cta-info-value {
    font-size: 0.85rem;
    font-weight: 500;

    color: var(--text-dim);
  }

/* ── FOOTER ── */
.footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 1.6rem 3rem;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .footer-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.7);
    display: block;
    flex-shrink: 0;
    transition: filter 0.2s;
    cursor: pointer;
  }
  .footer-logo:hover { filter: brightness(1); }
  .footer-credit {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .footer-copy {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    opacity: 0.6;
  }
  @media (max-width: 600px) {
    .footer { padding: 1.5rem; }
    .footer-inner { flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
  }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.96);
  align-items: center; justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner {
  position: relative; max-width: 1100px; width: 100%;
  animation: scaleIn 0.25s cubic-bezier(0.22,1,0.36,1);
}
@keyframes scaleIn { from { opacity:0; transform:scale(0.94); } to { opacity:1; transform:scale(1); } }
.lightbox-close {
  position: absolute; top: -3rem; right: 0;
  background: none; border: none; color: var(--text-dim);
  font-size: 1.5rem; cursor: pointer; padding: 0.5rem; transition: color 0.2s;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain; display: block; margin: 0 auto; border-radius: 2px;
}
.lightbox-video { max-width: 100%; max-height: 78vh; width: 100%; border-radius: 2px; display: block; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(201,168,76,0.12); border: 1px solid var(--border);
  color: var(--gold); width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 2px; transition: all 0.2s; font-size: 1.4rem;
}
.lightbox-nav:hover { background: rgba(201,168,76,0.28); }
.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }
.lightbox-info { text-align: center; margin-top: 1.2rem; }
.lightbox-title { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 600; color: #fff; }
.lightbox-meta { font-size: 0.68rem; color: var(--gold); margin-top: 0.25rem; letter-spacing: 0.1em; text-transform: uppercase; }
.lightbox-dots { display: flex; gap: 0.4rem; justify-content: center; margin-top: 0.8rem; }
.lightbox-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); cursor: pointer; transition: background 0.2s; border: none; }
.lightbox-dot.active { background: var(--gold); }

/* ── LOGO GRID SPECIFIC ── */
#panel-logos .grid-item {
  background: #0d0d0d;

}
#panel-logos .grid-item img {
  object-fit: cover;

  filter: none;
}
#panel-logos .grid-item:hover img {
  transform: scale(1.06);
}
.lightbox-iframe-wrap {
  width: 100%;
  height: 78vh;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  background: #111;
  display: none;
}
.lightbox-iframe-wrap.show { display: block; }
.lightbox-iframe {
  width: 1440px;
  height: 900px;
  border: none;
  position: absolute;
  top: 0; left: 0;
  transform-origin: top left;
  background: #111;
}
.lb-iframe-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  margin-bottom: 0.5rem;
}
.lb-iframe-bar.show { display: flex; }
.lb-iframe-url {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.lb-iframe-open {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}
.lightbox-iframe-open:hover { background: var(--gold-light); }


@media (max-width: 767px) {
  .lightbox-iframe {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    left: 0 !important;
    position: absolute;
  }
  .lightbox-iframe-wrap {
    height: 75vh;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 1.5rem; }
  .navbar-links { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { gap: 2rem; }
  .lightbox-prev { left: -0.5rem; }
  .lightbox-next { right: -0.5rem; }
  .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .grid-images { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); }
  .grid-images.wide { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; gap: 0.5rem; bottom: 0; }
  .cta-right { grid-template-columns: 1fr; }
  .cta-section { padding: 5rem 1.5rem; }
}
/* --- MARKETING PLANS STYLES (GIGANTE & PREMIUM) --- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    padding-bottom: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 1200px) {
    .plans-grid { gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .plans-grid { grid-template-columns: 1fr; }
}

.plan-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    width: 100%;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.plan-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 168, 76, 0.1);
}

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

.plan-tag {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid rgba(201, 168, 76, 0.2);
    align-self: center;
}

.plan-name {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 900;
}

.plan-price {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    letter-spacing: 0.05em;
    opacity: 1;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
    text-align: center;
}

.plan-price-duration {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(232, 228, 220, 0.7);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    display: block;
    animation: pulseDuration 2.5s ease-in-out infinite;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@keyframes pulseDuration {
    0%, 100% {
        background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
        box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
    }
    50% {
        background: linear-gradient(135deg, rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.1));
        box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
    }
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 4rem 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    color: rgba(232, 228, 220, 0.7);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.plan-features li i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(201, 168, 76, 0.5));
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
    text-align: center;
}

.btn-plan:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 10px 25px rgba(201, 168, 76, 0.4);
}

.plan-card.featured {
    border: 2px solid var(--gold);
    background: rgba(201, 168, 76, 0.04);
}

.plan-card.featured .plan-tag {
    background: var(--gold);
    color: #000;
}

.plan-card.elite {
    background: linear-gradient(145deg, rgba(201, 168, 76, 0.08), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-card.elite .plan-name {
    background: linear-gradient(90deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan-divider { width: 100%; max-width: 200px; height: auto; margin: 1rem auto; opacity: 0.8; }


/* ── TRAFFIC BADGE ── */
.plan-traffic-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.05) 100%);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    animation: trafficPulse 2s ease-in-out infinite;
}

@keyframes trafficPulse {
    0%, 100% {
        border-color: rgba(201, 168, 76, 0.3);
        background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.05) 100%);
    }
    50% {
        border-color: rgba(201, 168, 76, 0.6);
        background: linear-gradient(135deg, rgba(201, 168, 76, 0.25) 0%, rgba(201, 168, 76, 0.1) 100%);
    }
}

.traffic-icon {
    font-size: 2rem;
    animation: trafficBounce 1.5s ease-in-out infinite;
}

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

.traffic-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.3rem;
}

.traffic-label {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.traffic-platforms {
    font-size: 0.75rem;
    color: rgba(232, 228, 220, 0.7);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .plan-traffic-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .traffic-text {
        text-align: center;
    }
    
    .traffic-icon {
        font-size: 1.5rem;
    }
}
