/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    cursor: default;
}

/* ===== CANVAS ===== */
#smokeCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* ===== CONTENT ===== */
.content {
    text-align: center;
    animation: fadeInUp 2s ease-out;
}

.logo-glow {
    position: relative;
}

.title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(220, 225, 255, 0.85);
    text-shadow:
        0 0 40px rgba(140, 160, 255, 0.2),
        0 0 80px rgba(140, 160, 255, 0.1),
        0 0 140px rgba(100, 130, 255, 0.06),
        0 0 200px rgba(80, 110, 255, 0.03);
    animation: titlePulse 6s ease-in-out infinite;
    user-select: none;
}

.subtitle {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.5rem;
    text-transform: uppercase;
    user-select: none;
}

.tagline {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 2s ease-out 1s forwards;
}

.tag-line-text {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===== CONTROLS ===== */
.controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: all;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1.5s forwards;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.control-group label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== RANGE SLIDER ===== */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="range"]:hover {
    background: rgba(255, 255, 255, 0.18);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

/* ===== TOGGLE BUTTON ===== */
.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    user-select: none;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.dot.active {
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes titlePulse {

    0%,
    100% {
        text-shadow:
            0 0 40px rgba(140, 160, 255, 0.2),
            0 0 80px rgba(140, 160, 255, 0.1),
            0 0 140px rgba(100, 130, 255, 0.06);
    }

    50% {
        text-shadow:
            0 0 60px rgba(140, 160, 255, 0.28),
            0 0 120px rgba(120, 145, 255, 0.15),
            0 0 200px rgba(90, 120, 255, 0.08);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .controls {
        flex-direction: column;
        gap: 1rem;
        bottom: 1rem;
        padding: 1rem 1.5rem;
    }

    input[type="range"] {
        width: 140px;
    }
}