/* --- Responsive Design Variables --- */
:root {
    /* Base design dimensions */
    --design-width: 1920;
    --design-height: 1080;
    --scale: calc(100vw / var(--design-width));
}

html,
body {
    height: 100%;
    width: 100%;
    background: #1A1A1A;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

body {

    width: 100vw;
    box-sizing: border-box;
    overflow-y: auto;

}

.main-bg {
    background: url('images/coming_soon_cobolt_bg_1920x1080.png') no-repeat top center;
    background-size: 100% auto;
    width: 100vw;
    height: calc(100vw * 9 / 16);
    position: relative;
    overflow: hidden;

}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}


footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: calc(60 * var(--scale));
    margin-bottom: calc(10 * var(--scale));
}

.social-links img {
    width: calc(50 * var(--scale));
    height: calc(50 * var(--scale));
    transition: transform 0.2s;
    display: block;
}

.social-links a:hover img {
    transform: scale(1.15);
}

.bottom-gradient {
    width: 100vw;
    height: 30px;
    position: relative;
    display: block;
    background: none;
    overflow: hidden;
}

.bottom-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('images/coming_soon_cobolt_1920x1.png') repeat-x top center;
    background-size: 100% 30px, 100% 1px;
    opacity: 1;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);

}

.bottom-gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #1a1a1a;
    z-index: -1;
}

/* Ensure the background always fits the screen width and keeps aspect ratio */
@media (max-aspect-ratio: 16/9) {
    .main-bg {
        width: 100vw;
        height: calc(100vw * 9 / 16);
        max-height: 100vh;
    }
}