/* ===== ELITE GAMING PROFILE - ULTRA ADVANCED AESTHETICS ===== */

/* Import Advanced Gaming Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* Advanced CSS Variables System */
:root {
    /* Elite Gaming Colors */
    --elite-primary: #00ff88;
    --elite-secondary: #8b5cf6;
    --elite-accent: #ff6b35;
    --elite-gold: #ffd700;
    --elite-cyan: #00ffff;
    --elite-pink: #ff1493;
    
    /* Elite Backgrounds */
    --elite-dark: #0a0a0f;
    --elite-darker: #05050a;
    --elite-surface: #141421;
    --elite-card: #1e1e2e;
    --elite-glass: rgba(255, 255, 255, 0.08);
    
    /* Elite Effects */
    --elite-glow: 0 0 30px var(--elite-primary);
    --elite-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    --elite-cyber-glow: 0 0 20px rgba(0, 255, 136, 0.6);
    --elite-energy: linear-gradient(45deg, var(--elite-primary), var(--elite-secondary));
    
    /* Elite Gradients */
    --gradient-elite: linear-gradient(135deg, var(--elite-primary) 0%, var(--elite-secondary) 100%);
    --gradient-cyber: linear-gradient(45deg, #00ff88 0%, #00ffff 50%, #8b5cf6 100%);
    --gradient-energy: conic-gradient(from 0deg, #00ff88, #00ffff, #8b5cf6, #ff6b35, #00ff88);
    
    /* Elite Animations */
    --elite-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --elite-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.profile-arena * {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Elite Body Styling */
body {
    font-family: 'Orbitron', monospace;
    background: var(--elite-dark);
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

/* Advanced Background System */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        conic-gradient(from 180deg at 50% 50%, 
            rgba(10, 10, 15, 1) 0deg,
            rgba(20, 20, 33, 1) 90deg,
            rgba(30, 30, 46, 1) 180deg,
            rgba(20, 20, 33, 1) 270deg,
            rgba(10, 10, 15, 1) 360deg);
    background-attachment: fixed;
    animation: backgroundFloat 30s ease-in-out infinite;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 136, 0.03) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(139, 92, 246, 0.03) 50%, transparent 52%);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, -15px) rotate(1deg); }
    50% { transform: translate(15px, -10px) rotate(-1deg); }
    75% { transform: translate(-5px, 10px) rotate(0.5deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Gaming Grid Overlay */
.gaming-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(0, 255, 136, 0.05) 101px,
            rgba(0, 255, 136, 0.05) 102px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(139, 92, 246, 0.05) 101px,
            rgba(139, 92, 246, 0.05) 102px
        );
    pointer-events: none;
    z-index: -1;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Mouse Gradient Effect */
.mouse-gradient {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

/* Development Notice */
.dev-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: var(--elite-glass);
    backdrop-filter: blur(20px);
    border: 2px solid var(--elite-primary);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--elite-shadow);
    animation: devNoticeFloat 3s ease-in-out infinite;
}

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

.dev-content {
    position: relative;
}

.dev-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: iconSpin 2s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}

.dev-notice h3 {
    margin: 0 0 10px 0;
    color: var(--elite-primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: var(--elite-cyber-glow);
}

.dev-notice p {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.dev-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-elite);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.dev-progress span {
    color: var(--elite-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.dev-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--elite-transition);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-close:hover {
    color: var(--elite-primary);
    background: rgba(0, 255, 136, 0.1);
    transform: rotate(90deg);
}

/* ===== ELITE PROFILE ARENA ===== */
.profile-arena {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    min-height: 100vh;
}

/* Elite Profile Header */
.elite-profile-header {
    position: relative;
    padding: 80px 20px;
    margin-bottom: 40px;
    overflow: hidden;
}

.profile-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.profile-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.profile-energy-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-energy);
    opacity: 0.1;
    animation: energyPulse 6s ease-in-out infinite;
}

@keyframes energyPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.1; }
    50% { transform: scale(1.05) rotate(180deg); opacity: 0.2; }
}

.profile-holo-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 136, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(139, 92, 246, 0.1) 100%);
    background-size: 50px 50px;
    animation: holoGridMove 10s linear infinite;
}

@keyframes holoGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.profile-showcase {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 50px;
    align-items: center;
    background: var(--elite-glass);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 
        var(--elite-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 100px rgba(0, 255, 136, 0.2);
    animation: showcaseFloat 8s ease-in-out infinite;
}

/* Elite Avatar Container */
.elite-avatar-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.avatar-hologram {
    position: relative;
    width: 200px;
    height: 200px;
}

.avatar-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--elite-primary);
    box-shadow: 
        0 0 50px rgba(0, 255, 136, 0.6),
        inset 0 0 30px rgba(0, 255, 136, 0.2);
    animation: avatarPulse 4s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { 
        box-shadow: 
            0 0 50px rgba(0, 255, 136, 0.6),
            inset 0 0 30px rgba(0, 255, 136, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 
            0 0 80px rgba(0, 255, 136, 0.8),
            inset 0 0 50px rgba(0, 255, 136, 0.4);
        transform: scale(1.05);
    }
}

.avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--elite-transition);
}

.avatar-glow-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
}

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

.avatar-energy-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: energyBurst 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes energyBurst {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

.avatar-rank-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient-elite);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(0, 255, 136, 0.5); }
}

.avatar-upgrade-btn {
    background: var(--gradient-cyber);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    color: white;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: var(--elite-transition);
    position: relative;
    overflow: hidden;
}

.avatar-upgrade-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.avatar-upgrade-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.avatar-upgrade-btn:hover::before {
    left: 100%;
}

/* Elite Player Info */
.elite-player-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

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

.elite-name {
    position: relative;
    margin: 0;
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
    animation: nameGlow 4s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% { 
        filter: brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.3);
        transform: scale(1.02);
    }
}

.name-glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitchEffect 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes glitchEffect {
    0%, 90%, 100% { opacity: 0; transform: translate(0, 0); }
    91%, 93% { opacity: 0.8; transform: translate(2px, 0); }
    92%, 94% { opacity: 0.8; transform: translate(-2px, 0); }
}

.player-codename {
    font-size: 1.2rem;
    color: var(--elite-secondary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 10px;
    animation: codenamePulse 3s ease-in-out infinite;
}

@keyframes codenamePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Elite Stats Display */
.elite-stats-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-crystal {
    position: relative;
    background: var(--elite-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--elite-transition);
    overflow: hidden;
}

.stat-crystal:hover {
    transform: translateY(-5px);
    border-color: var(--elite-primary);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
}

.crystal-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-energy);
    opacity: 0.1;
    animation: crystalPulse 4s ease-in-out infinite;
}

@keyframes crystalPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.02); }
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--elite-primary);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    animation: valueGlow 3s ease-in-out infinite;
}

@keyframes valueGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== GAMING DASHBOARD ===== */
.gaming-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.dashboard-nav {
    margin-bottom: 40px;
}

.nav-crystal-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.crystal-tab {
    position: relative;
    background: var(--elite-glass);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: var(--elite-transition);
    overflow: hidden;
}

.crystal-tab.active {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--elite-primary);
    color: var(--elite-primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.crystal-tab:hover {
    transform: translateY(-3px);
    border-color: var(--elite-primary);
    color: var(--elite-primary);
}

.tab-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-elite);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.crystal-tab.active .tab-glow,
.crystal-tab:hover .tab-glow {
    opacity: 0.1;
}

/* Dashboard Content */
.dashboard-content {
    display: none;
    animation: contentSlideIn 0.5s ease;
}

.dashboard-content.active {
    display: block;
}

@keyframes contentSlideIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* Gaming Cards */
.gaming-card {
    background: var(--elite-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--elite-transition);
}

.gaming-card:hover {
    transform: translateY(-5px);
    border-color: var(--elite-primary);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--elite-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-energy);
    opacity: 0.05;
    animation: cardPulse 6s ease-in-out infinite;
}

@keyframes cardPulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

/* Coming Soon Containers */
.coming-soon-container {
    text-align: center;
    padding: 80px 20px;
    background: var(--elite-glass);
    border: 2px dashed rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    margin: 20px;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.coming-soon-container h3 {
    margin: 0 0 15px 0;
    color: var(--elite-primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.coming-soon-container p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Gaming Particles */
.gaming-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--elite-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(odd) {
    background: var(--elite-secondary);
}

.particle:nth-child(3n) {
    background: var(--elite-accent);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.particle-1 { left: 10%; animation-delay: 0s; }
.particle-2 { left: 20%; animation-delay: 2s; }
.particle-3 { left: 30%; animation-delay: 4s; }
.particle-4 { left: 40%; animation-delay: 6s; }
.particle-5 { left: 50%; animation-delay: 8s; }
.particle-6 { left: 60%; animation-delay: 10s; }
.particle-7 { left: 70%; animation-delay: 12s; }
.particle-8 { left: 80%; animation-delay: 14s; }
.particle-9 { left: 90%; animation-delay: 16s; }
.particle-10 { left: 95%; animation-delay: 18s; }

/* Enhancement Modal */
.enhancement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.enhancement-modal.active {
    display: flex;
}

.modal-content {
    background: var(--elite-glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid var(--elite-primary);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.5s var(--elite-bounce);
}

@keyframes modalSlideIn {
    0% { transform: translateY(-50px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    color: var(--elite-primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--elite-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--elite-primary);
    transform: rotate(90deg);
}

.modal-body p {
    text-align: center;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.feature-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--elite-primary);
    font-weight: 600;
    text-align: center;
    transition: var(--elite-transition);
}

.feature-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--elite-primary);
    transform: translateX(5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .profile-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
        text-align: center;
    }
    
    .elite-name {
        font-size: 2.8rem;
    }
    
    .nav-crystal-tabs {
        gap: 10px;
    }
    
    .crystal-tab {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .profile-showcase {
        padding: 30px 20px;
        gap: 25px;
    }
    
    .avatar-hologram {
        width: 150px;
        height: 150px;
    }
    
    .elite-name {
        font-size: 2.2rem;
    }
    
    .elite-stats-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-crystal {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gaming-card {
        padding: 20px;
    }
    
    .nav-crystal-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .crystal-tab {
        padding: 10px 15px;
        font-size: 0.8rem;
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .profile-arena {
        padding-top: 100px;
    }
    
    .elite-profile-header {
        padding: 40px 15px;
    }
    
    .profile-showcase {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .avatar-hologram {
        width: 120px;
        height: 120px;
    }
    
    .elite-name {
        font-size: 1.8rem;
    }
    
    .player-codename {
        font-size: 1rem;
    }
    
    .elite-stats-display {
        grid-template-columns: 1fr;
    }
    
    .gaming-dashboard {
        padding: 0 15px;
    }
    
    .gaming-card {
        padding: 15px;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .dev-notice {
        width: 90%;
        padding: 20px;
    }
    
    .dev-notice h3 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 25px;
        width: 95%;
    }
}

/* Animation Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --elite-primary: #00ff00;
        --elite-secondary: #ffffff;
        --elite-accent: #ffff00;
    }
}
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .tournament-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profile-content {
        gap: 20px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-info h1 {
        font-size: 1.5rem;
    }
    
    .nav-tabs {
        padding: 5px;
    }
    
    .nav-tab {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .overview-card,
    .stats-card,
    .settings-section {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content.active {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.activity-item {
    animation: slideIn 0.5s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.achievement-item:hover .achievement-icon {
    animation: pulse 0.5s ease-in-out;
}
