:root {
    --bg-gradient: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #0f0f2e 100%);
    --glow-color: #00d4ff;
    --text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    --accent-color: #b000ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(176, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Back Button */
.back-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--glow-color);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--glow-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-shadow: var(--text-shadow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7), inset 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
    border-color: #00ffff;
}

.back-btn::before {
    content: '←';
    font-size: 1.2rem;
}

/* Vibe Palette (HUD-style) */
.vibe-palette {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.palette-toggle {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--glow-color);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.palette-toggle:hover {
    background: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    transform: scale(1.1);
}

.palette-vibes {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    border: 2px solid var(--glow-color);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    gap: 0.8rem;
    flex-direction: column;
    backdrop-filter: blur(10px);
    animation: slideUp 0.3s ease;
}

.palette-vibes.active {
    display: flex;
}

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

.vibe {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.vibe:hover {
    transform: scale(1.15);
    border-color: var(--glow-color);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8);
}

/* Vibe Color Styles */
.vibe[data-vibe="cyberpunk"] {
    background: linear-gradient(135deg, #0066ff 0%, #ff00ff 100%);
}

.vibe[data-vibe="sunset"] {
    background: linear-gradient(135deg, #ff6b00 0%, #ff00aa 100%);
}

.vibe[data-vibe="stealth"] {
    background: linear-gradient(135deg, #1a1a1a 0%, #404040 100%);
}

.vibe[data-vibe="matrix"] {
    background: linear-gradient(135deg, #000000 0%, #00ff00 100%);
}

.vibe[data-vibe="galaxy"] {
    background: linear-gradient(135deg, #2d0052 0%, #6a0572 100%);
}

.vibe[data-vibe="lava"] {
    background: linear-gradient(135deg, #ff3300 0%, #ff9900 100%);
}

.vibe[data-vibe="holo"] {
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 50%, #ffff00 100%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(176, 0, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #b000ff, #ff0099);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    animation: glowPulse 2s ease-in-out infinite;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(176, 0, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(176, 0, 255, 0.6);
    }
}

.hero-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #00d4ff, #b000ff);
    color: white;
    border: 2px solid #00d4ff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    text-transform: uppercase;
}

.hero-btn:hover {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.feature-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.feature-card:hover {
    border-color: var(--glow-color);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.1);
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.feature-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--glow-color);
    text-shadow: var(--text-shadow);
}

.feature-card p {
    color: #c0c0c0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #b000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.cta-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #b000ff, #ff0099);
    color: white;
    border: 2px solid #b000ff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(176, 0, 255, 0.5);
    text-transform: uppercase;
}

.cta-btn:hover {
    box-shadow: 0 0 40px rgba(176, 0, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Footer */
footer {
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    text-align: center;
    padding: 2rem;
    color: #888888;
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .vibe-dropdown-container {
        flex-direction: column;
        top: 10px;
        right: 10px;
    }
}
