/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Canvas Background */
#fluid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

/* Music Control */
.music-control {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50px;
    animation: fadeInDown 0.8s ease-out, musicGlow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2), 0 0 40px rgba(0, 255, 136, 0.1);
}

@keyframes musicGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2), 0 0 40px rgba(0, 255, 136, 0.1);
        border-color: rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.4), 0 0 60px rgba(0, 255, 136, 0.2), 0 0 80px rgba(0, 255, 136, 0.1);
        border-color: rgba(0, 255, 136, 0.6);
    }
}

.track-selector {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    transition: all 0.3s ease;
}

.track-selector:hover {
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.track-selector:focus {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.track-selector option {
    background: #0a0a0a;
    color: #00ff88;
    padding: 0.5rem;
}

.music-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0a1a0f 0%, #0d2818 100%);
    color: #00ff88;
    border: 1px solid #00ff88;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.music-btn:hover {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.music-btn.playing {
    background: linear-gradient(135deg, #00cc6a 0%, #009950 100%);
    border-color: #00ff88;
    color: #000;
    font-weight: 700;
}

.music-btn.playing:hover {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: left;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    text-align: left;
    max-width: 900px;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 700px;
}

/* Choices Container */
.choices-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Choice Cards */
.choice-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.choice-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.3), 0 0 80px rgba(0, 255, 136, 0.1);
}

.choice-card:hover::before {
    opacity: 1;
}

.choice-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: #00ff88;
    transition: all 0.3s ease;
}

.choice-card:hover .choice-icon {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.choice-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.choice-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.choice-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff88;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.choice-card:hover .choice-link {
    gap: 1rem;
}

.choice-link svg {
    transition: transform 0.3s ease;
}

.choice-card:hover .choice-link svg {
    transform: translateX(4px);
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: pulse 4.6s ease-in-out infinite;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 2rem 0;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a:hover {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.footer-text {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 1.5rem;
        align-items: center;
    }

    .header {
        text-align: center;
    }

    .hero {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .choices-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .choice-card {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .features {
        flex-direction: column;
        align-items: stretch;
    }

    .feature-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }

    .choice-card h3 {
        font-size: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 136, 0.5);
}

/* Selection */
::selection {
    background: rgba(0, 255, 136, 0.3);
    color: #ffffff;
}
