:root {
    --black: #090909;
    --black-light: #151515;

    --yellow: #ffd400;
    --yellow-hover: #efc700;

    --white: #ffffff;

    --gray: #a3a3a3;

    --border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: var(--black);
    color: var(--white);
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* PAGE */

.page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 212, 0, 0.13),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #060606,
            #121212
        );
}


.container {
    width: min(1180px, calc(100% - 40px));

    min-height: 100vh;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
}


/* HEADER */

.header {
    height: 95px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}


.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: white;

    font-weight: 800;

    letter-spacing: 0.04em;
}


.logo-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--yellow);

    color: var(--black);

    font-size: 22px;
}


.header-button {
    padding: 11px 18px;

    border-radius: 999px;

    border: 1px solid var(--yellow);

    background: transparent;

    color: var(--yellow);

    transition: 0.2s;
}


.header-button:hover {
    background: var(--yellow);

    color: var(--black);
}


/* HERO */

.hero {
    flex: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    align-items: center;

    gap: 70px;

    padding: 70px 0;
}


.status {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    color: var(--yellow);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.14em;
}


.status span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--yellow);

    box-shadow:
        0 0 0 6px rgba(255, 212, 0, 0.1);
}


h1 {
    margin: 0;

    max-width: 700px;

    font-size: clamp(48px, 7vw, 90px);

    line-height: 0.96;

    letter-spacing: -0.055em;
}


h1 strong {
    display: block;

    color: var(--yellow);
}


.description {
    max-width: 570px;

    margin-top: 28px;

    color: #bcbcbc;

    font-size: 18px;

    line-height: 1.7;
}


.main-button {
    margin-top: 34px;

    min-height: 54px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;

    gap: 25px;

    border: none;

    border-radius: 14px;

    background: var(--yellow);

    color: var(--black);

    font-weight: 800;

    transition: 0.2s;
}


.main-button:hover {
    background: var(--yellow-hover);

    transform: translateY(-2px);
}


/* COUNTDOWN */

.countdown-card {
    padding: 32px;

    border: 1px solid var(--border);

    border-radius: 28px;

    background: rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(15px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}


.countdown-title {
    margin-bottom: 25px;

    color: var(--yellow);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.15em;
}


.countdown {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    gap: 9px;
}


.countdown-item {
    text-align: center;
}


.countdown-item strong {
    display: block;

    color: var(--yellow);

    font-size: clamp(40px, 4vw, 60px);

    line-height: 1;

    font-variant-numeric: tabular-nums;
}


.countdown-item span {
    display: block;

    margin-top: 10px;

    color: #999;

    font-size: 11px;

    text-transform: uppercase;
}


.separator {
    color: rgba(255, 212, 0, 0.45);

    font-size: 36px;

    transform: translateY(-10px);
}


.countdown-footer {
    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid var(--border);

    display: flex;

    align-items: center;

    gap: 10px;

    color: #999;

    font-size: 13px;
}


.countdown-footer span {
    width: 28px;

    height: 2px;

    background: var(--yellow);
}


/* FOOTER */

.footer {
    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--border);

    color: #727272;

    font-size: 13px;
}


/* OVERLAY */

.overlay {
    position: fixed;

    inset: 0;

    z-index: 90;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(3px);

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;
}


/* CONTACT PANEL */

.contact-panel {
    position: fixed;

    z-index: 100;

    top: 0;
    right: 0;

    width: min(520px, 100%);

    height: 100vh;

    padding: 38px;

    overflow-y: auto;

    background: #111;

    border-left:
        1px solid rgba(255, 212, 0, 0.25);

    transform: translateX(100%);

    transition:
        transform 0.35s cubic-bezier(.2, .8, .2, 1);
}


body.contact-open {
    overflow: hidden;
}


body.contact-open .overlay {
    opacity: 1;

    visibility: visible;
}


body.contact-open .contact-panel {
    transform: translateX(0);
}


/* PANEL HEADER */

.panel-header {
    display: flex;

    justify-content: space-between;

    gap: 25px;

    padding-bottom: 28px;

    border-bottom: 1px solid var(--border);
}


.panel-label {
    margin-bottom: 12px;

    color: var(--yellow);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.16em;
}


.panel-header h2 {
    margin: 0;

    font-size: 32px;
}


.panel-header p {
    margin: 10px 0 0;

    color: #999;

    line-height: 1.6;
}


.close-button {
    flex: 0 0 42px;

    width: 42px;

    height: 42px;

    border-radius: 50%;

    border: 1px solid var(--border);

    background: transparent;

    color: white;

    font-size: 26px;
}


.close-button:hover {
    border-color: var(--yellow);

    color: var(--yellow);
}


/* FORM */

.contact-form {
    padding-top: 28px;
}


.field {
    margin-bottom: 20px;
}


.field label {
    display: block;

    margin-bottom: 8px;

    color: #d5d5d5;

    font-size: 13px;

    font-weight: 700;
}


.field input,
.field textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #2d2d2d;

    border-radius: 12px;

    outline: none;

    background: #181818;

    color: white;

    transition: 0.2s;
}


.field input:focus,
.field textarea:focus {
    border-color: var(--yellow);

    box-shadow:
        0 0 0 3px rgba(255, 212, 0, 0.08);
}


.field textarea {
    resize: vertical;
}


.submit-button {
    width: 100%;

    min-height: 52px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: none;

    border-radius: 13px;

    background: var(--yellow);

    color: var(--black);

    font-weight: 800;
}


.submit-button:hover {
    background: var(--yellow-hover);
}


.submit-button:disabled {
    opacity: 0.6;

    cursor: wait;
}


.form-status {
    min-height: 25px;

    margin-top: 14px;

    font-size: 13px;
}


.form-status.success {
    color: #65db80;
}


.form-status.error {
    color: #ff7979;
}


.honeypot {
    position: absolute;

    left: -9999px;

    opacity: 0;

    pointer-events: none;
}


/* TABLET */

@media (max-width: 920px) {

    .hero {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


/* MOBILE */

@media (max-width: 640px) {

    .container {
        width: calc(100% - 28px);
    }


    .header {
        height: 78px;
    }


    .logo {
        font-size: 14px;
    }


    .logo-icon {
        width: 38px;
        height: 38px;
    }


    .header-button {
        padding: 9px 13px;

        font-size: 12px;
    }


    .hero {
        padding: 48px 0;
    }


    h1 {
        font-size: 48px;
    }


    .description {
        font-size: 16px;
    }


    .countdown-card {
        padding: 22px 14px;

        border-radius: 22px;
    }


    .countdown {
        gap: 4px;
    }


    .countdown-item strong {
        font-size: 30px;
    }


    .countdown-item span {
        font-size: 9px;
    }


    .separator {
        font-size: 23px;
    }


    .contact-panel {
        padding: 25px 20px;
    }


    .panel-header h2 {
        font-size: 27px;
    }

}