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

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow: hidden;
}

/* Landing Page Layout */
.landing-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Background Layers */
.background-layers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.bg-black {
    position: absolute;
    inset: 0;
    background: #000;
}

.bg-grain {
    position: absolute;
    inset: 0;
    background-image: url('assets/background-grain.png');
    background-size: 1024px 1024px;
    background-position: top left;
    mix-blend-mode: plus-lighter;
    opacity: 0.12;
}

.bg-vector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1792px;
    height: 1120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-vector img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hero Content */
.hero {
    width: 100%;
    max-width: 560px;
    text-align: center;
    padding: 20px;
    z-index: 1;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.heading {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 64px;
    line-height: 0.8;
    letter-spacing: -2.56px;
    text-transform: uppercase;
    text-align: center;
    color: #fff; /* Fallback */
    animation: slideIn 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.heading span:first-child {
    display: block;
    background: linear-gradient(180deg, #fff 10%, #bbb 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cycle-wrapper {
    display: block;
    height: 1.0em;
    overflow: hidden;
    position: relative;
    width: 100vw;
}

.cycle-item {
    display: block;
    height: 1.1em;
    line-height: 1.1em;
    background: linear-gradient(180deg, #fff 0%, #bbb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideVertical 9s infinite;
    position: absolute;
    width: 100%;
    opacity: 0;
}

.cycle-item:nth-child(1) { animation-delay: 0s; }
.cycle-item:nth-child(2) { animation-delay: 3s; }
.cycle-item:nth-child(3) { animation-delay: 6s; }

@keyframes slideVertical {
    0%, 5% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(20px);
    }
    10%, 28% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
    33%, 38% {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(20px);
    }
}

.subheading {
    font-size: 16px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.64);
    letter-spacing: 0.2px;
    opacity: 0;
    animation: 0.4s fadeIn 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 8px;
    align-items: start;
    opacity: 0;
    animation: 0.4s fadeIn 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease;
    position: relative;
    letter-spacing: 0.16px;
}

.btn:hover {
    transform: scale(1.1);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    color: rgba(255, 255, 255, 0.8);
    gap: 16px;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25),
                inset 0px -1px 1px 0px rgba(255, 255, 255, 0.08),
                inset 0px 1px 1px 0px rgba(255, 255, 255, 0.2),
                inset -1px 0px 0px 0px rgba(0, 0, 0, 0.16),
                inset 1px 0px 0px 0px rgba(0, 0, 0, 0.16);
    background: linear-gradient(180deg, #d1d1d1 0%, #a2a2a2 50%);
}


.btn-secondary {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-shadow: inset 0px -1px 1px 0px rgba(255, 255, 255, 0.08),
                inset 0px 1px 1px 0px rgba(255, 255, 255, 0.2),
                inset -1px 0px 0px 0px rgba(0, 0, 0, 0.16),
                inset 1px 0px 0px 0px rgba(0, 0, 0, 0.16);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(150, 150, 150, 0.08) 100%);
    backdrop-filter: blur(8px);
    mix-blend-mode: hard-light;
    z-index: -1;
}

.btn-secondary:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(150, 150, 150, 0.08) 100%);
    backdrop-filter: blur(8px);
    mix-blend-mode: hard-light;
    z-index: -1;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 560px;
    text-align: center;
    padding-bottom: 72px;
    opacity: 0;
    animation: 0.4s fadeIn 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.footer p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.16px;
}

/* Responsive */
@media (max-width: 600px) {

    .heading {
        font-size: 48px;
    }
    
    .subheading {
        font-size: 18px;
    }
    
    .button-group {
        flex-direction: column;
        width: 80%;
        align-items: center;
    }
    
    .btn {
        width: 100%;
    }


    .footer {
        width: 80vw;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 36px;
        letter-spacing: -1.5px;
    }
}

@media (max-height: 600px) {
    .heading {
        font-size: 300%;
        letter-spacing: -1.5px;
    }
}

.container {
    max-width: 800px;
    flex: none;
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5em;
    animation: slideIn2 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

body.about {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 0;
}


.title {
    letter-spacing: -0.05rem;
    color: rgba(255, 255, 255, 0.8);
}

a {
    all: unset;
}

.ti {
    font-size: 24px;
    cursor: pointer;
}


.btn-disabled {
    opacity: 0.4;
}

.btn {
    cursor: pointer;
}

@keyframes slideIn {
    from {
        transform: translateY(-50%);
        filter: blur(20px);
    }
    to {
        transform: translateY(0%);
        filter: blur(0px);
    }
}

@keyframes slideIn2 {
    from {
        transform: translateY(20%);
        filter: blur(20px);
    }
    to {
        transform: translateY(0%);
        filter: blur(0px);
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.nrn {
    height: 32px;
    margin: 48px;
}