/* NILOY Design System & Styles */

/* ===== INTRO / SPLASH SCREEN ===== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: #030308;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.intro-text-layer {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}

.intro-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    animation: intro-logo-pulse 1.5s infinite alternate;
}

.intro-logo-main {
    color: #ffffff;
}

.intro-logo-accent {
    color: #00f2fe;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.6), 0 0 60px rgba(0, 242, 254, 0.2);
}

.intro-tagline {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    animation: intro-tagline-flash 0.12s 6 alternate 0.5s;
}

.intro-progress-bar {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.intro-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f2fe, #ff007f);
    border-radius: 2px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.muzzle-flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: radial-gradient(circle at 55% 45%, rgba(255, 170, 0, 0.3), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.04s ease-out;
}

@keyframes intro-logo-pulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.15); }
}

@keyframes intro-tagline-flash {
    0% { color: rgba(255, 255, 255, 0.4); }
    100% { color: rgba(0, 242, 254, 0.9); }
}

/* ===== MAIN SITE REVEAL ===== */
.main-site-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.main-site-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .intro-logo {
        font-size: 2.5rem;
    }
    .intro-progress-bar {
        width: 160px;
    }
}

:root {
    --bg-primary: #030308;
    --bg-darker: #010103;
    
    /* Liquid Glass Colors */
    --glass-bg: rgba(10, 11, 22, 0.35);
    --glass-bg-hover: rgba(20, 22, 44, 0.5);
    --glass-bg-sm: rgba(10, 11, 22, 0.55);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-glow: rgba(0, 242, 254, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    
    /* Accent Palette */
    --neon-cyan: #00f2fe;
    --neon-magenta: #ff007f;
    --neon-violet: #8a2be2;
    --neon-green: #39ff14;
    
    /* Accent Glows */
    --cyan-glow: 0 0 25px rgba(0, 242, 254, 0.4);
    --magenta-glow: 0 0 25px rgba(255, 0, 127, 0.4);
    --violet-glow: 0 0 25px rgba(138, 43, 226, 0.4);
    --green-glow: 0 0 25px rgba(57, 255, 20, 0.4);
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout */
    --header-height: 85px;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor to enable custom liquid cursor */
}

/* Fallback for touch devices */
@media (hover: none) {
    * {
        cursor: auto !important;
    }
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 3D Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Background Cyber Grid Grid & Ambient Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(1, 1, 3, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outer {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.08s ease-out, border-color 0.3s, background-color 0.3s, width 0.2s, height 0.2s;
    backdrop-filter: blur(1.5px);
}

.cursor-inner {
    background: var(--neon-cyan);
    box-shadow: var(--cyan-glow);
}

/* Hover States for Custom Cursor */
.cursor-hover .cursor-outer {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--neon-cyan);
    transform: translate(-50%, -50%) scale(1.1);
}

.cursor-hover .cursor-inner {
    background: var(--neon-magenta);
    box-shadow: var(--magenta-glow);
}

@media (hover: none) {
    .custom-cursor {
        display: none !important;
    }
}

/* App Container Layout */
.app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Reusable Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--glass-bg-hover);
}

.glass-panel-sm {
    background: var(--glass-bg-sm);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
}

/* Glass Header & Nav */
.glass-header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 8, 16, 0.4);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 2.5rem;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
    z-index: 100;
}

/* Logo */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.accent-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.logo-glow {
    position: absolute;
    width: 60px;
    height: 25px;
    background: var(--neon-cyan);
    filter: blur(25px);
    opacity: 0.5;
    pointer-events: none;
}

/* Nav Pill Menu */
.nav-links {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    padding: 0.25rem;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.nav-item i {
    width: 18px;
    height: 18px;
    stroke-width: 2.2px;
    transition: transform 0.3s;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item:hover i {
    transform: scale(1.1);
}

.nav-item.active {
    color: #030308;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

/* Connection Status & Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Header Socials */
.header-socials {
    display: flex;
    gap: 0.5rem;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    color: #ffffff;
    border-color: var(--neon-cyan);
    background: rgba(0, 242, 254, 0.08);
    box-shadow: var(--cyan-glow);
}

.social-icon-btn i {
    width: 16px;
    height: 16px;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-color: rgba(255, 255, 255, 0.12);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 0.9rem;
    font-weight: 600;
}

.rank {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--neon-cyan);
}

/* Tabs Panel Switching */
.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-liquid {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-violet), var(--neon-cyan));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 8s infinite linear;
}

.font-mono {
    font-family: var(--font-mono);
}

/* Color classes */
.text-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 242, 254, 0.3); }
.text-magenta { color: var(--neon-magenta); text-shadow: 0 0 10px rgba(255, 0, 127, 0.3); }
.text-violet { color: var(--neon-violet); text-shadow: 0 0 10px rgba(138, 43, 226, 0.3); }
.text-green { color: var(--neon-green); text-shadow: 0 0 10px rgba(57, 255, 20, 0.3); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn i {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

.btn-primary {
    background: #ffffff;
    color: #030308;
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
    opacity: 0;
}

.btn-glow:hover::after {
    opacity: 1;
    left: 120%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-icon-sm {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
}

.btn-danger-sm {
    background: rgba(255, 0, 127, 0.15);
    border-color: rgba(255, 0, 127, 0.3);
    color: var(--neon-magenta);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-danger-sm:hover {
    background: rgba(255, 0, 127, 0.3);
    border-color: var(--neon-magenta);
    box-shadow: var(--magenta-glow);
}

/* TAB 1: HERO LAYOUT */
.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
    min-height: calc(100vh - var(--header-height) - 100px);
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
    border-color: rgba(0, 242, 254, 0.2);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.badge i {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 0.5rem;
}

/* Typewriter styles */
.typewriter-container {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    height: 24px;
}

.text-glow {
    text-shadow: 0 0 10px currentColor;
}

.cursor-blink {
    font-weight: bold;
    animation: cursor-flash 0.9s infinite;
}

@keyframes cursor-flash {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Side Stats Panel */
.side-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(10, 11, 22, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.panel-header i {
    width: 16px;
    height: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 1rem;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
}

.event-ticker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-color: rgba(57, 255, 20, 0.15);
    background: rgba(57, 255, 20, 0.02);
    padding: 0.75rem 1rem;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: var(--green-glow);
}

.ticker-text {
    font-size: 0.75rem;
    font-weight: 700;
}

/* TAB 2: ABOUT LAYOUT */
.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.bio-card, .skills-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    width: 22px;
    height: 22px;
}

.bio-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.bio-quote {
    border-left: 3px solid var(--neon-magenta);
    background: rgba(255, 0, 127, 0.03);
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 1.75rem;
    font-style: italic;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
    font-size: 0.92rem;
}

.detail-lbl {
    color: var(--text-secondary);
    font-weight: 600;
}

.detail-val {
    font-weight: 700;
    text-decoration: none;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Progress bar sizing override for skills */
.xp-progress-container, .skill-item {
    width: 100%;
}

.xp-bar-bg {
    height: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1px;
    overflow: hidden;
}

.xp-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--bar-color, linear-gradient(90deg, var(--neon-violet), var(--neon-magenta)));
    position: relative;
    box-shadow: 0 0 10px var(--bar-color);
}

.xp-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: xp-bar-sweep 2.2s infinite linear;
}

/* TAB 3: CONSOLE VIEW & UIDS */
.uid-grid-section {
    margin-bottom: 3rem;
}

.grid-title {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.grid-title i {
    width: 18px;
    height: 18px;
}

.uids-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.uid-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-color: rgba(255, 255, 255, 0.05);
}

.uid-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.uid-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.uid-game-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 5px currentColor);
}

.game-name {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.uid-value-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 0.65rem 1rem;
}

.uid-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.btn-copy-uid {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 0.2rem;
}

.btn-copy-uid:hover {
    color: #ffffff;
    transform: scale(1.2);
}

.btn-copy-uid i {
    width: 16px;
    height: 16px;
}

/* Dashboard Columns */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.dashboard-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flex-rows {
    justify-content: space-between;
}

.matchmaking-card {
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.matchmaking-status-box {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 1.5rem;
    position: relative;
}

/* Ping Chart */
.ping-chart-container {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.ping-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

#ping-canvas {
    width: 100%;
    height: 70px;
}

/* Controls */
.matchmaking-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.selector-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.selector-group label {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.glass-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
}

.glass-select:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.glass-select option {
    background-color: var(--bg-darker);
    color: #ffffff;
}

.btn-liquid-glow {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    color: #ffffff;
    border: none;
    font-weight: 800;
}

.btn-liquid-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4), 0 0 25px rgba(255, 0, 127, 0.4);
}

/* Queue Status Overlay */
.queue-status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 16, 0.9);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
    transition: opacity 0.3s;
}

.queue-status-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Liquid Blob Loader */
.liquid-loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.liquid-blob-loader {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    animation: blob-morph 4s infinite alternate ease-in-out, rotate 8s infinite linear;
    box-shadow: var(--cyan-glow);
}

.status-msg {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.timer {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: var(--cyan-glow);
}

/* XP Card and Stats */
.profile-stats-card {
    flex-grow: 1;
}

.stats-overview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.stats-intro {
    font-weight: bold;
    font-size: 0.95rem;
}

.stats-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mini Cards */
.mini-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    gap: 0.5rem;
}

.mini-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 0.25rem;
}

.mini-card h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.badge-number {
    background: var(--neon-cyan);
    color: #030308;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    box-shadow: var(--cyan-glow);
}

.status-lbl {
    font-size: 0.75rem;
    font-weight: bold;
}

.clickable {
    cursor: none;
}
.clickable:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* TAB 4: TOKEN SHOP */
.shop-overview-box {
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    background: rgba(0, 242, 254, 0.02);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.shop-overview-box i {
    width: 16px;
    height: 16px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.shop-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 360px;
}

.shop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.shop-visual {
    height: 130px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.shop-visual::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    opacity: 0.25;
}

.shop-icon {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 10px currentColor);
    transition: transform 0.4s ease;
}

.shop-card:hover .shop-icon {
    transform: scale(1.15) rotate(5deg);
}

.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
}

.shop-card:hover .shine {
    animation: shine-sweep 1s ease;
}

.shop-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.2rem;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.shop-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.shop-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--glow-color) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.shop-card:hover .card-glow {
    opacity: 0.2;
}

/* TAB 5: CONTACT VIEW */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.contact-info-card, .contact-form-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-items-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 5px currentColor);
}

.info-icon i {
    width: 18px;
    height: 18px;
}

.info-label {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.15rem;
}

.info-val {
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.social-links-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.social-links-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-pill:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: var(--cyan-glow);
}

.social-pill i {
    width: 14px;
    height: 14px;
}

/* Form Styling */
.terminal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.glass-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
}

.glass-input:focus {
    border-color: var(--neon-magenta);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

.glass-textarea {
    resize: none;
}

/* Notification Drawer */
.notification-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
    max-width: 320px;
}

.toast {
    background: rgba(12, 12, 26, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateX(100%);
    animation: toast-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.toast-body {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: bold;
}

.toast-msg {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Footer styling */
.glass-footer {
    margin-top: auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #ffffff;
}

.spacer {
    color: rgba(255, 255, 255, 0.15);
}

/* Animations */
@keyframes status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(57, 255, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
    }
}

@keyframes blob-morph {
    0% {
        border-radius: 42% 56% 62% 48% / 45% 45% 55% 55%;
    }
    50% {
        border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
    }
    100% {
        border-radius: 42% 56% 62% 48% / 45% 45% 55% 55%;
    }
}

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

@keyframes xp-bar-sweep {
    from { left: -100%; }
    to { left: 100%; }
}

@keyframes shine-sweep {
    from { left: -100%; }
    to { left: 150%; }
}

@keyframes toast-slide-in {
    to { transform: translateX(0); }
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }
    .side-panel {
        max-width: 500px;
    }
    .about-layout {
        grid-template-columns: 1fr;
    }
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 0 1rem;
    }
    
    .glass-header {
        flex-direction: column;
        height: auto;
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .nav-item span {
        display: none; /* Hide nav labels on mobile, show icons */
    }
    
    .user-profile {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .mini-widgets {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .glass-footer {
        flex-direction: column;
        height: auto;
        padding: 1.5rem 0;
        gap: 0.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIME KILL OVERLAY ===== */
.anime-kill-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anime-kill-overlay.hidden-kill {
    opacity: 0;
    visibility: hidden;
}

.anime-kill-overlay.show-kill {
    opacity: 1;
    visibility: visible;
}

/* Scope crosshair */
.kill-scope {
    position: absolute;
    width: 200px;
    height: 200px;
    animation: scope-zoom 0.3s ease-out forwards;
    opacity: 0;
}

.scope-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.5));
    animation: scope-rotate 0.5s linear;
}

/* Anime slash lines */
.kill-slash-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slash-line {
    position: absolute;
    width: 150%;
    height: 3px;
    left: -25%;
    top: 50%;
    opacity: 0;
}

.slash-1 {
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.9), rgba(255, 150, 0, 0.8), transparent);
    transform: rotate(25deg);
    animation: slash-cut 0.25s ease-out 0.15s forwards;
}

.slash-2 {
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.9), rgba(138, 43, 226, 0.8), transparent);
    transform: rotate(-15deg);
    animation: slash-cut 0.25s ease-out 0.25s forwards;
}

/* Kill text */
.kill-text-box {
    position: absolute;
    top: 20%;
    right: 8%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    transform: translateX(30px);
    animation: kill-text-slide 0.3s ease-out 0.3s forwards;
}

.kill-label {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ff0000;
    letter-spacing: 6px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.3);
}

.kill-victim {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

/* Kill screen flash */
.kill-flash {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.15), transparent 70%);
    opacity: 0;
    animation: kill-flash-pulse 0.4s ease-out 0.1s forwards;
}

/* Edge vignette during kill */
.anime-kill-overlay.show-kill::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 80px rgba(255, 0, 0, 0.2);
    border-radius: 0;
    animation: vignette-pulse 0.6s ease-out;
}

@keyframes scope-zoom {
    0% { transform: scale(3); opacity: 0; }
    60% { transform: scale(0.95); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes scope-rotate {
    0% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

@keyframes slash-cut {
    0% { opacity: 0; transform: rotate(inherit) scaleX(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(inherit) scaleX(1); }
}

@keyframes kill-text-slide {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes kill-flash-pulse {
    0% { opacity: 0.5; }
    100% { opacity: 0; }
}

@keyframes vignette-pulse {
    0% { box-shadow: inset 0 0 120px rgba(255, 0, 0, 0.4); }
    100% { box-shadow: inset 0 0 60px rgba(255, 0, 0, 0.05); }
}

/* ===== FOOTER SOCIAL BUTTONS ===== */
.footer-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    color: #ffffff;
    border-color: var(--neon-cyan);
    background: rgba(0, 242, 254, 0.06);
    box-shadow: var(--cyan-glow);
    transform: translateY(-2px);
}

.footer-social-btn svg {
    width: 16px;
    height: 16px;
}
