@font-face {
    font-family: 'DrukCyr';
    src: url('assets/font/DrukCyr-Heavy.woff2') format('woff2'),
         url('assets/font/DrukCyr-Heavy.woff') format('woff'),
         url('assets/font/DrukCyr-Heavy.ttf') format('truetype');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('assets/font/InterTight-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --accent-color: #c8ff2a;
    --accent-rgb: 200, 255, 42;
    --hero-top-offset: clamp(74px, 18.5vh, 206px);
    --hero-bottom-offset: clamp(20px, 5vh, 56px);
    --photo-top-offset: clamp(24px, 6vh, 92px);
    --photo-bottom-offset: clamp(18px, 4.5vh, 52px);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url('assets/bkg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0.8px, transparent 0.8px),
                      radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06) 0.7px, transparent 0.7px),
                      radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.07) 0.9px, transparent 0.9px);
    background-size: 3px 3px, 4px 4px, 5px 5px;
    opacity: 0.22;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 1;
}

.web-layer {
    position: fixed;
    inset: 0;
    background-image: url('assets/web.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
    opacity: 30%;
}

.web-top-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 3;
    opacity: 45%;
}

.gradient-orb {
    position: absolute;
    top: -10%;
    right: 20%;
    height: 60%;
    aspect-ratio: 1 / 1;
    transform: translateX(50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(var(--accent-rgb), 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    opacity: 100%;
    z-index: 5;
}

.gradient-orb-secondary {
    top: 30%;
    left: 0%;
    right: auto;
    opacity: 100%;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(var(--accent-rgb), 0) 100%);
    transform: translateX(-50%);
    opacity: 50%;
}

.gradient-orb-tertiary {
    top: 40%;
    right: 0%;
    opacity: 100%;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(var(--accent-rgb), 0) 100%);
}

.bottom-fade {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

body > :not(.web-layer):not(.web-top-layer):not(.gradient-orb):not(.bottom-fade) {
    position: relative;
    z-index: 6;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 2vw;
    padding: 0 4vw;
    box-sizing: border-box;
}

.mobile-second-screen {
    display: none;
}

.mobile-third-screen {
    display: none;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    padding-top: var(--hero-top-offset);
    padding-bottom: calc(var(--hero-bottom-offset) + env(safe-area-inset-bottom));
    box-sizing: border-box;
    gap: 24px;
}

.text h1 {
    margin: 0;
    font-family: 'Inter Tight', sans-serif;
    font-size: 84px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.text p {
    margin: 0;
    display: inline-block;
    width: fit-content;
    max-width: 900px;
    padding: 18px 24px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 40px;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0%;
    background: rgba(255, 255, 255, 0.17);
    border-radius: 24px;
}

.cta-button {
    margin-top: auto;
    margin-bottom: 0;
    width: min(630px, 100%);
    height: 100px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-color);
    color: black;
    font-family: 'Inter Tight', sans-serif;
    font-size: 43px;
    line-height: 0.8;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.5), 0 0 44px rgba(var(--accent-rgb), 0.48);
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.72), 0 0 72px rgba(var(--accent-rgb), 0.62);
    transform: translateY(-1px);
}

.photo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--photo-top-offset);
    padding-bottom: calc(var(--photo-bottom-offset) + env(safe-area-inset-bottom));
    box-sizing: border-box;
}

.photo img {
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    transform: rotate(-2deg);
    display: block;
}

@media (max-width: 1200px) {
    .text h1 {
        font-size: 84px;
    }

    .text p {
        font-size: 40px;
    }
}
