:root {
    --primary-color: #ffffff;
    --accent-color: #6366f1;
    --bg-dark: #050505;
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--primary-color);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Layered Background */
.background-layers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: var(--bg-dark);
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    transition: transform 0.1s ease-out;
}

/* Mountain Layers Masking */
.layer-mtn-distant,
.layer-mtn-mid,
.layer-mtn-fore {
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
}




.layer-mtn-mid {
    background-image: url('assets/mountains_mid.png');
    z-index: 4;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 60%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 60%);
}

.layer-mtn-fore {
    background-image: url('assets/mountains_fore.png');
    z-index: 6;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 50%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 50%);
}

.layer-clouds {
    background-image: url('assets/clouds.png');
    background-size: 200% auto;
    background-repeat: repeat-x;
    mix-blend-mode: screen;
    opacity: 0.3;
    /* Fade edges to make the repeat seamless */
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 90%,
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 90%,
            rgba(0, 0, 0, 0) 100%);
}

.layer-clouds-slow {
    z-index: 3;
    animation: drift 180s linear infinite;
}



@keyframes drift {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 200% 50%;
    }
}

#app {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
}

.main-logo {
    height: 300px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 40px rgba(197, 160, 89, 0.3));
}

/* Header & Logo */
header {
    display: flex;
    justify-content: flex-start;
}

.logo-container img {
    height: 70px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transition: transform 0.3s ease;
}

/* Main Content */
main {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.branding-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    animation: slideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.content-box {
    max-width: 500px;
    backdrop-filter: blur(20px);
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    animation: slideIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.2rem;
    background: linear-gradient(to bottom, #f9e29c 0%, #c5a059 50%, #9b7e46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 0.9;
}

.slogan {
    font-size: 1.45rem;
    font-weight: 700;
    color: #c5a059;
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 1.12rem;
    text-indent: 1.12rem; /* Compensate for last letter spacing */
    width: 100%;
    text-align: center;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-icon {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    background: #c5a059;
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.5);
}

/* Collaboration */
.collaboration {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.email-link {
    display: block;
    color: #c5a059;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: #fff;
    letter-spacing: 1px;
}

/* Byron Locked */
.byron-locked {
    position: fixed;
    bottom: -40px;
    /* Overhang */
    right: -40px;
    /* Overhang */
    width: 40%;
    max-width: 900px;
    z-index: 100;
    pointer-events: none;
    transform: scale(1.05);
    transform-origin: bottom right;
}

.byron-locked img {
    width: 100%;
    filter: drop-shadow(-20px 0 50px rgba(0, 0, 0, 0.9));
}

/* Footer */
footer {
    position: relative;
    z-index: 200;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    h1 {
        font-size: 4.5rem;
    }

    .content-box {
        max-width: 500px;
        padding: 3rem;
    }

    .byron-locked {
        width: 50%;
    }
}

@media (max-width: 768px) {
    #app {
        padding: 2rem;
    }

    .content-box {
        max-width: 100%;
        padding: 2.5rem;
    }

    h1 {
        font-size: 3rem;
    }

    .slogan {
        font-size: 1.4rem;
    }

    .byron-locked {
        width: 80%;
        opacity: 0.8;
    }

    footer {
        text-align: center;
    }
}