/* ============================================
   GAME HUB - Main CSS Stylesheet
   Modern Dark Gaming Platform
   ============================================ */

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

/* CSS Variables for Theme */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent-color: #ec4899;
    --accent-dark: #db2777;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-tertiary: #1a1a2e;
    --bg-card: rgba(30, 30, 63, 0.7);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    
    --border-color: rgba(99, 102, 241, 0.3);
    --glow-primary: rgba(99, 102, 241, 0.8);
    --glow-accent: rgba(236, 72, 153, 0.8);
    --glow-cyan: rgba(34, 211, 238, 0.8);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px var(--glow-primary), 0 0 60px rgba(99, 102, 241, 0.3);
    --shadow-neon: 0 0 10px var(--glow-primary), 0 0 20px var(--glow-primary), 0 0 40px var(--glow-primary);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-3d: 32px;
    
    --perspective: 1000px;
    --depth: 50px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: default;
    perspective: var(--perspective);
    transform-style: preserve-3d;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
    box-shadow: var(--shadow-neon);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--accent-color));
    box-shadow: 0 0 15px var(--glow-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
    transform-style: preserve-3d;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 0 10px var(--glow-primary));
    transition: transform var(--transition-normal);
}

.navbar-logo:hover {
    transform: scale(1.05) rotateY(10deg);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.navbar-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.navbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.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 var(--transition-slow);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.btn:hover::after {
    opacity: 0.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px var(--glow-primary), 0 0 30px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px) translateZ(10px) rotateX(5deg);
    box-shadow: 0 8px 25px var(--glow-primary), 0 0 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(30, 30, 63, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(30, 30, 63, 0.95);
    border-color: var(--primary-color);
    transform: translateY(-2px) translateZ(5px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 15px var(--glow-accent), 0 0 30px rgba(236, 72, 153, 0.3);
    border: 1px solid rgba(236, 72, 153, 0.5);
}

.btn-accent:hover {
    transform: translateY(-3px) translateZ(10px) rotateX(-5deg);
    box-shadow: 0 8px 25px var(--glow-accent), 0 0 40px rgba(236, 72, 153, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.main-container {
    padding-top: 80px;
    min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%),
                linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: hero-bg-rotate 20s linear infinite;
    pointer-events: none;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate, gradient-shift 3s ease infinite;
    position: relative;
    transform: translateZ(30px);
    text-shadow: none;
    filter: drop-shadow(0 0 20px var(--glow-primary));
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px var(--glow-primary));
    }
    to {
        filter: drop-shadow(0 0 40px var(--glow-accent));
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================
   GAME MAP - Interactive Game World
   ============================================ */

.game-map {
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.game-map-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 600px;
    background: linear-gradient(180deg, rgba(18, 18, 31, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-radius: var(--radius-3d);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    perspective: 1500px;
    overflow: hidden;
}

.game-map-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.game-island {
    position: absolute;
    cursor: pointer;
    transition: all var(--transition-bounce);
    animation: float 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

.game-island:hover {
    transform: scale(1.15) translateY(-20px) rotateY(15deg) rotateX(10deg) translateZ(30px);
    z-index: 10;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    }
}

.game-island-coal {
    top: 20%;
    left: 15%;
    width: 200px;
    height: 200px;
}

.game-island-coal .island-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3d3d3d 0%, #2d2d2d 30%, #1a1a1a 70%, #0d0d0d 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(99, 102, 241, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.15),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform-style: preserve-3d;
    transition: all var(--transition-normal);
}

.game-island-coal:hover .island-shape {
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(99, 102, 241, 0.5),
        0 0 80px rgba(99, 102, 241, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.game-island-coal .island-shape::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 30%;
    height: 30%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 10px;
    transform: translateZ(10px);
}

.game-island-coal .island-shape::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 20%;
    height: 20%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    transform: translateZ(-5px);
}

.game-island-coal .island-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transform: translateZ(20px);
    transition: transform var(--transition-normal);
}

.game-island-coal:hover .island-icon {
    transform: translateZ(30px) scale(1.1);
}

.game-island-info {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%) translateZ(20px);
    background: rgba(30, 30, 63, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-bounce);
    white-space: nowrap;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.3);
}

.game-island:hover .game-island-info {
    opacity: 1;
    visibility: visible;
    bottom: -90px;
    transform: translateX(-50%) translateZ(40px);
}

.game-island-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.game-island-author {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.game-island-rating {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 0.5rem;
}

.star {
    color: var(--warning-color);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.star.empty {
    color: var(--text-muted);
}

.star:not(.empty) {
    animation: star-pop 0.3s ease-out;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.8));
}

@keyframes star-pop {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.star:hover {
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 1));
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: rgba(30, 30, 63, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.1);
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-8px) translateZ(15px) rotateX(2deg);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-body {
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--glow-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.alert-info {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================
   PROFILE SECTION
   ============================================ */

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-glow), 0 0 40px rgba(99, 102, 241, 0.5);
    position: relative;
    transform-style: preserve-3d;
    transition: transform var(--transition-normal);
}

.profile-avatar::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
    animation: avatar-pulse 2s ease-in-out infinite;
}

@keyframes avatar-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.profile-avatar:hover {
    transform: scale(1.05) rotateY(10deg);
}

.profile-info h2 {
    margin-bottom: 0.5rem;
}

.profile-email {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

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

.profile-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.profile-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   GAME PAGE
   ============================================ */

.game-banner {
    height: 400px;
    background: linear-gradient(135deg, rgba(18, 18, 31, 0.9), rgba(26, 26, 46, 0.9));
    border-radius: var(--radius-3d);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.2);
    transform-style: preserve-3d;
}

.game-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    animation: banner-pulse 4s ease-in-out infinite;
}

@keyframes banner-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.game-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.game-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-glow), 0 0 40px rgba(99, 102, 241, 0.5);
    transform: translateZ(30px);
    transition: transform var(--transition-normal);
}

.game-logo:hover {
    transform: translateZ(40px) rotateY(15deg) scale(1.05);
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-info-item {
    background: rgba(30, 30, 63, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
}

.game-info-item:hover {
    transform: translateY(-5px) translateZ(10px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.game-info-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.game-info-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.game-description {
    background: rgba(30, 30, 63, 0.7);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.1);
    transform-style: preserve-3d;
}

.game-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-screenshot {
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-bounce);
    transform-style: preserve-3d;
}

.game-screenshot:hover {
    transform: scale(1.08) translateZ(20px) rotateX(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* ============================================
   COMMENTS SECTION
   ============================================ */

.comments-section {
    background: rgba(30, 30, 63, 0.7);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.1);
    transform-style: preserve-3d;
}

.comment {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    transition: transform var(--transition-normal);
}

.comment-avatar:hover {
    transform: scale(1.1);
}

.comment-author {
    font-weight: 600;
    color: var(--text-primary);
}

.comment-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.comment-body {
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .game-map-container {
        padding: 1.5rem;
        min-height: 400px;
    }
    
    .game-island-coal {
        width: 120px;
        height: 120px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .game-banner {
        height: 250px;
    }
    
    .game-logo {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.75rem;
    }
    
    .card {
        padding: 1rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.hidden { display: none !important; }

/* ============================================
   3D PARTICLES BACKGROUND
   ============================================ */

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 15s infinite linear;
    box-shadow: 0 0 10px var(--glow-primary);
}

.particle:nth-child(odd) {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--glow-accent);
}

.particle:nth-child(3n) {
    background: var(--glow-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-screen-content {
    text-align: center;
}

.loading-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.loading-spinner-3d {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    animation: spinner-rotate 2s linear infinite;
}

@keyframes spinner-rotate {
    from { transform: rotateX(60deg) rotateZ(0deg); }
    to { transform: rotateX(60deg) rotateZ(360deg); }
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spinner-ring 1.5s ease-in-out infinite;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: var(--accent-color);
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: var(--glow-cyan);
    animation-delay: 0.4s;
}

@keyframes spinner-ring {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

.loading-text {
    margin-top: 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    animation: loading-text 1.5s ease-in-out infinite;
}

@keyframes loading-text {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease, border-color 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.05s ease;
}

.custom-cursor.hover {
    transform: scale(2);
    border-color: var(--accent-color);
}

/* ============================================
   PARALLAX EFFECTS
   ============================================ */

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9997;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.page-transition.active {
    transform: translateY(0);
}

/* ============================================
   FADE IN ANIMATION
   ============================================ */

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.5s; }

/* ============================================
   NEON GLOW EFFECTS
   ============================================ */

.neon-text {
    text-shadow: 
        0 0 5px var(--glow-primary),
        0 0 10px var(--glow-primary),
        0 0 20px var(--glow-primary),
        0 0 40px var(--glow-primary);
}

.neon-border {
    box-shadow: 
        0 0 5px var(--glow-primary),
        0 0 10px var(--glow-primary),
        inset 0 0 5px var(--glow-primary);
}

/* ============================================
   GLASSMORPHISM ENHANCED
   ============================================ */

.glass {
    background: rgba(30, 30, 63, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-strong {
    background: rgba(30, 30, 63, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

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

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* User Detail Modal */
.user-detail-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.user-detail-item:last-child {
    border-bottom: none;
}

.user-detail-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.user-detail-value {
    font-size: 1rem;
    font-weight: 500;
}

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.user-stat-card {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.user-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.user-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}
