/* ============================================
   L2 TOPSITE - Dark Fantasy Theme
   ============================================ */

:root {
  --bg-primary: #0b0b12;
  --bg-secondary: #12121e;
  --bg-card: #181827;
  --bg-card-hover: #1e1e30;
  --bg-premium: #1a1508;
  --border: #2a2a40;
  --border-gold: #c9a84c;
  --gold: #c9a84c;
  --gold-light: #f0c040;
  --gold-dark: #9a7030;
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-muted: #555570;
  --accent-red: #c0392b;
  --accent-blue: #2980b9;
  --accent-green: #27ae60;
  --accent-purple: #8e44ad;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.3);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================ TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.2;
}

.text-gold { color: var(--gold) !important; }
.text-red { color: var(--accent-red) !important; }
.text-green { color: var(--accent-green) !important; }

/* ============================================ NAVBAR */
.navbar {
  background: linear-gradient(180deg, #0a0a14 0%, #10101a 100%);
  border-bottom: 2px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.logo-icon { color: var(--gold); font-size: 1.3rem; }
.logo-accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-link {
  color: var(--text-secondary);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover { color: var(--gold); background: rgba(201,168,76,0.1); }
.admin-link { color: var(--accent-red) !important; }
.admin-link:hover { background: rgba(192, 57, 43, 0.15) !important; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.3rem 0.5rem 0.3rem 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.16);
  color: var(--text-primary);
  flex-shrink: 1;
}

.nav-account:hover {
  color: var(--text-primary);
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.08);
}

.nav-account-avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201,168,76,0.92), rgba(154,112,48,0.95));
  color: #0f0f16;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.nav-account-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.nav-account-name {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.82rem;
}

.nav-account-role {
  color: var(--text-secondary);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: .85rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.seo-copy-block p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.server-detail-meta-line {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .85rem;
  color: var(--text-muted);
  font-size: .85rem;
}

.nav-logout-form { display: inline-flex; margin: 0; }

.nav-credits {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  white-space: nowrap;
}

@media (max-width: 1380px) {
  .nav-account-role { display: none; }
  .nav-account-name { max-width: 5.75rem; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.3rem;
  cursor: pointer;
  margin-left: auto;
}

/* ============================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a0a;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a0a;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }

.btn-vote {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: white;
}
.btn-vote:hover { background: linear-gradient(135deg, #e74c3c, #ff6b6b); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(231,76,60,0.4); }
.btn-voted { background: #333; color: var(--text-muted); cursor: not-allowed !important; }
.btn-voted:hover { transform: none; box-shadow: none; }

.btn-discord { background: #5865f2; color: white; }
.btn-discord:hover { background: #4752c4; color: white; }

.help-float-btn {
  position: fixed;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2050;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: #5865f2;
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.help-float-btn:hover {
  color: #fff !important;
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.help-float-btn i {
  font-size: 0.96rem;
}
.btn-success { background: var(--accent-green); color: white; }
.btn-success:hover { background: #2ecc71; color: white; }
.btn-danger { background: var(--accent-red); color: white; }
.btn-danger:hover { background: #e74c3c; color: white; }

.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.82rem; }
.btn-lg { padding: 0.8rem 1.8rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; width: 100%; justify-content: center; }
.btn-xs { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================ ALERTS */
.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  border-left: 4px solid;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.alert-success { background: rgba(39,174,96,0.1); border-color: var(--accent-green); color: #2ecc71; }
.alert-error { background: rgba(192,57,43,0.1); border-color: var(--accent-red); color: #e74c3c; }
.alert-close { background: none; border: none; color: inherit; font-size: 1.2rem; cursor: pointer; margin-left: auto; opacity: 0.7; }
.alert-close:hover { opacity: 1; }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(18px);
  width: min(920px, calc(100vw - 2rem));
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 14px;
  background: rgba(16, 24, 39, 0.96);
  box-shadow: 0 16px 40px rgba(0,0,0,0.32);
  backdrop-filter: blur(10px);
}

.cookie-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.cookie-banner-copy strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.cookie-banner-copy a {
  color: var(--gold);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .help-float-btn {
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.62rem 0.82rem;
    font-size: 0.8rem;
  }
}

/* ============================================ PROMO STRIP (178x78 row) */
.promo-zone {
  background: transparent;
  border-bottom: none;
  padding: 0.4rem 0;
}
/* Inline variant: sits inside the content column, no full-bleed bg */
.promo-zone--inline {
  background: transparent;
  border-bottom: none;
  border-radius: var(--radius);
  padding: 0 0 1rem 0;
}
.promo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.promo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  height: 78px;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}
.promo-img {
  width: 178px;
  height: 78px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.promo-empty {
  border: 2px dashed rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.02);
  line-height: normal;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.promo-empty:hover {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.06);
  box-shadow: inset 0 0 12px rgba(201,168,76,0.05);
}
.promo-empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  height: 100%;
}
.promo-empty-inner i {
  font-size: 1rem;
  line-height: 1;
  color: rgba(201,168,76,0.45);
}
.promo-empty-inner .sp-dim {
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.promo-empty-inner .sp-label {
  font-size: 0.55rem;
  line-height: 1;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================ BOTTOM LEADERBOARD (728x90 above footer) */
.leaderboard-zone {
  background: #08080f;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.leaderboard-zone .container { display: flex; justify-content: center; align-items: center; min-height: 96px; }
.leaderboard-link { display: inline-block; line-height: 0; }
.leaderboard-img { max-height: 90px; max-width: 970px; width: 100%; border-radius: 4px; display: block; }

/* Placeholder for leaderboard & other zones */
.leaderboard-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 728px;
  max-width: 100%;
  height: 90px;
  border: 2px dashed rgba(201,168,76,0.2);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.leaderboard-empty:hover { border-color: rgba(201,168,76,0.5); background: rgba(201,168,76,0.04); }

.partner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.partner-inner i { font-size: 1.1rem; color: rgba(201,168,76,0.4); }
.partner-text { font-size: 0.82rem; color: var(--text-secondary); font-weight: 600; }
.partner-sub { font-size: 0.72rem; color: var(--text-muted); }

/* ── Sidebar partner slots ────────────────────────────── */
.partner-section {}
.partner-slots { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0.75rem; }
.partner-link { display: block; line-height: 0; }
.partner-img { width: 100%; max-width: 300px; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.partner-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 250px;
  border: 2px dashed rgba(201,168,76,0.2);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.partner-empty:hover { border-color: rgba(201,168,76,0.45); background: rgba(201,168,76,0.04); }
.partner-empty .partner-inner { gap: 0.35rem; }
.partner-empty .partner-text { font-size: 1rem; }
.partner-cta {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.partner-cta:hover { color: var(--gold); }

/* ── Spotlight (in-list) zone ─────────────────────────── */
.spotlight-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  margin: 0.5rem 0;
}
.spotlight-link { display: inline-block; line-height: 0; }
.spotlight-img { max-height: 60px; max-width: 468px; width: 100%; border-radius: 4px; display: block; }
.spotlight-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 468px;
  height: 60px;
  border: 2px dashed rgba(201,168,76,0.2);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.spotlight-empty:hover { border-color: rgba(201,168,76,0.45); background: rgba(201,168,76,0.04); }
.spotlight-empty .partner-inner { flex-direction: row; gap: 0.6rem; }
.spotlight-empty .partner-inner i { font-size: 0.9rem; }
.spotlight-empty .partner-text { font-size: 0.8rem; font-weight: 600; }
.spotlight-empty .partner-sub { display: none; }

/* ============================================ HERO */
.page-hero {
  background:
    radial-gradient(circle at top center, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.015) 20%, rgba(201,168,76,0) 46%),
    linear-gradient(135deg, rgba(10,10,24,0.24) 0%, rgba(20,8,42,0.14) 50%, rgba(10,16,24,0.22) 100%);
  border-bottom: 2px solid var(--border-gold);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.005) 100%),
    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' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .72;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.hero-stat {
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-stat i { color: var(--gold); }
.hero-stat strong { color: var(--text-primary); }

/* ============================================ MAIN LAYOUT */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  padding: 1.5rem 0;
  align-items: start;
}

.content-area { min-width: 0; }

/* ============================================ FILTER BAR */
.filter-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.filter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group { flex: 1; min-width: 120px; }

.filter-input, .filter-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-family: 'Exo 2', sans-serif;
  transition: border-color var(--transition);
}
.filter-input:focus, .filter-select:focus { outline: none; border-color: var(--gold); }

/* ============================================ SECTION HEADERS */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.badge-gold { background: rgba(201,168,76,0.15); border-color: var(--gold); color: var(--gold); }

/* ============================================ SERVER TABLE HEADER */
.server-table-header {
  display: grid;
  grid-template-columns: 40px 80px 1fr 120px 80px 160px;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================ SERVER CARD */
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 40px 80px 1fr 120px 80px 160px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  transition: all var(--transition);
}

.server-card:hover {
  border-color: rgba(201,168,76,0.3);
  background: var(--bg-card-hover);
  transform: translateX(2px);
}

.server-card-premium {
  background: linear-gradient(135deg, var(--bg-premium), #1a1520);
  border-color: var(--gold-dark);
  box-shadow: inset 0 0 30px rgba(201,168,76,0.05), 0 2px 10px rgba(0,0,0,0.3);
}
.server-card-premium:hover { border-color: var(--gold); }

.card-rank {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}
.rank-gold { color: var(--gold); text-shadow: 0 0 10px rgba(201,168,76,0.5); }

.card-logo {
  position: relative;
  width: 64px;
  height: 64px;
}
.card-logo img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.logo-placeholder {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--border));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--border);
}

.premium-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gold);
  color: #000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.featured-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: #8e44ad;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}
.card-boost-line{display:flex;flex-wrap:wrap;gap:.4rem;margin:.35rem 0 .55rem}
.card-boost-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.22rem .55rem;border-radius:999px;font-size:.68rem;font-weight:800;line-height:1.2}
.card-boost-featured{background:rgba(201,168,76,.16);color:var(--gold);border:1px solid rgba(201,168,76,.3)}
.card-boost-premium{background:rgba(255,255,255,.06);color:#f6d68a;border:1px solid rgba(201,168,76,.2)}

.card-info { min-width: 0; }

.card-name {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}
.card-name:hover { color: var(--gold); }

.card-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.card-stars {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.card-rating-val { font-weight: 700; font-size: 0.82rem; }
.card-rating-count { color: var(--text-muted); font-size: 0.75rem; }

/* fraud tags in admin */
.fraud-tag {
  display: inline-block;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  color: #e74c3c;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: monospace;
  margin: 0.1rem;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.3rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.tag-chronicle { background: rgba(142,68,173,0.2); color: #c39bd3; border: 1px solid rgba(142,68,173,0.3); }
.tag-type { background: rgba(41,128,185,0.2); color: #7fb3d3; border: 1px solid rgba(41,128,185,0.3); }
.tag-country { background: rgba(39,174,96,0.1); color: #7dcea0; border: 1px solid rgba(39,174,96,0.2); }
.tag-date { background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid rgba(201,168,76,0.2); }

.card-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.rate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  padding: 0.2rem 0.3rem;
}
.rate-label { font-size: 0.65rem; color: var(--text-muted); }
.rate-val { font-size: 0.8rem; font-weight: 600; color: var(--gold); }


.card-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.vote-count { display: flex; flex-direction: column; align-items: center; }
.vote-number { font-size: 1.2rem; font-weight: 700; color: var(--accent-red); }
.vote-label { font-size: 0.7rem; color: var(--text-muted); }

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* ============================================ SIDEBAR */
.sidebar { position: sticky; top: 80px; }

.sidebar-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.sidebar-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Cinzel', serif;
}

.chronicle-list { display: flex; flex-direction: column; gap: 0.2rem; }
.chronicle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.chronicle-item:hover, .chronicle-item.active {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}
.chronicle-count {
  background: var(--bg-secondary);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.advertise-cta p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; }

.premium-cta-box { background: linear-gradient(135deg, #1a1508, #12121e); border-color: var(--gold-dark); }
.premium-benefits { list-style: none; margin: 0.75rem 0; }
.premium-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.2rem 0;
}

/* ============================================ ADD SERVER CTA */
.add-server-cta {
  background: linear-gradient(135deg, #0f0f20, #1a1230);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta-content h3 { font-size: 1.1rem; color: var(--text-primary); }
.cta-content p { color: var(--text-secondary); font-size: 0.9rem; }
.cta-content .btn { margin-left: auto; white-space: nowrap; }

/* ============================================ EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state i { margin-bottom: 1rem; color: var(--border); }
.empty-state h3 { color: var(--text-secondary); margin-bottom: 0.5rem; }
.empty-state-sm { text-align: center; padding: 1rem; color: var(--text-muted); font-size: 0.9rem; }

/* ============================================ AUTH PAGES */
.auth-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(ellipse at center, #14082a 0%, var(--bg-primary) 70%);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}

.auth-logo {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.auth-title {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 0.25rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================ FORMS */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); display: flex; align-items: center; gap: 0.4rem; }

.captcha-block {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.captcha-honeypot {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.captcha-block.captcha-attention {
  border-color: rgba(231, 76, 60, 0.9);
  background: rgba(192, 57, 43, 0.12);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.captcha-block.captcha-attention .form-control,
.captcha-block.captcha-attention .cf-turnstile {
  border-color: rgba(231, 76, 60, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.captcha-inline-error {
  color: #ff8f8f;
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 0.45rem;
}

.captcha-fallback-box {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px dashed rgba(201, 168, 76, 0.35);
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.06);
}

.form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-family: 'Exo 2', sans-serif;
  width: 100%;
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--gold); background: var(--bg-card); }
.form-control:disabled { opacity: 0.5; cursor: not-allowed; }
.form-control-sm { padding: 0.4rem 0.6rem; font-size: 0.82rem; }
.form-control-xs { padding: 0.25rem 0.4rem; font-size: 0.75rem; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

.form-control-file {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.four-cols { grid-template-columns: 1fr 1fr 1fr 1fr; }

.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-section-title {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-grid { display: flex; flex-direction: column; }
.form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1rem; }
.hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ============================================ SERVER DETAIL */
.server-detail-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 252px;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.premium-header {
  background: linear-gradient(135deg, var(--bg-premium), #1a1520);
  border-color: var(--gold-dark);
  box-shadow: 0 0 30px rgba(201,168,76,0.1);
}

.server-detail-logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.server-detail-title-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.server-detail-title-row h1 { font-size: 1.5rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.premium-badge-lg {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.featured-badge-lg {
  background: linear-gradient(135deg, #6c1bd6, #8e44ad);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
}

.server-detail-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }
.server-detail-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1rem; }
.server-detail-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.server-support-inline {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,0.18);
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(255,255,255,0.02));
}
.server-support-inline-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.server-support-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.server-header-achievements { margin-top: 1rem; }
.server-header-achievements-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}
.server-header-achievements .achievements-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.server-detail-vote {
  width: 100%;
}

.vote-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  text-align: center;
  overflow: hidden;
}

.vote-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.vote-big {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-red);
  font-family: 'Cinzel', serif;
}

.vote-total {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: 'Cinzel', serif;
}

.vote-sublabel {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vote-box .btn-xl {
  min-height: 50px;
  font-size: 1rem;
  padding: 0.8rem 1rem;
}

.vote-result-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.9rem;
  border: 1px solid;
}

.vote-result-success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.18), rgba(46, 204, 113, 0.06));
  border-color: rgba(46, 204, 113, 0.5);
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.08), 0 0 24px rgba(46, 204, 113, 0.08);
}

.vote-result-error {
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.16), rgba(192, 57, 43, 0.05));
  border-color: rgba(231, 76, 60, 0.45);
}

.vote-result-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.vote-result-success .vote-result-icon {
  background: rgba(46, 204, 113, 0.16);
  color: #4ee08a;
}

.vote-result-error .vote-result-icon {
  background: rgba(231, 76, 60, 0.14);
  color: #ff8477;
}

.vote-result-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.vote-result-copy strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.vote-result-copy span {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.vote-box .captcha-block {
  margin-top: 0.75rem;
}

.vote-box .captcha-block .form-group {
  margin-bottom: 0;
  overflow: hidden;
  min-height: 86px;
}

.vote-box .captcha-block label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.vote-box .captcha-block .form-control {
  min-height: 44px;
  font-size: 0.92rem;
}

.vote-box .cf-turnstile {
  width: 100%;
  max-width: 100%;
  transform: scale(0.86);
  transform-origin: left top;
}

.vote-box .cf-turnstile > div,
.vote-box .cf-turnstile iframe {
  max-width: 100%;
}


.vote-box .captcha-inline-error {
  margin-top: 0.55rem;
}

.vote-note {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.vote-box .vote-note {
  margin-top: 0.7rem;
}

.vote-box form[method="POST"] {
  margin-top: 0.7rem !important;
}

.vote-box .btn-block {
  min-height: 44px;
}

.vote-cooldown {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

#voteCountdown { color: var(--gold); font-weight: 600; }
.vote-note { margin-top: 0.5rem; font-size: 0.75rem; color: var(--text-muted); }

/* ============================================ VOTE AUTH PAGE */
.vote-auth-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  padding: 2.5rem 2rem;
  text-align: center;
}
.vote-auth-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}
.vote-auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.vote-auth-sub {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}
.vote-auth-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.vote-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.vote-auth-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.vote-auth-google  { background: #fff; color: #333; }
.vote-auth-discord { background: #5865f2; color: #fff; }
.vote-auth-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.vote-auth-back {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.vote-auth-back:hover { color: var(--text-primary); }
.vote-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
}
.vote-auth-divider::before,
.vote-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}
.vote-auth-form .form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.vote-auth-site {
  background: linear-gradient(135deg, #4a4a6a, #5a5a8a);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  gap: 0.5rem;
}
.vote-auth-site:hover {
  background: linear-gradient(135deg, #5a5a7a, #6a6a9a);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================ SERVER BANNER */
.server-banner-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.server-banner-img img { width: 100%; max-height: 200px; object-fit: cover; }

/* ============================================ DETAIL LAYOUT */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}

.detail-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-section h2 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.avg-rating { font-family: 'Exo 2', sans-serif; font-size: 0.85rem; color: var(--text-secondary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-card i { font-size: 1.2rem; min-width: 20px; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); display: block; }
.stat-value { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }

.server-description-text { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }

/* ============================================ REVIEWS */
/* ============================================
   ACHIEVEMENTS
   ============================================ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.achievement-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
}
.achievement-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Tier colours */
.achievement-badge.tier-bronze {
  border-color: rgba(200,140,70,0.45);
  background: linear-gradient(135deg, rgba(200,140,70,0.08) 0%, var(--bg-secondary) 100%);
}
.achievement-badge.tier-bronze .ach-icon { color: #c88c46; }

.achievement-badge.tier-silver {
  border-color: rgba(192,192,192,0.45);
  background: linear-gradient(135deg, rgba(192,192,192,0.08) 0%, var(--bg-secondary) 100%);
}
.achievement-badge.tier-silver .ach-icon { color: #c0c0c0; }

.achievement-badge.tier-gold {
  border-color: rgba(255,215,0,0.45);
  background: linear-gradient(135deg, rgba(255,215,0,0.08) 0%, var(--bg-secondary) 100%);
}
.achievement-badge.tier-gold .ach-icon { color: #ffd700; }

.achievement-badge.tier-diamond {
  border-color: rgba(185,242,255,0.45);
  background: linear-gradient(135deg, rgba(185,242,255,0.1) 0%, var(--bg-secondary) 100%);
  box-shadow: inset 0 0 20px rgba(185,242,255,0.04);
}
.achievement-badge.tier-diamond .ach-icon { color: #b9f2ff; }

.ach-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}
.ach-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ach-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ach-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ach-date {
  font-size: 0.65rem;
  color: var(--accent-green, #27ae60);
  margin-top: 0.1rem;
}
.ach-locked-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* Locked achievement state */
.ach-locked {
  opacity: 0.4;
  filter: grayscale(1);
}
.ach-locked .ach-icon { color: var(--text-muted) !important; }

/* Progress bar */
.ach-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.ach-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #e8c96a 100%);
  border-radius: 99px;
  transition: width 0.6s ease;
  min-width: 4px;
}

/* Tier section titles */
.ach-tier-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tier-label-diamond { color: #b9f2ff; }
.tier-label-gold    { color: #ffd700; }
.tier-label-silver  { color: #c0c0c0; }
.tier-label-bronze  { color: #c88c46; }

.review-form-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.review-form-box h3 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 0.75rem; }

.star-rating-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stars i {
  color: var(--border);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color var(--transition);
}
.stars i.active, .stars i:hover { color: var(--gold); }

.review-login-cta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

.reviews-list { display: flex; flex-direction: column; gap: 0.75rem; }

.review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.review-user { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); display: flex; align-items: center; gap: 0.35rem; }
.review-stars { color: var(--gold); letter-spacing: 0.05em; }
.review-date { color: var(--text-muted); font-size: 0.8rem; margin-left: auto; }
.review-comment { color: var(--text-secondary); font-size: 0.88rem; }

/* ============================================ SIMILAR SERVERS */
.similar-server {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: background var(--transition);
}
.similar-server:hover { background: var(--bg-secondary); color: var(--text-primary); }
.similar-server img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }
.logo-placeholder-sm {
  width: 36px;
  height: 36px;
  background: var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
}
.similar-name { font-weight: 500; color: var(--text-primary); font-size: 0.85rem; }
.similar-info { font-size: 0.75rem; color: var(--text-muted); }
.similar-votes { margin-left: auto; color: var(--accent-red); font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.25rem; white-space: nowrap; }

.info-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.info-table td { padding: 0.4rem 0; color: var(--text-secondary); }
.info-table td:first-child { color: var(--text-muted); width: 40%; }
.info-table-wrapper { overflow-x: auto; }

.share-buttons { display: flex; flex-direction: column; gap: 0.35rem; }

/* ============================================ DASHBOARD */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 60px);
}

.dash-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.dash-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #000;
  flex-shrink: 0;
}

.dash-username { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); display: block; }
.dash-role { font-size: 0.75rem; color: var(--text-muted); text-transform: capitalize; }

.dash-nav { display: flex; flex-direction: column; padding: 0.5rem; flex: 1; }

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.dash-nav-link:hover, .dash-nav-link.active { background: rgba(201,168,76,0.1); color: var(--gold); }
.dash-nav-link i { width: 16px; text-align: center; }

.dash-credits-box {
  margin: 1rem;
  background: linear-gradient(135deg, #1a1508, #12121e);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.dash-credits-amount { font-size: 2rem; font-weight: 700; font-family: 'Cinzel', serif; color: var(--gold); }
.dash-credits-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }

.dash-main { padding: 1.5rem; overflow: auto; }

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dash-header h1 { font-size: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.dash-header-actions { display: flex; gap: 0.5rem; }

.notif-box {
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.notif-item { font-size: 0.9rem; color: var(--text-secondary); padding: 0.3rem 0; display: flex; align-items: center; gap: 0.5rem; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: border-color var(--transition);
}
.dash-stat-card:hover { border-color: var(--gold-dark); }
.dash-stat-val { font-size: 1.8rem; font-weight: 700; font-family: 'Cinzel', serif; color: var(--text-primary); margin: 0.5rem 0 0.25rem; }
.dash-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.dash-section { margin-bottom: 2rem; }
.dash-section h2 { font-size: 1rem; color: var(--text-primary); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }

.dash-server-list { display: flex; flex-direction: column; gap: 0.75rem; }

.dash-server-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: border-color var(--transition);
}
.dash-server-card:hover { border-color: var(--gold-dark); }

.dash-server-logo img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.dash-server-logo .logo-placeholder { width: 52px; height: 52px; font-size: 1.2rem; }

.dash-server-name { font-weight: 600; font-size: 1rem; color: var(--text-primary); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.25rem; }
.dash-server-meta { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.dash-server-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.premium-until { font-size: 0.8rem; color: var(--gold); margin-top: 0.25rem; display: flex; align-items: center; gap: 0.35rem; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-pending { background: rgba(201,168,76,0.15); color: var(--gold); }
.status-approved { background: rgba(39,174,96,0.15); color: #2ecc71; }
.status-rejected { background: rgba(192,57,43,0.15); color: #e74c3c; }
.status-premium { background: rgba(201,168,76,0.2); color: var(--gold); }
.status-completed { background: rgba(39,174,96,0.15); color: #2ecc71; }
.status-admin { background: rgba(192,57,43,0.15); color: #e74c3c; }
.status-user { background: rgba(41,128,185,0.15); color: #7fb3d3; }

.dash-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.dash-table th { text-align: left; padding: 0.6rem 0.75rem; color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.dash-table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--text-secondary); }
.dash-table tr:hover td { background: rgba(255,255,255,0.02); }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.quick-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.quick-action-card:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); transform: translateY(-2px); }

/* ============================================ CREDITS PAGE */
.credits-info-box {
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.credits-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.credits-usage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.credits-usage-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.credits-usage-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.credits-usage-card-disabled {
  opacity: 0.88;
}
.credits-usage-card h4 { font-size: 0.95rem; color: var(--text-primary); margin: 0.5rem 0 0.25rem; }
.credits-usage-card p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.credit-cost { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

.support-page-shell {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.support-page {
  max-width: 1120px;
  margin: 0 auto;
}

.support-page-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.support-page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.support-page-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 760px;
}

.support-page-info,
.support-page-alert {
  margin-bottom: 1.25rem;
}

.support-packages-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.credit-packages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.credit-package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.credit-package-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }

.credit-package-card.popular {
  border-color: var(--gold);
  background: linear-gradient(135deg, #1a1508, var(--bg-card));
  box-shadow: var(--shadow-gold);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.pkg-label { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.pkg-credits { font-size: 2.2rem; font-weight: 900; color: var(--gold); font-family: 'Cinzel', serif; }
.pkg-credits-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.pkg-price { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.pkg-per-credit { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }
.pkg-days-info { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.35rem; }

.buy-form { display: flex; flex-direction: column; gap: 0.5rem; }
.payment-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }

/* ============================================ PREMIUM PAGE */
.premium-benefits-showcase {
  background: linear-gradient(135deg, #1a1508, #12121e);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.premium-benefits-showcase h2 { font-size: 1rem; color: var(--gold); margin-bottom: 1rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.benefit-card { text-align: center; padding: 0.75rem; }
.benefit-card h4 { font-size: 0.9rem; color: var(--text-primary); margin: 0.5rem 0 0.25rem; }
.benefit-card p { font-size: 0.8rem; color: var(--text-secondary); }
.insufficient-credits { font-size: 0.82rem; color: var(--accent-red); margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 0.35rem; }
.pkg-disabled { opacity: 0.5; pointer-events: none; }

/* Boost comparison */
.boost-legend-bar{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.boost-legend-item{display:flex;gap:.8rem;align-items:flex-start;padding:.95rem 1rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--border);color:var(--text-secondary)}
.boost-legend-item strong{display:block;color:var(--text-primary);margin-bottom:.2rem}
.boost-legend-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.boost-legend-featured{background:rgba(201,168,76,.14);color:var(--gold);border:1px solid rgba(201,168,76,.28)}
.boost-legend-premium{background:rgba(255,255,255,.06);color:#f6d68a;border:1px solid rgba(201,168,76,.2)}
.boost-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) { .boost-comparison, .boost-legend-bar { grid-template-columns: 1fr; } }
.boost-option {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.boost-featured {
  background: linear-gradient(135deg, #1a1508, #12121e);
  border: 2px solid var(--gold-dark);
}
.boost-premium {
  background: linear-gradient(135deg, #12121e, #1a1528);
  border: 1px solid rgba(255,255,255,0.08);
}
.boost-option-header {
  text-align: center;
  margin-bottom: 1.25rem;
}
.boost-option-header h2 { font-size: 1.1rem; margin: 0.5rem 0 0.4rem; }
.boost-summary-strip{display:grid;gap:.35rem;margin-bottom:.85rem;padding:.75rem .9rem;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);font-size:.83rem;color:var(--text-secondary)}
.boost-slots-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  padding: 0.2rem 0.75rem;
}
.boost-slots-badge.unlimited {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border-color: rgba(255,255,255,0.1);
}
.boost-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.boost-features li { font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.boost-features li.boost-note { color: var(--text-secondary); font-size: 0.78rem; margin-top: 0.5rem; }
.premium-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.premium-lock-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.premium-lock-banner strong { color: var(--gold); }
.premium-lock-banner a { color: var(--gold); text-decoration: underline; }

.vote-banner-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem}
.vote-banner-card{background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:14px;padding:1rem;display:flex;flex-direction:column;gap:.85rem}
.vote-banner-preview{display:flex;align-items:center;justify-content:center;min-height:120px;padding:.75rem;border-radius:12px;background:rgba(0,0,0,.16);border:1px dashed rgba(255,255,255,.08)}
.vote-banner-preview img{max-width:100%;height:auto;display:block}
.vote-banner-title{font-weight:800;color:var(--text-primary);margin-bottom:.4rem}
.vote-banner-links{display:grid;gap:.35rem;font-size:.8rem;color:var(--text-secondary)}
.vote-banner-links code{word-break:break-all}
.vote-banner-code pre{white-space:pre-wrap;word-break:break-word}
.vote-banner-builder{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--border)}
.vote-banner-builder-head{margin-bottom:1rem}
.vote-banner-builder-head h3{margin:0 0 .35rem;color:var(--text-primary)}
.vote-banner-builder-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem;align-items:start}
.vote-banner-builder-form,.vote-banner-builder-preview{background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:14px;padding:1rem}
.vote-banner-preview-custom{min-height:160px}
.form-control-color{padding:.35rem;height:46px}
.vote-banner-builder-form .hint{margin-top:.2rem}
@media (max-width: 900px){.vote-banner-builder-layout{grid-template-columns:1fr}}

/* ============================================ AD ZONE CARDS (banner purchase page) */
.ad-zones-preview {}
.ad-zone-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ad-zone-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.ad-zone-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.ad-zone-card.selected { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,168,76,0.3); }
.ad-zone-badge {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Mini site preview inside each card */
.ad-zone-preview {
  background: #0a0a14;
  padding: 0.6rem;
  border-bottom: 1px solid var(--border);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.azp-navbar-mock {
  background: #10101a;
  border-radius: 3px;
  padding: 0.25rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  color: var(--text-muted);
}
.azp-logo { color: var(--gold); font-weight: 700; font-size: 0.62rem; }
.azp-links { font-size: 0.55rem; color: var(--text-muted); }
.azp-banner-slot {
  border: 1px dashed rgba(201,168,76,0.5);
  border-radius: 3px;
  background: rgba(201,168,76,0.07);
  color: rgba(201,168,76,0.7);
  font-size: 0.6rem;
  text-align: center;
  padding: 0.25rem;
  font-weight: 600;
}
.azp-top-slot { padding: 0.4rem; }
.azp-content-mock { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.azp-server-row {
  background: #181827;
  border-radius: 3px;
  height: 12px;
  border: 1px solid #2a2a40;
}
.azp-row-premium { border-color: rgba(201,168,76,0.3); background: #1a1508; }

/* Sidebar layout mock */
.ad-zone-preview-sidebar .azp-layout {
  display: flex;
  gap: 0.4rem;
  flex: 1;
  min-height: 100px;
}
.azp-main-mock { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.azp-sidebar-mock { width: 38%; }
.azp-sidebar-slot {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  gap: 0.15rem;
  padding: 0.3rem;
}

/* In-list preview */
.ad-zone-preview-inlist { justify-content: center; }
.azp-inlist-slot { margin: 0.25rem 0; }

/* Strip preview mock */
.ad-zone-preview-strip { gap: 0.35rem; }
.azp-strip-mock {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
}
.azp-strip-slot {
  flex: 1;
  max-width: 42px;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  padding: 0.15rem;
}

/* Zone info below preview */
.ad-zone-info { padding: 0.85rem; }
.ad-zone-name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.2rem; }
.ad-zone-dim { font-size: 0.72rem; font-family: monospace; color: var(--text-muted); margin-bottom: 0.5rem; }
.ad-zone-desc { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 0.65rem; line-height: 1.5; }
.ad-zone-pricing { display: flex; flex-direction: column; gap: 0.2rem; }
.azp-price {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.azp-price:hover { border-color: rgba(201,168,76,.45); background: rgba(201,168,76,.08); transform: translateX(2px); }
.azp-price.selected { border-color: var(--gold); background: rgba(201,168,76,.14); box-shadow: 0 0 0 1px rgba(201,168,76,.2); }
.azp-price strong { color: var(--gold); }

.pricing-summary { background: rgba(201,168,76,0.08); border: 1px solid var(--gold-dark); border-radius: var(--radius); padding: 0.75rem; margin: 0.5rem 0; font-size: 0.9rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; }

/* ============================================ STATS PAGE */
.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stats-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
  transition: border-color var(--transition);
}
.stats-summary-card:hover { border-color: var(--gold-dark); }
.stats-summary-card i { font-size: 1.3rem; margin-bottom: .4rem; display: block; }
.stats-val { font-size: 1.7rem; font-weight: 900; font-family: 'Cinzel', serif; color: var(--text-primary); }
.stats-lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: .2rem; }

/* 30-day bar chart */
.vote-chart-wrap { overflow-x: auto; padding-bottom: .5rem; }
.vote-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 140px;
  min-width: 600px;
  padding-top: 1.5rem;
  position: relative;
}
.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  cursor: default;
  position: relative;
}
.chart-bar-col:hover .chart-bar { background: var(--gold); }
.chart-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--gold-dark), #5a3e10);
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  transition: background var(--transition);
}
.chart-bar-val {
  position: absolute;
  top: -1.2rem;
  font-size: .6rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.chart-bar-label { font-size: .55rem; color: var(--text-muted); white-space: nowrap; }

/* Hourly chart */
.hourly-chart-wrap {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 90px;
  padding-top: .5rem;
}
.hourly-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; }
.hourly-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--accent-blue), #1a4a70);
  border-radius: 2px 2px 0 0;
  min-height: 2px;
  transition: background var(--transition);
}
.hourly-bar-col:hover .hourly-bar { background: var(--gold); }
.hourly-bar-label { font-size: .6rem; color: var(--text-muted); }

/* API key section */
.api-key-section { }
.api-key-box {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.api-key-label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.api-key-display {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.api-key-display code {
  font-family: 'Courier New', monospace;
  font-size: .9rem;
  color: var(--gold);
  background: rgba(201,168,76,.08);
  padding: .4rem .75rem;
  border-radius: 4px;
  border: 1px solid rgba(201,168,76,.2);
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

/* API endpoints */
.api-endpoints { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.api-endpoint-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.api-method {
  background: rgba(39,174,96,.15);
  color: #2ecc71;
  border: 1px solid rgba(39,174,96,.3);
  border-radius: 4px;
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
  margin-top: .1rem;
}
.api-endpoint-info { flex: 1; min-width: 0; }
.api-url {
  font-family: 'Courier New', monospace;
  font-size: .8rem;
  color: var(--gold);
  word-break: break-all;
  cursor: pointer;
  margin-bottom: .4rem;
  padding: .3rem .5rem;
  border-radius: 4px;
  transition: background var(--transition);
}
.api-url:hover { background: rgba(201,168,76,.08); }
.api-key-inline { color: var(--accent-green); }
.api-desc { font-size: .82rem; color: var(--text-secondary); margin-bottom: .5rem; }
.api-response-example pre {
  background: #0a0a12;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem;
  font-size: .75rem;
  color: #a8d8a8;
  overflow-x: auto;
  margin: 0;
  font-family: 'Courier New', monospace;
}

/* Code tabs */
.code-examples { margin-top: 1.25rem; }
.code-tabs { display: flex; gap: .25rem; margin-bottom: -.5px; }
.code-tab {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--text-muted);
  padding: .4rem .85rem;
  font-size: .82rem;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  transition: all var(--transition);
}
.code-tab:hover { color: var(--text-primary); }
.code-tab.active { background: #0a0a12; color: var(--gold); border-color: var(--border); }
.code-block {
  background: #0a0a12;
  border: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 1rem 1.25rem;
  overflow-x: auto;
}
.code-block pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: .8rem;
  color: #c8d8f0;
  line-height: 1.6;
  white-space: pre;
}
.code-comment { color: #5a7a5a; }

.api-note {
  background: rgba(201,168,76,.07);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}
.api-note code { font-family: monospace; color: var(--gold); font-size: .82rem; }
.api-pattern-card {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.api-pattern-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

/* flagged row tint */
.row-flagged td { background: rgba(192,57,43,.05) !important; }

/* ============================================ FOOTER */
.footer {
  background: linear-gradient(180deg, #0a0a12 0%, #080810 100%);
  border-top: 2px solid var(--border-gold);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

.footer-links h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links ul li a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* ============================================ ADMIN (basic overrides) */
.logo-lg { width: 110px !important; height: 110px !important; font-size: 2.5rem !important; }

/* ============================================ RESPONSIVE */
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { order: -1; }
  .server-table-header { display: none; }
  .server-card {
    grid-template-columns: 40px 64px 1fr;
    grid-template-rows: auto auto;
  }
  .card-rates, .card-votes { display: none; }
  .card-actions { grid-column: 1 / -1; flex-direction: row; }
  .server-detail-header { grid-template-columns: 112px minmax(0, 1fr); }
  .server-detail-vote { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-gold);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-user { flex-wrap: wrap; border-left: none; padding-left: 0; }
  .navbar { position: relative; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .form-row, .four-cols { grid-template-columns: 1fr; }
  .server-detail-header { grid-template-columns: 1fr; }
  .server-detail-vote { max-width: none; justify-self: stretch; }
  .vote-numbers { grid-template-columns: 1fr 1fr; }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-content .btn { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .credit-packages { grid-template-columns: 1fr 1fr; }
  .banner-slots-grid { grid-template-columns: 1fr; }
  .ad-zone-cards { grid-template-columns: 1fr 1fr; }
  .promo-row { gap: 0.25rem; }
  .promo-item { width: 140px; height: 61px; }
  .promo-img { width: 140px; height: 61px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .leaderboard-empty { width: 100%; max-width: 100%; }
  .leaderboard-zone .container { min-height: 70px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 0.5rem; }
  .auth-card { padding: 1.5rem; }
  .credit-packages { grid-template-columns: 1fr; }
  .dash-server-card { grid-template-columns: 1fr; }
  .dash-server-actions { flex-direction: column; }
  .ad-zone-cards { grid-template-columns: 1fr; }
  .promo-item { width: 100px; height: 44px; }
  .promo-img { width: 100px; height: 44px; }
}

/* ============================================ CLAN SYSTEM */
.clan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}
.clan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.clan-card:hover { border-color: var(--gold-dark); transform: translateY(-1px); }
.clan-card-header { display: flex; align-items: center; gap: .75rem; }
.clan-logo { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.clan-logo img { width: 100%; height: 100%; object-fit: cover; }
.clan-logo-placeholder {
  width: 52px; height: 52px; border-radius: 8px;
  background: linear-gradient(135deg, #1a1508, #12121e);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--gold); font-weight: 700;
}
.clan-logo-lg { width: 80px; height: 80px; font-size: 1.8rem; }
.clan-tag-name { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.clan-tag { font-family: 'Cinzel', serif; color: var(--gold); font-weight: 700; font-size: .9rem; }
.clan-tag-lg { font-size: 1.1rem; }
.clan-name { font-weight: 700; color: var(--text-primary); font-size: .95rem; }
.clan-name:hover { color: var(--gold); }
.clan-meta { display: flex; gap: .75rem; flex-wrap: wrap; font-size: .78rem; color: var(--text-secondary); margin-top: .2rem; }
.clan-recruiting-badge {
  margin-left: auto; flex-shrink: 0;
  background: rgba(39,174,96,.15); border: 1px solid rgba(39,174,96,.4);
  color: #27ae60; font-size: .7rem; font-weight: 700; padding: .2rem .55rem;
  border-radius: 20px; white-space: nowrap;
}
.clan-desc { font-size: .82rem; color: var(--text-secondary); line-height: 1.5; }
.clan-card-footer { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .4rem; border-top: 1px solid var(--border); }
.clan-server-tag { font-size: .75rem; color: var(--text-muted); }
.clan-discord-link { font-size: .78rem; color: #7289da; }
.clan-discord-link:hover { color: #9aa3e1; }

/* Public profile */
.clan-profile-header { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.clan-profile-logo { width: 80px; height: 80px; flex-shrink: 0; }
.clan-profile-logo img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.clan-profile-info { flex: 1; min-width: 0; }
.clan-profile-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-secondary); margin: .5rem 0; }
.clan-profile-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.clan-server-banner {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; margin-top: 1rem;
}
.clan-members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; }
.clan-member-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .65rem; display: flex; gap: .6rem; align-items: center;
}
.clan-member-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1a1508, #12121e);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: .85rem; color: var(--gold); font-weight: 700; flex-shrink: 0;
}
.clan-member-info { min-width: 0; }
.clan-member-name { font-weight: 600; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clan-member-role { font-size: .7rem; display: flex; align-items: center; gap: .25rem; }
.clan-role-leader { color: var(--gold); }
.clan-role-officer { color: #9b59b6; }
.clan-role-member { color: var(--text-muted); }

/* Dashboard clan */
.clan-no-clan-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 4rem 2rem; text-align: center;
}
.clan-no-clan-state h2 { font-size: 1.3rem; color: var(--text-secondary); }
.clan-no-clan-state p { color: var(--text-muted); }
.clan-no-clan-state .btn { min-width: 180px; }
.clan-dash-header {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.clan-dash-logo { width: 72px; height: 72px; flex-shrink: 0; }
.clan-dash-logo img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.clan-dash-title { flex: 1; min-width: 0; }
.clan-dash-meta { display: flex; gap: .75rem; flex-wrap: wrap; font-size: .82rem; color: var(--text-secondary); margin-top: .4rem; }
.clan-role-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 20px;
}
.clan-role-badge.clan-role-leader { background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.4); color: var(--gold); }
.clan-role-badge.clan-role-officer { background: rgba(155,89,182,.12); border: 1px solid rgba(155,89,182,.4); color: #9b59b6; }
.clan-role-badge.clan-role-member { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-muted); }
.clan-invite-list { display: flex; flex-direction: column; gap: .4rem; }
.clan-invite-item {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .65rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.clan-identity-readonly {
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .clan-grid { grid-template-columns: 1fr; }
  .clan-profile-header { flex-direction: column; }
  .clan-dash-header { flex-direction: column; }
}

/* ============================================ SCROLLBAR */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ============================================ INLINE ADMIN FORM */
.inline-form { display: inline-flex !important; align-items: center; gap: .25rem; }

/* ============================================ PREMIUM LIST */
.premium-list { margin-bottom: 0; }
.premium-list .server-card { border-color: var(--gold-dark); }

/* ============================================ NOTIFICATION BELL */
.notif-bell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.notif-bell-btn {
  position: relative;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.notif-bell-btn:hover, .notif-bell-btn.active {
  color: var(--gold); border-color: var(--border-gold);
  background: rgba(201,168,76,.08);
}
.notif-bell-btn .fa-bell { font-size: .9rem; }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: #e74c3c; color: #fff;
  font-size: .6rem; font-weight: 700; line-height: 1;
  min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-primary);
  pointer-events: none; transition: opacity .2s;
}
.notif-badge-hidden { opacity: 0; }
.notif-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  z-index: 2000; overflow: hidden;
}
.notif-dropdown.open { display: block; }
.notif-dropdown-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.notif-dropdown-title {
  font-family: 'Cinzel', serif; font-size: .82rem; font-weight: 700;
  color: var(--gold); display: flex; align-items: center; gap: .4rem;
}
.notif-mark-all-btn {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  color: var(--text-secondary); font-size: .7rem; padding: .18rem .5rem;
  cursor: pointer; transition: color var(--transition), border-color var(--transition);
}
.notif-mark-all-btn:hover { color: var(--gold); border-color: var(--border-gold); }
.notif-dropdown-body { max-height: 360px; overflow-y: auto; }
.notif-loading { padding: 1.5rem; text-align: center; color: var(--text-muted); font-size: .82rem; }
.notif-item {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
  text-align: left; width: 100%;
  background: none; border-left: none; border-right: none; border-top: none;
  color: var(--text-primary); font-family: 'Exo 2', sans-serif;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-card-hover); }
.notif-item.unread { background: rgba(201,168,76,.05); }
.notif-item.unread:hover { background: rgba(201,168,76,.09); }
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.notif-dot.unread { background: var(--gold); }
.notif-dot.read { background: var(--text-muted); opacity: .4; }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-msg { font-size: .8rem; line-height: 1.4; color: var(--text-primary); word-break: break-word; }
.notif-item.read .notif-item-msg { color: var(--text-secondary); }
.notif-item-time { font-size: .7rem; color: var(--text-muted); margin-top: .18rem; }
.notif-empty { padding: 2rem 1rem; text-align: center; color: var(--text-muted); font-size: .82rem; }
.notif-empty i { display: block; font-size: 1.5rem; margin-bottom: .5rem; color: var(--border); }
@media (max-width: 480px) { .notif-dropdown { width: 290px; right: -60px; } }

/* ============================================ CARD OPENING DATE */
.card-open-date {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .3rem;
  font-size: .75rem; font-weight: 700;
  padding: .22rem .6rem;
  border-radius: 4px;
  letter-spacing: .04em;
}
.card-open-date.open-future {
  background: rgba(41,128,185,.15);
  border: 1px solid rgba(41,128,185,.4);
  color: #5dade2;
}
.card-open-date.open-past {
  background: rgba(39,174,96,.1);
  border: 1px solid rgba(39,174,96,.3);
  color: #58d68d;
}
.card-open-date .open-label { text-transform: uppercase; }
.card-open-date .open-date-str { font-weight: 400; opacity: .8; font-size: .7rem; }

/* ============================================ COMING SOON SECTION */
.badge-blue {
  background: rgba(41,128,185,.2);
  border: 1px solid rgba(41,128,185,.4);
  color: #5dade2;
}
.cs-zone { margin: 1.5rem 0; }
.cs-list { display: flex; flex-direction: column; gap: .5rem; }

.cs-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(41,128,185,.3);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.cs-card:hover { border-color: rgba(41,128,185,.6); background: var(--bg-card-hover); }

.cs-logo { width: 48px; height: 48px; flex-shrink: 0; }
.cs-logo img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.cs-logo-placeholder {
  width: 48px; height: 48px; border-radius: 8px;
  background: linear-gradient(135deg, #0a1a2e, #12121e);
  border: 1px solid rgba(41,128,185,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 1.1rem; color: #5dade2; font-weight: 700;
}

.cs-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.cs-name { font-weight: 700; font-size: .9rem; color: var(--text-primary); }
.cs-name:hover { color: #5dade2; }
.cs-tags { display: flex; gap: .3rem; flex-wrap: wrap; }
.cs-rates { display: flex; gap: .75rem; font-size: .75rem; color: var(--text-secondary); }
.cs-rates strong { color: var(--gold); }

.cs-countdown-wrap {
  text-align: center; flex-shrink: 0;
  min-width: 160px;
}
.cs-open-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.cs-open-full-date { font-size: .78rem; color: #5dade2; font-weight: 600; margin-bottom: .3rem; }

.cs-countdown-timer {
  display: flex; align-items: center; justify-content: center; gap: .2rem;
}
.cs-seg { display: flex; align-items: baseline; gap: .05rem; }
.cs-val {
  font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--text-primary);
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 4px; padding: .1rem .3rem; min-width: 26px; text-align: center;
}
.cs-unit { font-size: .6rem; color: var(--text-muted); margin-left: 1px; }

.cs-actions { display: flex; flex-direction: column; gap: .3rem; flex-shrink: 0; }

@media (max-width: 700px) {
  .cs-card { flex-wrap: wrap; }
  .cs-countdown-wrap { min-width: 0; width: 100%; }
  .cs-actions { flex-direction: row; }
}

/* ============================================ RANDOM SERVER OF THE DAY */
.rotd-zone {
  margin: 1.5rem 0;
  border: 1px solid rgba(138, 43, 226, 0.45);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(90,20,160,0.12) 0%, rgba(20,10,40,0.18) 100%);
  box-shadow: 0 0 24px rgba(138,43,226,0.15);
  overflow: hidden;
}

.rotd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .75rem 1.1rem;
  background: linear-gradient(90deg, rgba(90,20,160,0.22) 0%, rgba(30,10,60,0.28) 100%);
  border-bottom: 1px solid rgba(138,43,226,0.3);
}

.rotd-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #c084fc;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.rotd-title .fa-dice-d20 { color: #a855f7; font-size: 1.1rem; }

.rotd-lucky-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(168,85,247,0.18);
  border: 1px solid rgba(168,85,247,0.45);
  color: #c084fc;
  font-family: 'Exo 2', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rotd-timer {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--text-secondary);
}

.rotd-timer .fa-clock { color: #a855f7; }

#rotdCountdown {
  font-family: 'Cinzel', serif;
  font-size: .88rem;
  font-weight: 700;
  color: #c084fc;
  min-width: 62px;
  display: inline-block;
  text-align: right;
}

.rotd-card-wrap { padding: .6rem; }

/* Override rank badge for ROTD card */
.rotd-card-wrap .card-rank {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: .95rem;
}

@media (max-width: 600px) {
  .rotd-header { flex-direction: column; align-items: flex-start; }
}

/* ===== Legal Pages ===== */
.legal-page {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  color: var(--text-primary);
  line-height: 1.75;
}
.legal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: .25rem;
}
.legal-updated {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.legal-toc {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.legal-toc ol {
  margin: .5rem 0 0 1rem;
  padding: 0;
}
.legal-toc li { margin: .3rem 0; }
.legal-toc a { color: var(--gold); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-page h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 2rem 0 .75rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--border);
}
.legal-page h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 1.25rem 0 .5rem;
}
.legal-page ul, .legal-page ol {
  padding-left: 1.5rem;
  margin: .5rem 0 1rem;
}
.legal-page li { margin: .4rem 0; }
.legal-page a { color: var(--gold); }
.legal-page a:hover { text-decoration: underline; }
.legal-page p { margin: .5rem 0 1rem; }
.legal-page section { margin-bottom: 1.5rem; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .9rem;
}
.legal-table th {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  padding: .65rem .9rem;
  text-align: left;
  border: 1px solid var(--border);
}
.legal-table td {
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  vertical-align: top;
}
.legal-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}
.legal-page code {
  background: rgba(255,255,255,0.08);
  padding: .15em .4em;
  border-radius: 4px;
  font-size: .88em;
  font-family: monospace;
}
@media (max-width: 700px) {
  .legal-page { padding: 1.5rem 1rem; }
  .legal-table { font-size: .8rem; }
  .legal-table th, .legal-table td { padding: .5rem; }
}
/* ===== Social Clubs ===== */
.clubs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem}
.club-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform .18s,box-shadow .18s;display:flex;flex-direction:column}
.club-card:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(0,0,0,.35)}
.club-card.club-pvp{border-color:rgba(231,76,60,.35)}
.club-card.club-hardcore{border-color:rgba(155,89,182,.35)}
.club-card-banner{position:relative;height:90px;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);background-size:cover;background-position:center}
.club-card.club-pvp .club-card-banner{background:linear-gradient(135deg,#2d0a0a,#4a1010,#1a0505)}
.club-card.club-hardcore .club-card-banner{background:linear-gradient(135deg,#1a0d2e,#2d1650,#0d0520)}
.club-card-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.1),rgba(0,0,0,.55))}
.club-card-top{position:absolute;top:.6rem;left:.6rem;right:.6rem;display:flex;justify-content:space-between;align-items:flex-start}
.club-card-identity{position:absolute;bottom:.6rem;left:.6rem;right:.6rem;display:flex;align-items:center;gap:.4rem}
.club-logo{width:40px;height:40px;border-radius:8px;overflow:hidden;border:2px solid rgba(255,255,255,.3);flex-shrink:0}
.club-logo img{width:100%;height:100%;object-fit:cover}
.club-logo-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--gold),#a07020);display:flex;align-items:center;justify-content:center;font-weight:900;color:#000;font-family:Cinzel,serif}
.club-logo-placeholder.club-logo-xl{width:80px;height:80px;border-radius:14px;font-size:2rem}
.club-tag{color:var(--gold);font-weight:700;font-size:.82rem;font-family:Cinzel,serif}
.club-tag.club-tag-lg{font-size:1rem}
.club-name{color:#fff;font-weight:700;text-decoration:none;font-size:.95rem}
.club-name:hover{color:var(--gold)}
.club-badge{font-size:.68rem;font-weight:700;padding:.18rem .5rem;border-radius:20px;display:inline-flex;align-items:center;gap:.25rem}
.club-badge-recruiting{background:rgba(39,174,96,.25);color:#2ecc71;border:1px solid rgba(39,174,96,.4)}
.club-badge-private{background:rgba(149,165,166,.15);color:#95a5a6;border:1px solid rgba(149,165,166,.3)}
.club-card-body{padding:.9rem;flex:1;display:flex;flex-direction:column;gap:.5rem}
.club-meta-row{display:flex;flex-wrap:wrap;gap:.5rem .9rem;font-size:.78rem;color:var(--text-secondary)}
.club-tags{display:flex;flex-wrap:wrap;gap:.3rem}
.club-playtag{font-size:.68rem;font-weight:700;padding:.15rem .5rem;background:rgba(201,168,76,.1);color:var(--gold);border:1px solid rgba(201,168,76,.25);border-radius:20px}
.club-desc{font-size:.82rem;color:var(--text-muted);line-height:1.5;margin:0}
.club-schedule{font-size:.75rem;color:var(--text-muted)}
.club-card-footer{padding:.6rem .9rem;border-top:1px solid var(--border);display:flex;align-items:center;gap:.5rem;background:rgba(0,0,0,.1)}
.club-server-tag{font-size:.72rem;color:var(--text-muted)}
.club-profile-banner-wrap{border-radius:12px 12px 0 0;overflow:hidden;margin-bottom:-40px}
.club-profile-banner-bg{height:180px;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);background-size:cover;background-position:center}
.club-pvp-banner{background:linear-gradient(135deg,#2d0a0a,#4a1010,#1a0505) !important}
.club-profile-banner-overlay{height:100%;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.5))}
.club-profile-header{background:var(--bg-card);border:1px solid var(--border);border-radius:0 0 12px 12px;padding:1.25rem 1.5rem 1.5rem;display:flex;gap:1.25rem;align-items:flex-start;margin-bottom:1.5rem}
.club-profile-logo{width:80px;height:80px;border-radius:14px;overflow:hidden;border:3px solid var(--gold);flex-shrink:0;margin-top:-30px;box-shadow:0 4px 15px rgba(0,0,0,.4)}
.club-profile-logo img{width:100%;height:100%;object-fit:cover}
.club-profile-info{flex:1;min-width:0}
.club-profile-title-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.6rem}
.club-profile-name{font-family:Cinzel,serif;font-size:1.4rem;margin:0}
.club-profile-meta{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.83rem;color:var(--text-secondary);margin-bottom:.6rem}
.club-profile-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.club-detail-layout{display:grid;grid-template-columns:1fr 280px;gap:1.5rem;align-items:start}
.club-detail-main{display:flex;flex-direction:column;gap:1rem}
.club-detail-sidebar{display:flex;flex-direction:column;gap:1rem}
.club-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem}
.club-info-item{background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:8px;padding:.7rem 1rem}
.club-info-label{font-size:.72rem;color:var(--text-muted);margin-bottom:.25rem}
.club-info-value{font-size:.88rem;font-weight:600}
.club-members-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.75rem}
.club-member-card{background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:10px;padding:.75rem;display:flex;gap:.6rem;align-items:center}
.club-member-link-card{text-decoration:none;color:inherit;transition:border-color .18s,transform .18s,background .18s}
.club-member-link-card:hover{border-color:rgba(201,168,76,.42);background:rgba(201,168,76,.05);transform:translateY(-1px)}
.club-member-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--gold),#a07020);color:#000;font-weight:900;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-family:Cinzel,serif;flex-shrink:0}
.club-avatar-leader{background:linear-gradient(135deg,#f1c40f,#e67e22) !important}
.club-avatar-officer{background:linear-gradient(135deg,#9b59b6,#8e44ad) !important;color:#fff !important}
.club-member-info{min-width:0}
.club-member-name{font-weight:600;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.club-member-link-inline{color:inherit;text-decoration:none}
.club-member-link-inline:hover{color:var(--gold)}
.club-member-role{font-size:.7rem;margin-top:.1rem}
.club-role-leader{color:#f1c40f}
.club-role-officer{color:#9b59b6}
.club-role-member{color:var(--text-muted)}
.club-activity-feed{display:flex;flex-direction:column;gap:.6rem}
.club-activity-item{display:flex;gap:.6rem;align-items:center}
.club-activity-avatar{width:28px;height:28px;border-radius:50%;flex-shrink:0;background:rgba(201,168,76,.2);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}
.club-activity-msg{font-size:.8rem;color:var(--text-secondary)}
.club-activity-time{font-size:.68rem;color:var(--text-muted)}
.playtag-picker{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}
.playtag-option{cursor:pointer}
.playtag-option input{display:none}
.playtag-label{display:inline-block;padding:.3rem .8rem;border-radius:20px;font-size:.8rem;font-weight:600;border:1px solid var(--border);color:var(--text-muted);transition:all .15s}
.playtag-option input:checked + .playtag-label{background:rgba(201,168,76,.15);color:var(--gold);border-color:rgba(201,168,76,.4)}
.playtag-option:hover .playtag-label{border-color:var(--gold);color:var(--gold)}
@media (max-width:768px){.club-detail-layout{grid-template-columns:1fr}.clubs-grid{grid-template-columns:1fr}.club-profile-header{flex-direction:column}}

/* Club servers grid */
.club-servers-grid{display:flex;flex-direction:column;gap:.6rem}
.club-server-card{display:flex;align-items:center;gap:.9rem;background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:10px;padding:.75rem 1rem;text-decoration:none;color:inherit;transition:border-color .2s,background .2s}
.club-server-card:hover{border-color:rgba(201,168,76,.4);background:rgba(201,168,76,.05)}
.club-server-card-logo{width:44px;height:44px;flex-shrink:0;border-radius:6px;overflow:hidden;background:rgba(255,255,255,.05);display:flex;align-items:center;justify-content:center}
.club-server-card-logo img{width:100%;height:100%;object-fit:cover}
.club-server-card-icon{color:var(--gold);font-size:1.1rem}
.club-server-card-info{flex:1;min-width:0}
.club-server-card-name{font-weight:700;font-size:.95rem;margin-bottom:.15rem}
.club-server-card-meta{font-size:.75rem;color:var(--text-muted)}
.club-server-card-votes{font-size:.72rem;color:var(--text-secondary);margin-top:.15rem}
.club-server-card-arrow{color:var(--text-muted);font-size:.8rem}
.club-discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.club-discovery-copy{color:var(--text-secondary);font-size:.88rem;line-height:1.6;margin:0 0 .8rem}
.club-discovery-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.club-player-search{display:flex;flex-wrap:wrap;gap:.6rem}
.club-player-search .filter-input{flex:1;min-width:220px}

.player-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1rem}
.player-directory-card{display:block;padding:1rem;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.03);text-decoration:none;color:inherit;transition:border-color .18s,transform .18s,background .18s}
.player-directory-card:hover{border-color:rgba(201,168,76,.42);background:rgba(201,168,76,.05);transform:translateY(-2px)}
.player-directory-top{display:flex;gap:.8rem;align-items:center;margin-bottom:.7rem}
.player-directory-avatar{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,var(--gold),#f4d27a);display:flex;align-items:center;justify-content:center;color:#111827;font-weight:900;font-family:Cinzel,serif;font-size:1.4rem;flex-shrink:0}
.player-directory-head{min-width:0}
.player-directory-name{font-weight:800;font-size:1rem;display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
.player-directory-badge{display:inline-flex;align-items:center;padding:.18rem .5rem;border-radius:999px;background:rgba(39,174,96,.14);border:1px solid rgba(39,174,96,.28);color:#8de7ac;font-size:.68rem;font-weight:800}
.player-directory-meta{display:flex;flex-wrap:wrap;gap:.45rem .7rem;color:var(--text-muted);font-size:.78rem;margin-top:.15rem}
.player-directory-bio{color:var(--text-secondary);font-size:.88rem;line-height:1.6;min-height:3.1em;margin:0 0 .8rem}
.player-directory-stats{display:flex;flex-wrap:wrap;gap:.6rem .9rem;font-size:.76rem;color:var(--text-muted)}
.nationality-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:999px;background:rgba(201,168,76,.14);border:1px solid rgba(201,168,76,.28);color:var(--gold);font-size:.72rem;font-weight:800;line-height:1}
.nationality-badge-lg{padding:.28rem .7rem;font-size:.78rem}
.nationality-badge-flag{font-size:1rem;line-height:1}
.nationality-badge-code{letter-spacing:.04em}

/* 2FA */
.totp-input{font-size:1.6rem;letter-spacing:.3rem;text-align:center;font-family:monospace;max-width:220px}

/* Player social profile */
.player-profile-page{margin-top:2rem}
.player-social-hero{position:relative;margin-bottom:1.5rem}
.player-social-cover{height:190px;border-radius:18px;background:
  radial-gradient(circle at top left, rgba(201,168,76,.34), transparent 36%),
  linear-gradient(135deg,#111827,#1a2336 48%,#2a1822);border:1px solid var(--border)}
.player-social-shell{margin-top:-72px;position:relative;z-index:1;padding:0 1rem}
.player-social-identity{display:grid;grid-template-columns:auto 1fr auto;gap:1.25rem;align-items:center;padding:1.25rem;border-radius:18px;background:rgba(12,17,27,.94);backdrop-filter:blur(10px);box-shadow:0 18px 50px rgba(0,0,0,.35)}
.player-social-avatar{width:96px;height:96px;border-radius:24px;background:linear-gradient(135deg,var(--gold),#f4d27a);display:flex;align-items:center;justify-content:center;color:#111827;font-family:Cinzel,serif;font-size:2.5rem;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.player-social-name-row{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:.45rem}
.player-social-name-row h1{margin:0;font-size:2rem}
.player-social-owner{background:rgba(52,152,219,.14);color:#8ecbff;border:1px solid rgba(52,152,219,.3)}
.player-social-meta{display:flex;flex-wrap:wrap;gap:.7rem 1rem;color:var(--text-secondary);font-size:.86rem;margin-bottom:.75rem}
.player-social-bio{color:var(--text-muted);line-height:1.65;margin:0 0 .9rem}
.player-social-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.player-social-stats{display:grid;grid-template-columns:repeat(2,minmax(90px,1fr));gap:.75rem;min-width:220px}
.player-stat-card{padding:.85rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--border);text-align:center}
.player-stat-value{display:block;font-size:1.35rem;font-weight:800;color:var(--gold);font-family:Cinzel,serif}
.player-stat-label{display:block;font-size:.78rem;color:var(--text-muted);margin-top:.15rem}
.player-social-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem;padding:0 1rem}
.player-highlight{padding:1rem 1.1rem;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid var(--border)}
.player-highlight-label{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.35rem}
.player-highlight-value{font-size:1.2rem;font-weight:800;color:#fff}
.player-highlight-note{font-size:.8rem;color:var(--text-secondary);margin-top:.25rem}
.player-social-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:1.5rem;align-items:start}
.player-social-sidebar,.player-social-maincol{display:flex;flex-direction:column;gap:1rem}
.player-preference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.9rem}
.player-preference-card{padding:1rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--border)}
.player-preference-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.35rem}
.player-preference-value{font-weight:700;color:var(--text-secondary);line-height:1.5}
.player-badge-stack{display:flex;flex-direction:column;gap:.75rem}
.player-badge-row{display:flex;gap:.7rem;align-items:flex-start;padding:.75rem;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid var(--border)}
.player-badge-icon{width:40px;height:40px;border-radius:12px;background:rgba(201,168,76,.14);color:var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.player-badge-name{font-weight:700}
.player-badge-desc{font-size:.8rem;color:var(--text-muted);margin-top:.15rem}
.player-side-list{display:flex;flex-direction:column;gap:.65rem}
.player-side-item{display:block;padding:.8rem .9rem;border-radius:12px;border:1px solid var(--border);background:rgba(255,255,255,.03);text-decoration:none;color:inherit;transition:border-color .18s,transform .18s}
.player-side-item:hover{border-color:rgba(201,168,76,.42);transform:translateY(-1px)}
.player-side-title{font-weight:700;margin-bottom:.15rem}
.player-side-meta{font-size:.78rem;color:var(--text-muted)}
.player-feed{display:flex;flex-direction:column;gap:.9rem}
.player-feed-item{display:flex;gap:.9rem;align-items:flex-start;padding:.95rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--border)}
.player-feed-marker{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(201,168,76,.14);color:var(--gold);flex-shrink:0}
.player-feed-body{flex:1;min-width:0}
.player-feed-top{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.2rem}
.player-feed-label{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
.player-feed-time{font-size:.76rem;color:var(--text-muted)}
.player-feed-message{color:var(--text-secondary);line-height:1.55}
.player-review-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.player-review-tile{padding:1rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--border)}
.player-review-top{display:flex;justify-content:space-between;gap:.75rem;align-items:center;margin-bottom:.35rem}
.player-review-server{font-weight:700;text-decoration:none}
.player-review-rating{color:var(--gold);font-size:.9rem}
.player-review-meta{display:flex;flex-wrap:wrap;gap:.5rem .8rem;font-size:.76rem;color:var(--text-muted);margin-bottom:.6rem}
.player-review-pills{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.6rem}
.review-chip{display:inline-flex;align-items:center;padding:.24rem .55rem;border-radius:999px;font-size:.72rem;font-weight:700}
.review-chip-pro{background:rgba(46,204,113,.14);color:#84efad;border:1px solid rgba(46,204,113,.28)}
.review-chip-con{background:rgba(231,76,60,.14);color:#ff9f92;border:1px solid rgba(231,76,60,.28)}
.player-review-comment{margin:0;color:var(--text-secondary);line-height:1.58}
@media (max-width: 980px){
  .player-social-identity{grid-template-columns:1fr}
  .player-social-stats{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0}
  .player-social-layout{grid-template-columns:1fr}
}
@media (max-width: 700px){
  .player-social-shell,.player-social-highlights{padding:0 .4rem}
  .player-social-cover{height:150px}
  .player-social-shell{margin-top:-48px}
  .player-social-avatar{width:78px;height:78px;font-size:2rem}
  .player-social-name-row h1{font-size:1.6rem}
  .player-social-highlights{grid-template-columns:1fr}
  .player-social-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .player-feed-top,.player-review-top{flex-direction:column;align-items:flex-start}
}
@media (max-width:768px){
  .club-discovery-grid{grid-template-columns:1fr}
}

/* ── Toast Notifications ────────────────────────────────────────────── */
.toast-notification{position:fixed;bottom:2rem;right:2rem;color:#fff;padding:.85rem 1.5rem;border-radius:8px;font-family:'Exo 2',sans-serif;font-size:.9rem;font-weight:500;display:flex;align-items:center;gap:.5rem;z-index:9999;box-shadow:0 4px 20px rgba(0,0,0,.5);animation:slideUp .3s ease;max-width:400px}
.toast-success{background:rgba(39,174,96,.95)}
.toast-error{background:rgba(192,57,43,.95)}

/* ── Community Hub ──────────────────────────────────────────────────── */
.community-quick-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2rem;padding:.85rem;background:rgba(20,20,28,.6);border:1px solid rgba(201,168,76,.18);border-radius:10px}
.community-quick-link{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .85rem;border-radius:6px;background:rgba(30,30,42,.85);color:var(--text-secondary);text-decoration:none;font-size:.88rem;border:1px solid transparent;transition:.15s}
.community-quick-link:hover{color:var(--text-light);border-color:rgba(201,168,76,.4);background:rgba(40,40,55,.95)}
.community-quick-link-cta{background:linear-gradient(135deg,#c9a84c,#9a7a2a);color:#11101a;font-weight:600}
.community-quick-link-cta:hover{filter:brightness(1.1);color:#11101a}

.community-section-title{font-family:'Cinzel',serif;font-size:1.55rem;margin:2.5rem 0 1.2rem;color:var(--text-light);display:flex;align-items:center;gap:.55rem;border-bottom:1px solid rgba(201,168,76,.22);padding-bottom:.55rem}

.community-leaderboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem}
.community-board{background:rgba(20,20,28,.7);border:1px solid rgba(201,168,76,.18);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}
.community-board-header{display:flex;align-items:center;gap:.55rem;padding:.85rem 1rem;background:linear-gradient(135deg,rgba(201,168,76,.12),rgba(154,122,42,.04));border-bottom:1px solid rgba(201,168,76,.18)}
.community-board-header h3{margin:0;font-size:1.02rem;font-family:'Cinzel',serif;color:var(--text-light)}
.community-board-icon{color:#c9a84c;font-size:1.1rem}
.community-board-empty{color:#555570;padding:1rem;margin:0;font-size:.88rem;text-align:center}
.community-board-list{list-style:none;margin:0;padding:.25rem 0;flex:1}
.community-board-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.6rem;padding:.55rem .9rem;border-bottom:1px solid rgba(40,40,55,.6)}
.community-board-item:last-child{border-bottom:none}
.community-rank{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#1a1827;color:#8888aa;font-weight:700;font-size:.82rem;border:1px solid rgba(201,168,76,.18)}
.community-rank.rank-1{background:linear-gradient(135deg,#f1c40f,#c9a84c);color:#11101a;border-color:#f1c40f}
.community-rank.rank-2{background:linear-gradient(135deg,#bdc3c7,#7f8c8d);color:#11101a;border-color:#bdc3c7}
.community-rank.rank-3{background:linear-gradient(135deg,#cd7f32,#8b4513);color:#fff;border-color:#cd7f32}
.community-board-name{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:var(--text-light);min-width:0;flex:1}
.community-board-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#3a3a55,#1a1a2a);color:#c9a84c;font-weight:700;font-size:.92rem;flex-shrink:0;border:1px solid rgba(201,168,76,.25)}
.community-board-meta{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.community-board-username{font-weight:600;color:var(--text-light);font-size:.92rem;display:flex;align-items:center;gap:.35rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-board-sub{color:#8888aa;font-size:.74rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-board-score{text-align:right;color:#c9a84c;font-size:.85rem;line-height:1.1}
.community-board-score strong{display:block;color:#f1c40f;font-size:1.05rem}
.community-board-score-label{color:#8888aa;font-size:.72rem}

.community-pill-row{display:flex;flex-wrap:wrap;gap:.55rem}
.community-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .85rem;background:rgba(20,20,28,.8);border:1px solid rgba(201,168,76,.18);border-radius:999px;text-decoration:none;color:var(--text-light);font-size:.88rem;transition:.15s}
.community-pill:hover{border-color:rgba(201,168,76,.5);background:rgba(30,30,42,.95)}
.community-pill-rank{color:#c9a84c;font-weight:700;font-size:.78rem}
.community-pill-avatar{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#3a3a55,#1a1a2a);color:#c9a84c;font-weight:700;font-size:.78rem;flex-shrink:0}
.community-pill-name{display:inline-flex;align-items:center;gap:.3rem;font-weight:500}
.community-pill-score{color:#8888aa;font-size:.78rem;border-left:1px solid rgba(201,168,76,.18);padding-left:.55rem}

@media (max-width:680px){
  .community-board-item{grid-template-columns:auto 1fr auto;gap:.4rem;padding:.5rem .65rem}
  .community-board-avatar{width:28px;height:28px;font-size:.82rem}
  .community-board-username{font-size:.86rem}
  .community-section-title{font-size:1.3rem}
}

/* ── Player of the Week ─────────────────────────────────────────────── */
.potw-card{display:grid;grid-template-columns:auto 1fr;gap:1.2rem;padding:1.5rem;background:linear-gradient(135deg,rgba(241,196,15,.08),rgba(201,168,76,.04));border:1px solid rgba(241,196,15,.35);border-radius:12px;text-decoration:none;color:inherit;transition:.2s;position:relative;overflow:hidden}
.potw-card::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(241,196,15,.06) 0%,transparent 60%);pointer-events:none}
.potw-card:hover{border-color:rgba(241,196,15,.6);transform:translateY(-2px)}
.potw-avatar{width:88px;height:88px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#c9a84c,#7a5a1a);color:#11101a;font-family:'Cinzel',serif;font-weight:700;font-size:2.4rem;border-radius:50%;border:3px solid #f1c40f;flex-shrink:0;box-shadow:0 0 28px rgba(241,196,15,.4)}
.potw-body{display:flex;flex-direction:column;gap:.55rem;min-width:0}
.potw-name{font-family:'Cinzel',serif;font-size:1.55rem;color:var(--text-light);display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.potw-tag{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .6rem;background:linear-gradient(135deg,#f1c40f,#c9a84c);color:#11101a;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;border-radius:4px;font-family:'Exo 2',sans-serif}
.potw-meta{display:flex;flex-wrap:wrap;gap:.5rem;color:#8888aa;font-size:.85rem}
.potw-meta span::after{content:'·';margin-left:.5rem;color:#555570}
.potw-meta span:last-child::after{content:''}
.potw-bio{margin:0;color:var(--text-secondary);font-size:.92rem;line-height:1.5;max-width:760px}
.potw-stats{display:flex;flex-wrap:wrap;gap:1.2rem;margin-top:.25rem}
.potw-stat{display:flex;align-items:center;gap:.45rem;font-size:.92rem;color:#8888aa}
.potw-stat strong{color:#f1c40f;font-size:1.15rem;font-weight:700}
.potw-stat span{font-size:.78rem}
@media (max-width:680px){
  .potw-card{grid-template-columns:auto 1fr;gap:.85rem;padding:1rem}
  .potw-avatar{width:64px;height:64px;font-size:1.8rem}
  .potw-name{font-size:1.2rem}
  .potw-stats{gap:.85rem}
}

/* ── Leaderboard "View Full Ranking" link ──────────────────────────── */
.community-board-more{display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.65rem;background:rgba(30,30,42,.6);color:#c9a84c;text-decoration:none;font-size:.84rem;font-weight:500;border-top:1px solid rgba(40,40,55,.7);transition:.15s}
.community-board-more:hover{background:rgba(40,40,55,.95);color:#f1c40f}

/* ── Live community feed ──────────────────────────────────────────── */
.community-feed{display:flex;flex-direction:column;gap:.4rem;background:rgba(20,20,28,.6);border:1px solid rgba(201,168,76,.15);border-radius:10px;padding:.4rem}
.community-feed-item{display:flex;align-items:flex-start;gap:.75rem;padding:.65rem .85rem;background:rgba(30,30,42,.55);border-radius:6px;transition:.15s}
.community-feed-item:hover{background:rgba(40,40,55,.8)}
.community-feed-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(201,168,76,.15);color:#c9a84c;border-radius:50%;flex-shrink:0;font-size:.85rem}
.community-feed-body{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}
.community-feed-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;font-size:.9rem;line-height:1.4}
.community-feed-user{color:var(--text-light);font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:.25rem}
.community-feed-user:hover{color:#c9a84c}
.community-feed-verb{color:#8888aa}
.community-feed-summary{color:var(--text-secondary);font-size:.88rem;overflow:hidden;text-overflow:ellipsis}
.community-feed-time{color:#555570;font-size:.74rem}

/* ── Leaderboard detail pagination ────────────────────────────────── */
.community-pagination{display:flex;justify-content:center;align-items:center;gap:.35rem;margin:1.5rem auto 0;flex-wrap:wrap}
.community-pagination-btn,.community-pagination-num{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;padding:.5rem .85rem;background:rgba(20,20,28,.7);border:1px solid rgba(201,168,76,.2);color:var(--text-secondary);text-decoration:none;border-radius:6px;font-size:.88rem;min-width:38px;transition:.15s}
.community-pagination-btn:hover,.community-pagination-num:hover{background:rgba(40,40,55,.95);border-color:rgba(201,168,76,.5);color:var(--text-light)}
.community-pagination-num.active{background:linear-gradient(135deg,#c9a84c,#9a7a2a);color:#11101a;border-color:#c9a84c;font-weight:700}
.community-pagination-btn.disabled{opacity:.4;pointer-events:none}
.community-pagination-gap{color:#555570;padding:0 .25rem}

/* ── Country flag icons (flag-icons library) ───────────────────────── */
.player-flag{display:inline-block;width:1.4em;height:1em;vertical-align:-0.18em;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.35);background-size:cover;background-position:center;margin-right:.15em}
.player-flag-lg{width:2.2em;height:1.55em;vertical-align:-0.35em;border-radius:3px}

/* ── Country select with inline flag preview ───────────────────────── */
.country-select-wrap{display:flex;align-items:center;gap:.55rem}
.country-select-flag{flex-shrink:0;width:2.2em;height:1.55em;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.35);background-size:cover;background-position:center}
.country-select-flag-empty{background:repeating-linear-gradient(45deg,#2a2a40 0 6px,#1a1a2a 6px 12px);box-shadow:0 0 0 1px rgba(201,168,76,.25)}
.country-select-wrap select{flex:1;min-width:0}

/* ── Community search bar ──────────────────────────────────────────── */
.community-search{position:relative;max-width:600px;margin:1.25rem auto 1.5rem}
.community-search-inner{display:flex;align-items:center;background:rgba(20,20,28,.85);border:1px solid rgba(201,168,76,.3);border-radius:10px;padding:.2rem .2rem .2rem .85rem;transition:.15s;box-shadow:0 4px 18px rgba(0,0,0,.35)}
.community-search-inner:focus-within{border-color:#c9a84c;box-shadow:0 4px 22px rgba(201,168,76,.18)}
.community-search-icon{color:#8888aa;margin-right:.55rem;font-size:.95rem}
.community-search-input{flex:1;background:transparent;border:none;outline:none;color:var(--text-light);font-family:'Exo 2',sans-serif;font-size:.95rem;padding:.65rem 0}
.community-search-input::placeholder{color:#666688}
.community-search-submit{background:linear-gradient(135deg,#c9a84c,#9a7a2a);color:#11101a;border:none;padding:.55rem 1.1rem;border-radius:8px;font-weight:600;font-family:'Exo 2',sans-serif;cursor:pointer;font-size:.88rem;letter-spacing:.02em}
.community-search-submit:hover{filter:brightness(1.1)}

.community-search-results{position:absolute;top:calc(100% + .35rem);left:0;right:0;background:rgba(15,15,22,.98);border:1px solid rgba(201,168,76,.3);border-radius:10px;list-style:none;margin:0;padding:.3rem;box-shadow:0 12px 32px rgba(0,0,0,.5);z-index:50;max-height:430px;overflow-y:auto}
.community-search-item{display:grid;grid-template-columns:auto 1fr;gap:.65rem;align-items:center;padding:.55rem .7rem;border-radius:6px;cursor:pointer;transition:.1s}
.community-search-item:hover,.community-search-item.active{background:rgba(201,168,76,.12)}
.community-search-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#3a3a55,#1a1a2a);color:#c9a84c;font-weight:700;font-size:1rem;flex-shrink:0;border:1px solid rgba(201,168,76,.25)}
.community-search-text{display:flex;flex-direction:column;gap:.1rem;min-width:0;line-height:1.2}
.community-search-name{color:var(--text-light);font-weight:600;font-size:.92rem;display:flex;align-items:center;gap:.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-search-meta{color:#8888aa;font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-search-empty{padding:.85rem;color:#666688;text-align:center;font-size:.88rem;font-style:italic}

@media (max-width:680px){
  .community-search-submit{padding:.5rem .85rem;font-size:.82rem}
  .community-search-input{font-size:.88rem;padding:.55rem 0}
}

/* ── Daily quests — horizontal cards ───────────────────────────────── */
.quest-list{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1rem}
.quest-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:.85rem 1.1rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);transition:border-color var(--transition),transform var(--transition)}
.quest-card:hover{border-color:var(--gold-dark);transform:translateX(2px)}
.quest-card-done{border-color:rgba(39,174,96,.45);background:linear-gradient(90deg,rgba(39,174,96,.06),transparent 65%)}
.quest-card-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(201,168,76,.12);color:#c9a84c;font-size:1.05rem;flex-shrink:0}
.quest-card-done .quest-card-icon{background:rgba(39,174,96,.15);color:#27ae60}
.quest-card-body{min-width:0;display:flex;flex-direction:column;gap:.15rem}
.quest-card-title{font-weight:700;color:var(--text-primary);font-size:.95rem;line-height:1.2}
.quest-card-desc{font-size:.82rem;color:var(--text-secondary);line-height:1.35}
.quest-card-status{flex-shrink:0}
.quest-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .7rem;border-radius:999px;font-size:.78rem;font-weight:600;white-space:nowrap}
.quest-badge-done{background:rgba(39,174,96,.18);color:#7ed29c;border:1px solid rgba(39,174,96,.4)}
.quest-badge-reward{background:rgba(201,168,76,.14);color:#f1c40f;border:1px solid rgba(201,168,76,.4)}

@media (max-width:560px){
  .quest-card{grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:.55rem 1rem}
  .quest-card-status{grid-column:1 / -1;justify-self:start}
}

/* ── Buy Credits — redesigned ───────────────────────────────────────── */
.credits-hero{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2rem;padding:1.8rem 2rem;margin-bottom:1.5rem;background:linear-gradient(135deg,rgba(201,168,76,.12),rgba(154,122,42,.04) 50%,rgba(20,20,28,.4));border:1px solid rgba(201,168,76,.3);border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.3);position:relative;overflow:hidden}
.credits-hero::before{content:"";position:absolute;top:-40%;right:-10%;width:380px;height:380px;background:radial-gradient(circle,rgba(241,196,15,.08) 0%,transparent 65%);pointer-events:none}
.credits-hero-text h1{margin:0 0 .35rem;font-family:'Cinzel',serif;font-size:1.9rem;color:var(--text-light)}
.credits-hero-text p{margin:0;color:var(--text-secondary);font-size:.96rem;max-width:520px;line-height:1.45}
.credits-hero-stats{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}
.credits-hero-stat{background:rgba(15,15,22,.7);border:1px solid rgba(201,168,76,.25);border-radius:10px;padding:.75rem 1rem;min-width:130px;text-align:center}
.credits-hero-stat-val{font-family:'Cinzel',serif;font-size:1.45rem;color:#f1c40f;font-weight:700;line-height:1.1}
.credits-hero-stat-lbl{color:#8888aa;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;margin-top:.25rem}

.credits-status{display:flex;gap:.85rem;align-items:flex-start;padding:.85rem 1.1rem;border-radius:10px;margin-bottom:1.5rem;font-size:.92rem;line-height:1.45}
.credits-status i{font-size:1.1rem;flex-shrink:0;margin-top:.1rem}
.credits-status-ok{background:rgba(39,174,96,.08);border:1px solid rgba(39,174,96,.3);color:#aee0bd}
.credits-status-ok i{color:#27ae60}
.credits-status-warn{background:rgba(231,140,40,.08);border:1px solid rgba(231,140,40,.3);color:#f0c894}
.credits-status-warn i{color:#e88c28}
.provider-pill{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.72rem;font-weight:700;margin:0 .2rem;text-transform:uppercase;letter-spacing:.05em}
.provider-stripe{background:rgba(99,91,255,.18);color:#a09bff;border:1px solid rgba(99,91,255,.4)}
.provider-paypal{background:rgba(0,123,193,.18);color:#79c5ff;border:1px solid rgba(0,123,193,.4)}

.credits-packages-section{padding-top:.5rem}
.credits-packages-header h2{margin:0 0 .25rem;font-family:'Cinzel',serif;color:var(--text-light)}
.credits-packages-header p{margin:0 0 1.25rem;color:var(--text-muted);font-size:.9rem}

.credit-packages-v2{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.credit-card-v2{position:relative;background:linear-gradient(180deg,rgba(28,28,42,.85),rgba(18,18,28,.85));border:1px solid rgba(201,168,76,.22);border-radius:14px;padding:1.4rem 1.1rem 1.15rem;display:flex;flex-direction:column;align-items:center;gap:.4rem;transition:transform .15s,border-color .15s,box-shadow .15s;text-align:center}
.credit-card-v2:hover{transform:translateY(-3px);border-color:rgba(241,196,15,.55);box-shadow:0 10px 28px rgba(241,196,15,.1)}
.credit-card-v2.is-popular{border-color:#c9a84c;background:linear-gradient(180deg,rgba(241,196,15,.08),rgba(18,18,28,.92));box-shadow:0 6px 22px rgba(241,196,15,.15)}
.credit-card-v2.is-best{border-color:#9b59b6;background:linear-gradient(180deg,rgba(155,89,182,.1),rgba(18,18,28,.92));box-shadow:0 6px 22px rgba(155,89,182,.2)}
.credit-card-ribbon{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#f1c40f,#c9a84c);color:#11101a;font-size:.72rem;font-weight:800;letter-spacing:.05em;padding:.3rem .8rem;border-radius:999px;text-transform:uppercase;white-space:nowrap;box-shadow:0 4px 14px rgba(241,196,15,.4)}
.credit-card-ribbon-best{background:linear-gradient(135deg,#bb6bd9,#7d3c98);color:#fff;box-shadow:0 4px 14px rgba(155,89,182,.4)}
.credit-card-savings{position:absolute;top:.65rem;right:.65rem;background:rgba(39,174,96,.18);color:#7ed29c;border:1px solid rgba(39,174,96,.4);padding:.18rem .55rem;border-radius:999px;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.credit-card-label{color:#8888aa;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;margin-top:.35rem}
.credit-card-amount{display:flex;flex-direction:column;align-items:center;margin:.15rem 0}
.credit-card-amount-num{font-family:'Cinzel',serif;font-size:2.4rem;font-weight:900;color:#f1c40f;line-height:1}
.credit-card-amount-lbl{color:#8888aa;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;margin-top:.15rem}
.credit-card-price{display:flex;align-items:baseline;color:var(--text-light);margin-top:.2rem}
.credit-card-price-currency{font-size:1rem;color:#8888aa;margin-right:.1rem}
.credit-card-price-value{font-family:'Cinzel',serif;font-size:1.8rem;font-weight:700}
.credit-card-rate{color:#666688;font-size:.78rem;margin-bottom:.45rem}
.credit-card-form{width:100%;display:flex;flex-direction:column;gap:.5rem;margin-top:.55rem}
.credit-card-method{width:100%;background:rgba(15,15,22,.85);border:1px solid rgba(201,168,76,.25);color:var(--text-light);padding:.45rem .6rem;border-radius:6px;font-size:.85rem;font-family:'Exo 2',sans-serif}
.credit-card-cta{font-weight:700;letter-spacing:.02em}

.credits-uses-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem}
.credits-use-tile{display:flex;gap:.85rem;padding:1rem;background:rgba(20,20,28,.6);border:1px solid rgba(201,168,76,.2);border-radius:10px;color:inherit;text-decoration:none;transition:.15s}
.credits-use-tile-link:hover{border-color:rgba(241,196,15,.5);transform:translateX(2px);background:rgba(30,30,42,.85)}
.credits-use-tile-disabled{opacity:.55}
.credits-use-tile-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:rgba(201,168,76,.14);color:#c9a84c;border-radius:50%;flex-shrink:0;font-size:1.05rem}
.credits-use-tile-body{min-width:0}
.credits-use-tile-body h4{margin:0 0 .2rem;font-family:'Cinzel',serif;color:var(--text-light);font-size:.98rem}
.credits-use-tile-body p{margin:0 0 .35rem;color:var(--text-secondary);font-size:.85rem;line-height:1.4}
.credits-use-price{color:#c9a84c;font-size:.8rem;font-weight:600}

.credits-trust-strip{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;justify-content:center;padding:1rem;margin:1.5rem 0;background:rgba(20,20,28,.6);border:1px solid rgba(201,168,76,.15);border-radius:10px}
.credits-trust-item{color:#aaaabb;font-size:.85rem;display:flex;align-items:center;gap:.45rem}

.credits-history{background:rgba(20,20,28,.5);border:1px solid rgba(201,168,76,.15);border-radius:10px;padding:.4rem .75rem}
.credits-history > summary{cursor:pointer;padding:.65rem .25rem;font-family:'Cinzel',serif;color:var(--text-light);font-size:1.1rem;display:flex;align-items:center;gap:.55rem;list-style:none}
.credits-history > summary::-webkit-details-marker{display:none}
.credits-history > summary::before{content:"\f0d7";font-family:"Font Awesome 6 Free";font-weight:900;color:#c9a84c;transition:transform .15s}
.credits-history:not([open]) > summary::before{transform:rotate(-90deg)}
.credits-history-count{margin-left:auto;background:rgba(201,168,76,.15);color:#c9a84c;padding:.15rem .55rem;border-radius:999px;font-size:.78rem;font-family:'Exo 2',sans-serif}
.credits-history-table{margin-top:.35rem}

@media (max-width: 880px){
  .credits-hero{grid-template-columns:1fr;padding:1.3rem}
  .credits-hero-stats{justify-content:flex-start}
  .credits-hero-stat{min-width:0;flex:1}
  .credits-hero-text h1{font-size:1.5rem}
  .credit-card-amount-num{font-size:2rem}
}

/* ── Banner advertise page — redesigned ─────────────────────────────── */
.banner-page{padding-bottom:140px}

.banner-hero{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.6rem 1.8rem;margin-bottom:1.25rem;background:linear-gradient(135deg,rgba(201,168,76,.13),rgba(20,20,28,.4) 60%);border:1px solid rgba(201,168,76,.3);border-radius:14px;flex-wrap:wrap}
.banner-hero h1{margin:0 0 .3rem;font-family:'Cinzel',serif;font-size:1.65rem;color:var(--text-light)}
.banner-hero p{margin:0;color:var(--text-secondary);font-size:.92rem;max-width:620px;line-height:1.45}

/* Numbered steps */
.banner-step{margin-bottom:2rem}
.banner-step-head{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.85rem;align-items:center;margin-bottom:1rem}
.banner-step-num{grid-row:1 / span 2;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#c9a84c,#9a7a2a);color:#11101a;font-family:'Cinzel',serif;font-weight:900;font-size:1.05rem}
.banner-step-head h2{margin:0;font-family:'Cinzel',serif;font-size:1.25rem;color:var(--text-light)}
.banner-step-head p{margin:.1rem 0 0;color:var(--text-muted);font-size:.86rem}

/* Zone cards */
.banner-zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.banner-zone{position:relative;background:linear-gradient(180deg,rgba(28,28,42,.85),rgba(18,18,28,.92));border:1px solid rgba(201,168,76,.22);border-radius:12px;padding:1.1rem;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;flex-direction:column;gap:.8rem}
.banner-zone:hover{transform:translateY(-3px);border-color:rgba(241,196,15,.55);box-shadow:0 10px 26px rgba(241,196,15,.1)}
.banner-zone.is-selected{border-color:#f1c40f;box-shadow:0 6px 22px rgba(241,196,15,.25);background:linear-gradient(180deg,rgba(241,196,15,.07),rgba(18,18,28,.95))}
.banner-zone.is-full{cursor:not-allowed;opacity:.55}
.banner-zone.is-full:hover{transform:none;border-color:rgba(201,168,76,.22);box-shadow:none}
.banner-zone-badge{position:absolute;top:.7rem;right:.7rem;font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:.22rem .55rem;border-radius:999px}
.banner-zone-badge-premium{background:linear-gradient(135deg,#f1c40f,#c9a84c);color:#11101a}
.banner-zone-badge-native{background:rgba(155,89,182,.18);color:#bb8ad4;border:1px solid rgba(155,89,182,.4)}

/* Placement mini preview */
.banner-zone-preview{background:#0c0c14;border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:.55rem;height:130px;overflow:hidden}
.bzp-frame{display:flex;flex-direction:column;gap:.25rem;height:100%}
.bzp-navbar{background:rgba(201,168,76,.18);color:#c9a84c;font-size:.6rem;letter-spacing:.06em;text-transform:uppercase;padding:.18rem .35rem;border-radius:3px;font-weight:700}
.bzp-content{background:rgba(40,40,55,.7);border-radius:3px;height:14px;flex-shrink:0}
.bzp-content-premium{background:linear-gradient(90deg,rgba(241,196,15,.25),rgba(40,40,55,.7));height:14px}
.bzp-slot{background:rgba(99,107,255,.22);border:1px dashed rgba(99,107,255,.6);border-radius:3px;display:flex;align-items:center;justify-content:center;color:transparent;flex-shrink:0}
.bzp-slot.is-here{background:rgba(241,196,15,.4);border:1px solid #f1c40f;box-shadow:0 0 12px rgba(241,196,15,.5)}
.bzp-slot-strip{height:16px;width:18%}
.bzp-slot-top{height:22px;width:100%;margin-top:auto}
.bzp-slot-sidebar{width:34%;height:100%;min-height:64px}
.bzp-slot-inlist{height:18px;width:66%;margin:0 auto}
.bzp-strip-row{display:flex;gap:.25rem}
.bzp-sidebar-row{display:flex;gap:.35rem;flex:1;min-height:0}
.bzp-main-col{flex:1;display:flex;flex-direction:column;gap:.25rem}

/* Zone info */
.banner-zone-info{display:flex;flex-direction:column;gap:.35rem}
.banner-zone-title{font-family:'Cinzel',serif;font-size:1.05rem;color:var(--text-light);display:flex;align-items:center;gap:.4rem}
.banner-zone-title i{color:#c9a84c}
.banner-zone-dim{color:#8888aa;font-size:.78rem;font-family:'Exo 2',sans-serif;letter-spacing:.05em}
.banner-zone-tagline{color:var(--text-secondary);font-size:.85rem;line-height:1.4}
.banner-zone-avail{margin-top:.15rem}
.banner-zone-avail-pill{display:inline-flex;align-items:center;gap:.35rem;font-size:.74rem;padding:.18rem .5rem;border-radius:999px;background:rgba(39,174,96,.15);color:#7ed29c;border:1px solid rgba(39,174,96,.35);font-weight:600}
.banner-zone-avail-pill.is-full{background:rgba(231,76,60,.15);color:#ff8c7a;border-color:rgba(231,76,60,.4)}

/* Price chips */
.banner-zone-prices{display:flex;gap:.4rem;margin-top:.4rem;flex-wrap:wrap}
.banner-price-chip{flex:1;min-width:80px;background:rgba(15,15,22,.75);border:1px solid rgba(201,168,76,.25);border-radius:8px;padding:.4rem .55rem;color:var(--text-light);cursor:pointer;text-align:center;font-family:'Exo 2',sans-serif;display:flex;flex-direction:column;gap:.1rem;transition:.12s}
.banner-price-chip:hover:not(:disabled){border-color:#f1c40f;background:rgba(241,196,15,.08)}
.banner-price-chip.is-selected{border-color:#f1c40f;background:linear-gradient(135deg,rgba(241,196,15,.15),rgba(154,122,42,.05));box-shadow:0 0 0 1px rgba(241,196,15,.3) inset}
.banner-price-chip:disabled{cursor:not-allowed;opacity:.4}
.banner-price-chip-days{font-size:.7rem;color:#8888aa;text-transform:uppercase;letter-spacing:.06em}
.banner-price-chip-cost{font-size:.92rem;font-weight:700;color:#f1c40f;display:flex;align-items:center;justify-content:center;gap:.25rem}
.banner-price-chip-cost i{font-size:.72rem}

/* Step 2 config */
.banner-config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem}
.banner-config-card{background:rgba(20,20,28,.55);border:1px solid rgba(201,168,76,.18);border-radius:10px;padding:.85rem 1rem;display:flex;flex-direction:column;gap:.45rem}
.banner-config-lbl{color:#c9a84c;font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;display:block}
.banner-config-lbl small{color:#666688;font-weight:400;text-transform:none;letter-spacing:0;margin-left:.3rem}
.banner-config-hint{color:#666688;font-size:.78rem;margin-top:.25rem;display:block}

.banner-duration-row{display:flex;gap:.4rem;flex-wrap:wrap}
.banner-duration-pill{flex:1;min-width:70px;background:rgba(15,15,22,.7);border:1px solid rgba(201,168,76,.25);border-radius:8px;padding:.5rem .65rem;text-align:center;cursor:pointer;font-size:.88rem;color:var(--text-secondary);transition:.12s;display:block}
.banner-duration-pill input{display:none}
.banner-duration-pill:hover{border-color:#c9a84c;color:var(--text-light)}
.banner-duration-pill.is-active{border-color:#f1c40f;background:linear-gradient(135deg,rgba(241,196,15,.18),rgba(154,122,42,.04));color:#f1c40f;font-weight:700;box-shadow:0 0 0 1px rgba(241,196,15,.3) inset}

/* Step 3 details */
.banner-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.banner-details-card{background:rgba(20,20,28,.55);border:1px solid rgba(201,168,76,.18);border-radius:10px;padding:1.1rem;display:flex;flex-direction:column;gap:.7rem}
.banner-required{color:#e74c3c;margin-left:.15rem}

.banner-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;padding:2rem 1rem;border:2px dashed rgba(201,168,76,.35);border-radius:10px;background:rgba(10,10,16,.5);cursor:pointer;text-align:center;transition:.12s;min-height:160px}
.banner-upload:hover{border-color:#c9a84c;background:rgba(201,168,76,.06)}
.banner-upload.has-file{border-color:#27ae60;background:rgba(39,174,96,.04)}
.banner-upload i{font-size:2rem;color:#c9a84c}
.banner-upload-title{font-weight:700;color:var(--text-light);font-size:.95rem}
.banner-upload-hint{font-size:.78rem;color:#8888aa;line-height:1.4}
.banner-upload-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.banner-image-preview{position:relative;margin-top:.5rem;background:#0c0c14;border:1px solid rgba(201,168,76,.25);border-radius:8px;overflow:hidden;text-align:center;padding:.5rem}
.banner-image-preview img{max-width:100%;max-height:160px;display:inline-block;border-radius:4px}
.banner-image-clear{position:absolute;top:.4rem;right:.4rem;background:rgba(20,20,28,.85);border:1px solid rgba(201,168,76,.3);color:#f1c40f;width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.12s}
.banner-image-clear:hover{background:rgba(231,76,60,.2);border-color:#e74c3c;color:#ff8c7a}

/* Sticky summary bar */
.banner-summary-bar{position:sticky;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(15,15,22,.6),rgba(10,10,16,.97));backdrop-filter:blur(10px);border-top:1px solid rgba(201,168,76,.35);box-shadow:0 -8px 24px rgba(0,0,0,.5);padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;border-radius:12px 12px 0 0;margin:0 -1rem -1rem;z-index:30}
.banner-summary-meta{color:var(--text-light);font-size:.95rem;display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.banner-summary-zone{font-family:'Cinzel',serif;color:#f1c40f;font-weight:700}
.banner-summary-sep{color:#555570}
.banner-summary-cost{display:flex;align-items:center;gap:.55rem;margin-top:.2rem;font-size:1.05rem}
.banner-summary-cost strong{font-family:'Cinzel',serif;color:#f1c40f;font-size:1.25rem}
.banner-summary-balance{color:#8888aa;font-size:.8rem;margin-left:.6rem}
.banner-summary-actions{display:flex;gap:.6rem;align-items:center}

@media (max-width:780px){
  .banner-details-grid{grid-template-columns:1fr}
  .banner-summary-bar{flex-direction:column;align-items:stretch;text-align:center}
  .banner-summary-actions{justify-content:center}
  .banner-page{padding-bottom:200px}
}
