@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #080d16;
    --panel: rgba(17, 25, 39, 0.82);
    --panel-border: rgba(255, 255, 255, 0.09);
    --text: #f8fafc;
    --muted: #aab5c5;
    --gold: #f7b928;
    --gold-light: #ffd76a;
    --blue: #4285f4;
    --telegram: #229ed9;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(247, 185, 40, 0.09), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(66, 133, 244, 0.12), transparent 30%),
        linear-gradient(135deg, #080d16 0%, #0d1421 48%, #090c14 100%);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 5vw;
    border-bottom: 1px solid var(--panel-border);
    background: rgba(8, 13, 22, 0.82);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(247, 185, 40, 0.24);
    border-radius: 13px;
    background: rgba(247, 185, 40, 0.1);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
}

.top-nav a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.top-nav a:hover {
    color: white;
    transform: translateY(-1px);
}

.header-button {
    padding: 11px 18px;
    color: #101522 !important;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 76px);
    padding: 72px 5vw 60px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero-glow-one {
    top: 8%;
    left: 36%;
    width: 330px;
    height: 330px;
    background: rgba(247, 185, 40, 0.12);
}

.hero-glow-two {
    right: 3%;
    bottom: 4%;
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, 0.12);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    width: min(1240px, 100%);
    margin: 0 auto;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid rgba(247, 185, 40, 0.22);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(247, 185, 40, 0.08);
    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(42px, 6.8vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.hero h1 span {
    display: block;
    color: var(--gold);
    text-shadow: 0 10px 42px rgba(247, 185, 40, 0.18);
}

.hero-text {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.75;
}

.speech-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 650px;
    margin: 28px 0 24px;
    padding: 16px 18px;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: rgba(16, 24, 38, 0.78);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
}

.speech-avatar {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: rgba(247, 185, 40, 0.12);
    font-size: 21px;
}

.speech-card strong {
    display: block;
    margin-bottom: 3px;
    color: var(--gold-light);
    font-size: 13px;
}

.speech-card p {
    min-height: 48px;
    margin: 0;
    color: #dbe4f0;
    line-height: 1.55;
}

.registration-buttons {
    display: grid;
    gap: 13px;
    max-width: 650px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: white;
    font: inherit;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.login-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
}

.login-button.google {
    background: linear-gradient(135deg, #2f6fe4, #4c8df6);
    box-shadow: 0 16px 38px rgba(66, 133, 244, 0.26);
}

.login-button.telegram {
    background: linear-gradient(135deg, #168ac3, #2ab5ec);
    box-shadow: 0 16px 38px rgba(34, 158, 217, 0.23);
}

.login-button.outline {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.login-button.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.login-button.disabled:hover {
    transform: none;
    filter: none;
}

.google-mark {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #4285f4;
    background: white;
    font-weight: 900;
}

.button-icon {
    font-size: 22px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
    color: #8290a3;
    font-size: 12px;
    font-weight: 700;
}

.bear-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 640px;
}

.bear-wrap {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    animation: bearFloat 4s ease-in-out infinite;
    transform-origin: center bottom;
}

.welcome-bear {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 30px 35px rgba(0, 0, 0, 0.32))
        drop-shadow(0 0 42px rgba(255, 255, 255, 0.08));
    user-select: none;
    -webkit-user-drag: none;
}

.hello-badge {
    position: absolute;
    z-index: 4;
    top: 13%;
    right: 1%;
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 18px 18px 18px 4px;
    color: #111827;
    background: white;
    box-shadow: var(--shadow);
    font-weight: 800;
    animation: helloPop 3s ease-in-out infinite;
}

.blink-eye {
    position: absolute;
    z-index: 4;
    top: 28.2%;
    width: 8.7%;
    height: 1.4%;
    border-radius: 50%;
    background: #f1f5f9;
    opacity: 0;
    transform: scaleY(0);
    animation: blink 5.4s infinite;
    pointer-events: none;
}

.left-eye {
    left: 35.6%;
}

.right-eye {
    right: 34.3%;
}

.paw-wave {
    position: absolute;
    z-index: 5;
    top: 28%;
    right: 4%;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-size: 34px;
    transform-origin: 50% 90%;
    animation: pawWave 1.4s ease-in-out infinite;
}

.stage-shadow {
    position: absolute;
    z-index: 1;
    bottom: 6%;
    width: 63%;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.38);
    filter: blur(18px);
    animation: shadowPulse 4s ease-in-out infinite;
}

.about-section,
.steps-section {
    padding: 92px 5vw;
}

.about-section {
    border-top: 1px solid var(--panel-border);
    background: rgba(10, 16, 27, 0.72);
}

.steps-section {
    background:
        linear-gradient(180deg, rgba(247, 185, 40, 0.025), transparent);
}

.section-heading {
    width: min(720px, 100%);
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.compact {
    margin-bottom: 34px;
}

.section-heading span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.045em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.feature-grid,
.steps-grid {
    display: grid;
    gap: 20px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.step-card {
    border: 1px solid var(--panel-border);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.17);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease;
}

.feature-card {
    padding: 28px;
}

.feature-card:hover,
.step-card:hover {
    border-color: rgba(247, 185, 40, 0.24);
    transform: translateY(-5px);
}

.feature-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 16px;
    background: rgba(247, 185, 40, 0.09);
    font-size: 25px;
}

.feature-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.feature-card p,
.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
    position: relative;
    padding: 30px 26px 28px 84px;
}

.step-number {
    position: absolute;
    top: 27px;
    left: 24px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #161109;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    font-weight: 900;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 5vw;
    border-top: 1px solid var(--panel-border);
    color: #78869a;
    background: #080c13;
    font-size: 13px;
}

.site-footer strong {
    color: var(--gold);
    font-size: 18px;
}

.site-footer p {
    margin: 5px 0 0;
}

@keyframes bearFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-0.5deg);
    }

    50% {
        transform: translateY(-14px) rotate(0.5deg);
    }
}

@keyframes blink {
    0%,
    42%,
    46%,
    100% {
        opacity: 0;
        transform: scaleY(0);
    }

    43%,
    45% {
        opacity: 0.96;
        transform: scaleY(1);
    }
}

@keyframes pawWave {
    0%,
    100% {
        transform: rotate(-12deg);
    }

    50% {
        transform: rotate(18deg);
    }
}

@keyframes helloPop {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.03);
    }
}

@keyframes shadowPulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scaleX(1);
    }

    50% {
        opacity: 0.52;
        transform: scaleX(0.9);
    }
}

@media (max-width: 1050px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .speech-card,
    .registration-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    .trust-row {
        justify-content: center;
    }

    .bear-stage {
        min-height: 540px;
    }

    .bear-wrap {
        width: min(100%, 460px);
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 68px;
        padding: 0 18px;
    }

    .top-nav > a:not(.header-button) {
        display: none;
    }

    .brand {
        font-size: 21px;
    }

    .hero {
        padding: 48px 18px 32px;
    }

    .hero h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .hero-text {
        font-size: 15px;
    }

    .speech-card {
        text-align: left;
    }

    .bear-stage {
        min-height: 430px;
    }

    .bear-wrap {
        width: min(100%, 370px);
    }

    .hello-badge {
        top: 7%;
        right: 0;
        font-size: 13px;
    }

    .paw-wave {
        width: 54px;
        height: 54px;
        font-size: 27px;
    }

    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .steps-section {
        padding: 70px 18px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}