/* ========================================
   Lion RP — Premium Design System
   lionrp.online | Dark Gold Theme
   ======================================== */

/* ---- Google Font: Outfit ---- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Colors */
  --black:       #050505;
  --black-2:     #0d0d0d;
  --black-3:     #111111;
  --black-4:     #1a1a1a;
  --black-5:     #222222;
  --card-bg:     rgba(255,255,255,0.04);
  --card-border: rgba(212,160,23,0.12);

  --gold:        #D4A017;
  --gold-light:  #F0C040;
  --gold-dim:    #A07810;
  --gold-glow:   rgba(212,160,23,0.25);
  --gold-glow-2: rgba(212,160,23,0.08);

  --white:       #FFFFFF;
  --white-90:    rgba(255,255,255,0.9);
  --white-70:    rgba(255,255,255,0.7);
  --white-40:    rgba(255,255,255,0.4);
  --white-15:    rgba(255,255,255,0.08);

  --success:     #22c55e;
  --danger:      #ef4444;
  --warning:     #f59e0b;
  --info:        #3b82f6;

  /* Gradients */
  --grad-gold:     linear-gradient(135deg, #D4A017 0%, #F0C040 50%, #D4A017 100%);
  --grad-gold-v:   linear-gradient(180deg, #F0C040 0%, #D4A017 100%);
  --grad-dark:     linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  --grad-hero:     linear-gradient(135deg, rgba(212,160,23,0.15) 0%, rgba(5,5,5,0) 60%);
  --grad-card:     linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

  /* Typography */
  --font-main:  'Outfit', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 96px;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 30px rgba(212,160,23,0.3), 0 0 60px rgba(212,160,23,0.1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --tr-fast:     0.15s;
  --tr-base:     0.3s;
  --tr-slow:     0.5s;

  /* Nav height */
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ---- Particle Background ---- */
#particles-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Selection ---- */
::selection { background: rgba(212,160,23,0.3); color: var(--white); }

/* ======================================== */
/* UTILITIES                                */
/* ======================================== */

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--sp-lg); }
.section { padding: var(--sp-4xl) 0; }
.section-sm { padding: var(--sp-3xl) 0; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.gold { color: var(--gold); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: var(--sp-3xl); }
.section-badge {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  background: var(--gold-glow-2); border: 1px solid var(--card-border);
  color: var(--gold); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-full);
  margin-bottom: var(--sp-md);
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; line-height: 1.2; margin-bottom: var(--sp-md);
}
.section-title .gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { color: var(--white-70); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ---- Divider ---- */
.gold-divider {
  width: 60px; height: 3px;
  background: var(--grad-gold); border-radius: 2px; margin: var(--sp-md) auto;
}

/* ======================================== */
/* BUTTONS                                  */
/* ======================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-sm); padding: 14px 32px; border-radius: var(--radius-md);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em;
  transition: all var(--tr-base) var(--ease); position: relative; overflow: hidden;
  white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: white; opacity: 0;
  transition: opacity var(--tr-fast);
}
.btn:hover::before { opacity: 0.05; }
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: var(--grad-gold); color: var(--black);
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 6px 30px rgba(212,160,23,0.5); transform: translateY(-2px); }

.btn-gold-sm { @extend .btn-gold; padding: 10px 20px; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-gold-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; background: var(--grad-gold); color: var(--black);
  font-size: 0.85rem; font-weight: 700; border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px var(--gold-glow); transition: all var(--tr-base) var(--ease);
}
.btn-gold-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,160,23,0.5); }

.btn-outline {
  background: transparent; color: var(--gold);
  border: 2px solid rgba(212,160,23,0.5);
}
.btn-outline:hover { border-color: var(--gold); background: var(--gold-glow-2); transform: translateY(-2px); }

.btn-outline-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 18px; background: transparent; color: var(--white-70);
  border: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; font-weight: 600;
  border-radius: var(--radius-sm); transition: all var(--tr-base) var(--ease);
}
.btn-outline-sm:hover { color: var(--white); border-color: rgba(255,255,255,0.3); background: var(--white-15); }

.btn-ghost {
  background: var(--white-15); color: var(--white); border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-danger {
  background: var(--danger); color: white;
}
.btn-success {
  background: var(--success); color: white;
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-full { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-md); }
.btn-icon-sm { width: 36px; height: 36px; padding: 0; border-radius: var(--radius-sm); }

/* ======================================== */
/* CARDS                                    */
/* ======================================== */

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--tr-base) var(--ease);
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: rgba(212,160,23,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,160,23,0.15);
}

/* ======================================== */
/* ANNOUNCEMENT BAR                         */
/* ======================================== */

.announce-bar {
  background: linear-gradient(90deg, rgba(212,160,23,0.15) 0%, rgba(212,160,23,0.08) 100%);
  border-bottom: 1px solid rgba(212,160,23,0.2);
  padding: 10px 24px; display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1000;
}
.announce-inner { display: flex; align-items: center; gap: var(--sp-md); flex: 1; overflow: hidden; }
.announce-icon { color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }
.announce-slider { flex: 1; overflow: hidden; }
.announce-slide { font-size: 0.85rem; color: var(--white-70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce-action {
  flex-shrink: 0; font-size: 0.8rem; color: var(--gold); font-weight: 600;
  border: 1px solid rgba(212,160,23,0.3); padding: 4px 12px;
  border-radius: var(--radius-full); transition: all var(--tr-fast);
  display: flex; align-items: center; gap: 6px;
}
.announce-action:hover { background: var(--gold-glow); }
.announce-close {
  background: none; border: none; color: var(--white-40); font-size: 1.2rem;
  cursor: pointer; padding: 0 0 0 12px; transition: color var(--tr-fast);
}
.announce-close:hover { color: var(--white); }

/* ======================================== */
/* NAVIGATION                               */
/* ======================================== */

.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--nav-h);
  transition: all var(--tr-base) var(--ease);
}
.navbar.scrolled {
  background: rgba(5,5,5,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--sp-xl);
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-xl);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  text-decoration: none; transition: transform var(--tr-base) var(--ease-spring);
}
.nav-logo:hover { transform: scale(1.03); }
.logo-img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(212,160,23,0.4)); }
.logo-text { font-size: 1.4rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
.logo-text .gold { background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.nav-link {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500; color: var(--white-70);
  transition: all var(--tr-fast); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: var(--white-15); }
.nav-link i { font-size: 0.85rem; }
.nav-link.discord-link { color: #7289da; }
.nav-link.discord-link:hover { background: rgba(114,137,218,0.1); color: #7289da; }

.nav-actions {
  display: flex; align-items: center; gap: var(--sp-sm); flex-shrink: 0;
}

.nav-btn {
  position: relative; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08);
  background: var(--white-15); color: var(--white-70); font-size: 1rem;
  transition: all var(--tr-fast); cursor: pointer;
}
.nav-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.12); }

.cart-badge, .notif-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: var(--black);
  font-size: 0.7rem; font-weight: 800; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--black);
}

/* Notification Dropdown */
.nav-notif-wrap { position: relative; }
.notif-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 340px; background: var(--black-3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; z-index: 1000; overflow: hidden;
}
.notif-dropdown.open { display: block; animation: fadeInDown 0.2s var(--ease); }
.notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem; font-weight: 600;
}
.notif-mark-read { font-size: 0.78rem; color: var(--gold); font-weight: 500; }
.notif-mark-read:hover { text-decoration: underline; }
.notif-list { max-height: 320px; overflow-y: auto; }
.notif-item {
  display: flex; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--tr-fast); text-decoration: none; color: inherit;
}
.notif-item:hover { background: var(--white-15); }
.notif-item.unread { background: rgba(212,160,23,0.05); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex-shrink: 0; }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.notif-msg { font-size: 0.8rem; color: var(--white-70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { font-size: 0.75rem; color: var(--white-40); margin-top: 4px; }
.notif-loading { text-align: center; padding: 24px; color: var(--white-40); }
.notif-empty { text-align: center; padding: 32px 16px; color: var(--white-40); font-size: 0.9rem; }

/* User Dropdown */
.nav-user-wrap { position: relative; }
.nav-user-btn {
  display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px;
  background: var(--white-15); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full); color: var(--white); font-size: 0.88rem; font-weight: 500;
  cursor: pointer; transition: all var(--tr-fast);
}
.nav-user-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.15); }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-dim); }
.nav-username { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-btn .fa-chevron-down { font-size: 0.7rem; color: var(--white-40); }

.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 220px; background: var(--black-3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; z-index: 1000; overflow: hidden;
}
.user-dropdown.open { display: block; animation: fadeInDown 0.2s var(--ease); }
.user-drop-header {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--gold-glow-2); border-bottom: 1px solid var(--card-border);
}
.user-drop-avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold); }
.user-drop-name { font-size: 0.9rem; font-weight: 700; }
.user-drop-role { font-size: 0.75rem; color: var(--gold); text-transform: capitalize; }
.user-drop-links { padding: 6px; }
.user-drop-links li a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  font-size: 0.85rem; color: var(--white-70); border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
}
.user-drop-links li a i { width: 16px; font-size: 0.85rem; color: var(--white-40); }
.user-drop-links li a:hover { background: var(--white-15); color: var(--white); }
.user-drop-links li a:hover i { color: var(--gold); }
.user-drop-links .admin-link { color: var(--gold); }
.user-drop-links .logout-link { color: var(--danger) !important; }
.drop-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }

/* Mobile Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 6px;
  background: var(--white-15); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); cursor: pointer; transition: all var(--tr-fast);
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--white-70); border-radius: 1px;
  transition: all var(--tr-base) var(--ease);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================== */
/* FLASH MESSAGE                            */
/* ======================================== */

.flash-msg {
  position: fixed; top: calc(var(--nav-h) + 16px); right: 16px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500; max-width: 400px;
  box-shadow: var(--shadow-lg); animation: slideInRight 0.3s var(--ease);
}
.flash-msg button { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: 0.7; padding: 0 0 0 8px; }
.flash-success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.flash-error   { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.flash-info    { background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.3); color: var(--gold-light); }
.flash-warning { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3); color: #fbbf24; }

/* ======================================== */
/* HERO SECTION                             */
/* ======================================== */

.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(212,160,23,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(212,160,23,0.05) 0%, transparent 50%),
              var(--black);
  padding: var(--sp-4xl) 0;
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(212,160,23,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-glow {
  position: absolute; top: -200px; left: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  border-radius: 50%; filter: blur(60px); pointer-events: none; animation: pulse-glow 6s ease-in-out infinite;
}

.hero .container { position: relative; z-index: 2; }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4xl); align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-glow-2); border: 1px solid rgba(212,160,23,0.25);
  padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: var(--sp-lg);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.5s ease-in-out infinite; }

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: var(--sp-lg);
}
.hero-title .line-1 { display: block; color: var(--white); }
.hero-title .line-2 {
  display: block;
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc {
  font-size: 1.1rem; color: var(--white-70); line-height: 1.7;
  margin-bottom: var(--sp-xl); max-width: 500px;
}

.hero-btns { display: flex; gap: var(--sp-md); flex-wrap: wrap; margin-bottom: var(--sp-xl); }

.hero-stats {
  display: flex; gap: var(--sp-xl);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 1.75rem; font-weight: 900; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.hero-stat-label { font-size: 0.78rem; color: var(--white-40); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero Right - Visual */
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-logo-wrap {
  position: relative; width: 360px; height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(212,160,23,0.2);
  animation: spin 20s linear infinite;
}
.hero-logo-ring::before {
  content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%; transform: translateX(-50%);
}
.hero-logo-ring-2 {
  position: absolute; inset: 20px; border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.1);
  animation: spin 15s linear infinite reverse;
}
.hero-logo-img {
  width: 260px; height: 260px; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(212,160,23,0.4)) drop-shadow(0 0 80px rgba(212,160,23,0.15));
  animation: float 4s ease-in-out infinite;
  position: relative; z-index: 2;
}
.hero-server-card {
  position: absolute; bottom: 0; right: -20px;
  background: rgba(212,160,23,0.08); border: 1px solid rgba(212,160,23,0.25);
  backdrop-filter: blur(20px); border-radius: var(--radius-lg);
  padding: 16px 20px; min-width: 200px;
}
.server-card-title { font-size: 0.75rem; color: var(--white-40); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.server-card-ip { font-family: var(--font-mono); font-size: 0.95rem; color: var(--gold); font-weight: 500; margin-bottom: 10px; }
.server-card-players { display: flex; align-items: center; justify-content: space-between; }
.server-card-count { font-size: 0.85rem; color: var(--white-70); }
.server-card-status { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--success); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: blink 1.5s infinite; }
.btn-connect {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-gold); color: var(--black); font-weight: 700; font-size: 0.85rem;
  border-radius: var(--radius-sm); padding: 10px 16px; margin-top: 10px; width: 100%;
  border: none; cursor: pointer; transition: all var(--tr-base) var(--ease);
}
.btn-connect:hover { opacity: 0.9; transform: scale(1.02); }

/* ======================================== */
/* SERVER STATUS SECTION                    */
/* ======================================== */

.server-status-section {
  padding: var(--sp-2xl) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(212,160,23,0.03) 50%, transparent 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.status-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg);
}
.status-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: var(--sp-lg); text-align: center;
  backdrop-filter: blur(10px); transition: all var(--tr-base) var(--ease);
}
.status-card:hover { border-color: rgba(212,160,23,0.3); transform: translateY(-3px); }
.status-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--gold-glow-2); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-md); font-size: 1.4rem; color: var(--gold);
}
.status-card-value { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.status-card-label { font-size: 0.8rem; color: var(--white-40); text-transform: uppercase; letter-spacing: 0.05em; }

/* ======================================== */
/* PRODUCT CARDS                            */
/* ======================================== */

.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-lg);
}

.product-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  transition: all var(--tr-base) var(--ease); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.product-card:hover {
  border-color: rgba(212,160,23,0.35); transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,160,23,0.15), var(--shadow-gold);
}

.product-img-wrap {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--black-4);
}
.product-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.07); }

.product-badges {
  position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap;
}
.badge {
  font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-sale   { background: var(--danger); color: white; }
.badge-new    { background: var(--success); color: white; }
.badge-hot    { background: linear-gradient(135deg, #ff6b00, #ff0000); color: white; }
.badge-coming { background: rgba(212,160,23,0.2); color: var(--gold); border: 1px solid rgba(212,160,23,0.3); }
.badge-featured { background: var(--grad-gold); color: var(--black); }

.product-fav {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--tr-fast); color: var(--white-40);
}
.product-fav:hover, .product-fav.active { color: #ef4444; border-color: rgba(239,68,68,0.3); }

.product-body { padding: var(--sp-lg); }

.product-category {
  font-size: 0.75rem; color: var(--gold); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 6px; display: flex; align-items: center; gap: 5px;
}
.product-name {
  font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: var(--white);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-desc {
  font-size: 0.83rem; color: var(--white-40); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: var(--sp-md);
}

.product-rating {
  display: flex; align-items: center; gap: 6px; margin-bottom: var(--sp-sm);
}
.stars { color: var(--gold); font-size: 0.75rem; }
.rating-count { font-size: 0.75rem; color: var(--white-40); }

.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-md) var(--sp-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.product-price-wrap { display: flex; flex-direction: column; }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--gold); }
.product-old-price { font-size: 0.8rem; color: var(--white-40); text-decoration: line-through; }
.product-loyalty { font-size: 0.72rem; color: var(--success); margin-top: 2px; }

.btn-add-cart {
  display: flex; align-items: center; gap: 6px;
  background: var(--gold-glow-2); border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold); font-size: 0.82rem; font-weight: 700;
  padding: 8px 16px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--tr-base) var(--ease);
}
.btn-add-cart:hover { background: var(--grad-gold); color: var(--black); border-color: var(--gold); }
.btn-add-cart.added { background: var(--success); color: white; border-color: var(--success); }

/* ======================================== */
/* STORE PAGE LAYOUT                        */
/* ======================================== */

.store-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-xl);
  align-items: start;
}

/* Sidebar */
.store-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.filter-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: var(--sp-lg); margin-bottom: var(--sp-md);
  backdrop-filter: blur(10px);
}
.filter-title {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--white-70); margin-bottom: var(--sp-md); display: flex; align-items: center; gap: 8px;
}
.filter-title i { color: var(--gold); }

.category-list { display: flex; flex-direction: column; gap: 4px; }
.cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.88rem;
  color: var(--white-70); transition: all var(--tr-fast); cursor: pointer; border: none;
  background: none; text-align: left; width: 100%;
}
.cat-link:hover, .cat-link.active { background: var(--gold-glow-2); color: var(--gold); }
.cat-link-inner { display: flex; align-items: center; gap: 8px; }
.cat-link-count {
  font-size: 0.72rem; background: rgba(255,255,255,0.08); color: var(--white-40);
  padding: 2px 8px; border-radius: var(--radius-full);
}

.price-range { display: flex; flex-direction: column; gap: var(--sp-sm); }
.range-input {
  width: 100%; accent-color: var(--gold);
}
.range-values { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--white-40); }

.sort-select {
  width: 100%; background: var(--black-4); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.88rem;
  outline: none; cursor: pointer;
}
.sort-select:focus { border-color: rgba(212,160,23,0.5); }

/* Search */
.store-search-wrap { margin-bottom: var(--sp-lg); }
.search-input-wrap {
  position: relative; display: flex; align-items: center;
}
.search-input {
  width: 100%; background: var(--card-bg); border: 1px solid var(--card-border);
  color: var(--white); padding: 13px 16px 13px 46px; border-radius: var(--radius-lg);
  font-size: 0.95rem; outline: none; transition: all var(--tr-fast);
  backdrop-filter: blur(10px);
}
.search-input:focus { border-color: rgba(212,160,23,0.5); background: rgba(255,255,255,0.06); }
.search-input::placeholder { color: var(--white-40); }
.search-icon { position: absolute; left: 15px; color: var(--white-40); font-size: 0.9rem; pointer-events: none; }

/* Store Header */
.store-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-xl);
  gap: var(--sp-md); flex-wrap: wrap;
}
.store-title { font-size: 1.5rem; font-weight: 800; }
.store-count { font-size: 0.85rem; color: var(--white-40); margin-top: 2px; }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1);
  background: var(--white-15); color: var(--white-40); cursor: pointer;
  transition: all var(--tr-fast);
}
.view-btn.active { background: var(--gold-glow-2); color: var(--gold); border-color: rgba(212,160,23,0.3); }

/* ======================================== */
/* CHECKOUT / FORMS                         */
/* ======================================== */

.form-group {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-md);
}
.form-label {
  font-size: 0.85rem; font-weight: 600; color: var(--white-70);
}
.form-label .required { color: var(--danger); margin-left: 3px; }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); padding: 12px 16px; border-radius: var(--radius-md);
  font-size: 0.92rem; outline: none; width: 100%;
  transition: border-color var(--tr-fast), background var(--tr-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(212,160,23,0.5); background: rgba(212,160,23,0.04);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--white-40); }
.form-input.error { border-color: rgba(239,68,68,0.5); }
.form-error { font-size: 0.78rem; color: #f87171; }
.form-hint { font-size: 0.78rem; color: var(--white-40); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }

/* IBAN Box */
.iban-box {
  background: rgba(212,160,23,0.06); border: 1px solid rgba(212,160,23,0.25);
  border-radius: var(--radius-lg); padding: var(--sp-xl); text-align: center;
}
.iban-box-title { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: var(--sp-md); }
.iban-bank { font-size: 0.85rem; color: var(--white-40); margin-bottom: var(--sp-sm); }
.iban-holder { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--sp-sm); }
.iban-number {
  font-family: var(--font-mono); font-size: 1.05rem;
  background: var(--black-4); border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px; border-radius: var(--radius-md); display: inline-flex;
  align-items: center; gap: 12px; cursor: pointer; color: var(--white);
  transition: all var(--tr-fast);
}
.iban-number:hover { border-color: rgba(212,160,23,0.3); }
.iban-amount {
  margin-top: var(--sp-md); font-size: 0.9rem; color: var(--white-70);
}
.iban-amount strong { color: var(--gold); font-size: 1.2rem; }

/* ======================================== */
/* CART                                     */
/* ======================================== */

.cart-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: var(--sp-xl); align-items: start;
}
.cart-table { width: 100%; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: var(--sp-md);
  align-items: center; padding: var(--sp-md); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-name { font-weight: 600; font-size: 0.95rem; }
.cart-item-cat { font-size: 0.78rem; color: var(--gold); margin-top: 2px; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center; background: var(--white-15);
  border: 1px solid rgba(255,255,255,0.1); color: var(--white); cursor: pointer;
  transition: all var(--tr-fast); font-size: 0.9rem;
}
.qty-btn:hover { background: var(--gold-glow); border-color: rgba(212,160,23,0.3); color: var(--gold); }
.qty-val { min-width: 24px; text-align: center; font-weight: 700; }
.cart-remove { color: var(--white-40); cursor: pointer; padding: 6px; transition: color var(--tr-fast); }
.cart-remove:hover { color: var(--danger); }

.order-summary { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: var(--sp-xl); backdrop-filter: blur(10px); }
.order-summary-title { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--sp-lg); padding-bottom: var(--sp-md); border-bottom: 1px solid rgba(255,255,255,0.06); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: var(--sp-sm); font-size: 0.9rem; }
.summary-row.total { font-size: 1.15rem; font-weight: 800; color: var(--gold); padding-top: var(--sp-md); border-top: 1px solid rgba(255,255,255,0.06); margin-top: var(--sp-md); }
.coupon-row { display: flex; gap: 8px; margin: var(--sp-md) 0; }
.coupon-input { flex: 1; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 0.85rem; color: #4ade80; }

/* ======================================== */
/* DASHBOARD                                */
/* ======================================== */

.dashboard-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-xl); align-items: start;
}
.dash-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.dash-nav {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.dash-nav-header {
  padding: var(--sp-xl); background: var(--gold-glow-2);
  border-bottom: 1px solid var(--card-border); text-align: center;
}
.dash-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); margin: 0 auto var(--sp-sm); }
.dash-username { font-size: 1.1rem; font-weight: 800; }
.dash-role { font-size: 0.8rem; color: var(--gold); text-transform: capitalize; margin-bottom: var(--sp-sm); }
.dash-balance { font-size: 0.85rem; color: var(--white-70); }
.dash-balance strong { color: var(--gold); }
.dash-nav-links { padding: var(--sp-sm); }
.dash-nav-link {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--white-70);
  transition: all var(--tr-fast); text-decoration: none; width: 100%;
}
.dash-nav-link:hover, .dash-nav-link.active { background: var(--gold-glow-2); color: var(--gold); }
.dash-nav-link i { width: 18px; font-size: 0.9rem; }

.dash-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); margin-bottom: var(--sp-xl); }
.dash-stat-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: var(--sp-lg); text-align: center;
}
.dash-stat-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--gold-glow-2); border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-sm); font-size: 1.2rem; color: var(--gold); }
.dash-stat-val { font-size: 1.5rem; font-weight: 800; }
.dash-stat-lbl { font-size: 0.78rem; color: var(--white-40); text-transform: uppercase; }

/* Order Status Badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full);
}
.status-pending          { background: rgba(212,160,23,0.15); color: var(--gold); }
.status-payment_pending  { background: rgba(245,158,11,0.15); color: #fbbf24; }
.status-payment_received { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-processing       { background: rgba(139,92,246,0.15); color: #a78bfa; }
.status-completed        { background: rgba(34,197,94,0.15); color: #4ade80; }
.status-cancelled        { background: rgba(239,68,68,0.15); color: #f87171; }
.status-refunded         { background: rgba(107,114,128,0.15); color: #9ca3af; }

/* ======================================== */
/* ADMIN PANEL                              */
/* ======================================== */

.admin-layout {
  display: grid; grid-template-columns: 250px 1fr; min-height: 100vh;
}
.admin-sidebar {
  background: var(--black-3); border-right: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: var(--sp-lg) 0;
}
.admin-logo {
  display: flex; align-items: center; gap: 10px; padding: var(--sp-md) var(--sp-lg) var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: var(--sp-sm);
}
.admin-logo-img { width: 36px; height: 36px; }
.admin-logo-text { font-size: 1rem; font-weight: 800; }
.admin-logo-text span { color: var(--gold); }
.admin-nav-section { padding: var(--sp-sm) var(--sp-md); margin-bottom: 4px; }
.admin-nav-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white-40); font-weight: 600; padding: 0 var(--sp-sm); margin-bottom: 4px; }
.admin-nav-link {
  display: flex; align-items: center; gap: 10px; padding: 10px var(--sp-sm);
  border-radius: var(--radius-sm); font-size: 0.875rem; color: var(--white-70);
  transition: all var(--tr-fast); text-decoration: none; position: relative;
}
.admin-nav-link:hover, .admin-nav-link.active { background: var(--gold-glow-2); color: var(--gold); }
.admin-nav-link.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 70%; width: 3px; background: var(--gold); border-radius: 0 2px 2px 0; }
.admin-nav-link i { width: 18px; font-size: 0.9rem; }
.admin-nav-badge { margin-left: auto; background: var(--danger); color: white; font-size: 0.7rem; font-weight: 800; padding: 1px 7px; border-radius: var(--radius-full); }

.admin-main { padding: var(--sp-xl); background: var(--black); }
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-xl); }
.admin-page-title { font-size: 1.5rem; font-weight: 800; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); margin-bottom: var(--sp-xl); }
.admin-stat-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: var(--sp-lg);
  display: flex; align-items: center; gap: var(--sp-md);
}
.admin-stat-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.icon-gold { background: rgba(212,160,23,0.15); color: var(--gold); }
.icon-green { background: rgba(34,197,94,0.15); color: var(--success); }
.icon-blue  { background: rgba(59,130,246,0.15); color: var(--info); }
.icon-red   { background: rgba(239,68,68,0.15); color: var(--danger); }
.admin-stat-info { flex: 1; min-width: 0; }
.admin-stat-val { font-size: 1.75rem; font-weight: 900; line-height: 1; }
.admin-stat-lbl { font-size: 0.78rem; color: var(--white-40); margin-top: 3px; }
.admin-stat-change { font-size: 0.75rem; margin-top: 4px; }
.change-up { color: var(--success); }
.change-down { color: var(--danger); }

/* Tables */
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table thead th {
  text-align: left; padding: 12px 16px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--white-40); font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06); white-space: nowrap;
}
.admin-table tbody td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--white-90); vertical-align: middle; }
.admin-table tbody tr:hover { background: var(--white-15); }
.admin-table tbody tr:last-child td { border-bottom: none; }

.table-product-img { width: 50px; height: 38px; object-fit: cover; border-radius: var(--radius-sm); }

/* ======================================== */
/* PAGINATION                               */
/* ======================================== */

.pagination {
  display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: var(--sp-xl);
}
.page-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.08);
  background: var(--white-15); color: var(--white-70); font-size: 0.88rem;
  cursor: pointer; transition: all var(--tr-fast); text-decoration: none;
}
.page-btn:hover { background: var(--gold-glow-2); color: var(--gold); border-color: rgba(212,160,23,0.3); }
.page-btn.active { background: var(--grad-gold); color: var(--black); border-color: var(--gold); font-weight: 700; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ======================================== */
/* LEADERBOARD                              */
/* ======================================== */

.leaderboard-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.leaderboard-item {
  display: flex; align-items: center; gap: var(--sp-md);
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: var(--sp-md) var(--sp-lg);
  transition: all var(--tr-base) var(--ease);
}
.leaderboard-item:hover { border-color: rgba(212,160,23,0.3); transform: translateX(4px); }
.leaderboard-item.rank-1 { border-color: rgba(212,160,23,0.4); background: rgba(212,160,23,0.05); }
.leaderboard-item.rank-2 { border-color: rgba(192,192,192,0.3); }
.leaderboard-item.rank-3 { border-color: rgba(205,127,50,0.3); }
.lb-rank { width: 40px; font-size: 1.2rem; font-weight: 900; text-align: center; }
.lb-rank-1 { color: var(--gold); }
.lb-rank-2 { color: #c0c0c0; }
.lb-rank-3 { color: #cd7f32; }
.lb-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.lb-info { flex: 1; }
.lb-name { font-weight: 700; font-size: 1rem; }
.lb-sub { font-size: 0.8rem; color: var(--white-40); }
.lb-points { text-align: right; }
.lb-pts-val { font-size: 1.1rem; font-weight: 800; color: var(--gold); }
.lb-pts-lbl { font-size: 0.75rem; color: var(--white-40); }

/* ======================================== */
/* RULES PAGE                               */
/* ======================================== */

.rules-hero { text-align: center; padding: var(--sp-4xl) 0 var(--sp-3xl); }
.rules-section { margin-bottom: var(--sp-xl); }
.rules-category-header {
  display: flex; align-items: center; gap: var(--sp-md);
  margin-bottom: var(--sp-lg); padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(212,160,23,0.2);
}
.rules-category-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--gold-glow-2); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold); flex-shrink: 0;
}
.rules-category-name { font-size: 1.2rem; font-weight: 700; }
.rules-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.rule-item {
  display: flex; gap: var(--sp-md); align-items: flex-start;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-md); padding: var(--sp-md) var(--sp-lg);
}
.rule-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold-glow-2);
  border: 1px solid rgba(212,160,23,0.3); color: var(--gold); font-size: 0.78rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rule-text { font-size: 0.92rem; color: var(--white-70); line-height: 1.6; }

/* ======================================== */
/* TOAST NOTIFICATIONS                      */
/* ======================================== */

#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 99999;
  display: flex; flex-direction: column-reverse; gap: 10px;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--black-3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 14px 18px;
  box-shadow: var(--shadow-lg); min-width: 300px; max-width: 400px;
  animation: slideInRight 0.3s var(--ease);
}
.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-error   { border-left: 3px solid var(--danger); }
.toast.toast-info    { border-left: 3px solid var(--gold); }
.toast-icon { font-size: 1.1rem; }
.toast-success .toast-icon { color: var(--success); }
.toast-error   .toast-icon { color: var(--danger); }
.toast-info    .toast-icon { color: var(--gold); }
.toast-body { flex: 1; }
.toast-title { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.toast-msg { font-size: 0.8rem; color: var(--white-70); }
.toast-close { color: var(--white-40); cursor: pointer; font-size: 1rem; padding: 0 0 0 8px; transition: color var(--tr-fast); }
.toast-close:hover { color: var(--white); }

/* ======================================== */
/* BACK TO TOP                              */
/* ======================================== */

.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-glow-2); border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--tr-base) var(--ease);
  opacity: 0; visibility: hidden; transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--grad-gold); color: var(--black); box-shadow: var(--shadow-gold); }

/* ======================================== */
/* FOOTER                                   */
/* ======================================== */

.footer {
  background: var(--black-2); border-top: 1px solid rgba(255,255,255,0.05);
  position: relative; overflow: hidden; margin-top: var(--sp-4xl);
}
.footer-particles { position: absolute; inset: 0; pointer-events: none; }
.footer .container { position: relative; z-index: 2; padding-top: var(--sp-4xl); padding-bottom: var(--sp-xl); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-3xl); margin-bottom: var(--sp-3xl); }

.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: var(--sp-md);
}
.footer-logo-img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand .footer-logo span { font-size: 1.3rem; font-weight: 900; }
.footer-desc { font-size: 0.88rem; color: var(--white-40); line-height: 1.7; margin-bottom: var(--sp-lg); }

.footer-socials { display: flex; gap: var(--sp-sm); }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all var(--tr-base) var(--ease);
  border: 1px solid rgba(255,255,255,0.1); color: var(--white-70);
  background: var(--white-15);
}
.social-btn:hover { transform: translateY(-3px); }
.social-btn.discord:hover  { background: #7289da; border-color: #7289da; color: white; box-shadow: 0 4px 15px rgba(114,137,218,0.3); }
.social-btn.instagram:hover{ background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; color: white; }
.social-btn.twitter:hover  { background: #1DA1F2; border-color: #1DA1F2; color: white; box-shadow: 0 4px 15px rgba(29,161,242,0.3); }
.social-btn.youtube:hover  { background: #FF0000; border-color: #FF0000; color: white; box-shadow: 0 4px 15px rgba(255,0,0,0.3); }
.social-btn.tiktok:hover   { background: #010101; border-color: rgba(255,0,80,0.5); color: white; }

.footer-heading { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: var(--sp-lg); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links li a {
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--white-40);
  transition: all var(--tr-fast); text-decoration: none;
}
.footer-links li a:hover { color: var(--gold); transform: translateX(4px); }
.footer-links li a i { font-size: 0.7rem; color: var(--gold-dim); }

.footer-server-info { display: flex; flex-direction: column; gap: var(--sp-sm); }
.server-status-widget { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--white-70); }
.server-status-dot { width: 8px; height: 8px; border-radius: 50%; }
.server-status-dot.online { background: var(--success); box-shadow: 0 0 8px var(--success); animation: blink 2s infinite; }
.server-status-dot.offline { background: var(--danger); }
.btn-copy-ip {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold-glow-2); border: 1px solid rgba(212,160,23,0.25);
  color: var(--gold); font-family: var(--font-mono); font-size: 0.88rem;
  padding: 10px 14px; border-radius: var(--radius-sm); cursor: pointer;
  transition: all var(--tr-fast); width: fit-content;
}
.btn-copy-ip:hover { background: var(--gold-glow); }
.footer-info-items { display: flex; flex-direction: column; gap: 6px; }
.footer-info-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--white-40); }
.footer-info-item i { color: var(--gold-dim); width: 14px; }
.footer-info-item a { color: var(--gold); }
.footer-info-item a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: var(--sp-lg);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-md);
}
.footer-bottom-left p { font-size: 0.82rem; color: var(--white-40); }
.footer-bottom-right { display: flex; gap: var(--sp-lg); }
.footer-bottom-right a { font-size: 0.82rem; color: var(--white-40); transition: color var(--tr-fast); }
.footer-bottom-right a:hover { color: var(--gold); }

/* ======================================== */
/* ANIMATIONS                               */
/* ======================================== */

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.1); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--black-4) 25%, var(--black-5) 50%, var(--black-4) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Reveal on Scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: var(--sp-xl); }
}

@media (max-width: 1024px) {
  .store-layout { grid-template-columns: 1fr; }
  .store-sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-username { display: none; }

  /* Mobile Nav */
  .nav-links.mobile-open {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(5,5,5,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: var(--sp-md); z-index: 998;
    animation: fadeInDown 0.2s var(--ease);
  }
  .nav-links.mobile-open .nav-link { padding: 12px 16px; border-radius: var(--radius-md); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: var(--sp-lg); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-stat-grid { grid-template-columns: 1fr 1fr; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .status-grid { grid-template-columns: 1fr 1fr; }

  .cart-item { grid-template-columns: 60px 1fr auto; }
  .cart-item-img { width: 60px; height: 45px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .dash-stat-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
}

/* ======================================== */
/* FEATURES SECTION                         */
/* ======================================== */

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg);
}
.feature-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-xl); padding: var(--sp-xl);
  text-align: center; transition: all var(--tr-base) var(--ease);
  backdrop-filter: blur(10px); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold); opacity: 0; transition: opacity var(--tr-base);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: rgba(212,160,23,0.25); transform: translateY(-6px); }
.feature-icon {
  width: 70px; height: 70px; border-radius: var(--radius-lg);
  background: var(--gold-glow-2); border: 1px solid rgba(212,160,23,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-lg); font-size: 1.8rem; color: var(--gold);
  transition: all var(--tr-base) var(--ease);
}
.feature-card:hover .feature-icon { background: var(--gold-glow); box-shadow: 0 0 20px var(--gold-glow); }
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 0.85rem; color: var(--white-40); line-height: 1.6; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ======================================== */
/* AUTH PAGES                               */
/* ======================================== */

.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: var(--sp-xl); background:
    radial-gradient(ellipse at 30% 70%, rgba(212,160,23,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(212,160,23,0.05) 0%, transparent 50%),
    var(--black);
}
.auth-card {
  width: 100%; max-width: 480px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-xl); padding: var(--sp-3xl);
  backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: var(--sp-xl); }
.auth-logo img { width: 70px; height: 70px; margin: 0 auto var(--sp-sm); filter: drop-shadow(0 0 20px rgba(212,160,23,0.4)); }
.auth-logo-text { font-size: 1.5rem; font-weight: 900; }
.auth-title { font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-subtitle { font-size: 0.88rem; color: var(--white-40); text-align: center; margin-bottom: var(--sp-xl); }
.auth-divider { display: flex; align-items: center; gap: var(--sp-sm); margin: var(--sp-lg) 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.auth-divider span { font-size: 0.78rem; color: var(--white-40); }
.auth-footer { text-align: center; margin-top: var(--sp-lg); font-size: 0.85rem; color: var(--white-40); }
.auth-footer a { color: var(--gold); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* Password Toggle */
.input-password-wrap { position: relative; }
.input-password-wrap .form-input { padding-right: 44px; }
.toggle-password {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--white-40); cursor: pointer; font-size: 0.9rem; transition: color var(--tr-fast);
}
.toggle-password:hover { color: var(--white); }

/* ======================================== */
/* MISC ELEMENTS                            */
/* ======================================== */

.page-hero {
  text-align: center; padding: var(--sp-4xl) 0 var(--sp-3xl);
  background: radial-gradient(ellipse at 50% 0%, rgba(212,160,23,0.08) 0%, transparent 70%);
}
.page-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: var(--sp-md); }
.page-hero-desc { font-size: 1rem; color: var(--white-70); max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--white-40); margin-bottom: var(--sp-xl); }
.breadcrumb a { color: var(--white-40); transition: color var(--tr-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--white-70); }

/* Tab Component */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: var(--sp-xl); }
.tab-btn {
  padding: 10px 20px; font-size: 0.88rem; font-weight: 600; color: var(--white-40);
  border-bottom: 2px solid transparent; transition: all var(--tr-fast);
  cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  z-index: 9000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--tr-base) var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--black-3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl); max-width: 550px; width: 90%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--tr-base) var(--ease);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-xl) var(--sp-xl) 0;
}
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--white-15); color: var(--white-70); cursor: pointer;
  transition: all var(--tr-fast); font-size: 1rem;
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.modal-body { padding: var(--sp-xl); }
.modal-footer { padding: 0 var(--sp-xl) var(--sp-xl); display: flex; gap: var(--sp-sm); justify-content: flex-end; }

/* Empty State */
.empty-state { text-align: center; padding: var(--sp-4xl) var(--sp-xl); }
.empty-icon { font-size: 3.5rem; color: var(--white-40); margin-bottom: var(--sp-lg); }
.empty-title { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--sp-sm); }
.empty-desc { font-size: 0.9rem; color: var(--white-40); margin-bottom: var(--sp-xl); }

/* Alert Box */
.alert {
  display: flex; align-items: flex-start; gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg); border-radius: var(--radius-md);
  font-size: 0.88rem; margin-bottom: var(--sp-md);
}
.alert-success { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.25); color: #4ade80; }
.alert-danger   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25); color: #f87171; }
.alert-warning  { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25); color: #fbbf24; }
.alert-info     { background: rgba(212,160,23,0.1); border: 1px solid rgba(212,160,23,0.25); color: var(--gold-light); }
.alert i { margin-top: 2px; font-size: 1rem; }

/* Progress Bar */
.progress-bar {
  height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--grad-gold); border-radius: 3px;
  transition: width 1s var(--ease);
}

/* Ticket Chat */
.ticket-messages { display: flex; flex-direction: column; gap: var(--sp-md); padding: var(--sp-lg); }
.msg-bubble {
  max-width: 75%; border-radius: var(--radius-lg); padding: var(--sp-md) var(--sp-lg);
  font-size: 0.88rem; line-height: 1.5;
}
.msg-user { background: rgba(212,160,23,0.1); border: 1px solid rgba(212,160,23,0.2); margin-left: auto; }
.msg-staff { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.msg-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 0.78rem; color: var(--white-40); }
.msg-header strong { color: var(--white-70); font-weight: 600; }
