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

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Wrapper provides centring and full height */
.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Main container with fixed base dimensions (scaled in JS) */
.container {
    position: relative;
    width: 1440px;
    height: 900px;
    transform-origin: top center;
    background-color: #ffffff;
}

/* ===== LOGO SCROLLER (9 кругов) ===== */
.logo-scroller {
    position: absolute;
    left: 95px;
    top: 79px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    cursor: pointer;
}

.logo-scroller .cell {
    width: 55px;
    height: 55px;
    background-color: #F1F6FA;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    font-size: 18.83px;
    font-weight: 600;
    color: #0E436E;
    text-transform: uppercase;
    user-select: none;
    flex-shrink: 0;
}

.logo-scroller .letter-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.logo-scroller .letter-track span {
    height: 50%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

/* Location badge */
.location-badge {
    position: absolute;
    left: 948px;
    top: 78.78px;
    width: 356.56px;
    height: 55.03px;
    background-color: #F1F6FA;
    border-radius: 8.03px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    overflow: visible;
}

.deer-icon {
    position: relative;
    width: 103.05px;
    height: 79.49px;
    flex-shrink: 0;
    margin-top: -24px;
}

.city {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 21.07px;
    color: #0E436E;
    line-height: 25px;
    white-space: nowrap;
    margin-left: 16px;
}

/* Primary (green) rectangle */
.rectangle-main {
    position: absolute;
    left: 95px;
    top: 166px;
    width: 720px;
    height: 470px;
    background-color: #C1F069;
    border-radius: 29.33px;
    overflow: hidden;
}

.blink-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    overflow: hidden;
    user-select: none;
    padding: 60px 80px;
}

.blink-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 520px;
    transform-style: preserve-3d;
    will-change: transform;
}

.blink-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 110ms ease-out;
    transform-origin: center;
}

.blink-text {
    color: #003D45;
    font-size: 96px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.88;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
    white-space: nowrap;
}

.blink-smile-wrap {
    transition: transform 200ms ease-out;
    margin-top: 24px;
}

/* Secondary (white) rectangle */
.rectangle-secondary {
    position: absolute;
    left: 831px;
    top: 166px;
    width: 474px;
    height: 470px;
    background-color: #ffffff;
    border-radius: 29.33px;
    border: 2px solid #F1F6FA;
    overflow: hidden;
}

.rectangle-secondary-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.rectangle-secondary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.press-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 36px;
    z-index: 2;
}

.press-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #0E436E;
    line-height: 1.2;
    margin-bottom: 16px;
}

.press-email {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #0E436E;
    background-color: #C1F069;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    white-space: nowrap;
}

.copyright {
    position: absolute;
    left: 614px;
    top: 752px;
    width: 170px;
    height: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 26.31px;
    color: #0E436E;
    line-height: 32px;
    white-space: nowrap;
}

.disclaimer {
    position: absolute;
    left: 219px;
    top: 808px;
    width: 961px;
    height: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13.33px;
    color: #0E436E;
    line-height: 16px;
    text-align: center;
}

/* ===== MOBILE ADAPTIVE ===== */
@media (max-width: 900px) {
    .container {
        width: 100%;
        height: auto;
        min-height: 100vh;
        transform: none !important;
        padding: 20px 16px 40px;
        display: flex;
        flex-direction: column;
    }

    .wrapper {
        min-height: auto;
    }

    .logo-scroller {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 16px;
    }

    .logo-scroller .cell {
        flex: 1;
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 60px;
        font-size: clamp(11px, 3.2vw, 18px);
    }

    .rectangle-main,
    .rectangle-secondary {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 380px;
        margin-bottom: 16px;
    }

    .rectangle-secondary {
        margin-bottom: 24px;
    }

    .location-badge {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 320px;
        height: 48px;
        margin: 0 auto 24px;
        padding-left: 16px;
    }

    .deer-icon {
        width: 80px;
        height: 60px;
        margin-top: -12px;
    }

    .city {
        font-size: 16px;
    }

    .blink-scene {
        padding: 30px 20px;
    }

    .blink-text {
        font-size: clamp(48px, 12vw, 72px);
    }

    .blink-smile-wrap svg {
        width: 120px;
        height: 60px;
    }

    .press-content {
        padding: 24px 20px;
    }

    .press-label {
        font-size: 22px;
    }

    .press-email {
        font-size: 18px;
        padding: 10px 18px;
    }

    .copyright {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        text-align: center;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .disclaimer {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding: 0 16px;
        font-size: 12px;
        line-height: 1.5;
        height: auto;
    }
}

@media (max-width: 480px) {
    .blink-text {
        font-size: clamp(36px, 10vw, 56px);
    }

    .rectangle-main,
    .rectangle-secondary {
        height: 320px;
    }
}