/* BlackHole Game Demo Styles */

:root {
    --primary-purple: #8b5cf6;
    --primary-purple-dark: #7c3aed;
    --primary-purple-light: #a78bfa;
    --success-green: #10b981;
    --warning-yellow: #eab308;
    --warning-orange: #f97316;
    --danger-red: #ef4444;
    --dark-bg: #0f0f23;
    --card-bg: #1a1a2e;
    --card-bg-light: #252540;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --border-color: #2d2d44;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a3e 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.hero-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: var(--card-bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Canvas */
.hero-canvas {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-canvas canvas {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Demo Section */
.demo-section {
    padding: 80px 40px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.demo-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.demo-section > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.demo-canvas-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--card-bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.demo-canvas-container canvas {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.demo-legend {
    min-width: 250px;
}

.demo-legend h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--primary-purple-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

/* Footer */
.hero-footer {
    padding: 24px 40px;
    text-align: center;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .demo-canvas-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-header {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .demo-section {
        padding: 60px 20px;
    }
    
    .demo-canvas-container {
        padding: 24px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-canvas {
    animation: float 6s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

.hero-canvas canvas {
    animation: glow 3s ease-in-out infinite;
}

