@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Montserrat:wght@700;800;900&display=swap');

/* Hide old detached cart shortcut; cart is in header */
.cart-shortcut {
  display: none !important;
}

/* ------------------------------------------------------------- */
/* FULL-WIDTH HEADER & BRAND STYLING                             */
/* ------------------------------------------------------------- */
.header-wrapper {
  width: 100%;
  position: relative;
  z-index: 50;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.92) 0%, rgba(8, 14, 26, 0.5) 65%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 16px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  border-bottom: none !important;
  background: transparent !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 2px;
  text-decoration: none;
}

.brand-crest-logo {
  width: 50px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand:hover .brand-crest-logo {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.85));
}

/* Navigation Links */
.header nav {
  display: flex;
  align-items: center;
  gap: 16px !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0;
}

.nav-link-standard {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-link-standard:hover {
  color: #38bdf8 !important;
  transform: translateY(-1px);
}
.nav-link-standard.highlight-launcher {
  color: #38bdf8;
}

/* ------------------------------------------------------------- */
/* RAINBOW ANIMATED "TOKEN AL / KREDİ SATIN AL" BUTTON           */
/* ------------------------------------------------------------- */
@keyframes rainbowFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-rainbow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-rainbow-coin {
  font-size: 15px;
  display: inline-block;
  animation: pulseCoin 2s ease-in-out infinite;
}

@keyframes pulseCoin {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 6px #ffd700); }
}

.nav-rainbow-text {
  background: linear-gradient(90deg, #ff007f, #9b51e0, #0070f3, #00dfd8, #25f47c, #ffd200, #ff5500, #ff007f);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowFlow 4s linear infinite;
  display: inline-block;
  font-weight: 900;
}

.nav-rainbow-hover-text {
  display: none;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.8px;
}

.nav-rainbow-btn:hover {
  background: linear-gradient(90deg, #ff007f, #9b51e0, #0070f3, #00dfd8, #25f47c, #ffd200, #ff5500, #ff007f);
  background-size: 300% 300%;
  animation: rainbowFlow 2.5s ease infinite;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.6), 0 0 40px rgba(0, 223, 216, 0.5);
  transform: translateY(-2px) scale(1.05);
}

.nav-rainbow-btn:hover .nav-rainbow-text {
  display: none;
}

.nav-rainbow-btn:hover .nav-rainbow-hover-text {
  display: inline-block;
}

/* ------------------------------------------------------------- */
/* TOP RIGHT NAV WIDGETS (DISCORD, IP PILL, CART, USER)         */
/* ------------------------------------------------------------- */
.account-nav {
  display: flex;
  align-items: center;
  gap: 12px !important;
}

.nav-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  background: #5865F2;
  color: #ffffff !important;
  border-radius: 9px;
  border-bottom: 3px solid #3c45a5;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}
.nav-discord-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.55);
}
.nav-discord-btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.nav-ip-widget {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1200;
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 9999px;
  cursor: pointer;
  gap: 9px;
  border: none;
  border-bottom: 3px solid #b45309;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.nav-ip-widget:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}
.nav-ip-widget:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.nav-ip-badge {
  background: #1a1200;
  color: #fbbf24;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s;
}

.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  background: #1e293b;
  color: #e2e8f0 !important;
  border: 1px solid #334155;
  border-bottom: 3px solid #0f172a;
  border-radius: 9px;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}
.nav-cart-btn:hover {
  filter: brightness(1.15);
  border-color: #38bdf8;
  transform: translateY(-2px);
}
.nav-cart-btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.nav-user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  background: #1e293b;
  color: #e2e8f0 !important;
  border: 1px solid #334155;
  border-bottom: 3px solid #0f172a;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.nav-user-btn:hover {
  filter: brightness(1.15);
  border-color: #38bdf8;
  transform: translateY(-2px);
}
.nav-user-btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.btn-register {
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  background: #38bdf8 !important;
  color: #071321 !important;
  border-bottom: 3px solid #0284c7 !important;
  text-decoration: none;
}
.btn-register:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-2px) !important;
}

/* ------------------------------------------------------------- */
/* IP KOPYALANDI TOAST NOTIFICATION (matches toast_reference.png)*/
/* ------------------------------------------------------------- */
.ip-copy-toast {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 999999;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 35px rgba(2, 132, 199, 0.45), 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
  max-width: 360px;
}

.ip-copy-toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon-circle {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.toast-text-wrap {
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #ffffff;
  line-height: 1.2;
}

.toast-subtitle {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 3px;
  line-height: 1.2;
}

/* ------------------------------------------------------------- */
/* MICRO-INTERACTIONS: SHIMMER & 3D TACTILE PUSH                 */
/* ------------------------------------------------------------- */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: none;
  pointer-events: none;
}

.btn-shimmer:hover::after {
  left: 220%;
  transition: left 0.75s ease-in-out;
}

.btn-3d {
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-3d:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}
.btn-3d:active {
  transform: translateY(3px) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4) !important;
}

/* ------------------------------------------------------------- */
/* IMMERSIVE HERO SECTION                                        */
/* ------------------------------------------------------------- */
.hero-immersive-container {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #080e1a;
  margin-top: -85px;
  padding-top: 105px;
  padding-bottom: 60px;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

.hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 26, 0.75) 0%,
    rgba(8, 14, 26, 0.15) 30%,
    rgba(8, 14, 26, 0.25) 65%,
    rgba(8, 14, 26, 0.95) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-immersive-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes crestFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.6));
  }
  50% {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 0 38px rgba(0, 210, 255, 0.95));
  }
}

.hero-crest-container {
  margin-bottom: 12px;
}

.hero-official-crest {
  width: 130px;
  height: 140px;
  object-fit: contain;
  animation: crestFloat 4s ease-in-out infinite;
}

.hero-brand-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

.hero-title-latveria {
  font-family: 'Cinzel', 'Montserrat', 'Impact', sans-serif !important;
  font-size: clamp(52px, 7vw, 92px) !important;
  font-weight: 900 !important;
  letter-spacing: 5px !important;
  margin: 0 !important;
  line-height: 0.95 !important;
  text-transform: uppercase !important;
  color: #ffc425 !important;
  background: linear-gradient(180deg, #fff3a1 0%, #ffc425 45%, #e67e00 85%, #994700 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 3px 0 #7a3d00) drop-shadow(0 6px 0 #4a2500) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.95)) !important;
}

.hero-title-network {
  font-family: 'Montserrat', 'Impact', sans-serif;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: 9px;
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 55%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #475569) drop-shadow(0 5px 0 #1e293b) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.9));
}

.hero-tagline {
  color: #e2e8f0;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 500;
  max-width: 580px;
  margin: 20px 0 0 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 42px;
  font-size: 17px;
  font-weight: 850;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-discord {
  background: #5865F2;
  color: #ffffff !important;
  border: none;
  border-bottom: 5px solid #3c45a5;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.45);
}
.btn-discord:hover {
  filter: brightness(1.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.65);
}

.btn-store {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1200 !important;
  border: none;
  border-bottom: 5px solid #b45309;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}
.btn-store:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.7);
}

/* ------------------------------------------------------------- */
/* LEADERBOARDS & RECENT ACTIVITY SECTION (media_1789077182340)  */
/* ------------------------------------------------------------- */
.leaderboard-section {
  max-width: 1260px;
  margin: 40px auto 70px;
  padding: 0 24px;
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-card {
  background: #0f1929;
  border: 1px solid #1e2e42;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.activity-card-header {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f8fafc;
}

.activity-card-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.activity-item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.15s, background 0.15s;
}
.activity-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #071321;
}
.rank-1 { background: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.rank-2 { background: #cbd5e1; }
.rank-3 { background: #d97706; color: #fff; }
.rank-4, .rank-5 { background: #334155; color: #cbd5e1; }

.player-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.player-info-wrap {
  flex-grow: 1;
  min-width: 0;
}

.player-name-text {
  font-size: 14px;
  font-weight: 800;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-sub-text {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.activity-amount {
  font-size: 14px;
  font-weight: 850;
  color: #38bdf8;
}

.activity-empty-text {
  text-align: center;
  padding: 36px 16px;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 650;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}

.leaderboard-footer-action {
  text-align: center;
  margin-top: 32px;
}

/* ------------------------------------------------------------- */
/* PROMO SECTION: HEMEN KREDİ YÜKLE! (media_1789077202346)       */
/* ------------------------------------------------------------- */
.promo-kredi-section {
  max-width: 1260px;
  margin: 30px auto 80px;
  padding: 0 24px;
}

.promo-kredi-card {
  background: linear-gradient(135deg, #0e1e33 0%, #0b1524 100%);
  border: 1px solid #1e3a5f;
  border-radius: 20px;
  padding: 45px 50px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.promo-left h2 {
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.promo-tagline {
  font-size: 16px;
  color: #38bdf8;
  font-weight: 750;
  margin: 0 0 8px 0;
}

.promo-desc {
  font-size: 15px;
  color: #94a3b8;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.promo-perks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.promo-perk-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 750;
  color: #e2e8f0;
}

.promo-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-art-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------------------- */
/* ENHANCED FOOTER & LAUNCHER (media_1789077204510)              */
/* ------------------------------------------------------------- */
.footer-enhanced {
  background: #060a12;
  border-top: 1px solid #142033;
  padding: 60px 24px 30px;
}

.footer-enhanced-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 36px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-crest {
  width: 60px;
  height: 64px;
  object-fit: contain;
}

.footer-brand-text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f1f5f9;
  margin: 0 0 16px 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: #38bdf8;
  transform: translateX(2px);
}

.launcher-card {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: 14px;
  padding: 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
}

.launcher-card h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 900;
}

.launcher-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 18px 0;
}

.btn-launcher-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0369a1 !important;
  font-weight: 850;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-launcher-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom-bar {
  max-width: 1260px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

/* ------------------------------------------------------------- */
/* SUPPORT TICKETS STYLING (media_1789077268990)                 */
/* ------------------------------------------------------------- */
.support-page-container {
  max-width: 1260px;
  margin: 30px auto 80px;
  padding: 0 24px;
}

.support-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
}
.support-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}
.support-breadcrumb a:hover {
  color: #38bdf8;
}

.support-info-banner {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-left: 5px solid #fbbf24;
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.info-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon {
  width: 34px;
  height: 34px;
  background: #fbbf24;
  color: #1a1200;
  font-weight: 900;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 850;
  color: #f8fafc;
}

.info-text p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}

.btn-info-action {
  display: inline-flex;
  align-items: center;
  background: #0284c7;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-info-action:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
}

.staff-filter-bar {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.staff-badge {
  background: #e11d48;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pills .pill {
  font-size: 12.5px;
  font-weight: 750;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  background: #1e293b;
  transition: all 0.2s;
}
.filter-pills .pill:hover, .filter-pills .pill.active {
  background: #0284c7;
  color: #ffffff;
}

.support-card-main {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.support-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cyan-accent-bar {
  width: 4px;
  height: 24px;
  background: #38bdf8;
  border-radius: 4px;
}

.card-header-title h2 {
  font-size: 22px;
  font-weight: 850;
  color: #f8fafc;
  margin: 0;
}

.btn-create-ticket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0284c7;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-create-ticket:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
}

.tickets-table-wrapper {
  overflow-x: auto;
}

.tickets-table {
  width: 100%;
  border-collapse: collapse;
}

.tickets-table th {
  text-align: left;
  font-size: 12.5px;
  font-weight: 850;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  border-bottom: 1px solid #1e293b;
}

.tickets-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: #cbd5e1;
}

.ticket-id {
  font-family: monospace;
  color: #38bdf8;
  font-weight: 750;
}

.ticket-title a {
  color: #f1f5f9;
  text-decoration: none;
}
.ticket-title a:hover {
  color: #38bdf8;
}

.status-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.status-open { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.4); }
.status-answered { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.4); }
.status-waiting { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.status-closed { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.3); }

.category-tag {
  font-size: 12.5px;
  color: #94a3b8;
}

.priority-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}
.priority-low { background: #1e293b; color: #94a3b8; }
.priority-medium { background: #1e3a5f; color: #38bdf8; }
.priority-high { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.priority-urgent { background: rgba(225, 29, 72, 0.2); color: #f43f5e; }

.btn-ticket-view {
  font-size: 12.5px;
  font-weight: 800;
  color: #38bdf8;
  text-decoration: none;
}
.btn-ticket-view:hover {
  text-decoration: underline;
}

.support-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon-box {
  margin-bottom: 16px;
}

.support-empty-state h3 {
  font-size: 20px;
  font-weight: 850;
  color: #f1f5f9;
  margin: 0 0 8px 0;
}

.support-empty-state p {
  font-size: 14px;
  color: #94a3b8;
  max-width: 480px;
  margin: 0 auto;
}

/* Detail Thread Styling */
.ticket-detail-header-card {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ticket-header-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.ticket-header-title-row h2 {
  font-size: 22px;
  font-weight: 850;
  margin: 0;
  color: #f8fafc;
}

.ticket-meta-tags {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
}

.ticket-thread-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.thread-message-card {
  background: #0f1929;
  border: 1px solid #1e2e42;
  border-radius: 14px;
  padding: 20px 24px;
}

.thread-message-card.is-staff-card {
  background: linear-gradient(135deg, #0f233a 0%, #0d1a2d 100%);
  border: 1px solid #0284c7;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.2);
}

.message-sender-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sender-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sender-head {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.sender-name {
  font-size: 15px;
  font-weight: 850;
  color: #f8fafc;
  display: block;
}

.staff-tag-badge {
  font-size: 10.5px;
  font-weight: 900;
  background: #0284c7;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.owner-tag-badge {
  font-size: 10.5px;
  font-weight: 800;
  background: #334155;
  color: #cbd5e1;
  padding: 2px 6px;
  border-radius: 4px;
}

.message-time {
  font-size: 12px;
  color: #64748b;
}

.message-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: #e2e8f0;
}

.ticket-reply-box {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 16px;
  padding: 24px 28px;
}

.ticket-reply-box h3 {
  margin: 0 0 14px 0;
  font-size: 18px;
  font-weight: 850;
  color: #f8fafc;
}

.ticket-closed-notice {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
}

/* ------------------------------------------------------------- */
/* WIKI & HELP CENTER STYLING (Latveria Wiki Styling)         */
/* ------------------------------------------------------------- */
.wiki-page-container {
  max-width: 1300px;
  margin: 30px auto 80px;
  padding: 0 24px;
}

.wiki-hero-header {
  background: linear-gradient(135deg, #0e1e33 0%, #091220 100%);
  border: 1px solid #1e3a5f;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wiki-hero-content h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;
  margin: 10px 0;
  color: #f8fafc;
}

.wiki-hero-content p {
  font-size: 16px;
  color: #94a3b8;
  margin: 0 auto 24px;
  max-width: 540px;
}

.wiki-search-box {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.wiki-search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.wiki-search-box input {
  width: 100%;
  background: #060b14 !important;
  border: 1px solid #1e3a5f !important;
  border-radius: 12px !important;
  padding: 14px 20px 14px 48px !important;
  font-size: 15px !important;
  color: #f1f5f9 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wiki-search-box input:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
  outline: none;
}

.wiki-layout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

.wiki-sidebar {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 20px;
}

.wiki-nav-group {
  margin-bottom: 22px;
}

.wiki-nav-header {
  font-size: 13px;
  font-weight: 850;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wiki-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wiki-nav-link {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.wiki-nav-link:hover {
  background: rgba(56, 189, 248, 0.08);
  color: #38bdf8;
  transform: translateX(3px);
}
.wiki-nav-link.active {
  background: #0284c7;
  color: #ffffff;
}

.wiki-content-area {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 16px;
  padding: 40px;
  min-height: 600px;
}

.wiki-article-block {
  display: none;
}
.wiki-article-block.active {
  display: block;
  animation: fadeInArticle 0.3s ease;
}

@keyframes fadeInArticle {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wiki-article-block h2 {
  font-size: 32px;
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 8px 0;
}

.article-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wiki-callout {
  padding: 18px 22px;
  border-radius: 12px;
  margin: 20px 0;
  font-size: 14.5px;
  line-height: 1.6;
}
.wiki-callout.info {
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #bae6fd;
}
.wiki-callout.warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fef08a;
}

.code-badge {
  background: #080e1a;
  border: 1px solid #1e3a5f;
  padding: 4px 10px;
  border-radius: 6px;
  color: #38bdf8;
  font-weight: 800;
  display: inline-block;
  margin: 2px 0;
}

.wiki-steps-list {
  padding-left: 20px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
}

.wiki-code-block {
  background: #060a12;
  border: 1px solid #1a293e;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 18px 0;
}

.code-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 8px;
}

.wiki-code-block pre {
  margin: 0;
  font-family: Consolas, Monaco, monospace;
  font-size: 15px;
  color: #38bdf8;
  font-weight: 750;
}

.code-example {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 6px;
}

.rules-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.rule-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid #38bdf8;
  border-radius: 8px;
  padding: 16px 20px;
}

.rule-item strong {
  display: block;
  font-size: 15px;
  color: #f8fafc;
  margin-bottom: 6px;
}

.rule-item p {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.wiki-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.wiki-table th {
  text-align: left;
  font-size: 13px;
  color: #64748b;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid #1e293b;
}

.wiki-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: #cbd5e1;
}

.wiki-help-footer {
  margin-top: 50px;
  padding: 24px 30px;
  background: linear-gradient(135deg, #0f2038 0%, #0d1728 100%);
  border: 1px solid #1e3a5f;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.wiki-help-footer h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 850;
  color: #f8fafc;
}

.wiki-help-footer p {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
}

/* ------------------------------------------------------------- */
/* RESPONSIVE BREAKPOINTS                                        */
/* ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .leaderboard-grid {
    grid-template-columns: 1fr;
  }
  .promo-kredi-card {
    grid-template-columns: 1fr;
  }
  .footer-enhanced-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .wiki-layout-grid {
    grid-template-columns: 1fr;
  }
  .wiki-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .footer-enhanced-inner {
    grid-template-columns: 1fr;
  }
  .support-card-main, .wiki-content-area {
    padding: 20px 16px;
  }
  .support-info-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* ------------------------------------------------------------- */
/* IP COPY TOAST NOTIFICATION (toast_reference.png)              */
/* ------------------------------------------------------------- */
.ip-copy-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.ip-copy-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0284c7;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 12px 30px -4px rgba(2, 132, 199, 0.45), 0 6px 15px rgba(0, 0, 0, 0.25);
  min-width: 310px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ip-copy-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.ip-copy-toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.ip-toast-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ip-toast-icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: #0284c7;
  stroke-width: 3.2;
}

.ip-toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ip-toast-title {
  font-size: 16px;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.ip-toast-desc {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.95;
  line-height: 1.3;
}


/* ------------------------------------------------------------- */
/* REDESIGNED LATVERIA KOMUTA & YÖNETİM MASASI V2               */
/* ------------------------------------------------------------- */
.nav-admin-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b1320 !important;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-admin-panel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.6);
}

.management-page-container {
  max-width: 1380px;
  margin: 32px auto 80px;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

/* TOP HERO BAR */
.mgmt-hero-header {
  background: linear-gradient(135deg, #0a1322 0%, #060b14 100%);
  border: 1px solid #1e3a5f;
  border-radius: 20px;
  padding: 32px 38px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.mgmt-hero-header::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.founder-identity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.founder-identity-text {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #fbbf24;
}

.mgmt-hero-left h1 {
  margin: 0 0 8px 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: -0.5px;
}

.mgmt-hero-desc {
  margin: 0;
  font-size: 14.5px;
  color: #94a3b8;
  max-width: 680px;
  line-height: 1.5;
}
.founder-name-highlight {
  color: #38bdf8;
  font-weight: 800;
}

.founder-profile-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid #1e3a5f;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.founder-head-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  image-rendering: pixelated;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.founder-card-name {
  font-size: 16px;
  font-weight: 900;
  color: #f8fafc;
}

.founder-card-role {
  font-size: 11.5px;
  font-weight: 850;
  color: #fbbf24;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

/* STATS RIBBON */
.mgmt-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-ribbon-card {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.stat-ribbon-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  background: #0f1c30;
}

.ribbon-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.ribbon-icon.blue { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.25); }
.ribbon-icon.cyan { background: rgba(14, 165, 233, 0.15); border: 1px solid rgba(14, 165, 233, 0.35); }
.ribbon-icon.red { background: rgba(244, 63, 94, 0.15); border: 1px solid rgba(244, 63, 94, 0.35); }
.ribbon-icon.yellow { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.35); }

.ribbon-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #f8fafc;
  line-height: 1.1;
}

.ribbon-title {
  display: block;
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 3px;
}

/* NAVIGATION TABS */
.mgmt-tabs-navigation {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 2px solid #142033;
  padding-bottom: 12px;
  overflow-x: auto;
}

.mgmt-nav-tab {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}
.mgmt-nav-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}
.mgmt-nav-tab.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.tab-icon {
  font-size: 16px;
}

.tab-badge {
  background: rgba(0, 0, 0, 0.3);
  font-size: 11px;
  font-weight: 850;
  padding: 3px 8px;
  border-radius: 9999px;
}
.mgmt-nav-tab.active .tab-badge {
  background: rgba(255, 255, 255, 0.22);
}
.tab-badge.red-alert {
  background: #e11d48;
  color: #ffffff;
}
.tab-badge.green {
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
}

/* TAB PANELS */
.mgmt-tab-panel {
  display: none;
}
.mgmt-tab-panel.active {
  display: block;
  animation: tabFade 0.2s ease-out;
}
@keyframes tabFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CARD PANELS */
.mgmt-panel-card {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
  box-sizing: border-box;
  width: 100%;
}

.mgmt-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.panel-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 900;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.mgmt-panel-card h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 900;
  color: #f8fafc;
}

.panel-desc {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 820px;
}

/* FILTER CONTROLS */
.mgmt-filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 22px 0 20px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #060b14;
  border: 1px solid #1e3a5f;
  border-radius: 10px;
  padding: 10px 16px;
  width: 100%;
  max-width: 420px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-wrapper:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}
.search-input-wrapper svg {
  color: #64748b;
}
.search-input-wrapper input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  font-size: 14px !important;
  color: #f1f5f9 !important;
  width: 100%;
}

.filter-pills-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: #142033;
  border: 1px solid #1e2f47;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-pill-btn:hover {
  background: #1e2f47;
  color: #f1f5f9;
}
.filter-pill-btn.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
}

/* USER MANAGEMENT TABLE */
.mgmt-table-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #1a293e;
  box-sizing: border-box;
}

.mgmt-user-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #080f1a;
}

.mgmt-user-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 850;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 16px;
  background: #0b1524;
  border-bottom: 1px solid #1e2f47;
}

.mgmt-user-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  color: #cbd5e1;
}

.mgmt-user-table tr.is-founder-row {
  background: rgba(245, 158, 11, 0.03);
}
.mgmt-user-table tr.is-staff-row {
  background: rgba(14, 165, 233, 0.03);
}

.user-identity-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-player-head {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s;
}
.user-identity-cell:hover .table-player-head {
  transform: scale(1.12);
}

.table-username {
  font-size: 14px;
  font-weight: 850;
  color: #f8fafc;
}

.micro-tag.gold {
  display: inline-block;
  font-size: 9px;
  font-weight: 900;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 6px;
}

.table-email-cell {
  font-family: monospace;
  font-size: 13px;
  color: #94a3b8;
}

.table-date-cell {
  font-size: 12.5px;
  color: #64748b;
}

.role-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 6px;
}
.role-pill.founder { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.role-pill.staff { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.4); }
.role-pill.player { background: rgba(148, 163, 184, 0.1); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.2); }

.perm-indicator {
  font-size: 12.5px;
  font-weight: 750;
}
.perm-indicator.active { color: #10b981; }
.perm-indicator.passive { color: #64748b; }

.badge-locked {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-toggle-role {
  border: none;
  font-size: 12.5px;
  font-weight: 850;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-toggle-role.grant {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}
.btn-toggle-role.grant:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
}
.btn-toggle-role.revoke {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.btn-toggle-role.revoke:hover {
  background: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}

.table-empty-notice {
  text-align: center;
  padding: 36px;
  color: #64748b;
  font-size: 14px;
}

/* ANNOUNCEMENTS TAB SPLIT */
.mgmt-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}

.announcement-composer-form .form-field {
  margin-bottom: 16px;
}
.announcement-composer-form .form-field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 6px;
}
.announcement-composer-form input,
.announcement-composer-form select,
.announcement-composer-form textarea {
  width: 100%;
  background: #060b14 !important;
  border: 1px solid #1e3a5f !important;
  border-radius: 9px !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  color: #f1f5f9 !important;
  box-sizing: border-box;
}
.announcement-composer-form input:focus,
.announcement-composer-form select:focus,
.announcement-composer-form textarea:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
  outline: none;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check-field {
  display: flex;
  align-items: flex-end;
  padding-bottom: 12px;
}
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 750;
  color: #cbd5e1;
}

/* LIVE PREVIEW BOX */
.preview-box-container {
  margin: 20px 0;
  padding: 16px;
  background: #070d17;
  border: 1px dashed #1e3a5f;
  border-radius: 12px;
}
.preview-label {
  display: block;
  font-size: 11px;
  font-weight: 850;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.preview-card {
  border: 1px solid #38bdf8 !important;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15) !important;
  background: #0d1626 !important;
}

.btn-publish-ann {
  width: 100%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: none;
  font-size: 15px;
  font-weight: 850;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-publish-ann:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

/* RIGHT SPLIT */
.mgmt-split-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.top-banner-form input {
  width: 100%;
  background: #060b14 !important;
  border: 1px solid #1e3a5f !important;
  border-radius: 9px !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: #f1f5f9 !important;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.top-banner-form input:focus {
  border-color: #38bdf8 !important;
  outline: none;
}

.btn-save-banner {
  background: #10b981;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-save-banner:hover {
  background: #059669;
}

.published-ann-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 460px;
  overflow-y: auto;
}

.published-item {
  background: #070d17;
  border: 1px solid #19273c;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s;
}
.published-item:hover {
  border-color: #1e3a5f;
}

.pub-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.pub-date {
  margin-left: auto;
  font-size: 11.5px;
  color: #64748b;
}

.pub-title {
  margin: 0 0 4px 0;
  font-size: 14.5px;
  font-weight: 850;
  color: #f8fafc;
}

.pub-text {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}

.pub-footer {
  display: flex;
  justify-content: flex-end;
}
.btn-delete-published {
  background: transparent;
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-delete-published:hover {
  background: #f43f5e;
  color: #ffffff;
}

/* TICKETS TAB */
.btn-open-support-center {
  background: #0284c7;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
}
.btn-open-support-center:hover {
  background: #0ea5e9;
}

.ticket-number {
  font-family: monospace;
  font-size: 13px;
  color: #38bdf8;
  font-weight: 800;
}
.ticket-link-title {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 800;
  transition: color 0.15s;
}
.ticket-link-title:hover {
  color: #38bdf8;
}

.btn-inspect-ticket {
  background: #142033;
  color: #38bdf8 !important;
  border: 1px solid #1e3a5f;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.15s;
}
.btn-inspect-ticket:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #38bdf8;
}

/* SERVERS MONITOR */
.servers-monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.server-monitor-card {
  background: #070d17;
  border: 1px solid #19273c;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.server-monitor-card.is-online {
  border-color: rgba(16, 185, 129, 0.4);
}

.srv-monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}
.srv-monitor-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  color: #f8fafc;
}

.srv-live-badge {
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.srv-live-badge.online { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.srv-live-badge.offline { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.ping-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.srv-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
}
.srv-meta-row code {
  background: #0f1927;
  padding: 2px 6px;
  border-radius: 4px;
  color: #38bdf8;
}

@media (max-width: 1024px) {
  .mgmt-stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .mgmt-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mgmt-stats-ribbon {
    grid-template-columns: 1fr;
  }
  .mgmt-hero-header {
    padding: 20px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}


/* HOME ANNOUNCEMENTS SECTION */
.home-announcements-section {
  max-width: 1260px;
  margin: 30px auto 60px;
  padding: 0 24px;
}
.home-announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.home-ann-card {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, border-color 0.2s;
}
.home-ann-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}
.home-ann-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.home-ann-date {
  margin-left: auto;
  font-size: 12px;
  color: #64748b;
}
.home-ann-card h3 {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 850;
  color: #f8fafc;
}
.home-ann-card p {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
}

/* ============================================================ */
/* FOUNDER SHOP & SERVER MANAGEMENT SUITE                      */
/* ============================================================ */

/* Founder quick action bar on Home & Catalog */
.founder-section-action {
  display: flex;
  align-items: center;
}
.btn-founder-quick {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(245, 158, 11, 0.25));
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #fef08a !important;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.15);
}
.btn-founder-quick:hover {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), rgba(245, 158, 11, 0.4));
  border-color: #facc15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.25);
}

.founder-catalog-bar {
  background: linear-gradient(90deg, rgba(13, 22, 38, 0.95), rgba(18, 32, 54, 0.95));
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-left: 4px solid #eab308;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.founder-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1f5f9;
  font-size: 14px;
}
.founder-bar-left strong {
  color: #fef08a;
  margin-right: 6px;
}
.founder-bar-left span {
  color: #94a3b8;
}
.founder-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-founder-action {
  background: #101c30;
  border: 1px solid #233959;
  color: #38bdf8 !important;
  font-size: 13px;
  font-weight: 750;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-founder-action:hover {
  background: #162640;
  border-color: #38bdf8;
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-founder-action.highlight {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.25));
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc !important;
}
.btn-founder-action.highlight:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.4));
  border-color: #38bdf8;
  color: #fff !important;
}
.btn-founder-action.muted-action {
  color: #94a3b8 !important;
  border-color: #1e2f47;
}

/* Store Navigation & Pills */
.highlight-store-tab .tab-icon {
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}
.store-subnav-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}
.subnav-pill {
  background: #09111e;
  border: 1px solid #1e2f47;
  color: #94a3b8;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s;
}
.subnav-pill:hover {
  color: #f1f5f9;
  border-color: #2e476b;
  background: #0e1a2d;
}
.subnav-pill.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.25));
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.store-subpanel {
  display: none;
}
.store-subpanel.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.subpanel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.subpanel-header h3 {
  margin: 0 0 4px 0;
  font-size: 19px;
  font-weight: 850;
  color: #f8fafc;
}
.panel-desc-sm {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
}

.btn-store-action {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid #38bdf8;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}
.btn-store-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
  filter: brightness(1.1);
}

/* Server Cards Grid in Management */
.mgmt-servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.mgmt-server-card {
  background: #09111e;
  border: 1px solid #1e2f47;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: border-color 0.2s;
}
.mgmt-server-card.is-active-srv {
  border-color: rgba(56, 189, 248, 0.4);
}
.mgmt-server-card.is-passive-srv {
  opacity: 0.75;
  border-color: #334155;
}
.mgmt-srv-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.mgmt-srv-art img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
}
.mgmt-srv-info h4 {
  margin: 0 0 4px 0;
  font-size: 17px;
  font-weight: 850;
  color: #f8fafc;
}
.srv-slug-badge code {
  font-size: 11.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 5px;
}
.mgmt-srv-status {
  margin-left: auto;
}
.mgmt-srv-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 16px 0;
  line-height: 1.5;
  flex: 1;
}
.mgmt-srv-counts {
  display: flex;
  gap: 14px;
  background: #050b14;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mgmt-srv-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-srv-action {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e2e8f0;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}
.btn-srv-action:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #38bdf8 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}
.btn-srv-action.toggle {
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}
.btn-srv-action.toggle:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #fbbf24;
  color: #fde68a !important;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
}
.btn-srv-action.visit {
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
}
.btn-srv-action.visit:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #c084fc;
  color: #f3e8ff !important;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.35);
}
.btn-srv-action.delete {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
  margin-left: auto;
}
.btn-srv-action.delete:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
}

/* Modern Glass Table Action Buttons */
.table-action-btns {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
}
.btn-tbl-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.btn-tbl-action:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
  border-color: #38bdf8;
  color: #38bdf8 !important;
  background: rgba(14, 165, 233, 0.18);
}
.btn-tbl-action.highlight-btn {
  border-color: rgba(52, 211, 153, 0.4);
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.15);
}
.btn-tbl-action.highlight-btn:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: #34d399;
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.45);
}
.btn-tbl-action.danger {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.15);
}
.btn-tbl-action.danger:hover {
  background: rgba(239, 68, 68, 0.32);
  border-color: #ef4444;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.55);
}
.btn-tbl-action.toggle {
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.15);
}
.btn-tbl-action.toggle:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: #fbbf24;
  color: #fde68a !important;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.45);
}

/* Subpanel Filters */
.subpanel-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  background: #09111e;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #1e2f47;
  flex-wrap: wrap;
}
.subpanel-filter-bar label {
  font-size: 13px;
  font-weight: 750;
  color: #94a3b8;
}
.subpanel-filter-bar select,
.subpanel-filter-bar input {
  background: #050b14;
  border: 1px solid #233959;
  color: #f1f5f9;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  outline: none;
}
.subpanel-filter-bar select:focus,
.subpanel-filter-bar input:focus {
  border-color: #38bdf8;
}
.multi-filters .filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.multi-filters .search-grow {
  flex: 1;
  min-width: 220px;
}
.multi-filters .search-grow input {
  width: 100%;
}

/* Category & Product Table Styling */
.badge-server-tag {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.cat-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-icon-symbol {
  font-size: 16px;
}

.prod-thumb-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prod-mini-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  padding: 2px;
}
.prod-sub-desc {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}
.prod-scope-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}
.prod-scope-badge .srv-tag {
  font-weight: 800;
  color: #38bdf8;
}
.prod-scope-badge .sep {
  color: #475569;
}
.prod-scope-badge .cat-tag {
  color: #cbd5e1;
}
.price-stock-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.token-price-tag {
  font-weight: 850;
  color: #facc15;
  font-size: 13.5px;
}
.stock-info {
  font-size: 11.5px;
  color: #94a3b8;
}

/* MONOSPACE CODE BOX FOR MINECRAFT COMMANDS */
.command-code-box {
  background: #040810;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 3px solid #38bdf8;
  border-radius: 6px;
  padding: 6px 10px;
  max-width: 340px;
  overflow-x: auto;
}
.command-code-box code {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
  color: #38bdf8;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Modals */
.mgmt-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 9, 18, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.mgmt-modal-dialog {
  background: #0a1220;
  border: 1px solid #233959;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  animation: modalScale 0.2s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}
.mgmt-modal-dialog.wide-modal {
  max-width: 640px;
}
@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.mgmt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mgmt-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  color: #f8fafc;
}
.modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.modal-close-btn:hover {
  color: #fff;
}
.mgmt-modal-form {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.mgmt-modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mgmt-modal-form label {
  font-size: 13px;
  font-weight: 750;
  color: #cbd5e1;
}
.mgmt-modal-form input[type="text"],
.mgmt-modal-form input[type="number"],
.mgmt-modal-form select,
.mgmt-modal-form textarea {
  background: #040810;
  border: 1px solid #1e2f47;
  border-radius: 8px;
  padding: 10px 14px;
  color: #f8fafc;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.mgmt-modal-form input:focus,
.mgmt-modal-form select:focus,
.mgmt-modal-form textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}
.mgmt-modal-form input[type="file"] {
  font-size: 13px;
  color: #94a3b8;
  padding: 6px 0;
}
.checkbox-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}
.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #e2e8f0;
  cursor: pointer;
}
.custom-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: #38bdf8;
}

/* Command Composer Box */
.command-composer-box {
  background: #060c16;
  border: 1px solid #1e3555;
  border-radius: 10px;
  padding: 14px;
}
.command-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.command-var-hint code {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.code-textarea {
  font-family: 'Consolas', 'Courier New', monospace !important;
  font-size: 13px !important;
  color: #38bdf8 !important;
  line-height: 1.5;
  resize: vertical;
}
.command-help-tip {
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.4;
}
.command-help-tip code {
  color: #facc15;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-modal-cancel {
  background: #0d1626;
  border: 1px solid #1e2f47;
  color: #94a3b8;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-modal-cancel:hover {
  background: #15243d;
  color: #fff;
}
.btn-modal-submit {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid #38bdf8;
  color: #fff;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}
.btn-modal-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* ============================================================ */
/* LATVERIA LAUNCHER BANNER (AS IN USER SCREENSHOT)            */
/* ============================================================ */
.launcher-banner-section {
  max-width: 1200px;
  margin: 30px auto 40px;
  padding: 0 24px;
}
.launcher-banner-card {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 12px 35px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.launcher-banner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.launcher-banner-content {
  flex: 1;
  max-width: 650px;
  z-index: 2;
}
.launcher-badge-pill {
  display: inline-block;
  background: rgba(0, 0, 0, 0.25);
  color: #e0f2fe;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.launcher-banner-title {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.launcher-banner-desc {
  margin: 0 0 24px 0;
  font-size: 16px;
  color: #f0f9ff;
  line-height: 1.55;
  font-weight: 500;
}
.launcher-banner-btn-wrapper {
  display: inline-block;
}
/* EXACT BUTTON FROM USER'S SCREENSHOT */
.btn-launcher-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #0284c7 !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  padding: 13px 32px !important;
  border-radius: 14px !important;
  border: 3px solid #000000 !important;
  box-shadow: 0 4px 0 #000000, 0 8px 20px rgba(0, 0, 0, 0.25) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-launcher-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #000000, 0 12px 25px rgba(0, 0, 0, 0.35) !important;
  filter: brightness(1.02);
}
.btn-launcher-pill:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000000, 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}
.launcher-banner-art {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.launcher-banner-crest {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.45));
  animation: floatCrest 4s ease-in-out infinite alternate;
}
@keyframes floatCrest {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.03); }
}

/* Launcher card mini crest in footer */
.launcher-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.launcher-card-mini-crest {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.highlight-launcher {
  color: #38bdf8 !important;
  font-weight: 800 !important;
}

/* ============================================================ */
/* DEDICATED LAUNCHER PAGE (/launcher/)                        */
/* ============================================================ */
.launcher-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.launcher-hero {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 60%), #0d1626;
  border: 1px solid #1e3555;
  border-radius: 24px;
  padding: 50px 48px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 50px;
}
.launcher-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.launcher-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.launcher-title {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 950;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.launcher-subtitle {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 30px 0;
}
.launcher-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-launcher-download {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  color: #ffffff !important;
  padding: 14px 26px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-launcher-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5);
  filter: brightness(1.08);
}
.btn-launcher-download .dl-main {
  display: block;
  font-size: 16px;
}
.btn-launcher-download .dl-sub {
  display: block;
  font-size: 12px;
  color: #bae6fd;
  font-weight: 600;
}
.btn-launcher-guide {
  background: #111d2e;
  border: 1px solid #233959;
  color: #cbd5e1 !important;
  padding: 15px 22px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-launcher-guide:hover {
  background: #1a2d48;
  border-color: #38bdf8;
  color: #fff !important;
}
.launcher-system-req {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
}
.launcher-system-req span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.launcher-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.launcher-crest-glow-wrapper {
  position: relative;
}
.launcher-crest-glow-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.launcher-big-crest {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
  animation: floatCrest 4s ease-in-out infinite alternate;
}

.launcher-features-section {
  margin-bottom: 60px;
}
.section-heading-centered {
  text-align: center;
  margin-bottom: 36px;
}
.section-heading-centered h2 {
  font-size: 28px;
  font-weight: 850;
  color: #f8fafc;
  margin: 6px 0;
}
.launcher-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.launcher-feat-card {
  background: #09111e;
  border: 1px solid #1e2f47;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}
.launcher-feat-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
}
.launcher-feat-card .feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.launcher-feat-card .feat-icon.blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.launcher-feat-card .feat-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.launcher-feat-card .feat-icon.yellow { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.launcher-feat-card .feat-icon.purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.launcher-feat-card h3 {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
}
.launcher-feat-card p {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
}

/* Guide Steps */
.launcher-guide-section {
  background: #070d18;
  border: 1px solid #1e2f47;
  border-radius: 22px;
  padding: 40px;
}
.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.guide-step-card {
  background: #0d1626;
  border: 1px solid #233959;
  border-radius: 16px;
  padding: 26px;
  position: relative;
}
.guide-step-card .step-num {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-weight: 900;
  font-size: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-step-card h4 {
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: 850;
  color: #f8fafc;
  padding-right: 40px;
}
.guide-step-card p {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
}
.guide-cta-bottom {
  text-align: center;
}

/* Launcher SmartScreen Notice */
.launcher-smartscreen-notice {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 34px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.launcher-smartscreen-notice .notice-icon {
  font-size: 32px;
  line-height: 1;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.launcher-smartscreen-notice .notice-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 850;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.launcher-smartscreen-notice h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}
.launcher-smartscreen-notice p {
  margin: 0;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
}
.launcher-smartscreen-notice strong {
  color: #38bdf8;
  font-weight: 750;
}
@media (max-width: 768px) {
  .launcher-smartscreen-notice {
    flex-direction: column;
    padding: 18px;
    gap: 14px;
  }
}

/* ============================================================ */
/* COMPREHENSIVE MOBILE RESPONSIVE OVERHAUL (SMARTPHONE UI)    */
/* ============================================================ */

/* Global Anti-Overflow */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
}

/* Mobile Menu Toggle Button (Desktop: hidden) */
.mobile-menu-toggle {
  display: none;
  background: #0d1626;
  border: 1px solid #233959;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.mobile-menu-toggle .bar {
  width: 20px;
  height: 2.2px;
  background: #38bdf8;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mobile-menu-toggle.is-active {
  border-color: #38bdf8;
  background: #15253d;
}
.mobile-menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Slide Drawer */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 14, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.is-open {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #09111e;
  border-left: 1px solid #1e2f47;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}
.mobile-nav-drawer.is-open {
  right: 0;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 15px;
  color: #f8fafc;
  letter-spacing: 0.5px;
}
.mobile-drawer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}
.mobile-drawer-links {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mobile-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 750;
  color: #cbd5e1;
  text-decoration: none;
  background: #0d1626;
  border: 1px solid #1a293f;
  transition: all 0.2s;
}
.mobile-drawer-item:hover {
  background: #142238;
  color: #fff;
  border-color: #38bdf8;
}
.mobile-drawer-item.rainbow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(56, 189, 248, 0.15));
  border-color: rgba(234, 179, 8, 0.4);
  color: #fef08a !important;
}
.mobile-drawer-item.highlight {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(3, 105, 161, 0.35));
  border-color: #38bdf8;
  color: #38bdf8 !important;
}
.mobile-drawer-item.founder {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(245, 158, 11, 0.3));
  border-color: #facc15;
  color: #fef08a !important;
}
.mobile-drawer-item.danger {
  color: #f87171 !important;
  border-color: rgba(248, 113, 113, 0.25);
}
.badge-mini {
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
}
.mobile-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.btn-mobile-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
}
.btn-mobile-auth.login {
  background: #142238;
  border: 1px solid #233959;
  color: #e2e8f0;
}
.btn-mobile-auth.register {
  background: #0284c7;
  color: #fff;
}
.mobile-drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-ip-btn {
  background: #040810;
  border: 1px solid #1e3555;
  padding: 10px;
  border-radius: 8px;
  color: #38bdf8;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mobile-ip-btn span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.mobile-ip-btn small {
  font-size: 10.5px;
  color: #64748b;
}
.mobile-discord-btn {
  background: #5865F2;
  color: #fff !important;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* RESPONSIVE MEDIA QUERIES FOR MOBILE (< 860px) */
@media (max-width: 860px) {
  .header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .header {
    padding: 12px 16px !important;
  }
  .header .nav-discord-btn {
    display: none !important;
  }
  .header .btn-register {
    display: none !important;
  }
  .header .nav-admin-panel-btn span {
    display: none;
  }
  .nav-ip-widget {
    padding: 6px 10px !important;
  }
  .nav-ip-text {
    font-size: 11px !important;
  }
  .nav-ip-badge {
    display: none !important;
  }

  /* Hero Section on Mobile */
  .hero-immersive-container {
    min-height: 480px !important;
    padding: 60px 16px 40px !important;
  }
  .hero-official-crest {
    width: 110px !important;
    height: 110px !important;
  }
  .hero-title-latveria {
    font-size: 42px !important;
    letter-spacing: 2px !important;
  }
  .hero-title-network {
    font-size: 13px !important;
    letter-spacing: 8px !important;
    margin-bottom: 12px !important;
  }
  .hero-tagline {
    font-size: 14px !important;
    max-width: 90% !important;
    margin-bottom: 24px !important;
  }
  .hero-action-buttons {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 280px !important;
    gap: 12px !important;
  }
  .btn-hero {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
  }

  /* Launcher Promo Banner on Mobile */
  .launcher-banner-card {
    flex-direction: column-reverse !important;
    text-align: center !important;
    padding: 28px 20px !important;
    gap: 20px !important;
  }
  .launcher-banner-content {
    max-width: 100% !important;
  }
  .launcher-banner-title {
    font-size: 26px !important;
  }
  .launcher-banner-desc {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  .btn-launcher-pill {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
  .launcher-banner-crest {
    width: 100px !important;
    height: 100px !important;
  }

  /* Server Grid on Mobile */
  .server-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .server-card {
    width: 100% !important;
  }

  /* Dedicated Launcher Page on Mobile */
  .launcher-hero-inner {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 24px !important;
  }
  .launcher-cta-group {
    justify-content: center !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .btn-launcher-download, .btn-launcher-guide {
    width: 100% !important;
    justify-content: center !important;
  }
  .launcher-system-req {
    justify-content: center !important;
  }
  .launcher-hero {
    padding: 32px 20px !important;
  }
  .launcher-big-crest {
    width: 140px !important;
    height: 140px !important;
  }

  /* Leaderboards / Columns */
  .leaderboards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Management Dashboard on Mobile */
  .management-page-container {
    padding: 0 10px !important;
    margin: 14px auto 40px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .mgmt-hero-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 18px 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .mgmt-hero-left h1 {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  .mgmt-hero-desc {
    font-size: 13px !important;
  }
  .founder-profile-card {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    justify-content: flex-start !important;
  }
  .mgmt-tabs-navigation {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px !important;
  }
  .mgmt-tabs-navigation::-webkit-scrollbar {
    display: none !important;
  }
  .mgmt-nav-tab {
    flex-shrink: 0 !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
  }
  .store-subnav-pills {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }
  .store-subnav-pills::-webkit-scrollbar {
    display: none !important;
  }
  .subnav-pill {
    flex-shrink: 0 !important;
    font-size: 12.5px !important;
    padding: 7px 12px !important;
  }
  .mgmt-stats-ribbon {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .stat-ribbon-card {
    padding: 12px 14px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }
  .ribbon-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 17px !important;
  }
  .ribbon-num {
    font-size: 18px !important;
  }
  .ribbon-title {
    font-size: 11px !important;
  }
  .mgmt-panel-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .mgmt-panel-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
  }
  .mgmt-panel-top > div {
    width: 100% !important;
  }
  .mgmt-panel-card h2 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }
  .panel-desc {
    font-size: 13px !important;
  }
  .subpanel-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .btn-store-action {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .mgmt-filter-controls {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 14px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .search-input-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
  }
  .subpanel-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .subpanel-filter-bar select,
  .subpanel-filter-bar input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .multi-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .multi-filters .filter-item {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  .multi-filters .search-grow {
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
  }
  .multi-filters .search-grow input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mgmt-table-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 10px !important;
    display: block !important;
    box-sizing: border-box !important;
    margin-top: 10px !important;
  }
  .mgmt-user-table {
    width: 100% !important;
    min-width: 620px !important;
    box-sizing: border-box !important;
  }
  .mgmt-user-table th,
  .mgmt-user-table td {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }
  .mgmt-split-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mgmt-servers-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mgmt-srv-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .btn-srv-action {
    width: 100% !important;
    justify-content: center !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }
  .servers-monitor-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .perm-tiles-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .token-type-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mgmt-modal-backdrop {
    padding: 10px !important;
    box-sizing: border-box !important;
  }
  .mgmt-modal-dialog,
  .mgmt-modal-dialog.wide-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
  .mgmt-modal-header {
    padding: 14px 16px !important;
  }
  .mgmt-modal-header h3 {
    font-size: 16px !important;
  }
  .mgmt-modal-form {
    padding: 14px !important;
    box-sizing: border-box !important;
    gap: 14px !important;
  }
  .form-row-2,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .modal-footer-actions {
    flex-direction: column-reverse !important;
    gap: 10px !important;
  }
  .modal-footer-actions button {
    width: 100% !important;
  }
  .btn-quick-amt {
    flex: 1 1 calc(33.333% - 6px) !important;
    text-align: center !important;
    padding: 8px 4px !important;
  }

  /* Footer on Mobile */
  .footer-enhanced-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-col {
    text-align: left !important;
  }
}

@media (max-width: 480px) {
  .mgmt-stats-ribbon {
    grid-template-columns: 1fr !important;
  }
  .brand span {
    font-size: 15px !important;
  }
  .brand small {
    display: none !important;
  }
  .mgmt-hero-header {
    padding: 14px 12px !important;
  }
  .mgmt-panel-card {
    padding: 14px 10px !important;
  }
  .mgmt-modal-dialog {
    border-radius: 10px !important;
  }
}




/* ============================================================ */
/* PROFILE DROPDOWN MENU (MATCHING REFERENCE UI)                */
/* ============================================================ */
.user-dropdown-container {
  position: relative;
  display: inline-block;
}

.nav-user-btn.dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 22, 38, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 7px 14px;
  color: #f1f5f9;
  font-weight: 750;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.nav-user-btn.dropdown-toggle:hover,
.user-dropdown-container.is-open .nav-user-btn.dropdown-toggle {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

.nav-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
}

.user-dropdown-container.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: #111b2b;
  border: 1px solid #1e3352;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.12);
  z-index: 1000;
  padding: 12px 0 8px 0;
  animation: ddFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-dropdown-container.is-open .user-dropdown-menu {
  display: block;
}

@keyframes ddFadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-caret-arrow {
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #111b2b;
  border-left: 1px solid #1e3352;
  border-top: 1px solid #1e3352;
  transform: rotate(45deg);
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 12px 16px;
}

.dropdown-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-header-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dropdown-username {
  font-weight: 850;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.user-rank-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 0.5px;
}

.user-rank-badge.player {
  background: #253346;
  color: #94a3b8;
  border: 1px solid #3b4e68;
}

.user-rank-badge.founder {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  color: #fbbf24;
  border: 1px solid #f59e0b;
}

.user-rank-badge.staff {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid #38bdf8;
}

.user-dropdown-divider {
  height: 1px;
  background: #1a2a40;
  margin: 4px 0 6px 0;
}

.user-dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 750;
  transition: all 0.15s ease;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.user-dropdown-item:hover {
  background: rgba(56, 189, 248, 0.08);
  color: #ffffff;
  padding-left: 22px;
}

.user-dropdown-item .dd-icon {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-dropdown-item .dd-icon.yellow {
  color: #fbbf24;
}

.user-dropdown-item.highlight-admin {
  color: #fbbf24;
}

.user-dropdown-item.logout-action-btn:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
}

.dd-divider-line {
  height: 1px;
  background: #1a2a40;
  margin: 6px 0;
}

.dd-logout-form {
  margin: 0;
  padding: 0;
}

/* Mobile Drawer User Card */
.mobile-drawer-user-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d1726;
  border: 1px solid #1e3352;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.mobile-user-head {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.mobile-user-name {
  font-size: 14px;
  font-weight: 850;
  color: #ffffff;
}

.mobile-user-bakiye {
  font-size: 12px;
  color: #38bdf8;
}

/* ============================================================ */
/* BREADCRUMB BANNER & FORM STYLES (LATVERIA MODERN REFERENCE)  */
/* ============================================================ */
.breadcrumb-banner {
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.breadcrumb-banner a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
}

.breadcrumb-banner .bc-sep {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 8px;
  font-size: 13px;
}

.breadcrumb-banner .bc-current {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 700;
}

/* Application Page */
.app-page-wrapper, .gift-page-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.app-main-card {
  background: #0b1424;
  border: 2px solid #1d4ed8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 30px;
}

.app-header-strip {
  background: #2563eb;
  padding: 18px 24px;
  color: #ffffff;
}

.app-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 4px 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.app-notice {
  font-size: 13px;
  margin: 0;
  color: #dbeafe;
}

.notice-red {
  color: #ff4757;
  font-weight: 900;
}

.app-form-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-label {
  font-size: 13px;
  font-weight: 800;
  color: #e2e8f0;
}

.form-group-field .form-input,
.form-group-field .form-select,
.form-group-field .form-textarea,
.form-group-field input,
.form-group-field textarea,
.form-group-field select {
  background: #060b13;
  border: 1px solid #1e3555;
  border-radius: 8px;
  padding: 12px 14px;
  color: #f8fafc;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  font-family: inherit;
}

.form-group-field .form-input:focus,
.form-group-field .form-select:focus,
.form-group-field .form-textarea:focus,
.form-group-field input:focus,
.form-group-field textarea:focus,
.form-group-field select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.btn-app-submit {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 11px 32px;
  border-radius: 8px;
  font-weight: 850;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-app-submit:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.app-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.user-prev-apps-card {
  background: #09111e;
  border: 1px solid #1e3555;
  border-radius: 16px;
  padding: 20px 24px;
}

.prev-apps-header h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: #f8fafc;
}

.prev-app-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #152238;
}

.prev-app-item:last-child {
  border-bottom: none;
}

.prev-app-info strong {
  display: block;
  font-size: 14px;
  color: #f1f5f9;
}

.prev-app-date {
  font-size: 12px;
  color: #94a3b8;
}

/* ============================================================ */
/* GIFT CODE PAGE (MATCHING IMAGE 3 REFERENCE)                  */
/* ============================================================ */
.gift-dual-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gift-claim-card, .gift-history-card {
  background: #0b1424;
  border: 2px solid #1d4ed8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.card-header-bar {
  background: #2563eb;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header-bar h2 {
  font-size: 17px;
  font-weight: 850;
  margin: 0;
  color: #ffffff;
}

.header-link-side {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.gift-claim-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gift-field-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #e2e8f0;
}

.btn-gift-redeem {
  background: #eab308;
  color: #0b1424;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  align-self: flex-end;
  transition: all 0.2s ease;
}

.btn-gift-redeem:hover {
  background: #facc15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
}

.gift-history-body {
  padding: 24px;
  min-height: 160px;
}

.gift-empty-alert {
  background: #dc2626;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 750;
}

.gift-history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #16243a;
}

.gh-code {
  display: block;
  font-weight: 800;
  color: #38bdf8;
  font-size: 14px;
}

.gh-date {
  font-size: 12px;
  color: #94a3b8;
}

.gh-amount {
  font-weight: 850;
  color: #34d399;
  font-size: 14px;
}

/* ============================================================ */
/* SMOOTH & DELICATE PROFILE UI (IMAGE 4 OVERHAUL)              */
/* ============================================================ */
.profile-page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.profile-hero-card {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 70%), #0c1524;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 24px;
  padding: 34px 38px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  margin-bottom: 32px;
  position: relative;
}

.profile-hero-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.avatar-ring-glow {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.1);
  border: 2px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

.profile-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
}

.profile-details-block {
  flex: 1;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.profile-username {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
}

.profile-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.profile-badge.founder-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  border: 1px solid #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.profile-badge.staff-badge {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.profile-badge.player-badge {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
}

.profile-meta-text {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-actions-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-profile-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111d2e;
  border: 1px solid #233959;
  color: #cbd5e1;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-profile-action:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #ffffff;
}

.btn-profile-action.logout:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #f87171;
}

.profile-stats-bar {
  display: flex;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-chip {
  background: rgba(13, 23, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 18px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-chip .stat-label {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 700;
}

.stat-chip .stat-value {
  font-size: 14px;
  font-weight: 850;
  color: #f8fafc;
}

/* Dual Grid: Balance & Shortcuts */
.profile-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.smooth-card {
  background: #091220;
  border: 1px solid #1a2c46;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, border-color 0.2s;
}

.smooth-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.smooth-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-eyebrow {
  font-size: 12px;
  font-weight: 850;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.card-icon-pill {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.wallet-balance-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.balance-number {
  font-size: 44px;
  font-weight: 950;
  color: #ffffff;
  line-height: 1;
}

.balance-currency {
  font-size: 16px;
  color: #38bdf8;
  font-weight: 800;
}

.wallet-subtext {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.wallet-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-wallet-charge {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: 1px solid #38bdf8;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-wallet-admin {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24 !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 850;
  text-decoration: none;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shortcut-item {
  background: #0d1829;
  border: 1px solid #1f3553;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.shortcut-item:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.shortcut-item .sc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.shortcut-item .sc-icon.blue { background: rgba(56, 189, 248, 0.15); }
.shortcut-item .sc-icon.cyan { background: rgba(6, 182, 212, 0.15); }
.shortcut-item .sc-icon.yellow { background: rgba(234, 179, 8, 0.15); }
.shortcut-item .sc-icon.purple { background: rgba(168, 85, 247, 0.15); }

.shortcut-item .sc-info {
  flex: 1;
  min-width: 0;
}

.shortcut-item .sc-info strong {
  display: block;
  font-size: 13px;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shortcut-item .sc-info span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shortcut-item .sc-arrow {
  color: #64748b;
  font-size: 13px;
  transition: transform 0.2s, color 0.2s;
}

.shortcut-item:hover .sc-arrow {
  transform: translateX(3px);
  color: #38bdf8;
}

/* Lower Section: Orders & Ledger */
.profile-history-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.item-count-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #142236;
}

.order-item-row:last-child {
  border-bottom: none;
}

.order-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.order-product-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
}

.order-gift-chip {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #a855f7;
  color: #c084fc;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}

.order-subline {
  font-size: 12px;
  color: #94a3b8;
}

.order-status-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.order-status-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 8px;
}

.order-status-badge.delivered { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.order-status-badge.claimed { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.order-status-badge.queued { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.order-status-badge.review { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.order-price-tag {
  font-size: 12.5px;
  font-weight: 850;
  color: #38bdf8;
}

.ledger-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #142236;
}

.ledger-item-row:last-child {
  border-bottom: none;
}

.ledger-desc {
  display: block;
  font-size: 13px;
  color: #f1f5f9;
  font-weight: 650;
}

.ledger-date {
  font-size: 11.5px;
  color: #64748b;
}

.ledger-amount {
  font-size: 13.5px;
  font-weight: 850;
}

.ledger-amount.positive { color: #34d399; }
.ledger-amount.negative { color: #f87171; }

.empty-placeholder {
  text-align: center;
  padding: 36px 20px;
  color: #64748b;
  font-size: 13.5px;
}

.empty-icon-sm {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

/* ============================================================ */
/* CART PAGE & GIFT CHECKBOX                                   */
/* ============================================================ */
.cart-page-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
}

.cart-items-card, .cart-summary-card {
  background: #091220;
  border: 1px solid #1a2c46;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.cart-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #16243a;
  background: #0d1728;
}

.cart-card-header h3 {
  margin: 0;
  font-size: 16px;
  color: #ffffff;
  font-weight: 850;
}

.cart-items-list {
  padding: 20px 24px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #142236;
}

.cart-item-row:last-child {
  border-bottom: none;
}

.item-visual img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.item-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.item-details {
  flex: 1;
}

.item-name {
  display: block;
  font-size: 15px;
  color: #f8fafc;
  font-weight: 800;
}

.item-server {
  font-size: 12px;
  color: #94a3b8;
}

.item-price-col {
  text-align: right;
}

.item-price-val {
  display: block;
  font-size: 14.5px;
  font-weight: 850;
  color: #38bdf8;
  margin-bottom: 4px;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 11.5px;
  cursor: pointer;
  padding: 0;
}

.btn-remove-item:hover {
  text-decoration: underline;
}

.cart-empty-state {
  text-align: center;
  padding: 40px 20px;
}

.cart-empty-state .empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.cart-summary-body {
  padding: 24px;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid #16243a;
  margin-bottom: 16px;
}

.total-label {
  font-size: 15px;
  color: #cbd5e1;
  font-weight: 750;
}

.total-value {
  font-size: 26px;
  font-weight: 900;
  color: #38bdf8;
}

.user-wallet-pill {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.user-wallet-pill strong {
  color: #38bdf8;
  font-size: 14px;
}

/* Gift Toggle Card inside Cart */
.gift-toggle-card {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.gift-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.gift-checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #a855f7;
  margin-top: 2px;
  cursor: pointer;
}

.gift-main-text {
  display: block;
  font-size: 13.5px;
  font-weight: 850;
  color: #e9d5ff;
}

.gift-sub-text {
  display: block;
  font-size: 11.5px;
  color: #c084fc;
}

.gift-input-group, .normal-input-group {
  margin-top: 14px;
}

.field-sublabel {
  display: block;
  font-size: 12.5px;
  font-weight: 750;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.input-with-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon-wrapper .input-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  pointer-events: none;
}

.form-control-styled {
  width: 100%;
  background: #060b13;
  border: 1px solid #1e3555;
  border-radius: 10px;
  padding: 10px 14px 10px 38px;
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
}

.form-control-styled:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.confirm-terms-group {
  margin: 18px 0;
}

.terms-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #94a3b8;
  cursor: pointer;
}

.terms-checkbox-label input[type="checkbox"] {
  accent-color: #38bdf8;
  cursor: pointer;
}

.btn-complete-order {
  width: 100%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid #38bdf8;
  padding: 13px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.btn-complete-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
}

/* Responsive */
@media (max-width: 820px) {
  .profile-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .profile-name-row {
    justify-content: center;
  }
  .profile-meta-text {
    justify-content: center;
  }
  .profile-actions-block {
    justify-content: center;
  }
  .profile-stats-bar {
    justify-content: center;
    flex-wrap: wrap;
  }
  .profile-dual-grid, .profile-history-grid, .cart-layout-grid, .gift-dual-container {
    grid-template-columns: 1fr;
  }
  .shortcuts-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================ */
/* SEPET & CHECKOUT LATVERIA MODERN REFERENCE (IMAGE 1)        */
/* ============================================================ */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: flex-start;
}

.cart-box-container, .cart-summary-box {
  background: #0b1424;
  border: 2px solid #1d4ed8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
}

.cart-box-header.blue-bar {
  background: #2563eb;
  padding: 14px 20px;
}

.cart-box-header.blue-bar h2 {
  font-size: 17px;
  font-weight: 850;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
}

.cart-box-header.light-bar {
  background: #101c30;
  border-bottom: 1px solid #1e3555;
  padding: 12px 20px;
}

.cart-box-header.light-bar h3 {
  font-size: 15px;
  font-weight: 800;
  color: #e2e8f0;
  margin: 0;
}

.cart-box-body {
  padding: 20px;
}

/* Cart Table */
.cart-table-wrapper {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.cart-table th {
  background: #2563eb;
  color: #ffffff;
  font-weight: 850;
  font-size: 12.5px;
  padding: 10px 12px;
  text-align: left;
  letter-spacing: 0.5px;
}

.cart-table th.th-price,
.cart-table th.th-qty,
.cart-table th.th-total {
  text-align: center;
}

.cart-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #16263f;
  vertical-align: middle;
}

.prod-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #060b13;
  border: 1px solid #1e3555;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prod-thumb img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.prod-thumb-fallback {
  font-size: 20px;
}

.prod-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prod-title {
  font-size: 14px;
  font-weight: 850;
  color: #ffffff;
}

.prod-category {
  font-size: 11.5px;
  color: #94a3b8;
}

.prod-code {
  font-size: 11px;
  color: #64748b;
  font-family: monospace;
}

.price-cell, .td-total {
  text-align: center;
  font-weight: 850;
  color: #38bdf8;
  font-size: 14px;
  white-space: nowrap;
}

/* Stepper Form */
.qty-stepper-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #060b13;
  border: 1px solid #1e3555;
  border-radius: 6px;
  padding: 2px 4px;
  margin: 0 auto;
}

.btn-stepper {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-stepper.minus {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.btn-stepper.minus:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-stepper.plus {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.btn-stepper.plus:hover {
  background: #10b981;
  color: #ffffff;
}

.stepper-val {
  min-width: 22px;
  text-align: center;
  font-weight: 850;
  color: #ffffff;
  font-size: 13px;
}

/* Action Buttons */
.action-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.btn-item-info {
  width: 26px;
  height: 26px;
  background: #0284c7;
  color: #ffffff !important;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.btn-item-remove {
  width: 26px;
  height: 26px;
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-item-remove:hover {
  background: #b91c1c;
}

/* Empty State Clean - Fixes the slanted white marker line */
.cart-empty-clean-box {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon-large {
  font-size: 48px;
  margin-bottom: 12px;
}

.cart-empty-clean-box h3 {
  font-size: 18px;
  color: #f8fafc;
  margin: 0 0 6px 0;
}

.cart-empty-clean-box p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0 0 20px 0;
}

.btn-clean-store-browse {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff !important;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 850;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  overflow: hidden !important;
  position: relative;
}

.btn-clean-store-browse:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Featured Products in Cart */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.featured-prod-card {
  background: #060b13;
  border: 1px solid #1e3555;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp-visual {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #111d2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.fp-visual img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.fp-info {
  flex: 1;
  min-width: 0;
}

.fp-info strong {
  display: block;
  font-size: 12.5px;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-info span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

.fp-price {
  color: #38bdf8 !important;
  font-weight: 800;
}

.btn-fp-add {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-fp-add:hover {
  background: #38bdf8;
  color: #0b1424;
}

.featured-empty-notice {
  background: #c2410c;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
}

/* Right Column Summary */
.summary-box-body {
  padding: 22px;
}

/* Coupon Section */
.coupon-section {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #16263f;
}

.coupon-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.coupon-form-row {
  display: flex;
  gap: 8px;
}

.coupon-input {
  flex: 1;
  background: #060b13;
  border: 1px solid #1e3555;
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
}

.coupon-input:focus {
  border-color: #38bdf8;
}

.btn-apply-coupon {
  background: #eab308;
  color: #000000;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-apply-coupon:hover {
  background: #facc15;
}

.coupon-applied-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #34d399;
  font-size: 13px;
}

.btn-remove-coupon {
  background: transparent;
  border: none;
  color: #f87171;
  font-weight: 900;
  cursor: pointer;
}

/* Gift Checkbox Row (Matching Image 1) */
.gift-checkbox-wrapper {
  margin-bottom: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1a2a40;
  border-radius: 10px;
}

.gift-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.gift-check-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #2563eb;
  cursor: pointer;
}

.gift-check-text {
  font-size: 13px;
  font-weight: 750;
  color: #f1f5f9;
}

.gift-recipient-field {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #1e3352;
}

.gift-input-sublabel {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 6px;
}

.gift-input-wrap {
  width: 100%;
}

.gift-target-input {
  width: 100%;
  background: #060b13;
  border: 1px solid #1e3555;
  border-radius: 8px;
  padding: 10px 14px !important;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
  letter-spacing: 0.2px;
}

.gift-target-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.gift-hint-note {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 5px;
}

.normal-recipient-field {
  margin-bottom: 16px;
}

/* Pricing block */
.summary-pricing-block {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: #94a3b8;
}

.price-line.discount-line {
  color: #34d399;
}

.price-line.main-total {
  padding-top: 10px;
  border-top: 1px solid #16263f;
  margin-top: 4px;
}

.price-line.main-total .total-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}

.price-line.main-total .total-amount {
  font-size: 24px;
  font-weight: 950;
  color: #2563eb;
}

/* Payment Method Card */
.payment-method-section {
  margin: 16px 0;
}

.payment-section-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.wallet-payment-card {
  background: #060b13;
  border: 1px solid #1e3555;
  border-radius: 10px;
  padding: 12px 16px;
}

.wallet-payment-card.active {
  border-color: #2563eb;
}

.wpc-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wpc-icon {
  font-size: 20px;
}

.wpc-info strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
}

.wpc-info span {
  font-size: 12px;
  color: #94a3b8;
}

.wpc-info span strong {
  display: inline;
  color: #38bdf8;
}

.wpc-insufficient-alert {
  margin-top: 8px;
  font-size: 12px;
  color: #f87171;
}

.wpc-insufficient-alert a {
  color: #38bdf8;
  font-weight: 800;
  text-decoration: none;
}

/* Terms Checkbox */
.terms-confirm-box {
  margin: 16px 0;
}

.terms-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
}

.terms-check-label input[type="checkbox"] {
  accent-color: #2563eb;
  cursor: pointer;
}

/* Green Buy Button (Matching Image 1) */
.btn-cart-buy-now {
  width: 100%;
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-cart-buy-now:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-cart-buy-now:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-cart-buy-now .check-symbol {
  font-size: 16px;
}

/* ============================================================
   MANAGEMENT: USER BALANCE & GRANULAR PERMISSIONS STYLING
   ============================================================ */
.user-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.2px;
}
.user-balance-pill .ub-icon {
  font-size: 14px;
}

.user-perm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 280px;
}
.perm-tag-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}
.perm-tag-chip.founder {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.35);
}
.perm-tag-chip.none {
  background: rgba(148, 163, 184, 0.08);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.2);
}

.btn-user-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-user-action.token-btn {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.btn-user-action.token-btn:hover {
  background: #f59e0b;
  color: #000;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}
.btn-user-action.perms-btn {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.35);
}
.btn-user-action.perms-btn:hover {
  background: #0284c7;
  color: #fff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
  transform: translateY(-1px);
}

.btn-quick-amt {
  background: #0f172a;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-quick-amt:hover {
  background: #1e293b;
  color: #38bdf8;
  border-color: #38bdf8;
}

.token-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.perm-tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.perm-tile-checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid #1e3a5f;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.perm-tile-checkbox:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: #38bdf8;
}
.perm-tile-checkbox.highlight {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.05);
}
.perm-tile-checkbox.highlight:hover {
  border-color: #f59e0b;
}
.perm-tile-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #38bdf8;
  cursor: pointer;
  flex-shrink: 0;
}
.perm-tile-checkbox.highlight input[type="checkbox"] {
  accent-color: #f59e0b;
}
.perm-tile-checkbox .pt-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}
.perm-tile-checkbox .pt-icon {
  font-size: 18px;
  line-height: 1.2;
}
.perm-tile-checkbox strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.3;
}
.perm-tile-checkbox small {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1.35;
}


/* ==========================================================================
   LATVERIA PROFILE & 2FA SYSTEM (MATCHING SCREENSHOT 3 & 4)
   ========================================================================== */

/* Breadcrumb Bar */
.leader-breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0284c7;
  padding: 10px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.leader-breadcrumb-bar .bc-link {
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.15s ease;
}
.leader-breadcrumb-bar .bc-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
.leader-breadcrumb-bar .bc-sep {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}
.leader-breadcrumb-bar .bc-text {
  color: #bae6fd;
}
.leader-breadcrumb-bar .bc-current {
  color: #ffffff;
  font-weight: 850;
}

/* Yellow LeaderOS-style Edit Profile Button in Hero Card */
.btn-leader-edit-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffc107;
  color: #1e293b !important;
  font-weight: 850;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.35);
  transition: all 0.2s ease;
}
.btn-leader-edit-profile:hover {
  background: #ffca2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.45);
}
.badge-2fa-active {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80 !important;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

/* LeaderOS Tabs Bar */
.leader-tabs-nav-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  overflow-x: auto;
  scrollbar-width: thin;
}
.leader-tab-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.leader-tab-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}
.leader-tab-item.active {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border-bottom: 2px solid #38bdf8;
}
.leader-tab-item .tab-ico {
  font-size: 15px;
}

/* Latveria Theme Content Cards (Profile Edit & General) */
.leader-white-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 20px;
  overflow: hidden;
}
.leader-card-header-bar {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.leader-card-heading {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
}
.avatar-section-body {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.avatar-preview-box {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.avatar-square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-controls-col {
  flex: 1;
}
.btn-leader-blue {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-leader-blue:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}
.btn-leader-red {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.15s ease;
}
.btn-leader-red:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.5);
  transform: translateY(-1px);
}
.avatar-rules-text {
  margin: 12px 0 0 0;
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
}

/* Edit Profile Form Body */
.form-section-body {
  padding: 24px;
}
.leader-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.leader-field-col, .leader-field-group {
  margin-bottom: 16px;
}
.leader-field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.leader-text-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-size: 13.5px;
  color: #f8fafc;
  background: #0b1120;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}
.leader-text-input:focus {
  outline: none;
  border-color: #38bdf8;
  background: #0f172a;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.leader-form-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.btn-save-changes {
  padding: 10px 22px;
  font-size: 13.5px;
}

/* Full Tab Card for Orders / Ledger / Subscriptions */
.full-tab-card {
  margin-bottom: 24px;
}

/* ==========================================================================
   2FA SPLIT SCREEN (MATCHING SCREENSHOT 4 EXACTLY)
   ========================================================================== */
.twofa-split-page-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}
.twofa-top-nav-bar {
  margin-bottom: 20px;
}
.btn-twofa-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-twofa-back:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #ffffff;
  transform: translateX(-3px);
}

.twofa-split-card-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  min-height: 520px;
}

/* Left Card: Clean White Container */
.twofa-left-auth-card {
  background: #ffffff;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}
.twofa-auth-inner {
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.twofa-shield-icon {
  font-size: 44px;
  margin-bottom: 12px;
}
.twofa-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px 0;
}
.twofa-title-sm {
  font-size: 18px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 16px 0;
}
.twofa-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
}
.twofa-scan-instruction {
  font-size: 13px;
  font-weight: 750;
  color: #1e293b;
  margin-bottom: 18px;
}
.twofa-qr-code-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.twofa-qr-display {
  padding: 12px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.twofa-qr-display img, .twofa-qr-display canvas {
  display: block;
  margin: 0 auto;
}
.twofa-secret-notice {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 20px;
}
.twofa-secret-code-click {
  color: #0284c7;
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px dashed #cbd5e1;
}
.twofa-secret-code-click:hover {
  background: #e0f2fe;
}
.twofa-alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.twofa-code-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 20px;
  font-weight: 850;
  text-align: center;
  letter-spacing: 6px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  margin-bottom: 16px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.twofa-code-input:focus {
  outline: none;
  border-color: #22c55e;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.twofa-confirm-btn {
  width: 100%;
  padding: 13px;
  background: #22c55e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: all 0.2s ease;
}
.twofa-confirm-btn:hover {
  background: #16a34a;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  transform: translateY(-1px);
}
.twofa-footer-help {
  margin-top: 24px;
  font-size: 11.5px;
  color: #64748b;
}
.twofa-footer-help a {
  color: #0284c7;
  font-weight: 750;
  text-decoration: none;
}
.twofa-footer-help a:hover {
  text-decoration: underline;
}

/* Right Panel: Dark Latveria Banner */
.twofa-right-brand-banner {
  background: radial-gradient(circle at center, #11294d 0%, #080f1d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.twofa-right-brand-banner::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.brand-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 320px;
}
.brand-logo-crest-box {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 10px 20px rgba(56, 189, 248, 0.35));
}
.brand-crest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-discount-badge {
  display: inline-block;
  background: #22c55e;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.brand-network-title {
  font-size: 24px;
  font-weight: 950;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.brand-network-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 24px 0;
}
.brand-network-ip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.brand-network-ip-pill:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  transform: translateY(-2px);
}
.brand-network-ip-pill .pill-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}
.brand-network-ip-pill .pill-text {
  font-size: 12px;
  font-weight: 850;
  color: #38bdf8;
  letter-spacing: 1px;
}
.brand-network-copyright {
  margin-top: 36px;
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.5px;
}

/* Active 2FA states */
.twofa-active-state-box {
  padding: 10px 0;
}
.twofa-active-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.twofa-active-state-box h3 {
  font-size: 18px;
  color: #0f172a;
  margin: 0 0 8px 0;
}
.twofa-active-state-box p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 18px;
}
.twofa-active-pill {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.twofa-disable-form {
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}
.disable-help-text {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}
.twofa-disable-btn {
  width: 100%;
  padding: 10px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}
.twofa-disable-btn:hover {
  background: #dc2626;
}

@media (max-width: 768px) {
  .twofa-split-card-container {
    grid-template-columns: 1fr;
  }
  .leader-form-grid-2 {
    grid-template-columns: 1fr;
  }
  .avatar-section-body {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   MULTI-FACTOR SECURITY SUITE (TOTP + DISCORD 2FA + UNPROTECTED ALERTS)
   ============================================================ */
.security-status-banner {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.security-status-banner.is-safe {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 78, 59, 0.25));
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.security-status-banner.is-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(127, 29, 29, 0.25));
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.ssb-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ssb-icon {
  font-size: 28px;
  line-height: 1;
}
.ssb-text h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 850;
  color: #f8fafc;
}
.ssb-text p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}
.ssb-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.sec-badge.green {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.sec-badge.red {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.badge-2fa-unprotected {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

.security-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .security-cards-grid {
    grid-template-columns: 1fr;
  }
}
.sec-method-card {
  background: #0d1626;
  border: 1px solid #1e2f47;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}
.sec-method-card.is-active {
  border-color: rgba(16, 185, 129, 0.4);
}
.sec-method-card.is-inactive {
  border-color: #1e3a5f;
}
.sec-method-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sec-method-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-method-title .sm-icon {
  font-size: 24px;
}
.sec-method-title h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 850;
  color: #f8fafc;
}
.sec-method-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex: 1;
}
.sec-form-input {
  width: 100%;
  padding: 10px 14px;
  background: #060b14;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 13.5px;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.sec-form-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.btn-sec-enable {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-sec-enable:hover {
  background: #0284c7;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}
.btn-sec-discord {
  background: linear-gradient(135deg, #5865F2, #4752C4) !important;
  border-color: #5865F2 !important;
}
.btn-sec-discord:hover {
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.45) !important;
}
