:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-color: #ff4d4d;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 500vh;
    /* Allow scrolling */
    overflow-y: auto;
    /* Enable vertical scroll */
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.featured-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}



.hotspot {
    position: absolute;
    width: 4%;
    /* Adjust size as needed */
    height: 8%;
    /* Adjust size as needed */
    z-index: 10;
    cursor: pointer;
    border-radius: 0%;
    /* assume circular buttons, can change to 5px for rectangles */
    transition: background-color 0.3s ease, transform 0.2s;
}

/* Temporary visibility for positioning */
.x-link {
    background-color: transparent;
    /* Red for X */
    top: 90%;
    /* Start center */
    left: 93%;
}

.discord-link {
    background-color: transparent;
    /* Blue for Discord */
    top: 90%;
    /* Start center */
    left: 89%;
}

.hotspot:hover {

    transform: scale(1.1);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

/* New Dev Layout Styles */
.dev-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Start from top */
    padding-top: 15vh;
    /* Responsive top spacing */
    height: 100vh;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    /* Let clicks pass through if needed, but social icons need pointer-events auto */
}

/* Ensure children can receive clicks */
.dev-container>* {
    pointer-events: auto;
}

/* Heartbeat Glow Animation */
@keyframes heartbeat-glow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        transform: scale(1);
    }

    15% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 77, 77, 0.6);
        /* Red tint hint */
        transform: scale(1.02);
    }

    30% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        transform: scale(1);
    }

    45% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 77, 77, 0.8);
        transform: scale(1.04);
    }

    60% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.dev-title {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    /* Responsive font size: min 1.5rem, preferred 5vw, max 4rem */
    font-size: clamp(1.5rem, 5vw, 4rem);
    letter-spacing: 4px;
    margin-bottom: 0;
    /* Remove hacky margin */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 10;
    max-width: 90%;
    /* Prevent overflow on small screens */
    word-wrap: break-word;
    animation: heartbeat-glow 1.8s infinite ease-in-out;
    /* Heartbeat effect */
}

.glitch-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    /* Behind content */
}

#glitch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.4;

    /* Slightly dim it so text is readable, adjust as needed */
}

/* Split Footer Layout */
.footer {
    /* Remove container styling, we will position children fixedly */
    position: static;
    display: block;
}

.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.mute-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.2s, color 0.2s;
}

.mute-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.mute-btn svg {
    width: 100%;
    height: 100%;
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.copyright {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* Moved to left */
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    z-index: 20;
    text-align: left;
}

/* Cleanup old classes if unused, or leave them safely */
.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.error-message {
    display: none;
    color: red;
    font-family: 'Outfit', sans-serif;
    /* Use the premium font */
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
    letter-spacing: 2px;
    animation: flash 1s infinite alternate;
    position: relative;
    z-index: 1005;
    /* Be definitely on top of portal (1000) */
}



.warning-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff4d4d;
    /* Theme accent color */
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    display: none;
    animation: flash 1s infinite alternate;
    z-index: 1001;
    /* Above almost everything */
    pointer-events: none;
    /* Allow clicking through */
    white-space: normal;
}

@keyframes flash {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.5;
    }
}

@keyframes fadeScaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Mobile Optimization */
@media (max-width: 768px) {
    .warning-message {
        font-size: 1.5rem;
        width: 90%;
        line-height: 1.4;
    }

    .error-message {
        font-size: 1.8rem;
        width: 90%;
        text-align: center;
    }

    .hotspot {
        /* Increase touch target size slightly on mobile if needed, 
           or keep strict alignment. Let's start with scale to make hitting it easier. */
        transform: scale(1.5);
    }

    .hotspot:hover {
        transform: scale(1.5);
        /* Remove hover expansion on mobile to prevent stuck states, keep base scale */
    }
}