html, body {
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

@font-face {
    font-family: 'CustomFont';
    src: url('Rebirth Ultra Italic.woff2') format('woff2'),
         url('Rebirth Ultra Italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* LANDING PAGE */
#landing-page {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
}

/* "Warp" Text */
#warp-text {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 3rem;
    font-family: 'CustomFont', sans-serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
    cursor: pointer;
}

#warp-text:hover {
    transform: translateX(-50%) scale(1.2); 
    text-shadow: 0 0 20px rgb(124, 5, 137), 0 0 40px rgba(151, 0, 141, 0.986);
}

/* PORTAL */
#portal {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    cursor: pointer;
}

/* VIDEO CONTAINER */
#video-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
}

#transition-video {
    height: 90vh;
    width: auto;
    max-width: 90vw;
    background: black;
    object-fit: contain;
    display: block;
    margin: auto;
    border: 5px solid transparent; 
    border-radius: 10px; 
    box-shadow: 0px 0px 100px rgba(138, 43, 226, 0.5);
    position: relative;
}

/* ABOUT SECTION */
#about-section {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    font-family: 'CustomFont', sans-serif;
    font-size: 3rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8), 
                 0 0 20px rgba(138, 43, 226, 0.6),  
                 0 0 30px rgba(138, 43, 226, 0.4);
    z-index: 10;
    padding: 20px;
}

#about-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#about-title {
    max-width: 90%;
    height: auto;
    margin-bottom: 20px;
}

#about-section p {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8), 
                 0 0 20px rgba(138, 43, 226, 0.6),  
                 0 0 30px rgba(138, 43, 226, 0.4);
}

/* SOCIAL LINKS */
.social-links {
    position: absolute;
    bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.social-links a {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease-in-out;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #a970ff;
    text-shadow: 0 0 15px #a970ff;
}

/* VOLUME CONTROL */
#volume-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
}

#volume-slider {
    width: 100px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ---- MOBILE & TABLET OPTIMIZATION ---- */

/* Tablet */
@media (max-width: 1024px) {
    #warp-text {
        font-size: 2.5rem;
    }

    #transition-video {
        height: 80vh;
        width: 90vw;
    }

    #about-section p {
        font-size: 2.5rem;
        padding: 10px 15px;
    }

    .social-links a {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html, body {
        overflow: hidden;
    }

    #warp-text {
        font-size: 2rem;
        bottom: 5%;
    }

    #portal {
        height: 100vh;
        width: 100%;
    }

    #transition-video {
        height: 70vh;
        width: 85vw;
    }

    #about-section p {
        font-size: 2rem;
        padding: 10px;
    }

    #about-title {
        max-width: 80%;
    }

    .social-links {
        gap: 15px;
        bottom: 20px;
    }

    .social-links a {
        font-size: 1.5rem;
    }

    #volume-control {
        bottom: 10px;
        right: 10px;
    }
}
