@font-face {
    font-family: 'Mont';
    src: url('path-to-mont-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mont';
    src: url('path-to-mont-heavy.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

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

body {
    font-family: 'Mont', sans-serif;
    background-color: #0c0f16;
    color: #fff;
    overflow-x: hidden;
}

.landing-page {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 430px;
    height: 85px;
    z-index: 100;
}

.header-bg {
    position: absolute;
    width: 100%;
    height: 81px;
    background: radial-gradient(50% 75% at 50% 75%, rgba(58, 59, 213, 0.8) 0%, #161a19 100%);
    opacity: 0.2;
}

.header-overlay {
    position: absolute;
    width: 100%;
    height: 81px;
    background: linear-gradient(56.31deg, rgba(255, 255, 255, 0.1) 22.23%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(70px);
    -webkit-backdrop-filter: blur(70px);
    box-shadow: 2px 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    position: relative;
}

.header-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 0;
    background: linear-gradient(65.87deg, rgba(58, 59, 213, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
}

.logo {
    font-size: 14px;
    color: #fff;
}

.menu-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.menu-icon:focus-visible {
    outline: 2px solid rgba(140, 108, 188, 0.8);
    outline-offset: 3px;
}

.menu-icon:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-line {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-line:nth-child(1) {
    top: 13px;
}

.menu-line:nth-child(2) {
    top: 20px;
}

.menu-line:nth-child(3) {
    top: 27px;
}

.menu-icon.is-open .menu-line:nth-child(1) {
    top: 20px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-icon.is-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-icon.is-open .menu-line:nth-child(3) {
    top: 20px;
    transform: translateX(-50%) rotate(-45deg);
}

.menu-panel {
    position: absolute;
    top: 82px;
    right: 28px;
    padding: 18px 22px;
    background: rgba(12, 15, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    display: flex;
    gap: 14px;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 120;
}

.menu-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.menu-link:hover,
.menu-link:focus-visible {
    color: #c9b5ff;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #111111;
}

.progress {
    width: 0%;
    height: 4px;
    background-color: #8c6cbc;
    box-shadow: 0 0 9.8px rgba(125, 11, 255, 0.81);
    transition: width 0.1s ease-out;
}

.welcome {
    height: 223px;
    background-color: #151c26;
    display: flex;
    align-items: center;
    padding: 0 25px;
    margin-top: 85px;
    margin-bottom: 44px;
}

.welcome h1 {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: -0.4px;
}

.summary {
    padding: 7px 24px;
    font-size: 20px;
    line-height: 1.4;
}

.cta-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

@media (min-width: 600px) {
    .cta-links {
        flex-direction: row;
        align-items: center;
    }
}

.cta-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(135deg, #8c6cbc, #5f4bdb);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-link:hover,
.cta-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.cta-link.ghost {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.footnote {
    font-size: 16px;
    opacity: 0.8;
}

.content-status {
    margin: 24px 24px 0;
    padding: 12px 16px;
    background: rgba(140, 108, 188, 0.15);
    border: 1px solid rgba(140, 108, 188, 0.4);
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.content-status[hidden] {
    display: none;
}

.section-header {
    padding: 44px 25px;
}

.section-header h2 {
    color: #8c6cbc;
    font-size: 16px;
    font-weight: 800;
}

.spirit-animal {
    padding: 0 25px 44px;
}

.animal-image {
    width: 100%;
    height: 230px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.animal-image .credit {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
    font-size: 14px;
}

.animal-name {
    background-color: #8c6cbc;
    padding: 16px 25px;
    position: relative;
}

.animal-name::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 0;
    background: linear-gradient(65.87deg, rgba(58, 59, 213, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.animal-name h3 {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: -0.4px;
}

.animal-description {
    background-color: #151c26;
    padding: 24px 25px;
    font-size: 16px;
    line-height: 1.5;
}

.superpower-title {
    font-size: 48px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.superpower-description {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 44px;
}

.slider-container {
    padding: 0 25px 44px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider {
    display: flex;
    gap: 8px;
    width: max-content;
}

.slider-box {
    width: 340px;
    height: 394px;
    background-color: #151c26;
    padding: 24px 25px 44px;
}

.slider-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 44px;
}

.slider-box-title {
    font-size: 20px;
    font-weight: normal;
    color: #fff;
}

.slider-box-icon {
    color: #8c6cbc;
}

.slider-box-content {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.deep-dive-container {
    padding: 0 25px;
}

.trait-box {
    background-color: #151c26;
    border: 1px solid #0c0f16;
    height: 90px;
    margin-bottom: 0;
    padding: 14px 25px 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.trait-box.expanded {
    height: auto;
    padding-bottom: 69px;
}

.trait-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trait-title {
    font-size: 20px;
    font-weight: normal;
}

.trait-level {
    font-size: 16px;
    color: #8c6cbc;
    margin-top: 0;
}

.trait-description {
    margin-top: 15px;
    margin-bottom: 44px;
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trait-box.expanded .trait-description {
    opacity: 1;
    transform: translateY(0);
}

.trait-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.trait-box.expanded .trait-icon {
    transform: rotate(45deg);
}

@media (min-width: 768px) {
    .landing-page {
        max-width: 768px;
    }

    .header {
        max-width: 768px;
    }

    .summary {
        padding: 20px 60px;
        font-size: 22px;
    }

    .section-header {
        padding: 60px 60px 30px;
    }

    .spirit-animal, 
    .deep-dive-container {
        padding: 0 60px 60px;
    }

    .slider-container {
        padding: 0 60px 60px;
    }
}
