/* ==========================================================================
   NGỌC RỒNG BIN 2 - NEXT-GEN ANIME GAMING UI SYSTEM
   Designed with Dark Glassmorphism, Saiyan Ki Aura & Modern Typography
   ========================================================================== */

:root {
  /* Core Theme Colors */
  --bg-deep: #080b11;
  --bg-surface: rgba(14, 18, 28, 0.90);
  --bg-surface-elevated: rgba(22, 28, 44, 0.95);
  --bg-card: rgba(18, 23, 36, 0.88);
  --bg-card-hover: rgba(26, 33, 52, 0.95);
  --bg-glass: rgba(15, 20, 32, 0.75);
  
  /* Brand Energy Accents */
  --ki-orange: #ff7700;
  --ki-gold: #ffb703;
  --ki-amber: #fb8500;
  --ki-cyan: #00d2ff;
  --ki-blue: #0077b6;
  --ki-ruby: #ff2a6d;
  --ki-success: #10b981;
  
  /* Aura Glows */
  --glow-gold: 0 0 20px rgba(255, 183, 3, 0.35);
  --glow-orange: 0 0 25px rgba(255, 119, 0, 0.4);
  --glow-cyan: 0 0 20px rgba(0, 210, 255, 0.35);
  --glow-card: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 119, 0, 0.12);
  
  /* Borders */
  --border-gold: rgba(255, 183, 3, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 119, 0, 0.6);
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #fed766;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-heading: 'Rajdhani', 'Outfit', sans-serif;
  --font-body: 'Be Vietnam Pro', 'Outfit', -apple-system, sans-serif;
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nro-body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(255, 119, 0, 0.15), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(8, 11, 17, 0.85) 0%, rgba(8, 11, 17, 0.96) 100%),
    url('../images/cosy.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
}

/* Eliminate all zoom, jitter, or scale jumps on click/active */
*:active, *:focus {
  transform: none !important;
  outline: none !important;
}

a {
  color: var(--ki-gold);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--ki-gold);
  text-decoration: none;
}

/* ==========================================================================
   AMBIENT KI CANVAS (MUST BE -99 POINTER-EVENTS NONE)
   ========================================================================== */
#snow, #snow canvas, .particles-js-canvas-el {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: -99 !important;
  opacity: 0.5;
}

/* ==========================================================================
   STICKY TOP NAVIGATION BAR
   ========================================================================== */
.nro-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 183, 3, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  padding: 8px 0;
  width: 100%;
  box-sizing: border-box;
}

.nro-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.nro-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nro-brand img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255, 183, 3, 0.6));
}

.nro-brand-text {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, #ffc107 60%, #ff7700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nro-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nro-nav-links a {
  display: inline-block;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nro-nav-links a:hover,
.nro-nav-links a.active {
  color: #fff;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

/* Server Status Badge */
.nro-nav-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.status-online {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.status-offline {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.online {
  background-color: #10b981;
  box-shadow: 0 0 5px #10b981;
}

.status-dot.offline {
  background-color: #ef4444;
  box-shadow: 0 0 5px #ef4444;
}

.nro-nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ==========================================================================
   MAIN WRAPPER & CONTAINER
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
  padding: 25px 15px 45px 15px;
  width: 100%;
  box-sizing: border-box;
}

.nro-main-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-card);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.nro-main-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff7700, #ffb703, #00d2ff, transparent);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.nro-hero {
  padding: 30px 20px 18px 20px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(255, 120, 0, 0.16), transparent 70%);
}

.nro-hero-logo-box {
  display: inline-block;
  position: relative;
  margin-bottom: 10px;
}

.nro-hero-logo {
  max-width: 360px;
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(255, 119, 0, 0.4));
}

.nro-hero-tagline {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 18px;
  text-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
}

/* ESRB 12+ Age Rating Badge */
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.age-badge img {
  height: 15px;
  vertical-align: middle;
}

/* ==========================================================================
   USER PROFILE STATUS CARD
   ========================================================================== */
.nro-user-card {
  background: rgba(22, 29, 46, 0.85);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 0 auto 18px auto;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.user-info-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-wrap {
  position: relative;
}

.user-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--ki-gold);
  box-shadow: 0 0 12px rgba(255, 183, 3, 0.4);
  background: #111;
  object-fit: cover;
}

.user-details h4 {
  margin: 0 0 3px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.ruby-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 42, 109, 0.15);
  border: 1px solid rgba(255, 42, 109, 0.4);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #ff5e90;
}

.user-actions-side {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   DOWNLOAD HUB CARDS (PC, ANDROID, IOS)
   ========================================================================== */
.nro-downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 20px 20px 20px;
}

@media (max-width: 768px) {
  .nro-downloads-grid {
    grid-template-columns: 1fr;
    padding: 0 15px 18px 15px;
  }
}

.dl-card {
  background: linear-gradient(145deg, rgba(22, 29, 46, 0.95), rgba(15, 20, 32, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dl-card:hover {
  border-color: var(--ki-gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 183, 3, 0.2);
}

.dl-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px auto;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--ki-gold);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.dl-card:hover .dl-icon-wrap {
  background: var(--ki-gold);
  color: #0b0e14;
}

.dl-platform-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  color: #fff;
}

.dl-platform-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  min-height: 34px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.dl-btn-pc {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.dl-btn-pc:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(14, 165, 233, 0.5);
  color: #fff;
}

.dl-btn-adr {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.dl-btn-adr:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(52, 211, 153, 0.5);
  color: #fff;
}

.dl-btn-ios {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.dl-btn-ios:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(251, 191, 36, 0.5);
  color: #fff;
}

/* Extra Links Under Downloads */
.extra-download-notes {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 0 20px;
}

.extra-download-notes a {
  color: var(--ki-cyan);
  font-weight: 600;
}

/* ==========================================================================
   NAVIGATION PILLS / QUICK ACCESS BAR
   ========================================================================== */
.nro-quick-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(10, 14, 23, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pill-item:hover, .pill-item.active {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.25), rgba(255, 183, 3, 0.25));
  border-color: var(--ki-gold);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.25);
}

/* ==========================================================================
   COMMUNITY ZALO CARD (PINNED)
   ========================================================================== */
.nro-zalo-card {
  margin: 20px 20px 18px 20px;
  background: linear-gradient(135deg, rgba(0, 104, 255, 0.15), rgba(255, 119, 0, 0.1));
  border: 1px solid rgba(0, 104, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nro-zalo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #0068ff, #ff7700);
}

.zalo-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zalo-icon-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.4);
}

.zalo-content h4 {
  margin: 0 0 3px 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.zalo-content p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.zalo-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #0068ff, #0084ff);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.4);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.zalo-join-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(0, 104, 255, 0.6);
  color: #fff;
}

/* ==========================================================================
   BANNER SHOWCASE
   ========================================================================== */
.nro-banner-wrap {
  padding: 0 20px 20px 20px;
}

.nro-banner-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: block;
}

/* ==========================================================================
   CONTENT SECTIONS & ACCORDIONS (GIOI THIEU, TAN THU, SKILLS)
   ========================================================================== */
.nro-section {
  padding: 18px 20px 25px 20px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
}

.section-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 119, 0, 0.15);
  border: 1px solid rgba(255, 119, 0, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ki-gold);
  font-size: 15px;
}

.section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 183, 3, 0.3), transparent);
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

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

.feature-box {
  background: rgba(22, 28, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.feature-box:hover {
  background: rgba(26, 35, 56, 0.85);
  border-color: rgba(255, 183, 3, 0.35);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-box-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.feature-box-title i {
  color: var(--ki-gold);
}

.feature-box-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Skills Showcase Frame */
.skills-showcase {
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid rgba(255, 183, 3, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.skill-level-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.badge-basic {
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #38bdf8;
}

.badge-vip {
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.2), rgba(255, 183, 3, 0.2));
  border: 1px solid rgba(255, 183, 3, 0.45);
  color: #ffd166;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.25);
}

.skill-gifs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.skill-gif-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 7px;
  transition: border-color 0.2s ease;
}

.skill-gif-card:hover {
  border-color: var(--ki-gold);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.25);
}

.skill-gif-card img {
  border-radius: var(--radius-xs);
  display: block;
  max-width: 135px;
  height: auto;
}

/* Accordion Guide */
.guide-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-item {
  background: rgba(22, 28, 44, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.guide-item:hover {
  border-color: rgba(255, 183, 3, 0.3);
}

.guide-header {
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background: rgba(255, 255, 255, 0.02);
}

.guide-header:hover {
  color: var(--ki-gold);
}

.guide-body {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 14, 23, 0.4);
}

.guide-body strong {
  color: #fff;
}

/* ==========================================================================
   AUTH FORMS (LOGIN / REGISTER)
   ========================================================================== */
.form-auth {
  width: 100%;
  max-width: 400px;
  padding: 25px 18px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0 0 5px 0;
}

.auth-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
}

.nro-form-group {
  margin-bottom: 16px;
  text-align: left;
}

.nro-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap i {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 14px;
}

.input-icon-wrap .form-control {
  padding-left: 40px;
}

.input-icon-wrap:focus-within i {
  color: var(--ki-gold);
}

.form-control {
  width: 100%;
  height: 44px;
  background: rgba(15, 20, 32, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm) !important;
  color: #fff !important;
  font-size: 13.5px;
  padding: 9px 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.form-control:focus {
  background: rgba(20, 26, 42, 0.95) !important;
  border-color: var(--ki-gold) !important;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.3) !important;
  outline: none;
}

.form-control::placeholder {
  color: var(--text-dim);
}

/* General Buttons (No bouncing/scaling) */
.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:active, .btn:focus {
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(59, 130, 246, 0.5);
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}
.btn-danger:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.5);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.btn-success:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(52, 211, 153, 0.5);
  color: #fff;
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.btn-warning:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 16px rgba(251, 191, 36, 0.5);
  color: #fff;
}

.btn-dark {
  background: linear-gradient(135deg, #334155, #1e293b);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-dark:hover {
  filter: brightness(1.2);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #ff7700, #ffb703);
  color: #0b0e14 !important;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
}
.btn-gold:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 18px rgba(255, 183, 3, 0.6);
}

.btn-magick {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(255, 119, 0, 0.25));
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: #fff;
}
.btn-magick:hover {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.3), rgba(255, 119, 0, 0.4));
  border-color: var(--ki-gold);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 183, 3, 0.35);
}

/* ==========================================================================
   LEADERBOARD / RANKING STYLES
   ========================================================================== */
.nro-rank-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.rank-tab-btn {
  padding: 8px 16px;
  background: rgba(22, 28, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rank-tab-btn:hover, .rank-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.3), rgba(255, 183, 3, 0.3));
  border-color: var(--ki-gold);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.3);
}

/* Podium top 3 */
.nro-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin: 25px auto 35px auto;
  max-width: 580px;
}

.podium-item {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  position: relative;
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.podium-rank-1 {
  order: 2;
  margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.18), rgba(18, 24, 38, 0.9));
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.25);
}

.podium-rank-2 {
  order: 1;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.15), rgba(18, 24, 38, 0.9));
  border-color: rgba(148, 163, 184, 0.35);
}

.podium-rank-3 {
  order: 3;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.15), rgba(18, 24, 38, 0.9));
  border-color: rgba(205, 127, 50, 0.35);
}

.podium-crown {
  font-size: 24px;
  margin-bottom: 4px;
}

.podium-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-score {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ki-gold);
}

/* Leaderboard Tables */
.nro-table-card {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.table {
  color: #cbd5e1;
  margin-bottom: 0;
  width: 100%;
}

.table thead th {
  background: rgba(10, 14, 23, 0.7);
  color: var(--ki-gold);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 183, 3, 0.25);
  padding: 10px 14px;
}

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s ease;
}

.table tbody tr:hover {
  background: rgba(255, 183, 3, 0.08);
  color: #fff;
}

.table tbody td {
  padding: 10px 14px;
  vertical-align: middle;
  border: none;
}

.rank-badge-cell {
  font-size: 15px;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nro-footer {
  margin-top: 35px;
  background: rgba(10, 14, 23, 0.95);
  border-top: 1px solid rgba(255, 183, 3, 0.2);
  padding: 30px 15px 22px 15px;
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.nro-footer-brand {
  margin-bottom: 12px;
}

.nro-footer-brand img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.5));
}

.nro-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 18px;
}

.nro-footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.nro-footer-links a:hover {
  color: var(--ki-gold);
}

.nro-footer-disclaimer {
  max-width: 600px;
  margin: 0 auto 12px auto;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.nro-footer-copy {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* Back to Top Dragon Ball Orb */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 9999;
  filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.7));
  display: none;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

#scrollTopBtn:hover {
  filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.9));
}

/* ==========================================================================
   LEGACY OVERRIDES & COMPATIBILITY
   ========================================================================== */
.ibox-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: inherit !important;
}

.forum-container {
  padding: 0 !important;
}

.alert-warning {
  background: rgba(255, 183, 3, 0.12) !important;
  border: 1px solid rgba(255, 183, 3, 0.35) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
}

.alert-link {
  color: #ffd166 !important;
  font-weight: 700 !important;
}

/* SweetAlert Dark Theme Overrides */
.swal2-popup {
  background: #121826 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 183, 3, 0.35) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
}

.swal2-title {
  color: #fff !important;
  font-family: var(--font-heading) !important;
}

.swal2-html-container {
  color: #94a3b8 !important;
}

.swal2-confirm {
  background: linear-gradient(135deg, #ff7700, #ffb703) !important;
  color: #0b0e14 !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
}