* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #090d12;
    --bg-mid: #151f2b;
    --bg-soft: #23384d;
    --orange: #f28b2c;
    --orange-strong: #ff7a00;
    --white: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.88);
    --border: rgba(255, 255, 255, 0.16);
    --card: rgba(255, 255, 255, 0.08);
    --yellow: #ffd35a;
    --red: #ff5a4f;
    --green: #92e35d;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(242, 139, 44, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 90, 79, 0.14), transparent 28%),
        linear-gradient(135deg, var(--bg-dark), var(--bg-mid) 55%, var(--bg-soft));
    overflow-x: hidden;
    position: relative;
}

body.modal-open {
    overflow: hidden;
}

.page-bg,
.page-speed-lines,
.page-speed-lines::before,
.page-speed-lines::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-bg {
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.04), transparent 22%),
        radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.03), transparent 20%);
    z-index: 0;
}

.page-speed-lines {
    z-index: 0;
    background:
        linear-gradient(115deg,
            transparent 0 16%,
            rgba(255, 255, 255, 0.03) 16% 18%,
            transparent 18% 26%,
            rgba(255, 255, 255, 0.025) 26% 27%,
            transparent 27% 100%);
}

.page-speed-lines::before {
    content: "";
    background:
        repeating-linear-gradient(-65deg,
            transparent 0 36px,
            rgba(255, 255, 255, 0.04) 36px 42px,
            transparent 42px 90px);
}

.page-speed-lines::after {
    content: "";
    background:
        repeating-linear-gradient(90deg,
            transparent 0 180px,
            rgba(242, 139, 44, 0.04) 180px 198px);
}

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

.hero-card {
    width: 100%;
    max-width: 1280px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.top-stripe {
    height: 14px;
    background:
        repeating-linear-gradient(45deg,
            var(--orange) 0 18px,
            #111 18px 36px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    padding: 38px;
}

.hero-copy {
    min-width: 0;
    position: relative;
    z-index: 10;
}

.eyebrow {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange-strong));
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.92rem;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.3);
}

.hero-copy h1 {
    display: flex;
    flex-direction: column;
    line-height: 0.92;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.title-main {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.title-accent {
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 900;
    color: var(--orange);
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.lead {
    max-width: 620px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text-soft);
    margin-bottom: 24px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.tag-row span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 800;
}

.countdown-wrap {
    margin-bottom: 24px;
}

.countdown-wrap h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--yellow);
    margin-bottom: 14px;
}

.countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.count-box {
    min-width: 100px;
    padding: 18px 14px;
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.count-box span {
    display: block;
    font-size: 1.95rem;
    font-weight: 900;
}

.count-box small {
    display: block;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-box {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 560px;
    margin-bottom: 26px;
}

.contact-box p {
    line-height: 1.65;
}

.contact-box a {
    color: var(--yellow);
    font-weight: 700;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.open-modal-button,
.send-button {
    display: inline-block;
    padding: 14px 22px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange), var(--orange-strong));
    color: #111;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.open-modal-button {
    margin-top: 16px;
}

.open-modal-button:hover,
.send-button:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.poster-shell {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    animation: posterFloat 5.5s ease-in-out infinite;
    background: #0d1117;
}

.poster-back,
.poster-main,
.poster-slice {
    position: absolute;
    inset: 0;
    background-image: url('kart-hero.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.poster-back {
    transform: scale(1.16) translateX(-2%) translateY(1%);
    filter: blur(14px) brightness(0.9) saturate(1.25);
    opacity: 0.55;
    animation: posterBackMove 8s ease-in-out infinite alternate;
}

.poster-main {
    transform: scale(1.03);
    animation: posterMainMove 10s ease-in-out infinite alternate;
}

.poster-slice {
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
    opacity: 0.55;
    mix-blend-mode: screen;
    filter: saturate(1.35) brightness(1.08);
    animation: posterSliceMove 2.2s ease-in-out infinite alternate;
}

.poster-flash,
.poster-speed,
.poster-shine,
.poster-vignette,
.poster-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.poster-flash {
    background:
        radial-gradient(circle at 68% 30%, rgba(255, 186, 90, 0.22), transparent 22%),
        radial-gradient(circle at 20% 75%, rgba(255, 255, 255, 0.10), transparent 20%);
    animation: posterFlashPulse 2.8s ease-in-out infinite;
}

.poster-speed {
    background:
        repeating-linear-gradient(-62deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.10) 42px 48px,
            transparent 48px 92px);
    mix-blend-mode: overlay;
    animation: posterSpeed 1s linear infinite;
}

.poster-shine {
    top: -18%;
    left: -60%;
    width: 42%;
    height: 150%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent);
    transform: rotate(16deg);
    animation: posterShine 3.8s ease-in-out infinite;
}

.poster-vignette {
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.24), transparent 26%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 18%),
        radial-gradient(circle at center, transparent 46%, rgba(0, 0, 0, 0.26) 100%);
}

.poster-frame {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bottom-note {
    padding: 0 38px 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
}

.launch-live {
    width: 100%;
    padding: 18px 22px;
    border-radius: 18px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
    background: rgba(146, 227, 93, 0.14);
    border: 1px solid rgba(146, 227, 93, 0.35);
    color: #eaffd6;
}

/* Modal */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 14, 0.78);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    width: 100%;
    max-width: 640px;
    background: linear-gradient(180deg, rgba(22, 31, 43, 0.97), rgba(10, 14, 20, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    padding: 28px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.modal-header {
    margin-bottom: 18px;
    padding-right: 36px;
}

.modal-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(242, 139, 44, 0.18);
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-header h2 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font: inherit;
    outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(242, 139, 44, 0.7);
    box-shadow: 0 0 0 3px rgba(242, 139, 44, 0.12);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.form-status.success {
    background: rgba(146, 227, 93, 0.14);
    border: 1px solid rgba(146, 227, 93, 0.35);
    color: #eaffd6;
}

.form-status.error {
    background: rgba(255, 90, 79, 0.14);
    border: 1px solid rgba(255, 90, 79, 0.35);
    color: #ffe0dd;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Loading overlay */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, 0.82);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1100;
}

.loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.loading-card {
    width: 100%;
    max-width: 420px;
    padding: 26px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(24, 33, 45, 0.98), rgba(10, 14, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.loading-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.loading-subtitle {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 18px;
    line-height: 1.55;
}

.loading-bar {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.loading-bar-fill {
    width: 42%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--yellow), var(--orange-strong));
    animation: loadingBarMove 1.2s ease-in-out infinite;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
    animation: loadingDotPulse 1s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes posterFloat {
    0% {
        transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(0);
    }

    50% {
        transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-10px);
    }

    100% {
        transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(0);
    }
}

@keyframes posterBackMove {
    0% {
        transform: scale(1.16) translateX(-2%) translateY(1%);
    }

    100% {
        transform: scale(1.22) translateX(2%) translateY(-1%);
    }
}

@keyframes posterMainMove {
    0% {
        transform: scale(1.03) translateX(0) translateY(0);
    }

    100% {
        transform: scale(1.10) translateX(-1.4%) translateY(-0.8%);
    }
}

@keyframes posterSliceMove {
    0% {
        transform: translateX(-2%) scale(1.04);
    }

    100% {
        transform: translateX(2%) scale(1.1);
    }
}

@keyframes posterFlashPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes posterSpeed {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-120px);
    }
}

@keyframes posterShine {
    0% {
        left: -60%;
    }

    50% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

@keyframes loadingBarMove {
    0% {
        transform: translateX(-80%);
    }

    100% {
        transform: translateX(220%);
    }
}

@keyframes loadingDotPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1 {
        align-items: center;
    }

    .lead,
    .contact-box {
        margin-left: auto;
        margin-right: auto;
    }

    .tag-row,
    .countdown {
        justify-content: center;
    }

    .poster-shell {
        transform: none;
    }
}

@media (max-width: 640px) {
    .hero-grid {
        padding: 24px 18px;
        gap: 22px;
    }

    .count-box {
        min-width: 88px;
        padding: 14px 10px;
    }

    .count-box span {
        font-size: 1.6rem;
    }

    .bottom-note {
        padding: 0 18px 22px;
    }

    .title-main {
        font-size: 2.45rem;
    }

    .title-accent {
        font-size: 2.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .contact-modal {
        padding: 22px 18px;
    }
}