/* ==========================================================
   KUGOFOX ESPORTS ARENA - KUGOFOX.BUZZ LAYOUT & COVERFLOW
   Replicating Photo 1 (Home Stage) & Photo 2 (3D Gallery)
   ========================================================== */

:root {
  --kugofox-bg: #030508;
  --kugofox-sidebar-bg: rgba(3, 5, 8, 0.78);
  --kugofox-topbar-bg: rgba(3, 5, 8, 0.85);
  --kugofox-border: rgba(255, 255, 255, 0.08);
  --kugofox-border-hover: rgba(255, 255, 255, 0.25);
  --kugofox-text-main: #ffffff;
  --kugofox-text-muted: #94a3b8;
  --kugofox-text-dim: #64748b;
  --kugofox-cyan: #00f0ff;
  --kugofox-magenta: #ff2a85;
}

html {
  background-color: #030508 !important;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #030508 !important;
  color: var(--kugofox-text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

.app-layout-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  background: transparent;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ================== TOP NAVIGATION BAR (Photo 1) ================== */
.kugofox-topbar {
  height: 64px;
  background: var(--kugofox-topbar-bg);
  border-bottom: 1px solid var(--kugofox-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
}

.kugofox-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Menu Hamburger Button (Phone / Image 2) */
.kugofox-mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.kugofox-mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.kugofox-mobile-menu-btn .hamburger-bar {
  display: block;
  width: 21px;
  height: 2.8px;
  background: #94a3b8;
  border-radius: 999px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
}

.kugofox-mobile-menu-btn.open .hamburger-bar:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
  background: #ffffff;
}

.kugofox-mobile-menu-btn.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.kugofox-mobile-menu-btn.open .hamburger-bar:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
  background: #ffffff;
}

.kugofox-brand-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.kugofox-brand-icon {
  height: 44px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4));
  transition: transform 0.25s ease;
}

.kugofox-brand-box:hover .kugofox-brand-icon {
  transform: scale(1.06);
}

.kugofox-brand-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.kugofox-center-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.3rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.kugofox-nav-pill {
  padding: 0.45rem 1.15rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--kugofox-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.kugofox-nav-pill:hover {
  color: #ffffff;
}

.kugofox-nav-pill.active {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.kugofox-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-find-team {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--kugofox-border);
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-find-team:hover {
  border-color: var(--kugofox-border-hover);
  background: rgba(255, 255, 255, 0.06);
}

.badge-new-pill {
  background: #ffffff;
  color: #000000;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
}

.btn-icon-round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--kugofox-border);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-round:hover {
  color: #ffffff;
  border-color: var(--kugofox-border-hover);
}

.btn-sign-in {
  background: transparent;
  border: 1px solid var(--kugofox-border);
  border-radius: 6px;
  padding: 0.45rem 1rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-sign-in:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* ================== BODY SPLIT & SIDEBAR (Photo 1) ================== */
.kugofox-body-split {
  display: flex;
  min-height: calc(100vh - 64px);
}

/* Mobile Drawer Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 890;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-menu-locked {
  overflow: hidden !important;
}

/* Sidebar Navigation Drawer */
.kugofox-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--kugofox-sidebar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--kugofox-border);
  padding: 0.5rem 0.85rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

/* Mobile Drawer Top Header (Shown on phone / mobile drawer) */
.sidebar-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem 0.85rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sb-m-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.sb-m-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.sidebar-close-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.sidebar-top-line {
  width: 100%;
  height: 2px;
  background: #ffffff;
  margin-bottom: 0.85rem;
  border-radius: 1px;
}

/* MENU heading as shown in Image 1 */
.sidebar-menu-heading {
  font-family: 'JetBrains Mono', monospace, -apple-system;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 0.2rem 0.5rem 0.55rem;
  text-transform: uppercase;
}

.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  width: 100%;
  text-align: left;
}

.sidebar-menu-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.sidebar-menu-item:hover:not(.active) .sb-item-svg {
  stroke: #ffffff;
}

/* Active State matching Image 1: White pill card, black text and icon */
.sidebar-menu-item.active {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.14);
}

.sidebar-menu-item.active .sb-label {
  color: #000000 !important;
  font-weight: 700 !important;
}

.sidebar-menu-item.active .sb-item-svg {
  stroke: #000000 !important;
}

.sidebar-menu-item.active .sb-count {
  color: #000000 !important;
  font-weight: 700 !important;
}

.sb-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sb-item-svg {
  stroke: #94a3b8;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.sb-label {
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.sb-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.sb-badge-new {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.sidebar-divider {
  height: 1px;
  background: var(--kugofox-border);
  margin: 1.5rem 0.25rem;
}

.sidebar-featured-games {
  padding: 0 0.15rem;
}

.sb-featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding: 0 0.35rem;
}

.sb-f-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--kugofox-text-dim);
}

.sb-f-link {
  font-size: 11px;
  color: var(--kugofox-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.sb-f-link:hover {
  color: #ffffff;
}

.sb-games-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sb-game-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #cbd5e1;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}

.sb-game-row:hover,
.sb-game-row.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sb-game-thumb {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ================== MAIN CONTENT AREA ================== */
.kugofox-main-area {
  flex: 1;
  min-width: 0;
  background: transparent;
  padding: 2rem 3rem 5rem;
  position: relative;
}

/* ================== HERO SECTION (Photo 1) ================== */
.kugofox-hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 460px;
  padding: 1.5rem 0 3rem;
  position: relative;
  gap: 2rem;
}

.hero-left-col {
  max-width: 520px;
  z-index: 2;
}

.hero-protocol-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

/* ================== CYBERPUNK HERO TITLE & TELEMETRY ================== */
.cyber-font-title-wrapper {
  margin-bottom: 1.35rem;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.cyber-title-img-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  align-items: flex-start;
}

.title-line-1 {
  display: flex;
  align-items: center;
}

.enter-the-img {
  height: clamp(34px, 4.8vw, 44px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.7)) drop-shadow(0 0 24px rgba(0, 102, 255, 0.45));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-line-2 {
  display: flex;
  align-items: center;
}

.fox-arena-img {
  height: clamp(48px, 6.8vw, 64px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.85)) drop-shadow(0 0 35px rgba(0, 102, 255, 0.6));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-title-img-group:hover .enter-the-img {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 1)) drop-shadow(0 0 35px rgba(0, 150, 255, 0.8));
}

.cyber-title-img-group:hover .fox-arena-img {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 0 28px rgba(0, 240, 255, 1)) drop-shadow(0 0 50px rgba(0, 150, 255, 0.9));
}

.cyberpunk-title {
  font-family: 'Inter', sans-serif;
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.cyber-pulse-dot {
  animation: cyberDotPulse 1.8s ease-in-out infinite;
}

@keyframes cyberDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px #00f0ff; background: #00f0ff; }
  50% { transform: scale(1.3); box-shadow: 0 0 12px #ff2a85; background: #ff2a85; }
}

.hero-cyber-telemetry {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #94a3b8;
  backdrop-filter: blur(4px);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pill-dot.glow-cyan {
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
}

.pill-dot.glow-magenta {
  background: #ff2a85;
  box-shadow: 0 0 8px #ff2a85;
}

.pill-dot.glow-green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--kugofox-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero-btns-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cyber-btn-primary {
  background: #ffffff;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.cyber-btn-primary:hover {
  transform: translateY(-2px);
  background: #00f0ff;
  color: #000000;
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.55);
}

.cyber-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-btn-secondary:hover {
  background: rgba(255, 42, 133, 0.12);
  border-color: #ff2a85;
  color: #ff2a85;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 42, 133, 0.3);
}

.hero-right-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}

/* ================== INTERACTIVE CYBERPUNK HEADPHONE ================== */
.cyber-headphone-wrapper {
  --hp-led-primary: #00f0ff;
  --hp-led-secondary: #ff2a85;
  --hp-glow: rgba(0, 240, 255, 0.7);
  width: 100%;
  max-width: 540px;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* GPU-accelerated pre-rendered glow pseudo-element instead of expensive runtime drop-shadow */
.cyber-headphone-wrapper::after {
  content: '';
  position: absolute;
  top: 8%;
  left: 8%;
  right: 8%;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hp-glow, rgba(0, 240, 255, 0.65)) 0%, transparent 70%);
  filter: blur(28px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
  transform: translate3d(0, 0, 0);
}

.cyber-headphone-wrapper:hover::after,
.cyber-headphone-wrapper.headphone-pulse-active::after {
  opacity: 0.85;
}

/* ================== HYPERX ESPORTS HEADSET 3/4 STAGE ================== */
.hyperx-headset-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
}

/* Background Sonar Radar & Sonic Arcs */
.headset-radar-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-35px);
  width: 135%;
  height: 135%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Floating Headset Photo & Overlay Wrapper with subtle floating physics */
.headset-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  z-index: 2;
  transform-style: preserve-3d;
  animation: headsetGentleFloat 5.2s ease-in-out infinite alternate;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes headsetGentleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0.8deg);
  }
  100% {
    transform: translateY(3px) rotate(-0.5deg);
  }
}

/* Headset Photo with Cyber Glow Drop Shadow */
.headset-main-photo {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 15px 32px rgba(0, 0, 0, 0.88));
  transition: filter 0.35s ease;
}

.cyber-headphone-wrapper:hover .headset-main-photo {
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.9)) brightness(1.28) contrast(1.15) saturate(1.25);
}

/* Dynamic Glowing SVG RGB Overlay */
.headset-rgb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  overflow: visible;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: filter 0.3s ease;
}

/* Chroma Rainbow Mode Animation */
.mode-chroma-rainbow .earcup-neon-ring,
.mode-chroma-rainbow .headband-led-strip,
.mode-chroma-rainbow .earcup-vent-led {
  animation: chromaCycle 4s linear infinite;
}

@keyframes chromaCycle {
  0% { filter: hue-rotate(0deg) drop-shadow(0 0 10px #00f0ff); }
  50% { filter: hue-rotate(180deg) drop-shadow(0 0 16px #ff2a85); }
  100% { filter: hue-rotate(360deg) drop-shadow(0 0 10px #00f0ff); }
}

.cyber-headphone-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

/* Sonar radar rotation */
.hp-orbit-ring-1,
.hp-angular-radar-1 {
  transform-origin: 290px 250px;
  animation: rotateOrbit1 45s linear infinite;
}

.hp-orbit-ring-2,
.hp-angular-radar-2 {
  transform-origin: 290px 250px;
  animation: rotateOrbit2 32s linear infinite;
}

/* Lightning Bolt Spark Animations (matching font's lightning strikes) */
.lightning-bolt-anim-1 {
  animation: lightningFlicker1 2.4s steps(2, start) infinite;
}
.lightning-bolt-anim-2 {
  animation: lightningFlicker2 1.9s steps(2, start) infinite 0.5s;
}
.lightning-bolt-anim-3 {
  animation: lightningFlicker3 3.1s steps(2, start) infinite 0.9s;
}

@keyframes lightningFlicker1 {
  0%, 78%, 100% { opacity: 0.15; }
  82%, 92% { opacity: 1; filter: drop-shadow(0 0 14px var(--hp-led-primary)); }
  85% { opacity: 0.35; }
}

@keyframes lightningFlicker2 {
  0%, 74%, 100% { opacity: 0.15; }
  78%, 88% { opacity: 1; filter: drop-shadow(0 0 14px var(--hp-led-primary)); }
  82% { opacity: 0.3; }
}

@keyframes lightningFlicker3 {
  0%, 82%, 100% { opacity: 0.2; }
  86%, 95% { opacity: 1; filter: drop-shadow(0 0 16px var(--hp-led-primary)); }
}

.crest-lightning-anim {
  animation: crestPulse 2.2s ease-in-out infinite alternate;
}

@keyframes crestPulse {
  0% { filter: drop-shadow(0 0 6px var(--hp-led-primary)); }
  100% { filter: drop-shadow(0 0 18px var(--hp-led-primary)); }
}

@keyframes rotateOrbit1 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateOrbit2 {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Sonic wave pulse animation */
.sonic-wave-arc {
  transition: stroke 0.4s ease, opacity 0.4s ease;
}

.sonic-wave-1 {
  animation: sonicPulseContinuous 3s ease-out infinite;
}
.sonic-wave-2 {
  animation: sonicPulseContinuous 3s ease-out infinite 0.75s;
}
.sonic-wave-3 {
  animation: sonicPulseContinuous 3s ease-out infinite 1.5s;
}

@keyframes sonicPulseContinuous {
  0% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  50% {
    opacity: 0.25;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

/* Active click impulse */
.headphone-pulse-active .headset-photo-wrapper {
  animation: headsetBassPunch 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes headsetBassPunch {
  0% { transform: scale(1) translateY(0); }
  20% { transform: scale(0.95) translateY(4px); }
  50% { transform: scale(1.05) translateY(-8px); }
  75% { transform: scale(0.99) translateY(2px); }
  100% { transform: scale(1) translateY(0); }
}

.headphone-pulse-active .headset-main-photo {
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 45px var(--hp-led-primary)) brightness(1.15);
}

.headphone-pulse-active .earcup-neon-ring {
  stroke-width: 9px;
  filter: drop-shadow(0 0 28px var(--hp-led-primary));
  transition: stroke-width 0.15s ease-out;
}

.headphone-pulse-active .mic-live-led {
  transform: scale(1.4);
  filter: drop-shadow(0 0 15px var(--hp-led-primary));
}

/* Equalizer Bars Dynamic Transitions */
.hp-eq-bar {
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Floating Holographic HUD Badges */
.hp-hud-badge {
  position: absolute;
  padding: 0.4rem 0.85rem;
  background: rgba(3, 7, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  -webkit-tap-highlight-color: transparent !important;
}

.hp-hud-badge.top-left {
  top: 10px;
  left: 10px;
  border-left: 2px solid var(--hp-led-primary);
  color: #ffffff;
}

.hp-hud-badge.top-right {
  top: 10px;
  right: 10px;
  border-right: 2px solid var(--hp-led-secondary);
}

.hp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hp-led-primary);
  box-shadow: 0 0 10px var(--hp-led-primary);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  will-change: background, box-shadow;
}

/* Interactive Control Buttons */
.hp-interactive-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  position: relative;
  z-index: 12;
}

.hp-interactive-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  user-select: none !important;
  outline: none !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hp-interactive-btn:focus:not(:focus-visible),
.hp-interactive-btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.hp-interactive-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hp-led-primary);
  color: #ffffff;
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
}

.hp-interactive-btn.active {
  border-color: var(--hp-led-primary);
  color: #ffffff;
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.hp-interactive-btn .btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
  display: inline-block;
}

.hp-interactive-btn .btn-dot.active {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hp-hint-pill {
  text-align: center;
  margin-top: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--kugofox-text-dim);
  letter-spacing: 0.15em;
  opacity: 0.85;
}

/* ================== HORIZONTAL STATUS STRIP (Photo 1) ================== */
.kugofox-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--kugofox-border);
  border-bottom: 1px solid var(--kugofox-border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--kugofox-text-dim);
  margin: 1.5rem 0 3.5rem;
}

.status-left,
.status-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.status-green-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  margin-right: 5px;
}

.status-divider {
  color: rgba(255, 255, 255, 0.15);
}

.status-dots {
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.25em;
}

/* ================== OFFICIAL BATTLE ARENAS SLIDER (MATCHING IMAGE 1) ================== */
.gallery-container-section {
  margin-bottom: 3.75rem;
  position: relative;
  width: 100%;
}

.combat-zones-section,
.battle-arenas-section {
  position: relative;
  width: 100%;
  margin-bottom: 2.5rem;
}

.combat-zones-header,
.battle-arenas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  padding: 0 0.5rem;
}

.cz-title-group,
.ba-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cz-icon,
.ba-icon {
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.45));
}

.cz-heading,
.ba-heading {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.cz-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(14, 18, 28, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.cz-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: czPulse 2s infinite ease-in-out;
}

@keyframes czPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Vertical Single Single Cards List (Not like sliding) */
.combat-zones-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
  padding: 4px 0 12px 0;
}

/* Combat Zone Card - Full-width vertical single stacked (Elongated) */
.arena-card,
.cz-vertical-card {
  width: 100%;
  flex: 0 0 auto;
  height: 280px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: #090d16;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.68);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease, 
              box-shadow 0.28s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.arena-card:hover,
.cz-vertical-card:hover {
  transform: translateY(-5px) scale(1.005);
  border-color: rgba(0, 240, 255, 0.75);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.88), 0 0 32px rgba(0, 240, 255, 0.35);
}

.arena-card.active-card,
.cz-vertical-card.active-card {
  border-color: #00f0ff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.92), 0 0 32px rgba(0, 240, 255, 0.42);
}

.arena-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.arena-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease, filter 0.35s ease;
  display: block;
}

.arena-card:hover .arena-banner-img,
.cz-vertical-card:hover .arena-banner-img {
  transform: scale(1.05);
  filter: brightness(1.42) contrast(1.18) saturate(1.35);
}

.arena-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 5, 8, 0.94) 0%, rgba(3, 5, 8, 0.68) 45%, rgba(3, 5, 8, 0.2) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(4, 7, 12, 0.95) 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.arena-card:hover .arena-card-gradient,
.cz-vertical-card:hover .arena-card-gradient {
  opacity: 0.72;
}

.arena-card-overlay {
  position: absolute;
  inset: 0;
  padding: 1.45rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.arena-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.arena-badge-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arena-prize-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #00f0ff;
  font-weight: 800;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.arena-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.arena-info-left {
  flex: 1;
  min-width: 0;
}

.arena-game-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #ffffff;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.arena-game-category {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.arena-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.arena-enter-btn:hover {
  background: #00f0ff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 240, 255, 0.45);
}

/* ================== GENERAL SECTION STYLING ================== */
.kugofox-section {
  margin-bottom: 4.5rem;
}

.kugofox-section-header {
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--kugofox-border);
}

.sh-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.sh-icon {
  font-size: 1.25rem;
}

.sh-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.sh-desc {
  font-size: 0.9rem;
  color: var(--kugofox-text-muted);
  margin: 0;
}

/* ================== FOOTER (Clean & Minimal) ================== */
.kugofox-footer {
  border-top: 1px solid var(--kugofox-border);
  padding: 3rem 1rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-fox-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-brand-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.footer-games-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--kugofox-text-dim);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.f-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.f-game-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
}

.footer-copy {
  color: var(--kugofox-text-dim);
  font-size: 0.8rem;
  margin: 0;
}

/* ================== RESPONSIVE BREAKPOINTS ================== */
@media (max-width: 1100px) {
  .kugofox-hero-section {
    flex-direction: column;
    text-align: center;
  }
  .hero-left-col {
    max-width: 100%;
  }
  .hero-btns-row {
    justify-content: center;
  }
  .hero-main-title {
    font-size: 3.5rem;
  }
  .hero-subtext {
    margin: 0 auto 2rem;
  }
  .arena-card {
    flex: 0 0 320px;
    width: 320px;
    height: 190px;
  }
}

@media (max-width: 860px) {
  .kugofox-mobile-menu-btn {
    display: flex;
  }
  .kugofox-sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 900 !important;
    background: #030508 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    transform: translateX(-105%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
    box-shadow: none !important;
    padding: 1.25rem 1rem 2.5rem !important;
    overflow-y: auto !important;
  }
  .kugofox-sidebar.mobile-open {
    transform: translateX(0) !important;
    box-shadow: 16px 0 45px rgba(0, 0, 0, 0.9) !important;
  }
  .sidebar-mobile-header {
    display: flex !important;
  }
  .kugofox-body-split {
    display: block;
    width: 100%;
  }
  .kugofox-main-area {
    padding: 1.5rem 1.25rem 3rem;
  }
  .kugofox-center-nav {
    display: none;
  }
  .hero-main-title {
    font-size: 2.8rem;
  }
  .arena-card {
    flex: 0 0 280px;
    width: 280px;
    height: 170px;
  }
  .arena-game-title {
    font-size: 1.15rem;
  }
}

/* ================== PLAYER & SQUAD REGISTRATION MODAL ================== */
.reg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.reg-modal-card {
  width: 640px;
  max-width: 95vw;
  max-height: 92vh;
  overflow-y: auto;
  background: #060913;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 240, 255, 0.15);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.reg-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--kugofox-border);
}

.rm-header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.rm-fox-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.rm-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.rm-subtitle {
  font-size: 0.8rem;
  color: var(--kugofox-text-muted);
  margin: 0.2rem 0 0;
}

.rm-close-btn {
  background: transparent;
  border: 1px solid var(--kugofox-border);
  color: var(--kugofox-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rm-close-btn:hover {
  background: #ffffff;
  color: #000000;
}

.rm-section {
  margin-bottom: 1.5rem;
}

.rm-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a5f3fc;
  margin-bottom: 0.75rem;
  display: block;
}

.rm-hint {
  font-size: 0.8rem;
  color: var(--kugofox-text-dim);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.rm-game-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rm-game-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--kugofox-border);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.rm-game-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.rm-game-chip.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.rm-chip-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}

.rm-input-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rm-input-wrap {
  flex: 1;
}

.rm-text-input {
  width: 100%;
  background: rgba(2, 4, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.rm-text-input:focus {
  border-color: var(--kugofox-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.rm-select {
  cursor: pointer;
}

.btn-verify-ign {
  background: linear-gradient(135deg, #00f0ff, #0284c7);
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-verify-ign:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.5);
}

.btn-verify-ign:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.rm-verify-status-box {
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  animation: fadeInStatus 0.25s ease;
}

@keyframes fadeInStatus {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.rm-verify-status-box.loading {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #a5f3fc;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.verify-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 240, 255, 0.3);
  border-top-color: #00f0ff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.rm-verify-status-box.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.verify-success-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.verify-check {
  font-size: 1.25rem;
  line-height: 1;
}

.v-ign-title {
  font-size: 0.95rem;
  color: #ffffff;
}

.v-ign-title strong {
  color: #86efac;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.04em;
}

.v-ign-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.v-meta-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 4px;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-active {
  color: #86efac !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
}

.rm-verify-status-box.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.verify-error-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rm-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.rm-field-lbl {
  font-size: 11px;
  color: var(--kugofox-text-muted);
  margin-bottom: 5px;
  display: block;
}

.rm-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--kugofox-border);
  padding-top: 1.25rem;
}

.btn-rm-cancel {
  background: transparent;
  border: 1px solid var(--kugofox-border);
  color: var(--kugofox-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-rm-cancel:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.btn-rm-submit {
  background: #ffffff;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-rm-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* ================== COMPREHENSIVE PHONE & MOBILE OPTIMIZATIONS ================== */
@media (max-width: 768px) {
  .app-layout-root,
  .kugofox-body-split {
    display: block;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .kugofox-main-area {
    padding: 1.1rem 0.75rem 3rem;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .kugofox-hero-section {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .hero-left-col {
    max-width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .cyber-title-img-group {
    align-items: center;
  }
  .hero-subtext {
    margin: 0 auto 1.5rem;
    text-align: center;
  }
  .hero-cyber-telemetry {
    justify-content: center;
  }
  .hero-btns-row {
    justify-content: center;
  }
  .hero-right-col {
    width: 100%;
  }
  .cyber-headphone-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  /* Top Navigation Bar on Phone */
  .kugofox-topbar {
    height: 58px;
    padding: 0 0.85rem;
  }
  .kugofox-brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }
  .kugofox-brand-icon {
    width: 30px;
    height: 30px;
  }
  .kugofox-right-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .btn-find-team {
    padding: 0.4rem 0.65rem;
    font-size: 0.72rem;
  }
  .btn-sign-in {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }

  /* Main Area on Phone */
  .kugofox-main-area {
    padding: 0.75rem 0.5rem 3rem;
  }

  /* Hero Section on Phone */
  .cyberpunk-title {
    font-size: 2.2rem;
    line-height: 1.05;
  }
  .enter-the-img {
    height: clamp(26px, 7vw, 36px);
  }
  .fox-arena-img {
    height: clamp(38px, 10vw, 52px);
  }
  .hero-subtext {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
  }
  .hero-cyber-telemetry {
    gap: 0.35rem;
  }
  .telemetry-pill {
    padding: 0.25rem 0.5rem;
    font-size: 9px;
  }
  .hero-btns-row {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .cyber-btn-primary, .cyber-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
    box-sizing: border-box;
  }

  /* Interactive Headphone on Phone */
  .cyber-headphone-wrapper {
    max-width: 270px;
    margin: 1rem auto 0;
  }
  .hp-interactive-controls {
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
  }
  .hp-interactive-btn {
    padding: 0.4rem 0.65rem;
    font-size: 9px;
  }

  /* Status Strip on Phone */
  .kugofox-status-strip {
    flex-direction: column;
    gap: 0.45rem;
    text-align: center;
    padding: 0.65rem 0.75rem;
    font-size: 9.5px;
    margin: 1rem 0 2rem;
  }
  .status-dots {
    display: none;
  }

  /* Combat Zones Vertical Cards on Phone */
  .combat-zones-header,
  .battle-arenas-header {
    padding: 0 0.25rem;
    margin-bottom: 1rem;
  }
  .cz-heading,
  .ba-heading {
    font-size: 1.3rem;
  }
  .cz-header-badge {
    font-size: 0.68rem;
    padding: 0.28rem 0.65rem;
  }
  .combat-zones-list {
    gap: 1rem;
  }
  .arena-card,
  .cz-vertical-card {
    width: 100%;
    max-width: 100%;
    height: 220px;
    border-radius: 18px;
    flex: 0 0 auto;
  }
  .arena-card-overlay {
    padding: 1.15rem 1.25rem;
  }
  .arena-prize-tag {
    display: none;
  }
  .arena-game-title {
    font-size: 1.35rem;
  }
  .arena-game-category {
    font-size: 0.78rem;
  }
  .arena-enter-btn {
    padding: 0.46rem 0.9rem;
    font-size: 0.76rem;
  }

  /* Registration Modal on Phone */
  .reg-modal-overlay {
    padding: 0.5rem;
    align-items: flex-end;
  }
  .reg-modal-card {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    padding: 1.15rem 0.95rem;
    border-radius: 16px 16px 0 0;
    box-sizing: border-box;
  }
  .rm-title {
    font-size: 1.05rem;
  }
  .rm-subtitle {
    font-size: 0.75rem;
  }
  .rm-game-chips {
    gap: 0.35rem;
  }
  .rm-game-chip {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
    flex: 1 1 calc(50% - 0.4rem);
  }
  .rm-chip-logo {
    width: 18px;
    height: 18px;
  }
  .rm-input-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .rm-input-wrap {
    width: 100%;
  }
  .rm-text-input {
    font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
    padding: 0.7rem 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }
  .btn-verify-ign {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
  }
  .rm-grid-2col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .rm-modal-footer {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .btn-rm-submit, .btn-rm-cancel {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    box-sizing: border-box;
  }

  /* Quick Actions Dock & Loot Crate Mobile */
  .loot-crate-card {
    width: 96vw;
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  .crate-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 380px) {
  .kugofox-topbar {
    padding: 0 0.5rem;
  }
  .btn-find-team span:not(.badge-new-pill) {
    display: none;
  }
  .cyberpunk-title {
    font-size: 1.8rem;
  }
  .arena-card,
  .cz-vertical-card {
    width: 100%;
    max-width: 100%;
    height: 210px;
  }
}

