@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&family=Inter:wght@300;400;600;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background: #020202;
    color: #fff;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 100;
    opacity: .045;
    pointer-events: none;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    background: radial-gradient(circle, transparent 35%, rgba(0,0,0,.82) 100%);
}

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.13), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.stars,
.stars2 {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        radial-gradient(1px 1px at 20px 30px, white, transparent),
        radial-gradient(1px 1px at 90px 80px, white, transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent),
        radial-gradient(1px 1px at 250px 200px, white, transparent),
        radial-gradient(1px 1px at 320px 60px, white, transparent);
    background-size: 420px 420px;
    animation: starsMove 45s linear infinite;
    opacity: .35;
}

.stars2 {
    background-size: 700px 700px;
    animation-duration: 95s;
    opacity: .18;
}

@keyframes starsMove {
    from { transform: translateY(0); }
    to { transform: translateY(-420px); }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 28px 7%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 90;
    background: linear-gradient(to bottom, rgba(0,0,0,.75), transparent);
}

.est {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 5px;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 46px;
}

nav a {
    color: #dcdcdc;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 11px;
    font-weight: 900;
    position: relative;
}

nav a.active::after,
nav a:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 38px;
    height: 3px;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 18px #fff;
}

.nav-btn {
    justify-self: end;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 900;
    padding: 16px 26px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: inset 0 0 22px rgba(255,255,255,.05), 0 0 35px rgba(255,255,255,.08);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 55%, rgba(255,255,255,.16), transparent 20%),
        radial-gradient(circle at 50% 70%, rgba(255,255,255,.08), transparent 35%),
        #020202;
}

.title-wrap {
    text-align: center;
    z-index: 5;
    margin-top: 50px;
}

.signature {
    font-family: "Nothing You Could Do", cursive;
    font-size: clamp(76px, 14vw, 190px);
    line-height: .8;
    font-weight: 400;
    color: #fff;
    text-shadow:
        0 0 10px rgba(255,255,255,.95),
        0 0 30px rgba(255,255,255,.75),
        0 0 80px rgba(255,255,255,.35);
    filter: drop-shadow(0 0 18px rgba(255,255,255,.65));
    animation: titleGlow 3.5s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        opacity: .94;
        text-shadow: 0 0 10px #fff, 0 0 35px rgba(255,255,255,.75), 0 0 90px rgba(255,255,255,.34);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 16px #fff, 0 0 55px rgba(255,255,255,.95), 0 0 130px rgba(255,255,255,.5);
    }
}

.subtitle,
.tag {
    margin-top: 22px;
    color: #bdbdbd;
    font-size: 12px;
    letter-spacing: 9px;
    font-weight: 900;
}

.logo-orbit {
    margin-top: 32px;
    width: 290px;
    height: 290px;
    position: relative;
    display: grid;
    place-items: center;
    z-index: 4;
}

.logo-orbit img {
    width: 185px;
    height: 185px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px #fff)
        drop-shadow(0 0 35px rgba(255,255,255,.75))
        drop-shadow(0 0 80px rgba(255,255,255,.35));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    50% { transform: scale(1.04); }
}

.orbit-ring,
.orbit-ring.second {
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    box-shadow:
        0 0 22px rgba(255,255,255,.5),
        inset 0 0 35px rgba(255,255,255,.16);
    animation: spin 18s linear infinite;
}

.orbit-ring::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 24px white;
}

.orbit-ring.second {
    inset: 38px;
    opacity: .45;
    animation-duration: 28s;
    animation-direction: reverse;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.side-text {
    position: absolute;
    top: 48%;
    color: #d7d7d7;
    font-size: 11px;
    letter-spacing: 5px;
    font-weight: 900;
    line-height: 1.8;
}

.side-text.left {
    left: 10%;
}

.side-text.right {
    right: 10%;
    text-align: right;
}

.side-text::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 14px;
    background: #fff;
    box-shadow: 0 0 16px white;
}

.side-text.right::after {
    margin-left: auto;
}

.scroll-indicator {
    position: absolute;
    left: 3%;
    bottom: 20%;
    color: #777;
    letter-spacing: 7px;
    font-size: 10px;
    writing-mode: vertical-rl;
}

.scroll-indicator::after {
    content: "";
    display: block;
    width: 1px;
    height: 70px;
    margin: 20px auto 0;
    background: #fff;
    box-shadow: 0 0 18px #fff;
}

.banner-section {
    padding: 80px 7% 35px;
}

.banner-frame {
    max-width: 1180px;
    margin: auto;
    height: 360px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.04);
    box-shadow:
        0 0 60px rgba(255,255,255,.09),
        inset 0 0 50px rgba(255,255,255,.04);
}

.banner-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-panel {
    max-width: 1180px;
    margin: 50px auto;
    padding: 46px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    box-shadow: 0 0 80px rgba(0,0,0,.7);
}

.about-panel h2,
.final h2 {
    font-size: clamp(38px, 5vw, 72px);
    letter-spacing: -3px;
    line-height: 1;
    margin: 18px 0;
}

.about-panel p {
    color: #b9b9b9;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.stats div {
    text-align: center;
    border-left: 1px solid rgba(255,255,255,.16);
}

.stats strong {
    display: block;
    font-size: 44px;
    font-family: Georgia, serif;
    font-weight: 400;
    text-shadow: 0 0 18px rgba(255,255,255,.45);
}

.stats span {
    color: #888;
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.features {
    padding: 90px 7% 120px;
    max-width: 1260px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature {
    min-height: 310px;
    padding: 34px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
    position: relative;
    overflow: hidden;
    transition: .35s;
}

.feature::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,.24), transparent 35%);
    opacity: 0;
    transition: .25s;
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,.45);
    box-shadow: 0 0 60px rgba(255,255,255,.08);
}

.feature span {
    color: #888;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 900;
}

.feature h3 {
    position: relative;
    margin: 95px 0 16px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.feature p {
    position: relative;
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.8;
}

.final {
    padding: 120px 7% 150px;
    text-align: center;
}

.big-btn {
    display: inline-block;
    margin-top: 30px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 13px;
    font-weight: 900;
    padding: 22px 80px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: inset 0 0 25px rgba(255,255,255,.05), 0 0 45px rgba(255,255,255,.08);
    transition: .3s;
}

.big-btn:hover {
    background: white;
    color: black;
    box-shadow: 0 0 70px rgba(255,255,255,.35);
}

footer {
    padding: 36px 7%;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 11px;
    letter-spacing: 4px;
}

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: .9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.versions-section {
    max-width: 1180px;
    margin: 70px auto 20px;
    padding: 50px 46px 25px;
    text-align: center;
}

.versions-section h2 {
    font-size: clamp(38px, 5vw, 72px);
    letter-spacing: -3px;
    line-height: 1;
    margin: 18px 0 42px;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.version-card {
    height: 360px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    box-shadow: 0 0 60px rgba(255,255,255,.09), inset 0 0 50px rgba(255,255,255,.04);
    position: relative;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    color: white;
    text-align: left;
}

.version-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .45s ease;
}

.version-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.15), transparent);
}

.version-card:hover img {
    transform: scale(1.06);
}

.version-overlay {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    z-index: 2;
}

.version-overlay span {
    color: #aaa;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 900;
}

.version-overlay h3 {
    margin: 12px 0 8px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.version-overlay p {
    color: #b8b8b8;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(10px);
}

.modal-box {
    position: relative;
    width: min(900px, calc(100% - 32px));
    max-height: 82vh;
    overflow-y: auto;
    margin: 9vh auto;
    padding: 46px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.18);
    background: linear-gradient(135deg, rgba(18,18,18,.98), rgba(4,4,4,.98));
    box-shadow: 0 0 90px rgba(255,255,255,.10);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.06);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.modal-box h2 {
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -2px;
    margin: 16px 0 26px;
}

.modal-content {
    white-space: pre-line;
    color: #cfcfcf;
    line-height: 1.8;
    font-size: 15px;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 1000px) {
    header {
        grid-template-columns: 1fr auto;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .side-text,
    .scroll-indicator {
        display: none;
    }

    .about-panel {
        margin: 30px 20px;
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .stats div {
        border-left: 0;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 60px 20px 100px;
    }

    .banner-frame {
        height: 230px;
    }

    .versions-section {
        padding: 40px 20px 20px;
    }

    .version-grid {
        grid-template-columns: 1fr;
    }

    .version-card {
        height: 230px;
    }

    .modal-box {
        padding: 34px 24px;
        margin: 7vh auto;
    }

    footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Mobile-only improvements - layout/design preserved */
@media (max-width: 1000px) {
    header {
        padding: 18px 20px;
        gap: 14px;
    }

    .est {
        font-size: 9px;
        letter-spacing: 3px;
        min-width: 0;
    }

    .nav-btn {
        padding: 12px 16px;
        font-size: 10px;
        letter-spacing: 1.5px;
        white-space: nowrap;
    }

    .cursor-glow {
        width: 260px;
        height: 260px;
        opacity: .55;
    }

    .title-wrap {
        margin-top: 20px;
        width: 100%;
    }

    .signature {
        font-size: clamp(58px, 19vw, 110px);
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .subtitle,
    .tag {
        font-size: 10px;
        letter-spacing: 5px;
        line-height: 1.6;
    }

    .logo-orbit {
        width: 230px;
        height: 230px;
        margin-top: 24px;
    }

    .logo-orbit img {
        width: 145px;
        height: 145px;
    }

    .banner-section {
        padding: 55px 20px 25px;
    }

    .about-panel {
        padding: 30px 24px;
        gap: 34px;
    }

    .about-panel h2,
    .final h2,
    .versions-section h2 {
        letter-spacing: -1.5px;
    }

    .stats strong {
        font-size: 36px;
    }

    .stats span {
        letter-spacing: 3px;
    }

    .feature {
        min-height: auto;
        padding: 28px 24px;
    }

    .feature h3 {
        margin: 55px 0 14px;
        font-size: 18px;
        letter-spacing: 2.5px;
    }

    .version-overlay {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .version-overlay h3 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .version-overlay p {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .big-btn {
        width: 100%;
        max-width: 360px;
        padding: 18px 22px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    .modal-content {
        font-size: 14px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 520px) {
    header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 16px 14px;
    }

    .nav-btn {
        justify-self: center;
        padding: 11px 14px;
    }

    .hero {
        min-height: auto;
        padding: 135px 16px 55px;
    }

    .signature {
        font-size: clamp(50px, 22vw, 86px);
        line-height: .9;
    }

    .subtitle,
    .tag {
        letter-spacing: 3.5px;
    }

    .logo-orbit {
        width: 200px;
        height: 200px;
    }

    .logo-orbit img {
        width: 125px;
        height: 125px;
    }

    .banner-frame {
        height: 190px;
        border-radius: 18px;
    }

    .about-panel {
        margin: 24px 14px;
        padding: 26px 20px;
        border-radius: 16px;
    }

    .about-panel h2,
    .final h2,
    .versions-section h2 {
        font-size: 34px;
        line-height: 1.05;
    }

    .about-panel p,
    .feature p,
    .modal-content {
        font-size: 14px;
    }

    .features {
        padding: 45px 14px 80px;
        gap: 18px;
    }

    .versions-section {
        margin: 45px auto 10px;
        padding: 34px 14px 15px;
    }

    .version-card {
        height: 210px;
        border-radius: 18px;
    }

    .modal-box {
        width: calc(100% - 20px);
        max-height: 86vh;
        padding: 30px 18px;
        margin: 6vh auto;
        border-radius: 18px;
    }

    .modal-close {
        top: 12px;
        right: 14px;
        width: 38px;
        height: 38px;
    }

    .final {
        padding: 80px 14px 95px;
    }

    footer {
        padding: 30px 14px;
        font-size: 10px;
        letter-spacing: 2.5px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cursor-glow {
        display: none;
    }

    .feature:hover {
        transform: none;
    }
}
