/* ===== RESET ===== */

@font-face {
    font-family: 'DSEG7Classic';
    src: url('fonts/DSEG7-Classic/DSEG7Classic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

/* ===== BODY ===== */
body {
    font-family: 'Inter', sans-serif;
    background-image: url('./V2_Background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 100px 20px;
    position: relative;
}

/* Bottom gradient overlay */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
    z-index: 0;
}

/* ===== LOGO CUBE - TOP RIGHT (PNG Sequence Animation) ===== */
.cube-container {
    position: absolute;
    top: 40px;
    right: 60px;
}

/* Glow effect wrapper */
.cube-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(92, 156, 181, 0.6) 0%, rgba(30, 50, 69, 0.4) 40%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}

/* GIF cube styling */
.cube-gif {
    width: 100px;
    height: 100px;
    display: block;
    /* Fade edges to transparent using mask */
    mask-image: radial-gradient(circle at center,
        black 10%,
        rgba(0, 0, 0, 0.15) 70%,
        transparent 100%
    );
}

.cube-animated {
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


/* ===== MAIN CONTENT ===== */
.main-content {
    /* border: red solid 1px; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 1500px;
    width: 100%;
    flex: 1;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* ===== COMING SOON BADGE ===== */
.coming-soon-badge {
    color: #DC0000;
    background: rgba(220, 0, 0, 0.2);
    border: 2px solid rgba(254, 14, 14, 0.4);
    padding: 12px 40px;
    border-radius: 50px;
    /* font-family: 'Bebas Neue', sans-serif; */
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
}

/* ===== BRAND TITLE ===== */
.brand-title {
    color: #FAFAFA;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 96px;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1;
}

/* ===== TAGLINE ===== */
.tagline {
    /* border: red solid 1px; */
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 550px;
    margin-top: -24px;

}

.tagline-1 {
    color: #166D90;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
}

.tagline-2 {
    color: #FAFAFA;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 96px;
    font-weight: 400;
    line-height: 1;
}

/* ===== COUNTDOWN ===== */
.countdown-container {
    width: 100%;
}

.countdown {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Add colon after countdown value except for the last unit */
.countdown-unit:not(:last-child) .countdown-value::after {
    content: ':';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 70px;
    font-weight: normal;
    font-style: normal;
    font-family: 'DSEG7Classic', monospace;
    color: #C40001;
    line-height: 1.2;
    letter-spacing: 0.05em;
    background: rgba(20, 20, 20, 0.3);
    padding: 10px 8px;
    border-radius: 5px;
    text-shadow: 0 0 10px rgba(196, 0, 1, 0.5),
                 0 0 20px rgba(196, 0, 1, 0.3),
                 0 0 5px rgba(196, 0, 1, 0.6);
    filter: drop-shadow(0 0 3px rgba(196, 0, 1, 0.4));
}

.countdown-value {
    font-size: 70px;
    font-weight: normal;
    font-style: normal;
    font-family: 'DSEG7Classic', monospace;
    color: #C40001;
    line-height: 1.2;
    position: relative;
    background: rgba(20, 20, 20, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
    text-shadow: 0 0 10px rgba(196, 0, 1, 0.5);
}

/* Ghost segments (non-illuminated segments) */
.countdown-value::before {
    content: '88';
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(50, 50, 50, 0.15);
    z-index: -1;
}

.countdown-label {
    color: rgba(220, 0, 0, 0.7);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 2px;
}

.launched-message {
    display: none;
    font-size: 72px;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    color: #DC0000;
}

/* ===== DESCRIPTION ===== */
.description {
    /* border: red solid 1px; */
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 1000px;
    background: linear-gradient(to bottom, #cbcbcb86 0%, #5757577b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ===== FOOTER ===== */
.footer {
    /* border: 1px red solid; */
    color: rgba(66, 66, 66, 0.679);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 1.6;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.footer p {
    /* background: linear-gradient(to bottom, #1b1b1b 0%, #000000 100%); */
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cube-container {
        top: 20px;
        right: 30px;
    }

    .cube-container::before {
        width: 200px;
        height: 200px;
    }

    .cube-gif {
        width: 80px;
        height: 80px;
    }

    .cube {
        width: 40px;
        height: 40px;
    }

    .cube-face {
        width: 40px;
        height: 40px;
        padding: 3px;
    }

    .cube-face span {
        font-size: 7px;
        transform: scale(1.5, 1.8);
    }

    .cube-face.front span {
        font-size: 7px;
        transform: scale(2.2, 1.8);
    }

    .cube-face.right span {
        font-size: 11px;
        transform: scale(1.8, 1.8);
    }

    .cube-face.right .tm {
        font-size: 3px;
    }

    .cube-face.front { transform: translateZ(20px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(20px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(20px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(20px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(20px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(20px); }

    .brand-title {
        font-size: 72px;
    }

    .tagline-1 {
        font-size: 60px;
    }

    .tagline-2 {
        font-size: 72px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    .cube-container {
        top: 15px;
        right: 15px;
    }

    .cube-container::before {
        width: 150px;
        height: 150px;
    }

    .cube-gif {
        width: 60px;
        height: 60px;
    }

    .cube {
        width: 30px;
        height: 30px;
    }

    .cube-face {
        width: 30px;
        height: 30px;
        padding: 2.5px;
    }

    .cube-face span {
        font-size: 5.5px;
        transform: scale(1.5, 1.8);
    }

    .cube-face.front span {
        font-size: 5.5px;
        transform: scale(2.2, 1.8);
    }

    .cube-face.right span {
        font-size: 8.5px;
        transform: scale(1.8, 1.8);
    }

    .cube-face.right .tm {
        font-size: 2.5px;
    }

    .cube-face.front { transform: translateZ(15px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(15px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(15px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(15px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(15px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(15px); }

    .main-content {
        gap: 30px;
    }

    .coming-soon-badge {
        font-size: 18px;
        padding: 10px 30px;
    }

    .brand-title {
        font-size: 48px;
    }

    .tagline-1 {
        font-size: 36px;
    }

    .tagline-2 {
        font-size: 48px;
    }

    .countdown {
        gap: 0;
    }

    .countdown-unit:not(:last-child) .countdown-value::after {
        right: -20px;
        font-size: 48px;
        padding: 8px 6px;
    }

    .countdown-value {
        font-size: 48px;
    }

    .countdown-label {
        font-size: 32px;
    }

    .description {
        font-size: 16px;
    }

    .options-label {
        font-size: 14px;
    }

    .option-link {
        font-size: 12px;
        padding: 8px 16px;
    }

    .footer {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tagline-1 {
        font-size: 28px;
    }

    .tagline-2 {
        font-size: 36px;
    }

    .countdown-value {
        font-size: 36px;
    }

    .countdown-label {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
    }
}

/* ===== LANDSCAPE ORIENTATION ON MOBILE ===== */
@media (max-width: 926px) and (orientation: landscape) {
    body {
        padding: 20px 40px 10px;
    }

    .cube-container {
        top: 15px;
        right: 20px;
    }

    .cube-container::before {
        width: 120px;
        height: 120px;
    }

    .cube-gif {
        width: 50px;
        height: 50px;
    }

    .main-content {
        gap: 20px;
    }

    .coming-soon-badge {
        font-size: 16px;
        padding: 8px 24px;
    }

    .brand-title {
        font-size: 48px;
    }

    .tagline {
        padding-right: 100px;
    }

    .tagline-1 {
        font-size: 36px;
    }

    .tagline-2 {
        font-size: 44px;
    }

    .countdown-unit:not(:last-child) .countdown-value::after {
        right: -18px;
        font-size: 40px;
        padding: 6px 5px;
    }

    .countdown-value {
        font-size: 40px;
        padding: 6px 12px;
    }

    .countdown-value::before {
        top: 6px;
        left: 12px;
    }

    .countdown-label {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
        max-width: 700px;
    }

    .footer {
        font-size: 11px;
        padding: 20px 10px;
    }
}
