@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Onest:wght@100..900&display=swap');

:root {
    --accent: rgb(0, 105, 110);
    --accent-glow: rgba(0, 105, 110, 0.4);
    --accent-dim: rgba(0, 105, 110, 0.15);
    --accent-border: rgba(0, 105, 110, 0.5);
}

body, html {
    color: white;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

.background-container {
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    overflow: hidden;
    z-index: -1;
}

.background-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    transition: opacity 0.5s ease;
    opacity: 0;
}
.layer1 { opacity: 1; }
.layer2 { opacity: 0; }

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* Logo */
.main-logo {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.main-logo.animate {
    animation: slideDownLogo 0.4s ease-out forwards;
}
@keyframes slideDownLogo {
    from { opacity: 0; transform: translate(-50%, -150px); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}
.main-logo-image {
    width: 420px;
    max-width: 55vw;
    height: auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Page label */
.page-label {
    text-align: center;
    margin-top: 10px;
    font-family: "Onest", sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
    text-shadow: 0 0 12px var(--accent-glow);
}
.page-label.animate {
    animation: none;
}
@keyframes labelFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Intro */
.intro {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: dissolve 0.8s ease-in-out 1.8s forwards;
}
.intro-logo {
    width: 1024px;
    max-width: 80vw;
    height: auto;
    opacity: 0;
    transform: scale(0.5);
    animation: logoAppear 0.8s ease-out 0.2s forwards, logoFade 0.5s ease-in 1s forwards;
}
@keyframes logoAppear {
    to { opacity: 1; transform: scale(1); }
}
@keyframes logoFade {
    to { opacity: 0; filter: blur(10px); }
}
@keyframes dissolve {
    0%   { background: black; }
    50%  { background: rgba(0,0,0,0.9); backdrop-filter: blur(12px); }
    100% { opacity: 0; pointer-events: none; }
}

/* Buttons */
.button-section {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 6vh;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.button-container {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 90%;
}

.button {
    width: 22%;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(100px);
    cursor: pointer;
}
.button.animate {
    animation: slideUp 0.4s ease-out forwards;
}
.button.disabled {
    cursor: default;
    pointer-events: none;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(100px); }
    to   { opacity: 1; transform: translateY(0); }
}

.button-outer {
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 15px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.button:not(.disabled):hover .button-outer {
    transform: scale(1.08) translateY(-2px);
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 20px var(--accent-glow);
    border-color: var(--accent-border);
    outline: 2px solid var(--accent-border);
    outline-offset: 3px;
}
.button:not(.disabled):active .button-outer {
    transform: scale(0.98) translateY(1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    outline: none;
}

.button.disabled .button-outer {
    opacity: 0.5;
    filter: grayscale(0.4);
}

.button-image {
    position: relative;
    width: 100%;
    height: 20vh;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(255,255,255,0.05);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.button:not(.disabled):hover .button-image { opacity: 0.95; }

.button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Onest", sans-serif;
    font-size: clamp(1.3rem, 2vw, 2.2rem);
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.3;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.6) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: text-shadow 0.3s ease, background 0.3s ease;
}
.button:not(.disabled):hover .button-text {
    text-shadow: 0 0 10px rgba(255,255,255,0.9);
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.7) 100%);
}

.button-sub {
    display: block;
    font-size: 0.45em;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    margin-top: 3px;
}
.button:not(.disabled):hover .button-sub {
    color: rgba(255, 255, 255, 0.85);
}

/* Coming soon badge */
.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: rgb(0, 180, 190);
    font-family: "Onest", sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
}

/* Back link */
.back-link {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    padding: 14px 24px;
    font-family: "Onest", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s ease;
    opacity: 0;
    animation: backLinkFadeIn 0.4s ease-out 2.6s forwards;
}
.back-link:hover { color: rgb(0, 180, 190); }
@keyframes backLinkFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Mobile */
@media (max-width: 800px) {
    body, html { overflow-y: auto; }
    .main-logo {
        position: relative;
        top: 0; left: 0;
        transform: none;
        margin: 20px auto;
        width: 100%;
        text-align: center;
        opacity: 1;
    }
    .main-logo.animate { animation: none; opacity: 1; }
    .main-logo-image { width: 80%; max-width: 300px; margin: 0 auto; }
    .page-label {
        position: relative;
        top: 0; left: 0;
        transform: none;
        text-align: center;
        display: block;
        margin: 8px auto 0;
        opacity: 1;
    }
    .page-label.animate { animation: none; opacity: 1; }
    .button-section {
        position: relative;
        bottom: auto;
        padding: 20px;
    }
    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .button { width: 90%; max-width: 400px; }
    .button-image { height: 25vh; }
}