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

:root {
    --bg:        #050505;
    --gold:      #f5c842;
    --gold-dim:  #d4a017;
    --gold-glow: rgba(245, 200, 66, 0.15);
    --surface:   rgba(20, 20, 20, 0.72);
    --border:    rgba(245, 200, 66, 0.18);
    --text-0:    #ffffff;
    --text-1:    #a1a1aa;
    --text-2:    #52525b;
}

html, body {
    min-height: 100%;
    height: 100%;
}

body {
    font-family: "Manrope", "Space Grotesk", sans-serif;
    background: var(--bg);
    color: var(--text-0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Ambient background orbs ── */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: drift 12s ease-in-out infinite alternate;
}
.bg-orb-1 {
    width: 700px;
    height: 500px;
    top: -180px;
    left: -180px;
    background: radial-gradient(ellipse, rgba(245, 200, 66, 0.08) 0%, transparent 70%);
    animation-delay: 0s;
}
.bg-orb-2 {
    width: 600px;
    height: 400px;
    bottom: -160px;
    right: -160px;
    background: radial-gradient(ellipse, rgba(212, 160, 23, 0.07) 0%, transparent 70%);
    animation-delay: -5s;
}
@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.06); }
}

/* Dot grid texture */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ── Page layout ── */
.page {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ── Brand ── */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 48px;
    text-decoration: none;
}
.brand-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(245, 200, 66, 0.9);
}
.brand-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-0);
    letter-spacing: -0.2px;
}

/* ── Card ── */
.card {
    width: 100%;
    max-width: 520px;
    background: var(--surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 52px 48px 44px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(245, 200, 66, 0.06),
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 200, 66, 0.55), transparent);
}

/* ── Icon ── */
.icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(245, 200, 66, 0.25);
    animation: ring-pulse 2.8s ease-in-out infinite;
}
.icon-ring-2 {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(245, 200, 66, 0.1);
    animation: ring-pulse 2.8s ease-in-out infinite 0.5s;
}
@keyframes ring-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.07); }
}
.icon-bg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(245, 200, 66, 0.14), rgba(245, 200, 66, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-svg {
    animation: spin-slow 8s linear infinite;
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Status pill ── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 200, 66, 0.08);
    border: 1px solid rgba(245, 200, 66, 0.22);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(245, 200, 66, 0.8); }
    50%       { opacity: 0.25; box-shadow: none; }
}

/* ── Typography ── */
.headline {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--text-0);
    margin-bottom: 14px;
}
.headline-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.subtext {
    font-size: 15px;
    color: var(--text-1);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto 36px;
}

/* ── Divider ── */
.divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    margin-bottom: 28px;
}

/* ── Progress bar ── */
.progress-wrap {
    margin-bottom: 32px;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-2);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.progress-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    animation: indeterminate 2s ease-in-out infinite;
    transform-origin: left;
}
@keyframes indeterminate {
    0%   { transform: translateX(-100%) scaleX(0.5); }
    50%  { transform: translateX(50%) scaleX(0.6); }
    100% { transform: translateX(200%) scaleX(0.5); }
}

/* ── Meta chips ── */
.meta-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--text-1);
}
.meta-chip svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ── Card footer ── */
.card-footer {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ── Page footer ── */
.page-footer {
    margin-top: 32px;
    font-size: 12px;
    color: var(--text-2);
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 580px) {
    .card {
        padding: 40px 28px 36px;
        border-radius: 20px;
    }
    .headline {
        font-size: 1.65rem;
    }
    .brand {
        margin-bottom: 36px;
    }
}
