/* landing.css — компактный лендинг Царский VPN */

body {
    min-height: 100svh;
}

.landing-page {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 215, 0, 0.13), transparent 28%),
        radial-gradient(circle at 84% 18%, rgba(139, 21, 56, 0.34), transparent 34%),
        linear-gradient(145deg, #08060b 0%, #1a0d18 46%, #311020 100%);
}

.royal-bg,
.royal-grid,
.royal-rays,
.royal-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
}

.royal-bg {
    background:
        radial-gradient(ellipse at 50% -10%, rgba(255, 215, 0, 0.18), transparent 44%),
        linear-gradient(90deg, rgba(255, 215, 0, 0.05), transparent 18%, transparent 82%, rgba(255, 215, 0, 0.05));
}

.royal-grid {
    z-index: -2;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
}

.royal-rays {
    z-index: -1;
    opacity: 0.32;
    background: conic-gradient(from 90deg at 50% 40%, transparent, rgba(255, 215, 0, 0.22), transparent, rgba(139, 21, 56, 0.2), transparent);
    animation: royalRays 18s linear infinite;
}

.royal-glow {
    z-index: -1;
    filter: blur(10px);
}

.royal-glow-left::before,
.royal-glow-right::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.13);
    animation: glowFloat 7s ease-in-out infinite;
}

.royal-glow-left::before {
    left: -120px;
    bottom: 10%;
}

.royal-glow-right::before {
    right: -110px;
    top: 12%;
    background: rgba(196, 30, 90, 0.18);
    animation-delay: -3s;
}

.landing-header {
    position: relative;
    z-index: 10;
}

.landing-header-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.landing-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.landing-logo-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #130b05;
    font-size: 21px;
    border: 1px solid rgba(255, 215, 0, 0.75);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff3a5, #d4af37 45%, #8c5a11);
    box-shadow: 0 0 36px rgba(255, 215, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.landing-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.landing-logo-name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--imperial-gold-light);
}

.landing-logo-tagline {
    margin-top: 4px;
    color: rgba(245, 240, 230, 0.62);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.btn-login-cabinet,
.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-login-cabinet {
    padding: 12px 20px;
    color: var(--imperial-gold-light);
    border: 1px solid rgba(255, 215, 0, 0.34);
    background: rgba(13, 10, 15, 0.48);
    backdrop-filter: blur(18px);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.btn-login-cabinet:hover,
.btn-hero-primary:hover,
.btn-hero-secondary:hover {
    transform: translateY(-2px);
}

.btn-login-cabinet:hover {
    border-color: rgba(255, 215, 0, 0.72);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.16);
}

.hero-section {
    position: relative;
    z-index: 1;
    min-height: calc(100svh - 68px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 28px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(28px, 5vw, 70px);
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    margin-bottom: 20px;
    color: var(--imperial-gold-light);
    border: 1px solid rgba(255, 215, 0, 0.32);
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.08);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: fadeInDown 0.7s ease both;
}

.hero-title {
    margin: 0;
    font-size: clamp(54px, 7.4vw, 92px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    color: #fff7cf;
    text-shadow: 0 0 42px rgba(255, 215, 0, 0.2);
    animation: fadeInUp 0.75s ease 0.1s both;
}

.hero-title span {
    display: block;
    margin-top: 16px;
    font-size: clamp(25px, 3.3vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
    background: linear-gradient(135deg, #fff9d8, #ffd700 44%, #c41e5a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(245, 240, 230, 0.78);
    font-size: clamp(16px, 1.55vw, 20px);
    line-height: 1.55;
    animation: fadeInUp 0.75s ease 0.22s both;
}

.hero-marks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    animation: fadeInUp 0.75s ease 0.32s both;
}

.hero-marks span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: rgba(255, 248, 220, 0.84);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    font-size: 13px;
    font-weight: 700;
}

.hero-marks i {
    color: var(--imperial-gold-light);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    animation: fadeInUp 0.75s ease 0.42s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    min-height: 56px;
    padding: 0 25px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.btn-hero-primary {
    position: relative;
    overflow: hidden;
    color: #170c06;
    background: linear-gradient(135deg, #fff5af, #ffd700 42%, #b8860b);
    box-shadow: 0 16px 48px rgba(255, 215, 0, 0.28);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: -120% auto -120% -45%;
    width: 34%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    transform: rotate(18deg);
    animation: coinShimmer 2.8s ease-in-out infinite;
}

.btn-hero-primary i,
.btn-hero-primary span {
    position: relative;
}

.btn-hero-primary:disabled {
    cursor: wait;
    opacity: 0.78;
}

.btn-hero-secondary {
    color: #fff7cf;
    border: 1px solid rgba(255, 215, 0, 0.32);
    background: rgba(255, 248, 220, 0.07);
}

.landing-error-message {
    margin: 12px 0 0;
    color: #ffd7d7;
    font-size: 14px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
    animation: fadeInUp 0.75s ease 0.5s both;
}

.benefit-card {
    min-height: 112px;
    padding: 16px 14px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 215, 0, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.benefit-card i {
    color: var(--imperial-gold-light);
    font-size: 19px;
}

.benefit-card strong {
    display: block;
    margin-top: 10px;
    color: #fff8dc;
    font-size: 15px;
}

.benefit-card span {
    display: block;
    margin-top: 4px;
    color: rgba(245, 240, 230, 0.64);
    font-size: 12px;
    line-height: 1.35;
}

.offer-card {
    position: relative;
    min-height: 540px;
    padding: 34px;
    border: 1px solid rgba(255, 215, 0, 0.36);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 248, 220, 0.11), rgba(139, 21, 56, 0.12)),
        rgba(13, 10, 15, 0.54);
    box-shadow:
        0 26px 90px rgba(0, 0, 0, 0.48),
        0 0 70px rgba(255, 215, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(24px);
    overflow: hidden;
    animation: cardFloat 5.5s ease-in-out infinite;
}

.offer-card::before,
.offer-card::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 26px;
    pointer-events: none;
}

.offer-card::after {
    inset: auto -30% 12% -30%;
    height: 90px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.28), transparent 64%);
    filter: blur(16px);
    animation: haloPulse 2.8s ease-in-out infinite;
}

.royal-emblem {
    position: relative;
    width: 270px;
    height: 270px;
    margin: 12px auto 22px;
    display: grid;
    place-items: center;
}

.royal-emblem-logo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 34px;
    filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 34px rgba(255, 215, 0, 0.2));
    animation: crownFloat 3.4s ease-in-out infinite;
}

.price-seal {
    position: relative;
    width: 190px;
    height: 190px;
    margin: -16px auto 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1c0d04;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 26%, #fff9d8, transparent 22%),
        linear-gradient(145deg, #ffe773, #d4af37 52%, #8f5d11);
    box-shadow: 0 0 54px rgba(255, 215, 0, 0.34), inset 0 0 0 10px rgba(255, 248, 220, 0.14);
}

.price-seal::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(28, 13, 4, 0.34);
    border-radius: inherit;
    animation: emblemSpin 16s linear infinite reverse;
}

.price-seal strong {
    position: relative;
    font-size: 58px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
}

.price-label,
.price-note {
    position: relative;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.offer-list {
    display: grid;
    gap: 10px;
}

.offer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    color: rgba(255, 248, 220, 0.82);
    border: 1px solid rgba(255, 215, 0, 0.17);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    font-size: 14px;
    font-weight: 650;
}

.offer-row i {
    color: #74f2b0;
}

.royal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    color: var(--imperial-gold-light);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.4px;
}

.landing-legal {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    width: calc(100% - 32px);
    color: rgba(245, 240, 230, 0.48);
    font-size: 12px;
}

.landing-legal a {
    color: rgba(255, 248, 220, 0.66);
    text-decoration: none;
}

.landing-legal a:hover {
    color: var(--imperial-gold-light);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes royalRays {
    to {
        transform: rotate(360deg);
    }
}

@keyframes glowFloat {
    50% {
        transform: translateY(-28px) scale(1.08);
        opacity: 0.7;
    }
}

@keyframes cardFloat {
    50% {
        transform: translateY(-10px);
    }
}

@keyframes crownFloat {
    50% {
        transform: translateY(-9px) rotate(-3deg);
    }
}

@keyframes emblemSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes haloPulse {
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

@keyframes coinShimmer {
    0%,
    38% {
        left: -45%;
    }

    72%,
    100% {
        left: 118%;
    }
}

@media (max-width: 980px) {
    .landing-page {
        min-height: 100svh;
        overflow-y: auto;
    }

    .hero-section {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 34px;
        padding-bottom: 76px;
    }

    .hero-content {
        max-width: 760px;
        text-align: center;
        margin: 0 auto;
    }

    .hero-marks,
    .hero-cta {
        justify-content: center;
    }

    .offer-card {
        min-height: auto;
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .benefits-grid {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .landing-header-content {
        padding: 14px 16px 0;
    }

    .landing-logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 18px;
    }

    .landing-logo-name {
        font-size: 18px;
    }

    .landing-logo-tagline {
        display: none;
    }

    .btn-login-cabinet {
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .btn-login-cabinet span {
        display: none;
    }

    .hero-section {
        padding: 28px 16px 76px;
        gap: 22px;
    }

    .hero-badge {
        margin-bottom: 16px;
        padding: 8px 12px;
        font-size: 10px;
    }

    .hero-title {
        font-size: clamp(42px, 14vw, 58px);
    }

    .hero-title span {
        margin-top: 12px;
        font-size: clamp(22px, 7vw, 30px);
    }

    .hero-subtitle {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.45;
    }

    .hero-marks {
        gap: 8px;
        margin-top: 16px;
    }

    .hero-marks span {
        width: 100%;
        justify-content: center;
        padding: 8px 10px;
        font-size: 12px;
    }

    .hero-cta {
        margin-top: 18px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }

    .benefit-card {
        min-height: auto;
        padding: 12px 14px;
        text-align: left;
    }

    .benefit-card i,
    .benefit-card strong,
    .benefit-card span {
        display: inline;
    }

    .benefit-card strong {
        margin: 0 6px;
    }

    .offer-card {
        padding: 22px;
        border-radius: 26px;
    }

    .royal-emblem {
        width: 190px;
        height: 190px;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .price-seal {
        width: 138px;
        height: 138px;
        margin-bottom: 16px;
    }

    .price-seal strong {
        font-size: 42px;
    }

    .offer-row {
        padding: 9px 10px;
        font-size: 12px;
    }

    .royal-note {
        font-size: 12px;
    }

    .landing-legal {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        padding: 0 16px 16px;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .hero-section {
        padding-top: 22px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-title span {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .offer-card {
        padding: 18px;
    }
}
