:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent: #facc15;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    /* Hide scrollbar for a cleaner look */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* Loading Screen */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

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

#loading h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

#loading p {
    font-size: 1rem;
    color: #a3a3a3;
}

/* Scrollytelling Animation Section */
#animation-wrapper {
    /* 4 viewports of scrolling controls the animation speed */
    height: 400vh;
    position: relative;
    z-index: 1;
}

#sticky-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

canvas {
    width: 100%;
    height: 100%;
    /* contain ensures the full packet animation is visible on screen */
    object-fit: contain;
    pointer-events: none;
}

/* Coming Soon Section */
#coming-soon {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
}

#coming-soon h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    margin-bottom: 30px;
}

.contact-btn {
    padding: 15px 40px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.2);
}

.contact-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.4);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    #coming-soon h1 {
        font-size: 6rem;
    }
}

/* Development Badge */
#dev-badge {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: var(--accent);
    color: #000;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 800;
    z-index: 10000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: none;
}