/* ==========================================================
   Wolf Studios — VTuber / Anime Theme Stylesheet
   ========================================================== */

/* ==================== CSS VARIABLES ==================== */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: rgba(18, 18, 42, 0.85);
    --bg-glass: rgba(18, 18, 42, 0.6);
    --bg-input: rgba(25, 25, 60, 0.8);
    --border-color: rgba(139, 92, 246, 0.2);
    --border-glow: rgba(139, 92, 246, 0.4);
    --text-primary: #e8e0f0;
    --text-secondary: #a8a0c0;
    --text-muted: #6b6490;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-blue: #6366f1;
    --accent-green: #10b981;
    --accent-gold: #f59e0b;
    --accent-red: #ef4444;
    --neon-purple: #a855f7;
    --neon-pink: #f472b6;
    --neon-blue: #818cf8;
    --gradient-main: linear-gradient(135deg, #8b5cf6, #ec4899, #06b6d4);
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 30%, #0a1628 60%, #0a0a1a 100%);
    --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    --glass-bg: rgba(18, 18, 42, 0.5);
    --glass-border: rgba(139, 92, 246, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Zen Dots', cursive;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) var(--bg-primary);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-purple); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-purple); }

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: var(--accent-purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--neon-pink); }

/* ==================== GLASS MORPHISM ==================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

/* ==================== ANIMATED BACKGROUND ==================== */
.anime-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.sakura-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sakura {
    position: absolute;
    top: -10%;
    opacity: 0;
    animation: sakuraFall linear infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes sakuraFall {
    0% { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.5; }
    100% { transform: translateY(110vh) rotate(720deg) translateX(100px); opacity: 0; }
}

/* ==================== LOADING SCREEN ==================== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    background-image: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.loader-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 0.8; transform: translateY(-40px) scale(1); }
}

.loader-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    z-index: 1;
}

.loader-logo-icon {
    font-size: 3rem;
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.loader-logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-tagline {
    color: var(--text-muted);
    margin-bottom: 28px;
    z-index: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.loader-bar-container {
    width: 260px;
    height: 4px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 12px;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-main);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.loader-percent {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--accent-purple);
    z-index: 1;
    margin-bottom: 6px;
}

.loader-status {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    z-index: 1;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 70px;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.brand-icon {
    font-size: 1.5rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.brand-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary) !important;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(139, 92, 246, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.4rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.btn-outline {
    border: 1px solid var(--accent-purple) !important;
    color: var(--accent-purple) !important;
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.15) !important;
}

.btn-glow {
    background: var(--gradient-main) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

/* ==================== HERO — VTUBER STYLE ==================== */
.hero {
    padding-top: 70px;
}

.vtuber-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 80px;
    position: relative;
    overflow: hidden;
    gap: 60px;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-badge, .anime-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-purple);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(139, 92, 246, 0.15); }
}

.hero-title {
    margin-bottom: 20px;
}

.title-sub {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-main {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glitch effect */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch-text::before {
    animation: glitch1 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch-text::after {
    animation: glitch2 3s infinite;
    clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 92%, 100% { transform: translate(0); }
    93% { transform: translate(-3px, 1px); }
    95% { transform: translate(2px, -1px); }
    97% { transform: translate(-1px, 2px); }
}

@keyframes glitch2 {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(2px, -1px); }
    94% { transform: translate(-3px, 1px); }
    96% { transform: translate(1px, -2px); }
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: #fff !important;
}

.btn-hero-primary {
    background: var(--gradient-main);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.btn-hero-primary:hover {
    box-shadow: 0 0 45px rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    color: var(--accent-purple) !important;
}

.btn-hero-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.neon-btn {
    position: relative;
    overflow: hidden;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255,255,255,0.1), transparent 30%);
    animation: neonSpin 3s linear infinite;
}

@keyframes neonSpin {
    100% { transform: rotate(360deg); }
}

.btn-icon {
    font-size: 1.2rem;
}

.stats-bar {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Hero VTuber Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.vtuber-avatar-frame {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    background: conic-gradient(from 0deg, var(--accent-purple), var(--accent-pink), var(--accent-cyan), var(--accent-purple)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ringRotate 6s linear infinite;
}

@keyframes ringRotate {
    100% { transform: rotate(360deg); }
}

.avatar-placeholder {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.avatar-emoji {
    font-size: 6rem;
    animation: avatarBounce 3s ease-in-out infinite;
}

@keyframes avatarBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.avatar-name-tag {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    padding: 6px 24px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 100px 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-title span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== ABOUT STREAMER ==================== */
.about-streamer {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    display: flex;
    gap: 32px;
    padding: 40px;
    align-items: flex-start;
}

.about-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-card);
    border: 3px solid var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.about-avatar-emoji {
    font-size: 3.5rem;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--accent-red);
    color: #fff;
    animation: liveFlash 1.5s ease-in-out infinite;
}

.status-indicator.live {
    background: var(--accent-red);
}

@keyframes liveFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.about-info { flex: 1; }

.about-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-purple);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.about-role {
    color: var(--accent-purple);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.about-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tag-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.3); }
.tag-pink { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); border: 1px solid rgba(236, 72, 153, 0.3); }
.tag-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.tag-green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.tag-gold { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); border: 1px solid rgba(245, 158, 11, 0.3); }

.about-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary) !important;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.social-link.twitch:hover { color: #9146ff !important; border-color: #9146ff; box-shadow: 0 0 15px rgba(145, 70, 255, 0.3); }
.social-link.youtube:hover { color: #ff0000 !important; border-color: #ff0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.3); }
.social-link.discord:hover { color: #5865f2 !important; border-color: #5865f2; box-shadow: 0 0 15px rgba(88, 101, 242, 0.3); }
.social-link.twitter:hover { color: #1da1f2 !important; border-color: #1da1f2; box-shadow: 0 0 15px rgba(29, 161, 242, 0.3); }

/* ==================== FEATURES GRID ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.feature-icon.cyan { background: rgba(6, 182, 212, 0.1); box-shadow: 0 0 20px rgba(6, 182, 212, 0.15); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.1); box-shadow: 0 0 20px rgba(139, 92, 246, 0.15); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.1); box-shadow: 0 0 20px rgba(236, 72, 153, 0.15); }
.feature-icon.green { background: rgba(16, 185, 129, 0.1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.15); }

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== TEAM GRID ==================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    justify-items: center;
}

.team-card {
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--gradient-card);
    border: 2px solid var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
}

.team-name {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-role {
    color: var(--accent-purple);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==================== SERVICE STATUS GRID ==================== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    transition: var(--transition);
    position: relative;
}

.status-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-glow);
}

.status-indicator-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator-dot.status-online {
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator-dot.status-offline {
    background: #ff4466;
    box-shadow: 0 0 8px rgba(255, 68, 102, 0.4);
}

.status-indicator-dot.status-maintenance {
    background: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    animation: statusPulse 3s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-info {
    flex: 1;
    min-width: 0;
}

.status-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.status-game {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.status-address {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: var(--accent-cyan);
    margin-top: 2px;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.status-badge.status-online {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
}

.status-badge.status-offline {
    background: rgba(255, 68, 102, 0.15);
    color: #ff4466;
}

.status-badge.status-maintenance {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.status-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ==================== NEWS / ANNOUNCEMENTS ==================== */
.announce-card {
    padding: 24px;
    margin-bottom: 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.announce-card:hover {
    border-color: var(--border-glow);
}

.announce-card.pinned {
    border-left: 3px solid var(--accent-purple);
}

.announce-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.announce-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.announce-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 40px 32px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 12px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-brand .brand-icon {
    -webkit-text-fill-color: initial;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.footer-tagline {
    color: var(--text-muted);
    font-style: italic;
}

/* ==================== MODALS ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.1);
}

.modal h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.modal h2 span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal .subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-hint {
    font-size: 0.78rem;
    margin-top: 4px;
    color: var(--text-muted);
}

.form-hint.success { color: var(--accent-green); }
.form-hint.error { color: var(--accent-red); }

.btn-submit {
    width: 100%;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    background: var(--gradient-main);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-switch a {
    color: var(--accent-purple);
    font-weight: 600;
}

.modal-switch a:hover { color: var(--neon-pink); }

/* Flash messages */
.flash {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.88rem;
    font-weight: 500;
}

.flash-success { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.flash-error { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }

/* ==================== DASHBOARD LAYOUT ==================== */
.dashboard-container {
    display: flex;
    padding-top: 70px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--glass-border);
    padding: 24px 16px;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-profile {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
    border: 2px solid var(--accent-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.sidebar-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.sidebar-level {
    font-size: 0.8rem;
    color: var(--accent-purple);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: var(--transition);
}

.sidebar-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-primary) !important;
}

.sidebar-link.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple) !important;
    border-left: 3px solid var(--accent-purple);
}

.sidebar-link .icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 32px;
    max-width: 900px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ==================== DASH CARDS ==================== */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.dash-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.dash-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.dash-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 12px;
}

.dash-card-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.dash-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* XP Bar */
.xp-bar-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.xp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.xp-header h3 { font-size: 1rem; }

.xp-header span {
    color: var(--accent-purple);
    font-size: 0.88rem;
    font-weight: 600;
}

.xp-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.xp-bar-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

/* Activity */
.activity-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
}

.activity-section h3 { font-size: 1rem; margin-bottom: 16px; }

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.activity-item:last-child { border-bottom: none; }

.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.activity-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==================== PROFILE ==================== */
.profile-pic-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--accent-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    overflow: hidden;
}

.profile-pic-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ==================== SETTINGS ==================== */
.settings-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}

.settings-card h3 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.color-picker-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.color-swatch:hover { transform: scale(1.15); }

.color-swatch.selected {
    border-color: #fff;
    box-shadow: 0 0 12px currentColor;
    transform: scale(1.1);
}

/* ==================== PLAYER CARDS / BIOS ==================== */
.clan-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.clan-tab {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.clan-tab:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.clan-tab.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
}

.player-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.player-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.player-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.player-card-header {
    position: relative;
    padding: 24px 24px 0;
    text-align: center;
}

.player-card-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border: 2px solid var(--accent-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
    overflow: hidden;
}

.player-card-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-card-initial {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-purple);
}

.player-card-clan-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 3px 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-card-body {
    padding: 16px 24px 24px;
    text-align: center;
}

.player-card-name {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 4px;
}

.player-card-role {
    color: var(--accent-purple);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.player-card-rank, .player-card-game {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.player-card-bio {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 10px;
}

.player-card-social {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-purple) !important;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.player-card-social:hover { background: rgba(139, 92, 246, 0.2); }

/* ==================== SHOUTBOX ==================== */
.shoutbox {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.shoutbox-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
}

.shout-msg {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.shout-msg:last-child { border-bottom: none; }

.shout-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.shout-content { flex: 1; }

.shout-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.shout-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* ==========================================================
   STORE STYLES
   ========================================================== */

/* Store Hero */
.store-hero {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.store-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.store-hero .hero-title { margin-bottom: 16px; }
.store-hero .hero-desc { max-width: 600px; margin: 0 auto; color: var(--text-secondary); font-size: 1.1rem; }

/* Store Section */
.store-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    position: relative;
    z-index: 1;
}

/* Category Tabs */
.store-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.store-tab {
    padding: 12px 24px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-tab:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
}

.store-tab.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
    border-color: var(--accent-purple);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.tab-icon { font-size: 1.2rem; }

/* Product Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.store-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
}

.store-empty .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.store-empty h3 { font-family: var(--font-display); margin-bottom: 8px; }
.store-empty p { color: var(--text-secondary); }

/* Product Card */
.store-product-card {
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.store-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.store-product-card.hidden-product {
    display: none;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    font-size: 4rem;
    opacity: 0.5;
}

.product-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category-badge.minecraft {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-category-badge.fivem {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-blue);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.product-category-badge.merch {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-stock {
    font-size: 0.8rem;
    font-weight: 600;
}

.product-stock.out { color: var(--accent-red); }
.product-stock.low { color: var(--accent-gold); }

.btn-add-cart {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-muted) !important;
}

/* Cart Floating Button */
.cart-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.6);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    border-radius: 0;
    border-left: 1px solid var(--glass-border);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover { color: var(--accent-pink); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

.cart-empty span { font-size: 2rem; display: block; margin-bottom: 12px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.cart-item-info { flex: 1; }

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--accent-purple);
    font-size: 0.85rem;
    font-weight: 500;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty button:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.15);
}

.cart-item-qty span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: var(--transition);
}

.cart-item-remove:hover { opacity: 1; }

/* Cart Discount */
.cart-discount {
    padding: 12px 24px;
    border-top: 1px solid var(--glass-border);
}

.cart-discount label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.discount-input-row {
    display: flex;
    gap: 8px;
}

.discount-input-row input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.discount-input-row input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.btn-apply-discount {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-apply-discount:hover { opacity: 0.9; }

.discount-message {
    font-size: 0.82rem;
    margin-top: 6px;
    min-height: 18px;
}

.discount-message.success { color: var(--accent-green); }
.discount-message.error { color: var(--accent-red); }

/* Cart Summary */
.cart-summary {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--glass-border);
}

.cart-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.93rem;
    color: var(--text-secondary);
}

.cart-line.cart-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
    margin-top: 6px;
}

.discount-line {
    color: var(--accent-green);
}

.btn-checkout {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    font-size: 1rem;
    cursor: pointer;
}

/* ==========================================================
   CHECKOUT STYLES
   ========================================================== */

.checkout-section {
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.checkout-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

.checkout-summary,
.checkout-payment {
    padding: 28px;
}

.checkout-summary h2,
.checkout-payment h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-items {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    font-size: 0.9rem;
}

.checkout-item-name { flex: 1; color: var(--text-primary); }
.checkout-item-qty { color: var(--text-muted); margin: 0 12px; }
.checkout-item-price { color: var(--accent-purple); font-weight: 600; }

.checkout-discount-row {
    margin-bottom: 20px;
}

.checkout-discount-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.checkout-totals {
    border-top: 1px solid var(--glass-border);
    padding-top: 12px;
}

.stripe-notice {
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.stripe-notice-icon { font-size: 2rem; margin-bottom: 10px; }
.stripe-notice p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 6px; }
.stripe-note { font-size: 0.8rem !important; color: var(--text-muted) !important; }

.btn-checkout-pay {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    cursor: pointer;
}

#checkout-result {
    margin-top: 16px;
}

/* Admin Store form styling */
#product-form select,
#discount-form select {
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

#product-form input[type="file"],
#discount-form input[type="file"] {
    padding: 8px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
    .store-tabs {
        gap: 8px;
    }
    .store-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    #product-form,
    #discount-form {
        grid-template-columns: 1fr;
    }
}

.shout-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.shout-input-row {
    display: flex;
    border-top: 1px solid var(--glass-border);
}

.shout-input-row input {
    flex: 1;
    padding: 14px 18px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
}

.shout-input-row button {
    padding: 14px 24px;
    background: var(--accent-purple);
    color: #fff;
    border: none;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.shout-input-row button:hover { background: var(--neon-purple); }

/* ==================== ADMIN PANEL ==================== */
.admin-container {
    padding-top: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    position: relative;
    z-index: 2;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.87rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none !important;
}

.admin-tab:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.admin-tab.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
}

.admin-table-wrap {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--glass-border);
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    background: rgba(139, 92, 246, 0.05);
}

.admin-table tr:hover { background: rgba(139, 92, 246, 0.05); }

.action-btn {
    padding: 6px 14px;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 4px;
}

.action-btn.ban { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.action-btn.ban:hover { background: rgba(239, 68, 68, 0.3); }
.action-btn.promote { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.action-btn.promote:hover { background: rgba(139, 92, 246, 0.3); }
.action-btn.delete { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.action-btn.delete:hover { background: rgba(239, 68, 68, 0.3); }
.action-btn.edit { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.action-btn.edit:hover { background: rgba(6, 182, 212, 0.3); }

.badge-admin {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-member {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-banned {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.admin-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}

.admin-form-card h3 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

/* ==================== HEX GRID (legacy compat) ==================== */
.hex-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open { display: flex; }

    .vtuber-hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
        gap: 40px;
    }

    .title-main { font-size: 2.2rem; }

    .hero-buttons { justify-content: center; }
    .stats-bar { justify-content: center; }

    .vtuber-avatar-frame { width: 200px; height: 200px; }
    .avatar-placeholder { width: 170px; height: 170px; }
    .avatar-emoji { font-size: 4rem; }

    .about-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .about-socials { justify-content: center; }
    .about-tags { justify-content: center; }
    .about-name { justify-content: center; }

    .section { padding: 60px 20px; }

    .dashboard-container { flex-direction: column; }

    .sidebar {
        width: 100%;
        position: relative;
        top: auto;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .sidebar-link { padding: 8px 12px; font-size: 0.82rem; }
    .main-content { padding: 20px; }

    .features-grid,
    .team-grid,
    .status-grid {
        grid-template-columns: 1fr;
    }

    .modal { padding: 28px; }
    .admin-container { padding: 70px 16px 32px; }
}

@media (max-width: 480px) {
    .title-main { font-size: 1.8rem; }
    .title-sub { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .hero-desc { font-size: 0.92rem; }
}

/* ==================== TICKET SYSTEM ==================== */
.ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.ticket-message {
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--text-secondary);
}

.ticket-message.staff-message {
    border-left-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.03);
}

.ticket-message.user-message {
    border-left-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.03);
}

.ticket-msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}

.ticket-msg-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.staff-message .ticket-msg-author {
    color: var(--accent-cyan);
}

.user-message .ticket-msg-author {
    color: var(--accent-purple);
}

.ticket-msg-time {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ticket-msg-body {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.ticket-detail {
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.ticket-detail small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ticket-detail strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Ticket status badges inline */
.badge-open { color: #00ff88; }
.badge-in_progress { color: #ffd700; }
.badge-escalated { color: #ff6b35; }
.badge-closed { color: #ff4466; }

/* Admin ticket controls */
.ticket-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.ticket-controls .form-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
}

.ticket-controls .form-group label {
    font-size: 0.78rem;
}

.form-hint.success { color: #00ff88; }
.form-hint.error { color: #ff4466; }

/* ==================== LOGO IMAGE CLASSES ==================== */
/* Brand icon in navbar & footer */
.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.4));
}

/* Loading screen logo */
.loader-logo-icon.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4)); }
    to { filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6)); }
}

/* Small logo in hero CTA button */
.logo-img-sm {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 50%;
}

/* Avatar-sized logo for hero, about, and team sections */
.logo-img-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}

/* ==================== CLAN FEATURED ROW ==================== */
.clan-featured-row {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

@media (max-width: 768px) {
    .clan-featured-row {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== CODED GAMING CLAN — FEATURED ==================== */
.cg-featured-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 40px;
    flex: 1;
    max-width: 550px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
    transition: var(--transition);
}

.cg-featured-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
    transform: translateY(-4px);
}

.cg-featured-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    border: 3px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    overflow: hidden;
}

.cg-featured-avatar .logo-img-avatar {
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.5));
}

.cg-featured-info {
    text-align: left;
}

.cg-featured-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cg-featured-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.cg-featured-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-join-cg {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(16, 185, 129, 0.15);
    color: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-join-cg:hover {
    background: rgba(16, 185, 129, 0.3);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cg-featured-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    .cg-featured-info {
        text-align: center;
    }
    .nwb-featured-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    .nwb-featured-info {
        text-align: center;
    }
}

/* ==================== NEKO WOLF BOY CLAN — FEATURED ==================== */
.nwb-featured-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 40px;
    flex: 1;
    max-width: 550px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(99, 102, 241, 0.05));
    transition: var(--transition);
}

.nwb-featured-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.1), 0 8px 32px rgba(99, 102, 241, 0.1);
    transform: translateY(-4px);
}

.nwb-featured-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    border: 3px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2), 0 0 20px rgba(99, 102, 241, 0.15);
    overflow: hidden;
}

.nwb-featured-avatar .logo-img-avatar {
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.4));
}

.nwb-featured-info {
    text-align: left;
}

.nwb-featured-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.nwb-featured-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 10px;
}

.nwb-featured-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-join-nwb {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(99, 102, 241, 0.15));
    color: #ffffff;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-join-nwb:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(99, 102, 241, 0.3));
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25), 0 0 12px rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

/* Cart empty state logo */
.logo-img-cart {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    opacity: 0.6;
    filter: grayscale(0.3);
}

/* ==================== ROLE BADGES ==================== */
.badge-staff {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-developer {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(139, 92, 246, 0.18);
    color: var(--neon-purple);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-owner {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(245, 158, 11, 0.18);
    color: var(--accent-gold);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}

/* ==================== NOTIFICATION BADGE ==================== */
.notif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--accent-red);
    color: #fff;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 6px;
    animation: notifPulse 2s ease-in-out infinite;
}

@keyframes notifPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* ==================== SIDEBAR DIVIDER & SECTION LABELS ==================== */
.sidebar-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 12px 16px;
}

.sidebar-section-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 24px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ==================== SEARCH RESULT ITEMS ==================== */
.search-result-item {
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--glass-bg);
}

.search-result-item:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-1px);
}

.search-result-item.selected {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.12);
}

.search-result-item .result-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.search-result-item .result-email {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ==================== ROLE DROPDOWN (ADMIN) ==================== */
.role-select {
    padding: 3px 8px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition);
}

.role-select:hover, .role-select:focus {
    border-color: var(--accent-purple);
    outline: none;
}

/* ==================== GUEST TICKET BUTTON ==================== */
.guest-ticket-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-ticket-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 28px rgba(139, 92, 246, 0.6);
}

.guest-ticket-btn .tooltip {
    position: absolute;
    right: 66px;
    white-space: nowrap;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.guest-ticket-btn:hover .tooltip {
    opacity: 1;
}

/* ==================== GUEST TICKET MODAL ==================== */
.guest-ticket-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 950;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.guest-ticket-overlay.active {
    display: flex;
}

.guest-ticket-modal {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.guest-ticket-modal h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.guest-ticket-modal h2 span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guest-ticket-modal .subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ==================== DASHBOARD CLEAN-UP ==================== */
.info-grid {
    display: grid;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.profile-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.upload-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.upload-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ticket-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .ticket-detail-grid {
        grid-template-columns: 1fr;
    }
}

.ticket-detail-item {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.ticket-detail-item .info-label {
    white-space: nowrap;
}

.staff-controls-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
}

.staff-controls-bar select,
.inline-select {
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
}

.reply-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.empty-state {
    text-align: center;
    padding: 40px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.empty-state .btn-submit {
    display: inline-block;
    margin-top: 16px;
    text-decoration: none;
}

.reset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .reset-grid {
        grid-template-columns: 1fr;
    }
}

.reset-section h4 {
    margin-bottom: 12px;
}

.reset-status {
    margin-top: 8px;
    font-size: 0.85rem;
}

.full-width-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.full-width-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    resize: vertical;
}

.closed-notice {
    text-align: center;
    color: var(--text-muted);
}

.back-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent-cyan);
}