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

:root {
    --black: #050505;
    --soft-black: #101010;
    --gold: #d4af37;
    --gold-bright: #ffd86b;
    --white: #ffffff;
    --muted-white: rgba(255, 255, 255, 0.74);
}

body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 15%, rgba(212, 175, 55, 0.24), transparent 32%),
        radial-gradient(circle at 84% 82%, rgba(255, 216, 107, 0.18), transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(218, 165, 32, 0.12), transparent 40%),
        linear-gradient(135deg, #000000 0%, var(--soft-black) 48%, #000000 100%);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
    animation: gridDrift 16s linear infinite;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 18px;
    isolation: isolate;
}

.home-button {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid rgba(255, 216, 107, 0.72);
    border-radius: 999px;
    color: #050505;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 22px rgba(212, 175, 55, 0.22);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42), 0 0 30px rgba(212, 175, 55, 0.34);
}

.home-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 3px;
}

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.home-button {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.home-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(255, 255, 255, 0.08);
}

.background span {
    position: absolute;
    width: clamp(120px, 18vw, 260px);
    height: clamp(120px, 18vw, 260px);
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 50%;
    box-shadow: inset 0 0 45px rgba(212, 175, 55, 0.12), 0 0 65px rgba(212, 175, 55, 0.12);
    animation: orbFloat 9s ease-in-out infinite;
}

.background span:nth-child(1) {
    top: 8%;
    left: 8%;
}

.background span:nth-child(2) {
    top: 18%;
    right: 10%;
    animation-delay: -2s;
}

.background span:nth-child(3) {
    bottom: 10%;
    left: 14%;
    animation-delay: -4s;
}

.background span:nth-child(4) {
    right: 16%;
    bottom: 12%;
    animation-delay: -6s;
}

.activation-card {
    position: relative;
    width: min(100%, 560px);
    padding: clamp(28px, 5vw, 52px);
    border: 2px solid rgba(255, 216, 107, 0.6);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.98), rgba(0, 0, 0, 0.95));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72), 0 0 70px rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: cardEnter 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.activation-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 216, 107, 0.18) 35%, transparent 70%);
    transform: translateX(-100%);
    animation: goldSweep 4.8s ease-in-out infinite;
    pointer-events: none;
}

.activation-card::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    pointer-events: none;
}

.eyebrow {
    position: relative;
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 16px;
    border: 1px solid rgba(212, 175, 55, 0.56);
    border-radius: 999px;
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.1);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: fadeUp 700ms ease 180ms both;
}

.title {
    position: relative;
    color: var(--gold-bright);
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.08em;
    text-align: center;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.65), 0 18px 42px rgba(0, 0, 0, 0.8);
    animation: numberGlow 2.8s ease-in-out infinite alternate, fadeUp 800ms ease 260ms both;
    transition: opacity 0.3s ease;
}

.subtitle {
    position: relative;
    max-width: 390px;
    margin: 18px auto 28px;
    color: var(--muted-white);
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
    animation: fadeUp 800ms ease 360ms both, subtitleColor 5s ease-in-out infinite;
}

.currency-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.76);
    text-align: left;
    animation: fadeUp 700ms ease 220ms both;
}

.currency-row label {
    color: var(--muted-white);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.currency-row select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
    appearance: none;
    transition: border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.currency-row select:hover,
.currency-row select:focus {
    border-color: rgba(255, 216, 107, 0.6);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

.currency-note {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    text-align: center;
}

.animated-divider {
    margin: 30px auto 20px;
    border: solid;
    border-color: #FFD700;
    border-radius: 14px;
    border-width: 1.5px;
    padding: 6px 12px;
    width: fit-content;
    color: rgba(255, 216, 107, 0.92);
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    animation: dividerPulse 1.6s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    padding: 14px 16px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.72);
    color: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.select-selected:hover,
.select-selected:focus {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.12);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    margin-top: 4px;
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.3s ease;
    z-index: 10;
}

.select-options.open {
    max-height: 200px;
}

.select-options li {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 260ms ease;
}

.select-options li:hover {
    background: rgba(212, 175, 55, 0.1);
}

.country-logo {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.benefits {
    position: relative;
    display: grid;
    gap: 12px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.045);
    animation: benefitEnter 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.benefit:nth-child(1) { animation-delay: 480ms; }
.benefit:nth-child(2) { animation-delay: 540ms; }
.benefit:nth-child(3) { animation-delay: 600ms; }
.benefit:nth-child(4) { animation-delay: 660ms; }
.benefit:nth-child(5) { animation-delay: 720ms; }
.benefit:nth-child(6) { animation-delay: 780ms; }
.benefit:nth-child(7) { animation-delay: 840ms; }
.benefit:nth-child(8) { animation-delay: 900ms; }
.benefit:nth-child(9) { animation-delay: 960ms; }
.benefit:nth-child(10) { animation-delay: 1020ms; }
.benefit:nth-child(11) { animation-delay: 1080ms; }

.benefit:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(255, 216, 107, 0.64);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 14px 34px rgba(212, 175, 55, 0.12);
}

.benefit span {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 18px rgba(255, 216, 107, 0.8);
}

.price {
    color: var(--gold-bright);
    font-weight: 700;
    margin-left: 6px;
    background-color: #000000;
    padding-left: 100%;
}

.benefit h2 {
    color: var(--white);
    font-size: clamp(0.92rem, 2.7vw, 1.08rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.activation-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 28px;
    padding: 16px 22px;
    border: 1px solid rgba(255, 216, 107, 0.8);
    border-radius: 999px;
    color: #050505;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 18px 38px rgba(212, 175, 55, 0.24);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    animation: fadeUp 800ms ease 1180ms both, buttonPulse 2.8s ease-in-out 1.4s infinite;
    transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
}

.activation-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-120%) skewX(-20deg);
    animation: buttonShine 3s ease-in-out infinite;
}

.activation-btn:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.08);
    box-shadow: 0 24px 52px rgba(212, 175, 55, 0.36);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.activation-btn.loading {
    pointer-events: none;
}

.activation-btn.loading .btn-text {
    opacity: 0.7;
}

.btn-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top: 2px solid #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

.success-message {
    text-align: center;
    padding: 24px;
    margin-top: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 216, 107, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 12px;
    animation: checkmark 0.8s ease-in-out;
}

.success-message h3 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.success-message p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(34px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes benefitEnter {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes numberGlow {
    from {
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.42));
    }
    to {
        filter: drop-shadow(0 0 24px rgba(255, 216, 107, 0.84));
    }
}

@keyframes subtitleColor {
    0%, 100% {
        color: var(--muted-white);
    }
    25% {
        color: #ffd86b;
    }
    50% {
        color: #29d412;
    }
    75% {
        color: #0643ec;
    }
}

@keyframes goldSweep {
    0%, 45% {
        transform: translateX(-100%);
    }
    70%, 100% {
        transform: translateX(100%);
    }
}

@keyframes buttonShine {
    0%, 45% {
        transform: translateX(-120%) skewX(-20deg);
    }
    70%, 100% {
        transform: translateX(120%) skewX(-20deg);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 18px 38px rgba(212, 175, 55, 0.24);
    }
    50% {
        box-shadow: 0 20px 52px rgba(212, 175, 55, 0.42);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.54;
    }
    50% {
        transform: translate3d(18px, -26px, 0) scale(1.08);
        opacity: 0.88;
    }
}

@keyframes gridDrift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 44px 44px;
    }
}

@media (max-width: 520px) {
    .home-button {
        top: 12px;
        right: 12px;
        padding: 9px 14px;
        font-size: 0.76rem;
    }

    .container {
        padding: 24px 14px;
        align-items: flex-start;
    }

    .activation-card {
        border-radius: 24px;
    }

    .activation-card::after {
        inset: 10px;
        border-radius: 18px;
    }

    .benefit {
        min-height: 46px;
        border-radius: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
