/* ==========================================================================
   WAVECORE SURF RPG - SAKURA CYBERPUNK DESIGN SYSTEM
   ========================================================================== */

/* Variables & Theme configuration */
:root {
  --font-family-base: 'Inter', sans-serif;
  --font-family-title: 'Unbounded', sans-serif;
  --font-family-nav: 'Jost', sans-serif;
  --font-family-japanese: 'Noto Sans JP', sans-serif;
  
  /* Color Palette */
  --bg-darker: #060309;
  --bg-dark: #0a0612;
  --bg-dark-light: #120b22;
  
  --sakura-pink: #ff7bb0;
  --sakura-heavy: #ff4081;
  --sakura-glow: rgba(255, 123, 176, 0.4);
  --sakura-glow-heavy: rgba(255, 64, 129, 0.65);
  
  --white-pearl: #fcfbfe;
  --text-muted: #968fa3;
  --panel-border: rgba(255, 123, 176, 0.16);
  --panel-border-glow: rgba(255, 123, 176, 0.35);
  
  --border-radius: 16px;
  --transition-speed: 0.3s;
}

/* Reset & Base Rules */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at center, rgba(10, 6, 18, 0.3) 30%, rgba(4, 2, 7, 0.7) 100%), 
              url('assets/cyberpunk_bg.png') no-repeat center center fixed;
  background-size: cover;
  background-color: var(--bg-darker);
  font-family: var(--font-family-base);
  color: var(--white-pearl);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ==========================================================================
   BACKGROUND EFFECTS (CANVAS, ORBS, CRT)
   ========================================================================== */

/* Canvas for falling petals */
#sakura-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

/* Scanline Effect */
.cyber-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%);
  background-size: 100% 4px;
  z-index: 999;
  pointer-events: none;
  opacity: 0.45;
}

/* Vignette Shadow Overlay */
.cyber-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(4, 2, 7, 0.8) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Ambient Neon Orbs */
.light-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.35;
  animation: floatOrbs 12s ease-in-out infinite alternate;
}

.pink-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--sakura-pink) 0%, transparent 70%);
  top: -10%;
  left: -10%;
}

.pink-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--sakura-heavy) 0%, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation-delay: -4s;
}

.indigo-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #5b21b6 0%, transparent 70%);
  top: 30%;
  left: 35%;
  animation-delay: -8s;
}

@keyframes floatOrbs {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.1); }
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar-top {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 6, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 123, 176, 0.12);
  padding: 16px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 123, 176, 0.04);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white-pearl);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.logo-kanji {
  font-family: var(--font-family-japanese);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--sakura-pink), var(--sakura-heavy));
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px var(--sakura-glow);
  position: relative;
  overflow: hidden;
}

.logo-kanji::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 55%
  );
  transform: rotate(45deg);
  animation: logoShine 6s infinite ease-in-out;
}

@keyframes logoShine {
  0% { transform: translate(-30%, -30%) rotate(45deg); }
  20%, 100% { transform: translate(30%, 30%) rotate(45deg); }
}

.logo-text {
  font-family: var(--font-family-title);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--sakura-pink);
  text-shadow: 0 0 10px var(--sakura-glow);
}

.nav-links {
  display: flex;
  gap: 4px;
  background: rgba(10, 6, 18, 0.45);
  border: 1px solid rgba(255, 123, 176, 0.08);
  padding: 5px;
  border-radius: 30px;
  backdrop-filter: blur(12px);
}

.nav-link {
  font-family: var(--font-family-nav);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.05em;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 123, 176, 0.08);
  border-color: rgba(255, 123, 176, 0.2);
  box-shadow: 0 0 12px rgba(255, 123, 176, 0.1);
}

.nav-link:hover i {
  transform: translateY(-1px);
}

.nav-link.active {
  color: #fff;
  background: rgba(255, 123, 176, 0.15);
  border: 1px solid rgba(255, 123, 176, 0.4);
  box-shadow: 0 0 15px rgba(255, 123, 176, 0.25), inset 0 0 8px rgba(255, 123, 176, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.online-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 12px;
  border-radius: 30px;
  font-family: var(--font-family-title);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  white-space: nowrap;
}

.online-pill:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-login {
  position: relative;
  overflow: hidden;
  background: rgba(255, 123, 176, 0.03);
  border: 1px solid rgba(255, 123, 176, 0.35);
  color: var(--white-pearl);
  font-family: var(--font-family-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 0 6px rgba(255, 123, 176, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: none;
}

.btn-login:hover::before {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

.btn-login:hover {
  background: linear-gradient(135deg, var(--sakura-pink), var(--sakura-heavy));
  border-color: transparent;
  color: #060309;
  box-shadow: 0 0 25px rgba(255, 123, 176, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO / PROMO AREA
   ========================================================================== */
.hero-section {
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.hero-card {
  background: rgba(18, 11, 34, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sakura-pink), var(--sakura-heavy));
}

.hero-badge {
  font-family: var(--font-family-title);
  font-size: 11px;
  font-weight: 800;
  color: var(--sakura-pink);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 0 8px var(--sakura-glow);
}

.hero-title {
  font-family: var(--font-family-title);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  color: transparent;
  background: linear-gradient(135deg, var(--white-pearl) 30%, var(--sakura-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-primary-neon {
  background: linear-gradient(135deg, var(--sakura-pink), var(--sakura-heavy));
  color: #fff;
  border: none;
  font-family: var(--font-family-title);
  font-size: 14px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--sakura-glow);
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--sakura-glow-heavy);
  filter: brightness(1.05);
}

.ip-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 6, 18, 0.5);
  border: 1px solid var(--panel-border);
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
  min-width: 250px;
  transition: all var(--transition-speed) ease;
}

.ip-display:hover {
  border-color: var(--panel-border-glow);
  background: rgba(255, 123, 176, 0.05);
  box-shadow: 0 0 15px rgba(255, 123, 176, 0.1);
}

.ip-text {
  font-family: var(--font-family-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.copy-badge {
  color: var(--sakura-pink);
  font-size: 14px;
  text-shadow: 0 0 8px var(--sakura-glow);
}

.hero-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 123, 176, 0.08);
  padding-top: 25px;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-stat .label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mini-stat .value {
  font-family: var(--font-family-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--white-pearl);
}

/* Daily Bonus Card */
.daily-bonus-card {
  background: rgba(18, 11, 34, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.daily-icon {
  font-size: 44px;
  margin-bottom: 16px;
  animation: floatIcon 4s ease-in-out infinite alternate;
}

@keyframes floatIcon {
  0% { transform: translateY(0) rotate(0); }
  100% { transform: translateY(-8px) rotate(5deg); }
}

.daily-title {
  font-family: var(--font-family-title);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.daily-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.daily-warning {
  font-size: 11px;
  font-weight: 700;
  color: #ff9966;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 0 8px rgba(255, 153, 102, 0.3);
}

.btn-sakura-outline {
  width: 100%;
  background: rgba(255, 123, 176, 0.05);
  border: 1px solid var(--sakura-pink);
  color: var(--sakura-pink);
  font-family: var(--font-family-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 0 10px rgba(255, 123, 176, 0.05);
}

.btn-sakura-outline:hover {
  background: var(--sakura-pink);
  color: var(--bg-darker);
  box-shadow: 0 0 15px var(--sakura-glow);
}

/* ==========================================================================
   CONTENT LAYOUTS
   ========================================================================== */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn var(--transition-speed) ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Glass Card Design */
.glass-card {
  background: rgba(18, 11, 34, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius);
  padding: 30px;
  position: relative;
}

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

.card-header h2 {
  font-family: var(--font-family-title);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-sakura {
  color: var(--sakura-pink);
  text-shadow: 0 0 8px var(--sakura-glow);
}

.kanji-sub {
  font-family: var(--font-family-japanese);
  font-size: 20px;
  color: rgba(255, 123, 176, 0.25);
  font-weight: 700;
}

.badge-status-green {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid #10b981;
  color: #10b981;
  font-family: var(--font-family-title);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Server detailed Monitor content */
.server-detailed-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-preview {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 123, 176, 0.1);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 6, 18, 0.8) 0%, rgba(10, 6, 18, 0.1) 100%);
  z-index: 1;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-info-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-title-tag {
  font-family: var(--font-family-title);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mode-tag {
  background: var(--sakura-pink);
  color: var(--bg-darker);
  font-family: var(--font-family-title);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--sakura-glow);
}

.player-list-container h3 {
  font-family: var(--font-family-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.player-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(255, 123, 176, 0.08);
  border-radius: 10px;
}

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

.player-table th, .player-table td {
  padding: 12px 18px;
}

.player-table th {
  background: rgba(255, 123, 176, 0.03);
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 123, 176, 0.08);
}

.player-table td {
  border-bottom: 1px solid rgba(255, 123, 176, 0.04);
}

.player-table tr:last-child td {
  border-bottom: none;
}

.player-table tr:hover td {
  background: rgba(255, 123, 176, 0.02);
}

.text-center {
  text-align: center;
}

/* News component layout */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  background: rgba(10, 6, 18, 0.3);
  border: 1px solid rgba(255, 123, 176, 0.06);
  border-radius: 10px;
  padding: 20px;
  transition: all var(--transition-speed) ease;
}

.news-item:hover {
  border-color: rgba(255, 123, 176, 0.15);
  background: rgba(255, 123, 176, 0.03);
}

.news-badge {
  display: inline-block;
  background: rgba(255, 123, 176, 0.08);
  border: 1px solid var(--sakura-pink);
  color: var(--sakura-pink);
  font-family: var(--font-family-title);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.news-badge.promo {
  border-color: #a855f7;
  color: #a855f7;
}

.news-item-title {
  font-family: var(--font-family-title);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-item-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   TAB: RULES
   ========================================================================== */
.rules-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid rgba(255, 123, 176, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 6, 18, 0.2);
}

.accordion-title {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family-title);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-speed) ease;
}

.accordion-title:hover {
  background: rgba(255, 123, 176, 0.04);
}

.accordion-title i {
  color: var(--sakura-pink);
  transition: transform var(--transition-speed) ease;
}

.accordion-item.active .accordion-title {
  background: rgba(255, 123, 176, 0.06);
  border-bottom: 1px solid rgba(255, 123, 176, 0.08);
}

.accordion-item.active .accordion-title i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-speed) ease-in-out;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.accordion-item.active .accordion-content {
  padding: 18px 24px;
  max-height: 200px;
}

/* ==========================================================================
   TAB: VIP SHOP
   ========================================================================== */
.vip-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vip-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.vip-header h2 {
  font-family: var(--font-family-title);
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
}

.vip-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.vip-tier-card {
  background: rgba(18, 11, 34, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tier-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.15;
}

.tier-glow.sakura {
  background: radial-gradient(circle, var(--sakura-pink) 0%, transparent 70%);
}

.tier-glow.sakura-heavy {
  background: radial-gradient(circle, var(--sakura-heavy) 0%, transparent 70%);
}

.vip-tier-card.premium {
  border-color: var(--sakura-pink);
  box-shadow: 0 0 20px rgba(255, 123, 176, 0.1);
  transform: scale(1.03);
}

.tier-badge-top {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--sakura-pink);
  color: var(--bg-darker);
  font-family: var(--font-family-title);
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--sakura-glow);
}

.tier-badge {
  font-family: var(--font-family-title);
  font-size: 16px;
  font-weight: 900;
  color: var(--sakura-pink);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.tier-price {
  font-family: var(--font-family-title);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 123, 176, 0.08);
  padding-bottom: 20px;
}

.tier-price span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.tier-features li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-sakura {
  color: var(--sakura-pink);
  text-shadow: 0 0 5px var(--sakura-glow);
}

.btn-sakura-fill {
  background: transparent;
  border: 1px solid var(--sakura-pink);
  color: var(--white-pearl);
  font-family: var(--font-family-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 0;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.btn-sakura-fill:hover {
  background: var(--sakura-pink);
  color: var(--bg-darker);
  box-shadow: 0 0 15px var(--sakura-glow);
}

.btn-sakura-heavy {
  background: linear-gradient(135deg, var(--sakura-pink), var(--sakura-heavy));
  color: #fff;
  border: none;
  font-family: var(--font-family-title);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 15px 0;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 0 15px var(--sakura-glow);
}

.btn-sakura-heavy:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px var(--sakura-glow-heavy);
  filter: brightness(1.05);
}

/* ==========================================================================
   TAB: STATS LEADERBOARD
   ========================================================================== */
.stats-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(255, 123, 176, 0.08);
  border-radius: 10px;
  margin-top: 15px;
}

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

.stats-table th, .stats-table td {
  padding: 16px 20px;
}

.stats-table th {
  background: rgba(255, 123, 176, 0.03);
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 123, 176, 0.08);
}

.stats-table td {
  border-bottom: 1px solid rgba(255, 123, 176, 0.04);
}

.stats-table tr:last-child td {
  border-bottom: none;
}

.stats-table tr:hover td {
  background: rgba(255, 123, 176, 0.02);
}

.rank-badge {
  font-family: var(--font-family-title);
  font-weight: 900;
  font-size: 14px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.rank-badge.gold {
  background: #f59e0b;
  color: #78350f;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.rank-badge.silver {
  background: #94a3b8;
  color: #1e293b;
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.4);
}

.rank-badge.bronze {
  background: #b45309;
  color: #fff;
  box-shadow: 0 0 10px rgba(180, 83, 9, 0.4);
}

.rank-badge.normal {
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-main {
  background: rgba(6, 3, 9, 0.9);
  border-top: 1px solid var(--panel-border);
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand h3 {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 400px;
}

.footer-brand .logo-kanji {
  align-self: flex-start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4, .footer-socials h4 {
  font-family: var(--font-family-title);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white-pearl);
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--sakura-pink);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  background: rgba(255, 123, 176, 0.05);
  border: 1px solid var(--panel-border);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pearl);
  text-decoration: none;
  font-size: 18px;
  transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
  background: var(--sakura-pink);
  border-color: var(--sakura-pink);
  color: var(--bg-darker);
  box-shadow: 0 0 15px var(--sakura-glow);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 123, 176, 0.04);
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.notification-toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 11, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--sakura-pink);
  box-shadow: 0 0 20px rgba(255, 123, 176, 0.2);
  padding: 12px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-title);
  font-size: 12px;
  font-weight: 700;
  z-index: 1000;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-toast.show {
  bottom: 30px;
}

.toast-icon {
  animation: spinPetal 3s linear infinite;
}

@keyframes spinPetal {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .vip-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  .vip-tier-card.premium {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* In a real product we'd add a mobile hamburger menu */
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-card {
    padding: 30px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary-neon, .ip-display {
    justify-content: center;
    width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.navbar-top {
  position: sticky;
}

.auth-modal,
.notification-toast {
  position: fixed;
}

/* ==========================================================================
   USER PILL / LOGGED-IN STATUS
   ========================================================================== */
.user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 11, 34, 0.4);
  border: 1px solid rgba(255, 123, 176, 0.28);
  border-radius: 14px;
  padding: 6px 8px 6px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 0 8px rgba(255, 123, 176, 0.05);
  transition: all 0.3s ease;
}

.user-pill:hover {
  border-color: rgba(255, 123, 176, 0.45);
  box-shadow: 0 4px 25px rgba(255, 123, 176, 0.1);
  transform: translateY(-1px);
}

.user-avatar-placeholder {
  font-size: 16px;
  animation: spinPetal 8s linear infinite;
  text-shadow: 0 0 6px var(--sakura-pink);
}

.user-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-name {
  font-family: var(--font-family-title);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--white-pearl);
  letter-spacing: 0.02em;
}

.user-sub {
  font-size: 10px;
  color: var(--sakura-pink);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255, 123, 176, 0.3);
}

.btn-logout {
  background: transparent;
  border: none;
  color: rgba(239, 68, 68, 0.65);
  font-size: 13px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
  transform: scale(1.05);
}

/* ==========================================================================
   AUTH MODAL STYLING
   ========================================================================== */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 3, 9, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: rgba(18, 11, 34, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 123, 176, 0.25);
  box-shadow: 0 0 40px rgba(255, 123, 176, 0.15), inset 0 0 20px rgba(255, 123, 176, 0.05);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 40px;
  z-index: 2001;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-modal.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--sakura-pink);
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 123, 176, 0.1);
  margin-bottom: 25px;
}

.modal-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-family-title);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 0;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.modal-tab-btn:hover {
  color: var(--white-pearl);
}

.modal-tab-btn.active {
  color: var(--sakura-pink);
  border-bottom-color: var(--sakura-pink);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.auth-form.active {
  display: flex;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-family-title);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input {
  background: rgba(10, 6, 18, 0.5);
  border: 1px solid rgba(255, 123, 176, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-family-sans);
  font-size: 13px;
  transition: all var(--transition-speed) ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--sakura-pink);
  box-shadow: 0 0 10px rgba(255, 123, 176, 0.1);
  background: rgba(10, 6, 18, 0.7);
}

.form-help {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.auth-error-msg {
  font-size: 12px;
  color: #ef4444;
  line-height: 1.4;
  display: none;
}

.btn-block {
  width: 100%;
  padding: 14px 0;
  font-size: 12px;
  font-weight: 800;
}

/* ==========================================================================
   STEAM AUTH & MODAL REDESIGN ADDITIONS
   ========================================================================== */
.modal-steam-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
}

.btn-steam-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  background: linear-gradient(135deg, #101d2c, #171a21);
  border: 1px solid rgba(102, 192, 244, 0.2);
  border-radius: 10px;
  color: #c5e3f4;
  font-family: var(--font-family-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(102, 192, 244, 0.05);
  transition: all var(--transition-speed) ease;
}

.btn-steam-login i {
  font-size: 20px;
  color: #66c0f4;
  transition: transform 0.3s ease;
}

.btn-steam-login:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #122c44, #1b2838);
  border-color: #66c0f4;
  color: #fff;
  box-shadow: 0 0 25px rgba(102, 192, 244, 0.3);
}

.btn-steam-login:hover i {
  transform: scale(1.15) rotate(15deg);
}

.steam-login-help {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  opacity: 0.8;
}

.modal-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 25px;
  width: 100%;
}

.modal-separator::before,
.modal-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 123, 176, 0.15);
  transition: border-color 0.3s ease;
}

.modal-separator::before {
  margin-right: 15px;
}

.modal-separator::after {
  margin-left: 15px;
}

.modal-separator span {
  font-family: var(--font-family-title);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Icon inputs */
.input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: rgba(255, 123, 176, 0.4);
  font-size: 14px;
  pointer-events: none;
  transition: color var(--transition-speed) ease;
}

.input-wrapper input {
  width: 100%;
  padding-left: 46px !important;
}

.input-wrapper input:focus + .input-icon {
  color: var(--sakura-pink);
  text-shadow: 0 0 10px var(--sakura-glow);
}

/* ==========================================================================
   WAVECORE REDESIGN V2 - CINEMATIC SAKURA HERO
   ========================================================================== */
:root {
  --container-wide: 1280px;
  --glass-bg: rgba(12, 6, 20, 0.54);
  --glass-bg-strong: rgba(14, 7, 23, 0.76);
  --glass-edge: rgba(255, 123, 176, 0.2);
  --glass-edge-hot: rgba(255, 123, 176, 0.44);
  --radius-tight: 8px;
  --radius-soft: 14px;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body,
body * {
  letter-spacing: 0;
}

body {
  background:
    linear-gradient(90deg, rgba(4, 2, 7, 0.82) 0%, rgba(6, 3, 9, 0.56) 32%, rgba(6, 3, 9, 0.18) 68%, rgba(6, 3, 9, 0.42) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 64, 129, 0.12), transparent 42%),
    url('assets/wavecore_hero_bg.png') no-repeat center top fixed;
  background-size: cover;
  max-width: 100%;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 72%);
}

#sakura-canvas {
  z-index: 2;
  opacity: 0.7;
}

.cyber-scanlines {
  z-index: 3;
  opacity: 0.16;
  background-size: 100% 5px;
}

.cyber-vignette {
  z-index: 2;
  background:
    radial-gradient(circle at 65% 48%, transparent 0%, rgba(6, 3, 9, 0.2) 42%, rgba(6, 3, 9, 0.76) 100%),
    linear-gradient(180deg, rgba(6, 3, 9, 0.05) 0%, rgba(6, 3, 9, 0.78) 100%);
}

.light-orb {
  display: none;
}

.navbar-top,
.main-content,
.footer-main,
.auth-modal,
.notification-toast {
  position: relative;
}

.navbar-top {
  z-index: 80;
  padding: 14px 0;
  background: rgba(5, 3, 10, 0.82);
  border-bottom-color: rgba(255, 123, 176, 0.2);
  box-shadow: 0 10px 38px rgba(4, 2, 7, 0.44);
}

.nav-container {
  max-width: var(--container-wide);
}

.nav-logo,
.nav-link,
.btn-login,
.online-pill,
.user-pill,
.btn-primary-neon,
.btn-sakura-outline,
.btn-sakura-fill,
.btn-sakura-heavy {
  border-radius: var(--radius-tight);
}

.logo-kanji {
  border-radius: var(--radius-tight);
  box-shadow: 0 0 18px rgba(255, 64, 129, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.16);
}

.logo-text {
  font-size: 24px;
}

.nav-link {
  min-height: 38px;
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(180deg, rgba(255, 123, 176, 0.15), rgba(255, 123, 176, 0.05));
  box-shadow: inset 0 -1px 0 rgba(255, 123, 176, 0.55);
}

.nav-link.active {
  border-bottom: 0;
}

.online-pill,
.btn-login {
  background: rgba(255, 123, 176, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-login {
  min-height: 38px;
  padding: 8px 18px;
}

.main-content {
  z-index: 5;
  isolation: isolate;
}

.hero-section {
  max-width: var(--container-wide);
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: clamp(48px, 7vh, 86px) 28px 120px;
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(240px, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 18px 24px;
  position: relative;
}

.hero-card {
  grid-column: 1;
  grid-row: 1;
  max-width: 740px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-card::before {
  display: none;
}

.hero-badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 28px;
  padding: 9px 20px;
  color: var(--sakura-pink);
  background: rgba(255, 123, 176, 0.08);
  border: 1px solid rgba(255, 123, 176, 0.22);
  border-radius: var(--radius-tight);
  box-shadow: inset 0 0 18px rgba(255, 123, 176, 0.06), 0 0 20px rgba(255, 64, 129, 0.1);
}

.hero-title {
  margin-bottom: 16px;
  color: var(--white-pearl);
  font-size: clamp(56px, 7.7vw, 112px);
  line-height: 0.94;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.12), 0 14px 44px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, #fff 0%, #ffdfec 34%, var(--sakura-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  margin: 0 0 22px;
  color: var(--sakura-pink);
  font-family: var(--font-family-title);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 800;
  text-shadow: 0 0 16px rgba(255, 123, 176, 0.42);
}

.hero-tagline {
  max-width: 470px;
  margin-bottom: 28px;
  color: rgba(252, 251, 254, 0.72);
  font-size: 16px;
  line-height: 1.62;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.72);
}

.hero-actions {
  gap: 18px;
  margin-bottom: 34px;
}

.btn-primary-neon,
.ip-display {
  min-height: 56px;
}

.btn-primary-neon {
  padding: 16px 32px;
  box-shadow: 0 0 26px rgba(255, 64, 129, 0.35), 0 12px 34px rgba(255, 64, 129, 0.16);
}

.btn-primary-neon:active,
.btn-login:active,
.btn-sakura-outline:active,
.btn-sakura-fill:active,
.btn-sakura-heavy:active {
  transform: translateY(1px) scale(0.99);
}

.ip-display {
  min-width: 280px;
  background: rgba(5, 3, 10, 0.54);
  border-color: rgba(255, 123, 176, 0.25);
  box-shadow: inset 0 0 18px rgba(255, 123, 176, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ip-text {
  font-size: 15px;
}

.hero-footer-stats {
  max-width: 720px;
  grid-template-columns: 1.7fr 0.65fr 0.65fr;
  gap: 10px;
  padding-top: 0;
  border-top: 0;
}

.mini-stat {
  position: relative;
  min-height: 66px;
  justify-content: center;
  padding: 12px 14px 12px 48px;
  background: linear-gradient(180deg, rgba(255, 123, 176, 0.08), rgba(255, 123, 176, 0.02));
  border: 1px solid rgba(255, 123, 176, 0.1);
  border-radius: var(--radius-tight);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mini-stat::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 123, 176, 0.24);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 123, 176, 0.55), transparent 48%),
    rgba(255, 123, 176, 0.08);
  box-shadow: 0 0 16px rgba(255, 123, 176, 0.2);
}

.mini-stat .label {
  font-size: 10px;
}

.mini-stat .value {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

#current-map {
  font-family: var(--font-family-base) !important;
  font-size: 12.5px !important;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.daily-bonus-card {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(170px, auto);
  grid-template-areas:
    "icon title button"
    "icon desc button"
    "icon warning button";
  align-items: center;
  gap: 4px 14px;
  padding: 14px;
  text-align: left;
  background: rgba(7, 4, 12, 0.5);
  border-color: rgba(255, 123, 176, 0.18);
  border-radius: var(--radius-soft);
  box-shadow: inset 0 0 24px rgba(255, 123, 176, 0.04), 0 16px 44px rgba(4, 2, 7, 0.26);
}

.daily-icon {
  grid-area: icon;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 28px;
  border-radius: var(--radius-tight);
  background: rgba(255, 123, 176, 0.09);
}

.daily-title {
  grid-area: title;
  margin: 0;
  font-size: 15px;
}

.daily-desc {
  grid-area: desc;
  margin: 0;
  font-size: 12px;
}

.daily-warning {
  grid-area: warning;
  margin: 0;
  font-size: 10px;
}

.daily-bonus-card .btn-sakura-outline {
  grid-area: button;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  color: var(--white-pearl);
  background: rgba(255, 123, 176, 0.07);
  border: 1px solid rgba(255, 123, 176, 0.28);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: inset 0 0 18px rgba(255, 123, 176, 0.04), 0 0 24px rgba(255, 64, 129, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, background var(--transition-speed) ease;
}

.scroll-cue:hover {
  transform: translateX(-50%) translateY(-2px);
  border-color: rgba(255, 123, 176, 0.56);
  background: rgba(255, 123, 176, 0.14);
}

.content-wrapper {
  position: relative;
  z-index: 6;
  max-width: var(--container-wide);
  margin: 16px auto 52px;
}

.glass-card,
.vip-tier-card,
.modal-card {
  background: var(--glass-bg);
  border-color: var(--glass-edge);
  border-radius: var(--radius-soft);
  box-shadow: inset 0 0 24px rgba(255, 123, 176, 0.04), 0 20px 60px rgba(4, 2, 7, 0.34);
}

.glass-card::before,
.vip-tier-card::before,
.modal-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.card-header {
  border-bottom-color: rgba(255, 123, 176, 0.12);
}

.card-header h2 {
  font-size: clamp(17px, 2vw, 21px);
}

.map-preview,
.player-table-wrapper,
.stats-table-wrapper,
.news-item,
.accordion-item {
  border-radius: var(--radius-tight);
}

.map-preview {
  min-height: 230px;
  box-shadow: inset 0 0 24px rgba(255, 123, 176, 0.05);
}

.news-item,
.accordion-item {
  background: rgba(5, 3, 10, 0.38);
}

.vip-header {
  padding-top: 22px;
}

.vip-tier-card {
  background:
    linear-gradient(180deg, rgba(12, 6, 20, 0.82), rgba(8, 4, 14, 0.9)),
    url('assets/wavecore_vip_card_bg.png') center / cover;
  min-height: 520px;
}

.vip-tier-card.premium {
  border-color: var(--glass-edge-hot);
  box-shadow: inset 0 0 28px rgba(255, 123, 176, 0.08), 0 0 34px rgba(255, 64, 129, 0.18);
}

.tier-badge,
.tier-price {
  text-shadow: 0 0 16px rgba(255, 123, 176, 0.2);
}

.form-group input {
  font-family: var(--font-family-base);
}

.footer-main {
  z-index: 5;
  background: rgba(5, 3, 10, 0.92);
}

@supports not (height: 100svh) {
  .hero-section {
    min-height: calc(100vh - 74px);
  }
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 4px;
  }

  .nav-link {
    padding-inline: 12px;
  }

  .hero-section {
    grid-template-columns: minmax(0, 700px) minmax(0, 1fr);
  }
}

@media (max-width: 992px) {
  body {
    background-position: 58% top;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-card,
  .daily-bonus-card {
    grid-column: 1;
  }

  .hero-title {
    max-width: 780px;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: 62% top;
  }

  .navbar-top {
    padding: 10px 0;
  }

  .nav-container {
    padding: 0 16px;
    gap: 12px;
  }

  .logo-text {
    font-size: 18px;
  }

  .logo-kanji {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  .online-pill {
    display: none;
  }

  .btn-login {
    padding-inline: 12px;
  }

  .hero-section {
    min-height: calc(100svh - 61px);
    padding: 46px 18px 104px;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-badge {
    min-height: 34px;
    padding: 8px 14px;
    font-size: 10px;
  }

  .hero-title {
    font-size: clamp(36px, 10.6vw, 46px);
    line-height: 1.04;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .hero-tagline {
    font-size: 14px;
    max-width: 100%;
  }

  .hero-actions,
  .hero-footer-stats,
  .daily-bonus-card {
    width: 100%;
    max-width: 100%;
  }

  .hero-footer-stats {
    grid-template-columns: 1fr;
  }

  .daily-bonus-card {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon desc"
      "warning warning"
      "button button";
  }

  .daily-icon {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .daily-bonus-card .btn-sakura-outline {
    margin-top: 8px;
  }

  .content-wrapper {
    margin-top: 16px;
    padding: 0 16px;
    max-width: 100%;
  }

  .glass-card,
  .vip-tier-card {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(33px, 9.5vw, 38px);
  }

  .hero-actions {
    gap: 12px;
  }

  .btn-primary-neon,
  .ip-display {
    min-height: 52px;
  }

  .ip-display {
    min-width: 0;
  }

  .card-header {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .player-table th,
  .player-table td,
  .stats-table th,
  .stats-table td {
    padding: 12px 14px;
  }
}

/* Desktop density pass: keep the generated hero art visible on shorter screens. */
.hero-section {
  padding-top: clamp(40px, 5.8vh, 64px);
  padding-bottom: 92px;
}

.hero-badge {
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(52px, 6.1vw, 88px);
}

.hero-tagline {
  margin-bottom: 24px;
}

.hero-actions {
  margin-bottom: 26px;
}

@media (min-width: 993px) {
  .daily-bonus-card {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 330px);
    display: flex;
    flex-direction: column;
    justify-self: end;
    align-self: end;
    gap: 0;
    padding: 26px;
    text-align: center;
  }

  .daily-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 16px;
    font-size: 30px;
  }

  .daily-title {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .daily-desc {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .daily-warning {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 10px;
  }

  .daily-bonus-card .btn-sakura-outline {
    width: 100%;
  }
}

@media (min-width: 993px) and (max-height: 760px) {
  .hero-section {
    padding-top: 34px;
    padding-bottom: 70px;
  }

  .hero-title {
    font-size: clamp(48px, 5.5vw, 78px);
  }

  .hero-badge {
    margin-bottom: 18px;
  }

  .hero-tagline {
    max-width: 450px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.54;
  }

  .hero-actions {
    margin-bottom: 20px;
  }

  .mini-stat {
    min-height: 58px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .daily-bonus-card {
    padding: 20px;
    width: min(100%, 300px);
  }

  .daily-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    font-size: 26px;
  }

  .daily-desc {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(33px, 9.5vw, 38px);
  }
}

/* ==========================================================================
   WAVECORE MEDIA PACK - MONITORING, NEWS, FOOTER, BADGES
   ========================================================================== */
.map-preview {
  aspect-ratio: 1916 / 821;
  height: auto;
  min-height: 240px;
  background: rgba(5, 3, 10, 0.55);
}

.map-img {
  object-position: center center;
  transform: scale(1.01);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.monitor-card:hover .map-img {
  transform: scale(1.045);
  filter: saturate(1.1) brightness(1.05);
}

.map-overlay {
  background:
    linear-gradient(0deg, rgba(5, 3, 10, 0.9) 0%, rgba(5, 3, 10, 0.18) 58%, rgba(5, 3, 10, 0.08) 100%),
    radial-gradient(circle at 78% 20%, rgba(255, 64, 129, 0.16), transparent 48%);
}

.news-card {
  overflow: hidden;
}

.news-list {
  gap: 18px;
}

.news-item {
  padding: 0;
  overflow: hidden;
  background: rgba(5, 3, 10, 0.42);
  border-color: rgba(255, 123, 176, 0.1);
}

.news-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 123, 176, 0.12);
  filter: saturate(0.98) brightness(0.86);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.news-item:hover .news-cover {
  transform: scale(1.035);
  filter: saturate(1.12) brightness(1);
}

.news-content {
  position: relative;
  padding: 18px 20px 20px;
}

.news-badge {
  box-shadow: 0 0 14px rgba(255, 123, 176, 0.08);
}

.empty-players-state {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 14px;
  text-align: left;
  background: linear-gradient(90deg, rgba(5, 3, 10, 0.52), rgba(255, 123, 176, 0.05));
  border-radius: var(--radius-tight);
  overflow: hidden;
}

.empty-players-state img {
  width: 150px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-tight);
  border: 1px solid rgba(255, 123, 176, 0.14);
  filter: brightness(0.82) saturate(1.05);
}

.empty-players-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white-pearl);
  font-family: var(--font-family-title);
  font-size: 14px;
}

.empty-players-state span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.empty-players-state.compact {
  grid-template-columns: 68px minmax(0, 1fr);
  min-height: 92px;
}

.empty-players-state.compact img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  object-position: 0 0;
}

.rank-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: rgba(255, 123, 176, 0.08);
  border: 1px solid rgba(255, 123, 176, 0.18);
}

.rank-badge.gold,
.rank-badge.silver,
.rank-badge.bronze {
  background-image: url('assets/rank_badges_sakura.png');
  background-repeat: no-repeat;
  background-size: 220% 220%;
  color: transparent;
  text-shadow: none;
  box-shadow: 0 0 18px rgba(255, 64, 129, 0.2);
}

.rank-badge.gold {
  background-position: 100% 100%;
}

.rank-badge.silver {
  background-position: 100% 0;
}

.rank-badge.bronze {
  background-position: 0 100%;
}

.rank-badge.gold i,
.rank-badge.silver i,
.rank-badge.bronze i {
  opacity: 0;
}

.footer-main {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 3, 10, 0.92), rgba(5, 3, 10, 0.78)),
    url('assets/footer_sakura_city_strip.png') center / cover no-repeat;
}

.footer-main::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 70%, rgba(255, 64, 129, 0.16), transparent 30%),
    radial-gradient(circle at 78% 38%, rgba(255, 123, 176, 0.11), transparent 36%);
}

.footer-container,
.footer-bottom {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .map-preview {
    min-height: 190px;
  }

  .news-content {
    padding: 16px;
  }

  .empty-players-state {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .empty-players-state img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .rank-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
}

/* Keep overlays out of document flow after all redesign overrides. */
.navbar-top {
  position: sticky;
}

.auth-modal,
.notification-toast {
  position: fixed;
}

/* ==========================================================================
   WAVECORE LEADERBOARD PODIUM LAYOUT & RANK ICONS
   ========================================================================== */
.top-podium-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 34px;
  max-width: 100%;
}

.podium-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-soft);
  position: relative;
  text-align: center;
  border: 1px solid var(--panel-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 24px rgba(255, 123, 176, 0.02), 0 20px 45px rgba(4, 2, 7, 0.24);
  transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.podium-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-edge-hot);
}

.podium-card.silver {
  border-color: rgba(192, 192, 192, 0.22);
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.05) 0%, rgba(10, 6, 18, 0.42) 100%);
  height: 270px;
}

.podium-card.gold {
  border-color: rgba(255, 215, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.07) 0%, rgba(10, 6, 18, 0.52) 100%);
  height: 310px;
  box-shadow: inset 0 0 24px rgba(255, 215, 0, 0.04), 0 15px 44px rgba(255, 215, 0, 0.07);
}

.podium-card.bronze {
  border-color: rgba(205, 127, 50, 0.22);
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.05) 0%, rgba(10, 6, 18, 0.42) 100%);
  height: 250px;
}

.podium-rank-badge {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.silver .podium-rank-badge {
  background: rgba(192, 192, 192, 0.14);
  color: #cbd5e1;
}

.gold .podium-rank-badge {
  background: rgba(255, 215, 0, 0.18);
  color: #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.18);
}

.bronze .podium-rank-badge {
  background: rgba(205, 127, 50, 0.14);
  color: #fbd38d;
}

.podium-avatar-wrapper {
  width: 86px;
  height: 86px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.gold .podium-avatar-wrapper {
  width: 104px;
  height: 104px;
}

.silver .podium-avatar-wrapper,
.bronze .podium-avatar-wrapper {
  width: 90px;
  height: 90px;
}

.podium-frame-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.podium-avatar-badge {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 0 8px var(--sakura-glow));
  animation: floatBadge 4s infinite ease-in-out;
}

.gold .podium-avatar-badge {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.38));
}

@keyframes floatBadge {
  0% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-2px); }
  100% { transform: translate(-50%, -50%) translateY(0); }
}

.podium-name {
  font-family: var(--font-family-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--white-pearl);
  margin-top: 6px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.16);
}

.gold .podium-name {
  font-size: 18px;
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.22);
}

.podium-level {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.podium-credits {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gold .podium-credits {
  color: #ffd700;
}

.silver .podium-credits {
  color: #cbd5e1;
}

.bronze .podium-credits {
  color: #fbd38d;
}

/* Leaderboard custom items */
.table-rank-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px var(--sakura-glow));
}

.table-place-number {
  font-family: var(--font-family-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .top-podium-container {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
  }
  
  .podium-card {
    height: auto !important;
    padding: 20px;
  }
}

/* ==========================================================================
   BANS & COMMS STYLES
   ========================================================================== */
.cyber-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.cyber-search-box input {
  font-family: var(--font-family-base);
  font-size: 13px;
  background: rgba(10, 6, 18, 0.6);
  border: 1px solid rgba(255, 123, 176, 0.2);
  padding: 8px 16px 8px 36px;
  color: var(--white-pearl);
  border-radius: 8px;
  width: 250px;
  outline: none;
  transition: all var(--transition-speed) ease;
}

.cyber-search-box input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.cyber-search-box input:focus {
  border-color: var(--sakura-pink);
  box-shadow: 0 0 10px var(--sakura-glow);
  background: rgba(10, 6, 18, 0.8);
}

.cyber-search-box .search-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-family-title);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  cursor: default;
}

.status-badge.status-active {
  background: rgba(255, 64, 129, 0.08);
  border: 1px solid var(--sakura-heavy);
  color: var(--sakura-heavy);
  box-shadow: 0 0 10px rgba(255, 64, 129, 0.15);
}

.status-badge.status-expired {
  background: rgba(150, 143, 163, 0.05);
  border: 1px solid rgba(150, 143, 163, 0.3);
  color: var(--text-muted);
}

.status-badge.status-removed {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid #10b981;
  color: #10b981;
}

/* Comm Type Badges */
.comm-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-family-title);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.comm-type-badge.type-mute {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.comm-type-badge.type-gag {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid #f59e0b;
  color: #f59e0b;
}

.comm-type-badge.type-silence {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid #ef4444;
  color: #ef4444;
}

.steam-link-helper {
  color: var(--sakura-pink);
  text-decoration: none;
  font-family: var(--font-family-title);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.steam-link-helper:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--sakura-glow);
}

@media (max-width: 768px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .cyber-search-box input {
    width: 100%;
  }
}
