/* ==============================================================
   BELLATRIX METIN2 • NEXTGEN ORIENTAL DARK FANTASY DESIGN SYSTEM
   Inspired by official Metin2 portals & concept.png master mockup
   ============================================================== */

/* (Google Fonts preloaded directly in index.html for parallel high-speed delivery) */

:root {
  --bg-deep: #06070a;
  --bg-card: rgba(13, 16, 24, 0.88);
  --bg-card-hover: rgba(20, 25, 38, 0.95);
  --bg-panel: #0e121a;
  --bg-input: #090c12;
  
  --gold: #e5bd73;
  --gold-light: #fae4aa;
  --gold-dark: #916c2c;
  --gold-gradient: linear-gradient(135deg, #fae4aa 0%, #e5bd73 50%, #916c2c 100%);
  --gold-glow: rgba(229, 189, 115, 0.35);

  --crimson: #c93325;
  --crimson-glow: rgba(201, 51, 37, 0.45);
  --red-gradient: linear-gradient(180deg, #9b2016 0%, #57120c 60%, #2b0805 100%);

  --shinsoo: #e74c3c;
  --chunjo: #f1c40f;
  --jinno: #3498db;
  --green: #2ecc71;
  --green-glow: rgba(46, 204, 113, 0.4);

  --text-primary: #f5eedf;
  --text-secondary: #a9b2c3;
  --text-muted: #6e788c;

  --border-gold: rgba(229, 189, 115, 0.32);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: 1px solid rgba(212, 175, 55, 0.28);
  --border-dark: 1px solid rgba(255, 255, 255, 0.07);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  --shadow-gold: 0 0 25px rgba(229, 189, 115, 0.25);
  --shadow-red: 0 0 30px rgba(201, 51, 37, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, select, [contenteditable="true"], .admin-view-wrapper * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Background Atmospheric Canvas & Overlays (GPU Accelerated) */
#embers {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
  background: 
    radial-gradient(circle at 50% 15%, rgba(201, 51, 37, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 15% 45%, rgba(229, 189, 115, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 45%, rgba(52, 152, 219, 0.06) 0%, transparent 50%),
    #06070a;
}

/* Typography */
h1, h2, h3, h4, .cinzel {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rajdhani {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==============================================================
   TOP HEADER & NAVIGATION BAR
   ============================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(6, 8, 12, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 189, 115, 0.28);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(10px, 1.6vw, 28px);
  gap: 12px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Left: Logo & Status */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease;
  padding-right: 2px;
}

.nav-brand-logo-link:hover {
  transform: scale(1.03);
}

.nav-brand-logo-img {
  height: 38px;
  max-width: 135px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 20, 16, 0.85);
  border: 1px solid rgba(46, 204, 113, 0.4);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.status-text {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  color: #9fe2b2;
  letter-spacing: 0.08em;
}

.status-text strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #85e4a5;
  margin-left: 2px;
}

/* Center: Nav Links */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.1vw, 20px);
  flex: 1;
  min-width: 0;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 6px;
  position: relative;
  transition: all 0.25s ease;
  color: #e5ded5;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link-title {
  font-family: 'Cinzel', serif;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ebdccc;
  transition: color 0.2s ease;
}

.nav-link-sub {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 1px;
  transition: color 0.2s ease;
}

.nav-link:hover .nav-link-title,
.nav-link.active .nav-link-title {
  color: var(--gold);
  text-shadow: 0 0 12px var(--gold-glow);
}

.nav-link:hover .nav-link-sub,
.nav-link.active .nav-link-sub {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
  box-shadow: 0 0 8px var(--gold);
}

/* Right: Buttons & Admin Controls */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#navUserLoggedBox {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: rgba(14, 18, 25, 0.88);
  border: 1px solid rgba(229, 189, 115, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wallet-badge {
  background: rgba(229, 189, 115, 0.12);
  border: 1px solid rgba(229, 189, 115, 0.35);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  font-family: 'Rajdhani', sans-serif;
}

.nav-user-label {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 13px !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  gap: 5px !important;
}

/* Responsive adjustments for top-nav */
@media (max-width: 1320px) {
  .nav-center {
    gap: 8px;
  }
  .nav-link-sub {
    display: none;
  }
  .nav-link {
    padding: 6px 4px;
  }
}

@media (max-width: 1080px) {
  .top-nav {
    padding: 0 10px;
  }
  .nav-brand-logo-img {
    height: 32px;
    max-width: 100px;
  }
  .server-status-pill {
    padding: 4px 8px;
    font-size: 10px;
  }
  .nav-center {
    gap: 5px;
  }
  .nav-link-title {
    font-size: 10.5px;
  }
}

/* ==============================================================
   BUTTON DESIGN SYSTEM (Cinzel, Beveled Gold & Red Gradient)
   ============================================================== */
.btn-m2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
}

/* Red / Crimson Primary Button (e.g. JOACĂ ACUM / CONECTARE) */
.btn-red {
  background: linear-gradient(180deg, #b92b1f 0%, #75150e 55%, #350805 100%);
  color: #ffeedb;
  border: 1px solid #e26154;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 1px #1a0403, 0 6px 20px rgba(0, 0, 0, 0.7);
}

.btn-red:hover {
  background: linear-gradient(180deg, #d33528 0%, #8b1911 55%, #420a06 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 25px rgba(226, 97, 84, 0.65);
  color: #fff;
}

/* Gold Accent Button */
.btn-gold {
  background: linear-gradient(180deg, #996e2b 0%, #5c3e12 55%, #2a1b05 100%);
  color: #fff2d6;
  border: 1px solid #e5bd73;
  box-shadow: inset 0 1px 0 rgba(255, 240, 190, 0.45), 0 0 0 1px #120b02, 0 6px 20px rgba(0, 0, 0, 0.7);
}

.btn-gold:hover {
  background: linear-gradient(180deg, #b58334 0%, #704c17 55%, #362207 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 25px rgba(229, 189, 115, 0.65);
}

/* Dark Secondary Button */
.btn-dark {
  background: linear-gradient(180deg, #1f2533 0%, #111520 60%, #090c13 100%);
  color: #d8e0ee;
  border: 1px solid rgba(229, 189, 115, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-dark:hover {
  background: linear-gradient(180deg, #2a3347 0%, #181e2e 60%, #0d121c 100%);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(229, 189, 115, 0.3);
}

/* Shimmer Sweep Animation (GPU Transform Accelerated) */
.btn-m2::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -50%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translate3d(0, 0, 0) rotate(25deg);
  transition: transform 0.6s ease;
  pointer-events: none;
  will-change: transform;
}

.btn-m2:hover::before {
  transform: translate3d(400%, 0, 0) rotate(25deg);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* ==============================================================
   RIGHT FLOATING QUICK BAR (Matching concept.png)
   ============================================================== */
.floating-quick-bar {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  backface-visibility: hidden;
  will-change: transform;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(8, 11, 16, 0.88);
  border: 1px solid rgba(229, 189, 115, 0.3);
  padding: 10px 8px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quick-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transform: translateZ(0);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  min-width: 68px;
  cursor: pointer;
}

.quick-bar-icon {
  font-size: 16px;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 5px rgba(229, 189, 115, 0.4));
}

.quick-bar-title {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #dfd8cf;
  transition: color 0.2s ease;
}

.quick-bar-sub {
  font-size: 8px;
  color: var(--text-muted);
}

.quick-bar-item:hover {
  background: rgba(229, 189, 115, 0.15);
  transform: translate3d(-4px, 0, 0);
}

.quick-bar-item:hover .quick-bar-title {
  color: var(--gold);
}

/* ==============================================================
   HERO SECTION (Center Crest, Logo, Characters)
   ============================================================== */
.hero-section {
  position: relative;
  min-height: 820px;
  padding-top: 110px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: 
    linear-gradient(180deg, rgba(6, 8, 12, 0.75) 0%, rgba(6, 8, 12, 0.2) 35%, rgba(6, 8, 12, 0.45) 70%, rgba(6, 8, 12, 0.98) 100%),
    url('hero.jpg') center center / cover no-repeat;
  filter: saturate(1.15) brightness(0.95);
  animation: bg-pan 25s ease-in-out infinite alternate;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes bg-pan {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-container {
  max-width: 1300px;
  width: 100%;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-box {
  position: relative;
  margin-bottom: 12px;
}

.hero-main-logo {
  max-width: 580px;
  width: 95%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 65px rgba(37, 99, 235, 0.5)) drop-shadow(0 15px 30px rgba(0,0,0,0.95));
  animation: float-logo 5s ease-in-out infinite;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

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

.hero-slogan-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 0 15px var(--gold-glow);
  margin-bottom: 12px;
}

.hero-description {
  max-width: 660px;
  font-size: 15px;
  color: #dfd8cf;
  margin: 0 auto 26px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* 4 Characters Showcase inside Hero */
.hero-characters-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin-top: 15px;
}

.char-badge-card {
  position: relative;
  background: rgba(10, 13, 20, 0.75);
  border: 1px solid rgba(229, 189, 115, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.char-badge-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(229, 189, 115, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.char-badge-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
}

.char-badge-card:hover::before {
  opacity: 1;
}

.char-avatar-frame {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.char-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.char-badge-card:hover .char-avatar-frame img {
  transform: scale(1.12);
}

.char-info {
  text-align: left;
}

.char-name {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.char-role {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.char-sub {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==============================================================
   FEATURE SHOWCASE CARDS (5 Cards Matching concept.png)
   ============================================================== */
.section-showcase {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: -25px auto 50px;
  padding: 0 24px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 180px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.showcase-card {
  position: relative;
  height: 145px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 189, 115, 0.35);
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.5s ease;
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.1) 0%, rgba(6, 8, 12, 0.85) 90%);
  transition: background 0.3s;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 20px var(--gold-glow);
}

.showcase-card:hover img {
  transform: scale(1.08);
}

.showcase-card:hover::after {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0) 0%, rgba(6, 8, 12, 0.75) 85%);
}

.showcase-content {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  z-index: 2;
  text-align: center;
}

.showcase-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px #000;
}

.showcase-sub {
  font-size: 11px;
  color: #f1d49f;
  margin-top: 2px;
  text-shadow: 0 1px 4px #000;
}

/* ==============================================================
   CELE TREI IMPERII (The Three Kingdoms)
   ============================================================== */
.section-empires {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 1px 320px;
}

.section-header {
  margin-bottom: 25px;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  color: #fff;
  text-transform: uppercase;
}

.empires-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.empire-card {
  position: relative;
  min-height: 120px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 189, 115, 0.3);
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.empire-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.4s ease;
}

.empire-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 12, 0.85) 0%, rgba(6, 8, 12, 0.3) 100%);
}

.empire-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.empire-card:hover img {
  transform: scale(1.06);
}

.empire-card.shinsoo:hover {
  border-color: var(--shinsoo);
  box-shadow: 0 0 25px rgba(231, 76, 60, 0.4);
}

.empire-card.chunjo:hover {
  border-color: var(--chunjo);
  box-shadow: 0 0 25px rgba(241, 196, 15, 0.4);
}

.empire-card.jinno:hover {
  border-color: var(--jinno);
  box-shadow: 0 0 25px rgba(52, 152, 219, 0.4);
}

.empire-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.empire-kanji {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.empire-card.shinsoo .empire-kanji { color: #ff5e4d; text-shadow: 0 0 15px rgba(231, 76, 60, 0.7); }
.empire-card.chunjo .empire-kanji { color: #ffd647; text-shadow: 0 0 15px rgba(241, 196, 15, 0.7); }
.empire-card.jinno .empire-kanji { color: #5eb3f6; text-shadow: 0 0 15px rgba(52, 152, 219, 0.7); }

.empire-name {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.empire-motto {
  font-size: 12px;
  color: var(--gold-light);
  margin-top: 2px;
}

/* ==============================================================
   ITEMSHOP HOMEPAGE SHOWCASE
   ============================================================== */
.section-store {
  max-width: 1400px;
  margin: 0 auto 70px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.store-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.store-tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.store-tab-btn:hover,
.store-tab-btn.active {
  background: rgba(229, 189, 115, 0.18);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-glow);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.store-item-card {
  background: linear-gradient(145deg, #141824 0%, #0c0f16 100%);
  border: 1px solid rgba(229, 189, 115, 0.28);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.store-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.store-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

.store-item-card:hover::before {
  opacity: 1;
}

.item-glyph {
  font-size: 52px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 15px rgba(229, 189, 115, 0.4));
  transition: transform 0.3s ease;
}

.store-item-card:hover .item-glyph {
  transform: scale(1.12);
}

.item-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.item-cat {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.item-bonuses-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 11px;
  color: #92e0ac;
  margin-bottom: 15px;
  line-height: 1.5;
  text-align: left;
}

.item-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}

/* ==============================================================
   ADMIN CONTROL PANEL (Pixel-Matching Bottom Half of concept.png)
   ============================================================== */
.admin-view-wrapper {
  background: #090c12;
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
  z-index: 10;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}

/* Sidebar */
.admin-sidebar {
  background: #0b0e15;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 12px;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}

.admin-brand-header {
  padding: 0 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-crest {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #996e2b, #38250b);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 12px var(--gold-glow);
}

.admin-brand-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.admin-brand-sub {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav-group-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  padding: 8px 12px;
  margin-top: 8px;
}

.admin-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #a7b0c0;
  font-size: 12px;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  text-align: left;
}

.admin-nav-item:hover {
  background: rgba(229, 189, 115, 0.08);
  color: #fff;
  border-color: rgba(229, 189, 115, 0.4);
}

.admin-nav-item.active {
  background: linear-gradient(90deg, rgba(229, 189, 115, 0.18), rgba(229, 189, 115, 0.02));
  color: var(--gold-light);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: inset 1px 0 0 var(--gold);
}

.admin-nav-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
}

/* Admin Main Content */
.admin-main-area {
  padding: 24px clamp(16px, 2.5vw, 40px);
  background: #090c12;
  overflow-x: hidden;
}

/* Admin Top Bar */
.admin-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-breadcrumb-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-breadcrumb-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.admin-top-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-clock {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-notif-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  cursor: pointer;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--crimson);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(201, 51, 37, 0.8);
}

.admin-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px 5px 6px;
  border-radius: 20px;
}

.admin-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-dark);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ==============================================================
   KPI CARDS ROW (Exact match to concept.png)
   ============================================================== */
.kpis-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.kpi-card {
  background: linear-gradient(145deg, #121622 0%, #0c0f16 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.kpi-card:hover {
  border-color: rgba(229, 189, 115, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.kpi-card-info {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.kpi-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.kpi-growth {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-top: 4px;
}

.kpi-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.kpi-icon-circle.green { background: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.3); }
.kpi-icon-circle.blue { background: rgba(52, 152, 219, 0.15); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.3); }
.kpi-icon-circle.orange { background: rgba(230, 126, 34, 0.15); color: #e67e22; border: 1px solid rgba(230, 126, 34, 0.3); }
.kpi-icon-circle.gold { background: rgba(229, 189, 115, 0.15); color: #e5bd73; border: 1px solid rgba(229, 189, 115, 0.3); }

/* Secondary Stats Row: Server Status & Rates */
.server-rates-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.rate-badge-box {
  background: linear-gradient(145deg, #10141e 0%, #0a0d14 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rate-badge-box .title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.rate-badge-box .val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
}

/* ==============================================================
   DATA PANELS & TABLES
   ============================================================== */
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-card-panel {
  background: linear-gradient(145deg, #111520 0%, #0a0d14 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-responsive {
  overflow-x: auto;
}

.m2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.m2-table th {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m2-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #d1d8e4;
  vertical-align: middle;
}

.m2-table tr:hover td {
  background: rgba(229, 189, 115, 0.03);
}

/* Badges & Tags */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-tag.online, .status-tag.livrat {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.status-tag.offline, .status-tag.asteptare {
  background: rgba(243, 156, 18, 0.15);
  color: #f39c12;
  border: 1px solid rgba(243, 156, 18, 0.35);
}

.status-tag.banned {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.35);
}

.empire-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
}

.empire-tag.shinsoo { background: rgba(231, 76, 60, 0.2); color: #ff6b5b; border: 1px solid rgba(231, 76, 60, 0.4); }
.empire-tag.chunjo { background: rgba(241, 196, 15, 0.2); color: #f1c40f; border: 1px solid rgba(241, 196, 15, 0.4); }
.empire-tag.jinno { background: rgba(52, 152, 219, 0.2); color: #5dade2; border: 1px solid rgba(52, 152, 219, 0.4); }

/* ==============================================================
   QUICK ACTIONS BOTTOM CARDS (8 Cards Matching concept.png)
   ============================================================== */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.quick-action-card {
  background: linear-gradient(180deg, #141824 0%, #0d1017 100%);
  border: 1px solid rgba(229, 189, 115, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px var(--gold-glow);
}

.action-icon {
  font-size: 24px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px rgba(229, 189, 115, 0.5));
}

.action-title {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.action-desc {
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.2;
}

.action-btn {
  width: 100%;
  padding: 5px 8px;
  background: linear-gradient(180deg, #8a241a 0%, #3a0a07 100%);
  border: 1px solid #d45043;
  color: #fbeee0;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
}

.action-btn:hover {
  background: linear-gradient(180deg, #a82e21 0%, #4a0d09 100%);
  box-shadow: 0 0 10px rgba(212, 80, 67, 0.6);
  color: #fff;
}

/* ==============================================================
   FORM CONTROLS & INPUTS
   ============================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  background: #0c1017;
}

select.form-control {
  cursor: pointer;
}

/* ==============================================================
   MODAL DIALOGS
   ============================================================== */
.m2-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  transform: translateZ(0);
  will-change: opacity;
}

.m2-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.m2-modal-box {
  background: linear-gradient(145deg, #131724 0%, #090c12 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--gold-glow);
  position: relative;
  overflow: hidden;
  transform: translateZ(0) scale(0.95) translateY(10px);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.m2-modal-backdrop.open .m2-modal-box {
  transform: translateZ(0) scale(1) translateY(0);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 16px;
  transition: all 0.2s;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: var(--crimson);
  color: #fff;
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
}

/* Toast Notifications */
#toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background: #111520;
  border: 1px solid var(--gold);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Footer */
.site-footer {
  background: #050609;
  border-top: 1px solid rgba(229, 189, 115, 0.2);
  padding: 35px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  position: relative;
  z-index: 2;
}

.site-footer p {
  margin-bottom: 6px;
}

/* ==============================================================
   RESPONSIVE DESIGN (Breakpoints for Tablet & Mobile)
   ============================================================== */
@media (max-width: 1200px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .kpis-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-center {
    display: none;
  }
  .hero-characters-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .empires-grid {
    grid-template-columns: 1fr;
  }
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    display: flex;
    overflow-x: auto;
    padding: 10px;
  }
  .admin-brand-header, .admin-nav-group-title {
    display: none;
  }
  .admin-nav-item {
    white-space: nowrap;
    width: auto;
  }
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
  .server-rates-row {
    grid-template-columns: 1fr 1fr;
  }
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-quick-bar {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-characters-strip {
    grid-template-columns: 1fr;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
  .kpis-row {
    grid-template-columns: 1fr;
  }
  .server-rates-row {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================
   IN-GAME STYLE ITEMSHOP WINDOW (MODAL WINDOW)
   ============================================================== */
.itemshop-window-box {
  background: linear-gradient(180deg, #10141f 0%, #07090f 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 1200px;
  height: 86vh;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 45px var(--gold-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.itemshop-window-header {
  padding: 14px 20px;
  background: linear-gradient(90deg, #182030 0%, #0d121c 100%);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.itemshop-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itemshop-brand-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.itemshop-brand-title {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.itemshop-brand-sub {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.itemshop-wallet-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-badge {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(229, 189, 115, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
}

.wallet-badge.jd {
  border-color: rgba(52, 152, 219, 0.35);
  color: #70b8ff;
}

.itemshop-window-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  flex: 1;
  overflow: hidden;
}

.itemshop-cats-sidebar {
  background: #090c13;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.itemshop-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #a7b0c0;
  font-size: 12px;
  font-weight: 600;
  border-left: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  text-align: left;
}

.itemshop-cat-btn:hover {
  background: rgba(229, 189, 115, 0.08);
  color: #fff;
  border-color: rgba(229, 189, 115, 0.4);
}

.itemshop-cat-btn.active {
  background: linear-gradient(90deg, rgba(229, 189, 115, 0.2), rgba(229, 189, 115, 0.03));
  color: var(--gold-light);
  border-color: var(--gold);
  font-weight: 700;
}

.cat-count-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.itemshop-cat-btn.active .cat-count-badge {
  background: rgba(229, 189, 115, 0.25);
  color: var(--gold);
}

.itemshop-content-area {
  padding: 18px 22px;
  overflow-y: auto;
  background: #0b0e16;
  display: flex;
  flex-direction: column;
}

.itemshop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.itemshop-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px;
  padding-bottom: 20px;
}

/* In-game Inventory Slot Item Card */
.metin-slot-card {
  background: linear-gradient(145deg, #131724 0%, #0a0d14 100%);
  border: 1px solid rgba(229, 189, 115, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.metin-slot-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 18px var(--gold-glow);
}

.slot-item-image-box {
  width: 95px;
  height: 95px;
  border-radius: 8px;
  background: radial-gradient(circle at center, rgba(229, 189, 115, 0.1) 0%, rgba(0,0,0,0.6) 80%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

.slot-item-image-box img {
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
  transition: transform 0.3s ease;
}

.metin-slot-card:hover .slot-item-image-box img {
  transform: scale(1.1);
}

.slot-upgrade-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: linear-gradient(135deg, #b92b1f, #57120c);
  border: 1px solid #ff796c;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(201, 51, 37, 0.7);
}

.slot-item-name {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-item-cat {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.slot-item-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
}

/* Authentic Metin2 Hover Tooltip */
.metin-tooltip-box {
  background: rgba(3, 4, 7, 0.96);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 11px;
  color: #f1ebd9;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 12px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.tooltip-stat-line {
  color: #ffd885;
  font-weight: 600;
  margin-bottom: 3px;
}

.tooltip-bonus-line {
  color: #85e4a5;
}

.tooltip-stone-line {
  color: #60c5ff;
  font-size: 10px;
  margin-top: 2px;
}

/* Homepage ItemShop Banner / Teaser (Centered Prestige Card) */
.itemshop-teaser-banner {
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(229, 189, 115, 0.14) 0%, transparent 70%),
    linear-gradient(180deg, rgba(20, 26, 40, 0.96) 0%, rgba(10, 13, 20, 0.94) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-glow);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 60px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.itemshop-teaser-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold-gradient);
  box-shadow: 0 0 12px var(--gold);
}

@media (max-width: 850px) {
  .itemshop-window-box {
    height: 92vh;
    max-width: 98%;
  }
  .itemshop-window-body {
    grid-template-columns: 1fr;
  }
  .itemshop-cats-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
    gap: 6px;
  }
  .itemshop-cat-btn {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  .itemshop-cat-btn.active {
    border-color: var(--gold);
  }
  .itemshop-teaser-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .itemshop-teaser-banner .section-eyebrow {
    text-align: center !important;
  }
}

/* ==============================================================
   ADMIN METIN2 BONUS BUILDER (Dropdown & Custom Value Picker)
   ============================================================== */
.bonus-builder-container {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(229, 189, 115, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 8px;
}

.bonus-builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-builder-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bonus-rows-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.bonus-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 130px 38px;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  transition: all 0.2s;
}

.bonus-row:hover {
  background: rgba(229, 189, 115, 0.04);
  border-color: rgba(229, 189, 115, 0.25);
}

.bonus-slot-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(229, 189, 115, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-val-wrapper {
  position: relative;
}

.bonus-val-wrapper input {
  font-weight: 700;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: 0.05em;
}

.bonus-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-preset-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bonus-live-preview {
  background: rgba(4, 6, 10, 0.9);
  border: 1px dashed rgba(133, 228, 165, 0.4);
  border-radius: 4px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #85e4a5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bonus-live-preview strong {
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  white-space: nowrap;
}

.bonus-preview-text {
  flex: 1;
}

@media (max-width: 600px) {
  .bonus-row {
    grid-template-columns: 28px 1fr 100px 32px;
    gap: 4px;
    padding: 6px 4px;
  }
}

/* ==============================================================
   PAYPAL DONATION & DRAGON COINS RECHARGE MODAL
   ============================================================== */
.donation-account-pill {
  background: rgba(229, 189, 115, 0.08);
  border: 1px solid rgba(229, 189, 115, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.donation-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.donation-pack-card {
  background: linear-gradient(145deg, #131724 0%, #0b0e16 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.donation-pack-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 189, 115, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.donation-pack-card.active {
  border-color: var(--gold);
  background: linear-gradient(145deg, #1c2234 0%, #101420 100%);
  box-shadow: 0 0 20px var(--gold-glow);
}

.pack-popular-tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff9900, #b86e00);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.pack-coins-amount {
  font-family: 'Cinzel', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.pack-bonus-tag {
  font-size: 11px;
  color: #85e4a5;
  font-weight: 600;
  margin-bottom: 8px;
}

.pack-price-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.paypal-recipient-box {
  background: rgba(0, 48, 135, 0.15);
  border: 1px solid rgba(0, 112, 186, 0.4);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.paypal-email-display {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: #70b8ff;
}

.paypal-checkout-btn {
  background: linear-gradient(180deg, #ffc439 0%, #f69900 100%);
  color: #111;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(255, 196, 57, 0.35);
  text-decoration: none;
}

.paypal-checkout-btn:hover {
  background: linear-gradient(180deg, #ffcf5a 0%, #ffaa1a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 196, 57, 0.5);
  color: #000;
}

@media (max-width: 768px) {
  .donation-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==============================================================
   ADMIN NOTIFICATION DRAWER / DROPDOWN
   ============================================================== */
.admin-notif-dropdown {
  position: absolute;
  top: 65px;
  right: 25px;
  width: 390px;
  max-width: 95vw;
  background: linear-gradient(180deg, #141926 0%, #0c0f17 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95), 0 0 25px var(--gold-glow);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-notif-dropdown.open {
  display: flex;
}

.notif-dropdown-header {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-dropdown-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notif-item-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s;
}

.notif-item-card:hover {
  background: rgba(229, 189, 115, 0.08);
  border-color: rgba(229, 189, 115, 0.3);
  transform: translateX(3px);
}

.notif-item-card.unread {
  border-left: 3px solid var(--gold);
  background: rgba(229, 189, 115, 0.04);
}

.notif-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(229, 189, 115, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Staff Rank Badges */
.rank-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.rank-badge.ow { background: rgba(142, 68, 173, 0.25); color: #d2b4de; border-color: #8e44ad; }
.rank-badge.sa { background: rgba(231, 76, 60, 0.25); color: #f5b7b1; border-color: #e74c3c; }
.rank-badge.ga { background: rgba(230, 126, 34, 0.25); color: #f8c471; border-color: #e67e22; }
.rank-badge.tm { background: rgba(243, 156, 18, 0.25); color: #f9e79f; border-color: #f39c12; }
.rank-badge.sgm { background: rgba(26, 188, 156, 0.25); color: #a3e4d7; border-color: #1abc9c; }
.rank-badge.gm { background: rgba(52, 152, 219, 0.25); color: #aed6f1; border-color: #3498db; }
.rank-badge.tgm { background: rgba(93, 173, 226, 0.2); color: #d4e6f1; border-color: #5dade2; }
.rank-badge.vip { background: rgba(241, 196, 15, 0.25); color: #fcf3cf; border-color: #f1c40f; box-shadow: 0 0 8px rgba(241, 196, 15, 0.3); }
.rank-badge.player { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); border-color: rgba(255, 255, 255, 0.1); }

/* Additional Status Tag Variants */
.status-tag.afk { background: rgba(241, 196, 15, 0.18); color: #f1c40f; border: 1px solid rgba(241, 196, 15, 0.4); }
.status-tag.mute { background: rgba(155, 89, 182, 0.18); color: #bb86fc; border: 1px solid rgba(155, 89, 182, 0.4); }
.status-tag.suspended { background: rgba(230, 126, 34, 0.18); color: #e67e22; border: 1px solid rgba(230, 126, 34, 0.4); }
.status-tag.deschis { background: rgba(46, 204, 113, 0.18); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.4); }
.status-tag.in-lucru { background: rgba(52, 152, 219, 0.18); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.4); }
.status-tag.rezolvat { background: rgba(46, 204, 113, 0.25); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.5); }
.status-tag.inchis { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.15); }

/* Support Ticket Styles */
.ticket-thread-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
}

.ticket-msg-bubble {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.ticket-msg-bubble.staff {
  background: rgba(229, 189, 115, 0.06);
  border-color: rgba(229, 189, 115, 0.25);
  margin-left: 20px;
}

.ticket-msg-bubble.user {
  margin-right: 20px;
  border-left: 3px solid #3498db;
}

.ticket-msg-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
}

/* ==============================================================
   DEPOZIT MALL (IN-GAME STORAGE VIEWER)
   ============================================================== */
.depozit-info-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(229, 189, 115, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: #e2e8f0;
}

.depozit-info-banner strong {
  color: var(--gold-light);
}

.depozit-stats-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 12px;
}

.depozit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.depozit-card {
  background: linear-gradient(145deg, #111622 0%, #0a0d14 100%);
  border: 1px solid rgba(229, 189, 115, 0.22);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.depozit-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(229, 189, 115, 0.2);
}

.depozit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.depozit-slot-badge {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(229, 189, 115, 0.12);
  border: 1px solid rgba(229, 189, 115, 0.3);
  padding: 2px 7px;
  border-radius: 3px;
}

.depozit-count-badge {
  font-size: 11px;
  font-weight: 700;
  color: #85e4a5;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.3);
  padding: 2px 8px;
  border-radius: 3px;
}

.depozit-item-img-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px auto;
  background: radial-gradient(circle, rgba(229, 189, 115, 0.12) 0%, rgba(0, 0, 0, 0.6) 80%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.depozit-item-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8));
}

.depozit-item-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 6px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depozit-status-line {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.depozit-empty-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(229, 189, 115, 0.3);
  border-radius: var(--radius-md);
}

.depozit-empty-box .icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.depozit-empty-box h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 18px;
  margin-bottom: 8px;
}

.depozit-empty-box p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==============================================================
   SUPPORT PORTAL & PLAYER TICKETS SYSTEM
   ============================================================== */
.support-auth-gate {
  text-align: center;
  padding: 40px 24px;
}

.support-auth-icon {
  font-size: 52px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 16px rgba(229, 189, 115, 0.4));
}

.support-auth-title {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 20px;
  margin-bottom: 8px;
}

.support-auth-desc {
  color: var(--text-secondary);
  font-size: 13px;
  max-width: 440px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.support-tabs-bar {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(229, 189, 115, 0.25);
  padding: 0 16px 12px 16px;
  margin-bottom: 16px;
}

.support-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.support-tab-btn:hover {
  background: rgba(229, 189, 115, 0.12);
  color: var(--gold-light);
  border-color: rgba(229, 189, 115, 0.4);
}

.support-tab-btn.active {
  background: linear-gradient(180deg, #996e2b 0%, #5c3e12 60%, #2a1b05 100%);
  color: #fff2d6;
  border-color: #e5bd73;
  box-shadow: 0 0 15px rgba(229, 189, 115, 0.35);
}

.support-account-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(229, 189, 115, 0.08);
  border: 1px solid rgba(229, 189, 115, 0.28);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.support-account-box .acc-icon {
  font-size: 24px;
}

.support-account-box .acc-login {
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
}

.support-account-box .acc-sub {
  color: var(--text-muted);
  font-size: 11px;
}

.support-account-box .acc-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #85e4a5;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.35);
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.player-ticket-card {
  background: rgba(14, 18, 25, 0.85);
  border: 1px solid rgba(229, 189, 115, 0.25);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.player-ticket-card:hover {
  border-color: rgba(229, 189, 115, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.player-ticket-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.player-ticket-code {
  color: var(--gold-light);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.player-ticket-subject {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.player-ticket-msg {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: #d1d5db;
  line-height: 1.5;
  white-space: pre-wrap;
  margin-bottom: 12px;
}

.player-ticket-replies {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(229, 189, 115, 0.2);
}

.ticket-reply-bubble {
  background: rgba(229, 189, 115, 0.06);
  border: 1px solid rgba(229, 189, 115, 0.25);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 8px;
}

.ticket-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ticket-reply-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 700;
}

.ticket-reply-date {
  font-size: 10px;
  color: var(--text-muted);
}

.ticket-reply-text {
  font-size: 12px;
  color: #eee;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ticket-awaiting-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: 4px;
}

/* Download Coming Soon & Live Badges */
.badge-coming-soon {
  background: linear-gradient(135deg, #e5bd73, #b8860b);
  color: #0b0d12;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(229, 189, 115, 0.4);
  display: inline-block;
  vertical-align: middle;
  animation: badge-glow 2s infinite alternate;
}

.badge-live {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #2ecc71;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  display: inline-block;
  vertical-align: middle;
}

@keyframes badge-glow {
  0% { box-shadow: 0 0 6px rgba(229, 189, 115, 0.3); }
  100% { box-shadow: 0 0 14px rgba(229, 189, 115, 0.8); }
}

/* Event Manager Grid & Live Cards */
.events-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.event-admin-card {
  background: linear-gradient(145deg, rgba(20, 25, 38, 0.95) 0%, rgba(12, 15, 22, 0.95) 100%);
  border: 1px solid rgba(229, 189, 115, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.event-admin-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(229, 189, 115, 0.2);
}

.event-admin-card.is-active {
  border-color: rgba(46, 204, 113, 0.6);
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.25);
}

.event-admin-card.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  box-shadow: 0 0 10px #2ecc71;
}

.event-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.event-card-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.event-card-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.event-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 4px;
}

.event-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-status-pill.active {
  background: rgba(46, 204, 113, 0.18);
  border: 1px solid #2ecc71;
  color: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

.event-status-pill.inactive {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}


