/* ═══════════════════════════════════════════════════════
   METHOD MEDIA — ENTERPRISE AGREEMENT PORTAL
   Master Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:      #f5c842;
    --gold-dark: #c9941a;
    --gold-glow: rgba(245,200,66,0.45);
    --orange:    #ff7a1a;
    --cyan:      #00e5ff;
    --purple:    #a855f7;
    --red-seal:  #b01c1c;
    --bg-deep:   #06080f;
    --bg-mid:    #0c1120;
    --bg-card:   rgba(12,17,32,0.92);
    --border:    rgba(245,200,66,0.28);
    --text:      #e8e8e8;
    --text-dim:  #9aaccc;
    --error:     #ff4f4f;
    --success:   #22d87a;
    --radius:    14px;
    --font-head: 'Cinzel', serif;
    --font-deco: 'Cinzel Decorative', serif;
    --font-ui:   'Rajdhani', sans-serif;
    --font-sig:  'Great Vibes', cursive;
}

html, body {
    height: 100%;
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
}

#app {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Particle canvas behind everything */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ─── PAGE SYSTEM ──────────────────────────────────────── */
.page {
    position: absolute;
    inset: 0;
    display: none;
    overflow: hidden;
    z-index: 1;
}
.page.active { display: flex; flex-direction: column; }

.page-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(168,85,247,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 80% 80%, rgba(0,229,255,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(245,200,66,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-head); letter-spacing: 0.04em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1rem, 2vw, 1.4rem); }

.gold-text {
    background: linear-gradient(135deg, #f5c842, #ff7a1a, #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200%;
    animation: shimmer 3s ease infinite;
}
@keyframes shimmer {
    0%,100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

code {
    background: rgba(245,200,66,0.12);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.85em;
    color: var(--gold);
    letter-spacing: 0.08em;
}

/* ─── BUTTONS ──────────────────────────────────────────── */
button { cursor: pointer; border: none; outline: none; font-family: var(--font-ui); }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--orange));
    background-size: 200%;
    color: #0a0a0a;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(245,200,66,0.4), 0 4px 15px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover {
    background-position: 100%;
    box-shadow: 0 0 40px rgba(245,200,66,0.7), 0 8px 30px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.full-width { width: 100%; margin-top: 20px; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0,229,255,0.2);
}
.btn-secondary:hover {
    background: rgba(0,229,255,0.1);
    box-shadow: 0 0 30px rgba(0,229,255,0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
    padding: 11px 24px;
    border-radius: 50px;
    transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--text); }

.btn-ghost-sm {
    background: rgba(255,255,255,0.07);
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 20px;
    transition: all 0.2s;
    margin-top: 8px;
}
.btn-ghost-sm:hover { background: rgba(255,80,80,0.2); color: #ff9090; border-color: rgba(255,80,80,0.4); }

.btn-back {
    background: rgba(255,255,255,0.06);
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-back:hover { background: rgba(255,255,255,0.12); color: var(--gold); }

.btn-link {
    background: none;
    color: var(--gold);
    font-size: 0.88rem;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}
.btn-link:hover { color: var(--orange); }

.btn-finalize {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    background: linear-gradient(135deg, #8b1010, var(--red-seal), #cc2222);
    background-size: 200%;
    color: #fff8e7;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: var(--radius);
    border: 2px solid rgba(255,200,100,0.35);
    box-shadow: 0 0 30px rgba(176,28,28,0.5), 0 8px 20px rgba(0,0,0,0.5);
    transition: all 0.3s;
}
.btn-finalize:hover {
    background-position: 100%;
    box-shadow: 0 0 50px rgba(200,50,50,0.7), 0 12px 30px rgba(0,0,0,0.6);
    transform: translateY(-2px);
}

.pulse-btn { animation: pulse-glow 2.5s ease-in-out infinite; }
@keyframes pulse-glow {
    0%,100% { box-shadow: 0 0 20px rgba(245,200,66,0.4), 0 4px 15px rgba(0,0,0,0.4); }
    50%      { box-shadow: 0 0 45px rgba(245,200,66,0.75), 0 8px 25px rgba(0,0,0,0.5); }
}

/* ─── INPUTS ───────────────────────────────────────────── */
.glow-input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}
.glow-input-wrap input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(245,200,66,0.3);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    box-shadow: 0 0 0 0 rgba(245,200,66,0);
}
.glow-input-wrap input::placeholder { color: rgba(180,190,220,0.45); }
.glow-input-wrap input:focus {
    border-color: var(--gold);
    background: rgba(245,200,66,0.06);
    box-shadow: 0 0 0 3px rgba(245,200,66,0.15), 0 0 20px rgba(245,200,66,0.2);
}
.input-glow-line {
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--orange), var(--gold), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.glow-input-wrap input:focus ~ .input-glow-line { opacity: 1; }

/* ─── CARDS ────────────────────────────────────────────── */
.centered-card {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 44px;
    max-width: 560px;
    width: 94%;
    margin: auto;
    box-shadow:
        0 0 0 1px rgba(245,200,66,0.08),
        0 0 60px rgba(245,200,66,0.12),
        0 30px 80px rgba(0,0,0,0.7);
    backdrop-filter: blur(24px);
    overflow-y: auto;
    max-height: 96vh;
}
.wide-card { max-width: 680px; }

.card-header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.card-header-brand h2 {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(245,200,66,0.4);
}
.card-trident {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0,229,255,0.6));
    animation: float 3s ease-in-out infinite;
}
.card-trident.flip { transform: scaleX(-1); animation-delay: 1.5s; }
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}
.card-trident.flip {
    animation: float-flip 3s ease-in-out infinite;
    animation-delay: 1.5s;
}
@keyframes float-flip {
    0%,100% { transform: scaleX(-1) translateY(0); }
    50%      { transform: scaleX(-1) translateY(-5px); }
}

/* ─── ERROR ────────────────────────────────────────────── */
.error-msg {
    color: var(--error);
    font-size: 0.88rem;
    margin-top: 10px;
    min-height: 20px;
    text-align: center;
}

/* ─── DIVIDERS ─────────────────────────────────────────── */
.divider-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 16px;
    color: var(--text-dim);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.divider-line::before,
.divider-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ═══════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════ */
#landing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.landing-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 100% at 50% 110%, rgba(176,28,28,0.3) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(168,85,247,0.2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 0%, rgba(0,229,255,0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.landing-hero {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    max-width: 800px;
    width: 96%;
    padding: 20px;
    text-align: center;
}

/* Mascot Ring Seal */
.mascot-seal-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    flex-shrink: 0;
}
.outer-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: ring-spin linear infinite;
}
.ring-1 {
    inset: 0;
    border-color: rgba(245,200,66,0.5) transparent rgba(245,200,66,0.2) transparent;
    animation-duration: 8s;
    filter: drop-shadow(0 0 8px rgba(245,200,66,0.5));
}
.ring-2 {
    inset: 10px;
    border-color: transparent rgba(0,229,255,0.4) transparent rgba(0,229,255,0.2);
    animation-duration: 12s;
    animation-direction: reverse;
    filter: drop-shadow(0 0 6px rgba(0,229,255,0.4));
}
.ring-3 {
    inset: 22px;
    border-color: rgba(168,85,247,0.35) transparent rgba(168,85,247,0.15) transparent;
    animation-duration: 20s;
    filter: drop-shadow(0 0 6px rgba(168,85,247,0.4));
}
@keyframes ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.seal-glow-halo {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,200,66,0.15), transparent 70%);
    animation: halo-pulse 3s ease-in-out infinite;
}
@keyframes halo-pulse {
    0%,100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.08); }
}
.mascot-circle {
    position: absolute;
    inset: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(245,200,66,0.5);
    box-shadow:
        0 0 0 2px rgba(245,200,66,0.15),
        0 0 40px rgba(245,200,66,0.3),
        inset 0 0 20px rgba(0,0,0,0.4);
    background: var(--bg-mid);
}
.mascot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Landing Text */
.landing-text { max-width: 500px; }

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(245,200,66,0.1);
    border: 1px solid rgba(245,200,66,0.3);
    border-radius: 50px;
    padding: 8px 22px;
    margin-bottom: 18px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    box-shadow: 0 0 20px rgba(245,200,66,0.15);
}
.trident-icon-sm {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(0,229,255,0.6));
}
.trident-icon-sm.flip { transform: scaleX(-1); }

.hero-title {
    font-family: var(--font-deco);
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}
.hero-sub {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 28px;
}

.name-input-group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    max-width: 480px;
    margin: 0 auto;
}
.name-input-group .glow-input-wrap { margin-bottom: 0; flex: 1; }

.hint-text {
    color: rgba(154,172,204,0.5);
    font-size: 0.78rem;
    margin-top: 10px;
    letter-spacing: 0.05em;
}

.bottom-brand {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.55;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.bottom-logo {
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(245,200,66,0.3));
}

/* ═══════════════════════════════════════════════════════
   REGISTRATION – FORGE ANIMATION
   ═══════════════════════════════════════════════════════ */
.step-panel { width: 100%; }
.step-intro { margin-bottom: 20px; }
.step-intro h3 { color: var(--gold); margin-bottom: 6px; }
.step-intro p  { color: var(--text-dim); font-size: 0.9rem; }

.forge-animation {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 10px auto 20px;
}
.forge-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: ring-spin linear infinite;
}
.fr1 { inset: 0;     border-top-color: var(--gold);   animation-duration: 2s; }
.fr2 { inset: 15px;  border-right-color: var(--cyan); animation-duration: 3s; animation-direction: reverse; }
.fr3 { inset: 30px;  border-bottom-color: var(--purple); animation-duration: 4s; }
.forge-center {
    position: absolute;
    inset: 44px;
    border-radius: 50%;
    background: var(--bg-mid);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.forge-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: halo-pulse 2s ease-in-out infinite;
}
.forge-text {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* Wax Seal Reveal */
.seal-reveal-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 20px auto;
}
.seal-glow-pulse {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,200,66,0.25), transparent 70%);
    animation: halo-pulse 2s ease-in-out infinite;
}
.seal-glow-pulse.small { inset: -10px; }
.seal-reveal-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid rgba(245,200,66,0.5);
    box-shadow: 0 0 30px rgba(245,200,66,0.35);
}
.seal-token-text {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Form rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════ */
.login-seal-display {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}
.login-seal-display img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(245,200,66,0.4);
    box-shadow: 0 0 20px rgba(245,200,66,0.25);
}

.sig-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 12px;
    color: var(--text-dim);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.sig-section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.pw-fallback-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════
   SIGNATURE PAD
   ═══════════════════════════════════════════════════════ */
.sig-pad-wrapper {
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    padding: 8px;
    border: 2px solid rgba(245,200,66,0.4);
    box-shadow:
        0 0 0 1px rgba(245,200,66,0.15),
        0 0 25px rgba(245,200,66,0.2),
        inset 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}
.sig-pad-wrapper:focus-within {
    box-shadow:
        0 0 0 2px rgba(245,200,66,0.5),
        0 0 40px rgba(245,200,66,0.35),
        inset 0 1px 3px rgba(0,0,0,0.1);
}
.sig-pad-wrapper canvas {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    cursor: crosshair;
    display: block;
    background: #fafaf7;
}
.sig-pad-wrapper.dark canvas { background: #f5f5f0; }

/* ═══════════════════════════════════════════════════════
   CLOUD CONFIGURATION
   ═══════════════════════════════════════════════════════ */
#cloud-page { display: none; }
#cloud-page.active { display: flex; }

.cloud-layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.cloud-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: rgba(6,8,15,0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    flex-shrink: 0;
}
.topbar-brand { display: flex; align-items: center; gap: 14px; }
.topbar-logo {
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(245,200,66,0.4));
}
.topbar-title {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--gold);
    display: block;
    letter-spacing: 0.06em;
}
.topbar-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: block;
}
.topbar-seal-wrap { position: relative; width: 52px; height: 52px; }
.topbar-seal {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(245,200,66,0.35);
    box-shadow: 0 0 15px rgba(245,200,66,0.25);
}

.cloud-progress-bar {
    height: 3px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--orange), var(--cyan));
    transition: width 0.5s ease;
    width: 0%;
    box-shadow: 0 0 8px rgba(245,200,66,0.6);
}

.cloud-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px 30px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(245,200,66,0.3) transparent;
}
.cloud-body::-webkit-scrollbar { width: 6px; }
.cloud-body::-webkit-scrollbar-track { background: transparent; }
.cloud-body::-webkit-scrollbar-thumb { background: rgba(245,200,66,0.3); border-radius: 3px; }

.cloud-stage-area { max-width: 900px; margin: 0 auto; }

.stage-header { text-align: center; margin-bottom: 30px; }
.stage-header h2 {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(245,200,66,0.35);
    margin-bottom: 8px;
}
.stage-header p { color: var(--text-dim); max-width: 560px; margin: 0 auto; }

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.option-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: 16px;
    padding: 26px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.option-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,200,66,0.07), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.option-card:hover {
    border-color: var(--gold);
    background: rgba(245,200,66,0.07);
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(245,200,66,0.3),
        0 0 30px rgba(245,200,66,0.2),
        0 12px 30px rgba(0,0,0,0.4);
}
.option-card:hover::before { opacity: 1; }

.option-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}
.option-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 8px;
}
.option-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 14px;
}
.option-card-price {
    display: inline-block;
    background: rgba(245,200,66,0.12);
    border: 1px solid rgba(245,200,66,0.3);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.88rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}
.option-card-details {
    font-size: 0.78rem;
    color: rgba(154,172,204,0.6);
    font-style: italic;
}

.cloud-footer-bar {
    padding: 10px 24px;
    background: rgba(6,8,15,0.7);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}
.next-hint {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════
   AGREEMENT PAGE
   ═══════════════════════════════════════════════════════ */
#agreement-page { display: none; }
#agreement-page.active { display: flex; }

.agreement-layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.agreement-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(6,8,15,0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    flex-shrink: 0;
    gap: 14px;
}
.agreement-topbar h2 {
    color: var(--gold);
    font-size: 1.1rem;
    text-align: center;
    flex: 1;
    text-shadow: 0 0 15px rgba(245,200,66,0.3);
}
.agreement-seal-small {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(245,200,66,0.4);
    box-shadow: 0 0 12px rgba(245,200,66,0.3);
    flex-shrink: 0;
}

.agreement-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(245,200,66,0.3) transparent;
}
.agreement-scroll-area::-webkit-scrollbar { width: 6px; }
.agreement-scroll-area::-webkit-scrollbar-thumb { background: rgba(245,200,66,0.3); border-radius: 3px; }

.agreement-content-inner {
    max-width: 820px;
    margin: 0 auto 30px;
}

/* Summary Card */
.summary-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}
.summary-title {
    font-family: var(--font-head);
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 20px;
}
.summary-row:last-child { border-bottom: none; }
.summary-label {
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    min-width: 140px;
    flex-shrink: 0;
}
.summary-value { color: var(--text); font-size: 0.95rem; }
.summary-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.total-row {
    background: rgba(245,200,66,0.08);
    border: 1px solid rgba(245,200,66,0.3);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.total-label {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--gold);
}
.total-price {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(245,200,66,0.5);
}

/* Fine Print */
.fine-print-block {
    max-width: 820px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 28px;
}
.fine-print-block h3 {
    color: var(--text-dim);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fine-print-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fine-print-list li {
    color: rgba(180,190,220,0.7);
    font-size: 0.83rem;
    line-height: 1.6;
}
.fine-print-list li strong { color: rgba(220,230,255,0.9); }

/* Agreement signing */
.agreement-sign-block {
    max-width: 820px;
    margin: 0 auto 40px;
}
.scroll-notice {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.82rem;
    padding: 10px;
    opacity: 1;
    transition: opacity 0.5s;
    letter-spacing: 0.06em;
    animation: bounce-hint 2s ease infinite;
}
@keyframes bounce-hint {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    padding: 18px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 16px 0;
    transition: all 0.3s;
    font-size: 0.92rem;
    line-height: 1.5;
}
.custom-checkbox:hover {
    background: rgba(245,200,66,0.06);
    border-color: rgba(245,200,66,0.5);
}
.cb-box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(245,200,66,0.5);
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    transition: all 0.2s;
    margin-top: 2px;
    position: relative;
}
.custom-checkbox input { display: none; }
.custom-checkbox input:checked ~ .cb-box {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(245,200,66,0.5);
}
.custom-checkbox input:checked ~ .cb-box::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 13px;
    font-weight: 700;
}

.sign-action-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}
.sign-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.sign-seal-wrap { position: relative; flex-shrink: 0; }
.sign-seal-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(245,200,66,0.5);
    box-shadow: 0 0 20px rgba(245,200,66,0.3);
}
.sign-header h3 { color: var(--gold); margin-bottom: 6px; }
.sign-header p  { color: var(--text-dim); font-size: 0.85rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   SUCCESS PAGE
   ═══════════════════════════════════════════════════════ */
#final-agreement-page { display: none; }
#final-agreement-page.active { display: flex; }

.success-layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    overflow-y: auto;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}
.success-header { text-align: center; margin-bottom: 30px; }
.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(245,200,66,0.5);
    animation: success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes success-pop {
    0%   { transform: scale(0); }
    100% { transform: scale(1); }
}
.success-header h1 { color: var(--gold); margin-bottom: 8px; }
.success-header p  { color: var(--text-dim); }

.final-doc-preview {
    width: 100%;
    max-width: 760px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 30px;
}
.success-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   SCROLLBAR GLOBAL
   ═══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(245,200,66,0.25); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════
   TRANSITIONS
   ═══════════════════════════════════════════════════════ */
.page { transition: opacity 0.3s ease; opacity: 0; }
.page.active { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .landing-hero { gap: 24px; }
    .mascot-seal-wrapper { width: 180px; height: 180px; }
    .name-input-group { flex-direction: column; }
    .name-input-group .btn-primary { width: 100%; }
    .centered-card { padding: 28px 22px; }
    .cloud-body { padding: 20px 16px; }
    .agreement-scroll-area { padding: 18px; }
}
/* ── Secret Admin Modal Shake Animation ── */
@keyframes adminShake {
    0%   { transform: translateX(0); }
    15%  { transform: translateX(-8px); }
    30%  { transform: translateX(8px); }
    45%  { transform: translateX(-6px); }
    60%  { transform: translateX(6px); }
    75%  { transform: translateX(-3px); }
    90%  { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

/* ==========================================================================
   CLOUD STAGE — NEW GRID LAYOUT
   ========================================================================== */
.cloud-stage-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 0 40px;
}

.stage-header {
    text-align: center;
    margin-bottom: 32px;
}

.stage-icon {
    font-size: 2.4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px rgba(245,200,66,0.5));
}

.stage-header h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--gold);
    margin-bottom: 10px;
}

.stage-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: rgba(240,230,200,0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.cloud-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.cloud-option {
    background: linear-gradient(145deg, rgba(15,12,35,0.9), rgba(10,8,28,0.95));
    border: 1px solid rgba(245,200,66,0.18);
    border-radius: 14px;
    padding: 22px 18px 18px;
    cursor: pointer;
    transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cloud-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245,200,66,0.07) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cloud-option:hover {
    border-color: rgba(245,200,66,0.55);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245,150,0,0.2), 0 0 0 1px rgba(245,200,66,0.25);
}

.cloud-option:hover::before { opacity: 1; }

.cloud-option:active {
    transform: translateY(-1px);
    border-color: rgba(245,200,66,0.8);
}

.cloud-opt-icon {
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(245,200,66,0.4));
}

.cloud-option h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: #f0e8d0;
    font-weight: 600;
    line-height: 1.3;
}

.cloud-opt-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    color: rgba(220,210,180,0.6);
    line-height: 1.45;
    flex: 1;
}

.cloud-opt-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.04em;
    padding-top: 6px;
    border-top: 1px solid rgba(245,200,66,0.15);
    margin-top: 4px;
}

/* ==========================================================================
   AGREEMENT SUMMARY TABLE
   ========================================================================== */
.agreement-summary-wrap {
    padding: 10px 0;
}

.summary-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.summary-client {
    font-family: 'Rajdhani', sans-serif;
    color: rgba(240,230,200,0.7);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.config-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.config-summary-table th {
    background: rgba(245,200,66,0.12);
    color: var(--gold);
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(245,200,66,0.25);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.config-summary-table td {
    padding: 10px 14px;
    color: rgba(240,230,200,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: top;
    line-height: 1.4;
}

.config-summary-table tr:hover td {
    background: rgba(245,200,66,0.04);
}

.summary-total-block {
    background: linear-gradient(135deg, rgba(245,200,66,0.1), rgba(200,100,0,0.08));
    border: 1px solid rgba(245,200,66,0.3);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.total-label {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    color: rgba(245,200,66,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.total-value {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(245,200,66,0.4);
}

.summary-note {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.76rem;
    color: rgba(220,210,180,0.45);
    line-height: 1.5;
    font-style: italic;
}

/* ==========================================================================
   DIGITAL TOKEN OF EXCELLENCE
   ========================================================================== */
.success-token-section {
    display: flex;
    justify-content: center;
    margin: 0 0 36px;
}

.token-of-excellence {
    position: relative;
    display: inline-block;
}

.token-outer-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(245,200,66,0.15) 0%, rgba(168,85,247,0.08) 50%, transparent 75%);
    border-radius: 50%;
    animation: tokenGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

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

.token-card {
    background: linear-gradient(160deg, #0c0820, #150e30, #0a0618);
    border: 1px solid rgba(245,200,66,0.45);
    border-radius: 18px;
    padding: 28px 28px 22px;
    width: min(460px, 92vw);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(245,200,66,0.1),
        0 0 40px rgba(168,85,247,0.15),
        0 20px 60px rgba(0,0,0,0.7);
}

.token-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245,200,66,0.8), rgba(168,85,247,0.6), rgba(0,229,255,0.4), transparent);
    animation: tokenTopShimmer 3s linear infinite;
}

@keyframes tokenTopShimmer {
    0%   { opacity: 0.5; }
    50%  { opacity: 1;   }
    100% { opacity: 0.5; }
}

.token-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(168,85,247,0.06) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(0,229,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.token-mm-icon {
    filter: drop-shadow(0 0 10px rgba(245,200,66,0.5));
    flex-shrink: 0;
}

.token-brand-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.82rem;
    color: rgba(245,200,66,0.85);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.token-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,200,66,0.4), transparent);
    margin-bottom: 14px;
}

.token-title {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245,200,66,0.55);
    margin-bottom: 8px;
}

.token-project-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.0rem, 2.5vw, 1.35rem);
    color: #f0e8d0;
    margin-bottom: 18px;
    text-shadow: 0 0 16px rgba(245,200,66,0.3);
}

.token-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px 8px;
    margin-bottom: 18px;
}

.token-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tmeta-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245,200,66,0.4);
}

.tmeta-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    color: rgba(240,230,200,0.85);
    font-weight: 600;
    word-break: break-all;
}

.status-active {
    color: #4cff91 !important;
    text-shadow: 0 0 8px rgba(76,255,145,0.4);
}

.token-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(245,200,66,0.15);
}

.token-seal-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(245,200,66,0.3);
    box-shadow: 0 0 12px rgba(245,150,0,0.3);
    flex-shrink: 0;
}

.token-seal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-slogan {
    font-family: 'Great Vibes', cursive;
    font-size: 1.4rem;
    color: rgba(245,200,66,0.7);
    text-shadow: 0 0 16px rgba(245,200,66,0.3);
    text-align: right;
    flex: 1;
    padding-left: 14px;
}

/* ==========================================================================
   SUCCESS PAGE — CONFIG SUMMARY & INVOICE NOTICE
   ========================================================================== */
.success-config-summary {
    max-width: 640px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(245,200,66,0.15);
    border-radius: 14px;
    padding: 24px 22px;
}

.success-config-summary h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.invoice-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0,229,255,0.06), rgba(168,85,247,0.05));
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 10px;
    padding: 13px 16px;
    margin-top: 16px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem;
    color: rgba(200,240,255,0.8);
    line-height: 1.5;
}

.invoice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.invoice-notice strong {
    color: rgba(200,240,255,1);
}

/* ==========================================================================
   PREMIÈRE ENTERPRISE CONFIG
   ========================================================================== */
.premiere-config-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.premiere-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premiere-label {
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    color: rgba(245,200,100,0.9);
    letter-spacing: 0.04em;
}

.premiere-toggle-group {
    display: flex;
    gap: 12px;
}

.premiere-toggle {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(245,200,66,0.15);
    border-radius: 12px;
    padding: 16px 14px;
    color: rgba(200,200,220,0.7);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.premiere-toggle .toggle-icon {
    font-size: 1.6rem;
}

.premiere-toggle:hover {
    border-color: rgba(245,200,66,0.35);
    background: rgba(245,200,66,0.04);
}

.premiere-toggle.active {
    border-color: rgba(245,200,66,0.6);
    background: linear-gradient(135deg, rgba(245,200,66,0.08), rgba(139,0,0,0.06));
    color: rgba(245,220,150,1);
    box-shadow: 0 0 18px rgba(245,200,66,0.12);
}

.premiere-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premiere-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(139,0,0,0.4), rgba(245,200,66,0.4));
    outline: none;
}

.premiere-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c842, #c45c00);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(245,200,66,0.5);
}

.premiere-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c842, #c45c00);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(245,200,66,0.5);
}

.premiere-user-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
}

.user-count-num {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.4rem;
    color: #f5c842;
    text-shadow: 0 0 20px rgba(245,200,66,0.4);
    font-weight: 700;
}

.user-count-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: rgba(200,200,220,0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.premiere-cost-preview {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem;
    color: rgba(0,229,255,0.7);
    padding: 6px;
    background: rgba(0,229,255,0.04);
    border-radius: 8px;
    border: 1px solid rgba(0,229,255,0.12);
}

.premiere-summary {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(245,200,66,0.15);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premiere-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.92rem;
    color: rgba(200,200,220,0.7);
}

.premiere-val {
    color: rgba(245,200,100,0.9);
    font-weight: 600;
}

.premiere-continue-btn {
    margin-top: 10px;
}

/* ==========================================================================
   REVIEW / CART STAGE
   ========================================================================== */
.review-stage {
    max-width: 800px;
    margin: 0 auto;
}

.review-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(245,200,66,0.12);
    background: rgba(0,0,0,0.15);
}

.review-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
}

.review-table thead th {
    padding: 12px 14px;
    text-align: left;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,200,100,0.7);
    border-bottom: 1px solid rgba(245,200,66,0.15);
    background: rgba(245,200,66,0.03);
}

.review-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}

.review-table tbody tr:hover {
    background: rgba(245,200,66,0.03);
}

.review-sel-title {
    padding: 11px 14px;
    color: rgba(240,232,210,0.95);
    font-weight: 600;
    white-space: nowrap;
}

.review-sel-price {
    padding: 11px 14px;
    color: rgba(139,0,0,0.9);
    font-weight: 700;
    white-space: nowrap;
}

.review-sel-detail {
    padding: 11px 14px;
    color: rgba(200,200,220,0.6);
    font-size: 0.82rem;
    max-width: 280px;
}

.review-sel-action {
    padding: 11px 14px;
    text-align: center;
}

.review-edit-btn {
    background: rgba(245,200,66,0.08);
    border: 1px solid rgba(245,200,66,0.25);
    border-radius: 6px;
    color: rgba(245,200,100,0.8);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78rem;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
}

.review-edit-btn:hover {
    background: rgba(245,200,66,0.15);
    border-color: rgba(245,200,66,0.5);
    color: #f5c842;
}

.review-totals-block {
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(139,0,0,0.06), rgba(245,200,66,0.04));
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rtl-label {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    color: rgba(245,200,100,0.7);
    letter-spacing: 0.06em;
}

.rtl-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f5c842;
    text-shadow: 0 0 10px rgba(245,200,66,0.3);
}

/* Finalized total — big, prominent, gold glow */
.review-total-primary {
    padding: 6px 0;
}

.rtl-finalized {
    font-size: 1.4rem;
    font-weight: 900;
    color: #f5c842;
    text-shadow: 0 0 14px rgba(245,200,66,0.5), 0 0 30px rgba(245,200,66,0.2);
    letter-spacing: 0.02em;
}

/* Range info — subtle, secondary */
.review-total-range {
    padding: 0 0 4px 0;
    opacity: 0.65;
}

.rtl-range-label {
    font-size: 0.72rem;
    color: rgba(245,200,100,0.5);
    font-style: italic;
}

.rtl-range-value {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(245,200,100,0.55);
    text-shadow: none;
}

.review-total-note {
    margin-top: 6px;
    font-size: 0.7rem;
    color: rgba(245,200,100,0.4);
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

.review-actions {
    margin-top: 22px;
}

/* ==========================================================================
   RESPONSIVE — CLOUD GRID
   ========================================================================== */
@media (max-width: 640px) {
    .cloud-options-grid {
        grid-template-columns: 1fr;
    }
    .token-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    .summary-total-block {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .config-summary-table th:last-child,
    .config-summary-table td:last-child {
        display: none;
    }
    .premiere-toggle-group {
        flex-direction: column;
    }
    .review-sel-detail {
        display: none;
    }
    .review-total-line {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .premiere-summary-line {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
}

/* ==========================================================================
   ARTISTIC ENHANCEMENTS — User Creative Assets Integration
   ========================================================================== */

/* ─────────────────────────────────────────────────────────────────────────────
   HERO ARTISTIC BACKGROUND ELEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

/* Floating decorative images from user's artwork */
.artistic-float {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    filter: blur(1px);
    animation: floatDrift 20s ease-in-out infinite;
}

@keyframes floatDrift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-25px) rotate(1deg); }
}

/* Energy ribbon effect from user's fantasy artwork */
.energy-ribbon {
    position: fixed;
    width: 300px;
    height: 8px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--cyan), 
        var(--purple), 
        var(--gold), 
        transparent);
    border-radius: 4px;
    opacity: 0.3;
    filter: blur(2px);
    animation: ribbonFlow 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.energy-ribbon.r1 {
    top: 15%;
    left: -100px;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.energy-ribbon.r2 {
    top: 45%;
    right: -100px;
    transform: rotate(12deg);
    animation-delay: -2s;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold), 
        var(--orange), 
        var(--cyan), 
        transparent);
}

.energy-ribbon.r3 {
    bottom: 25%;
    left: -50px;
    transform: rotate(-8deg);
    animation-delay: -4s;
    background: linear-gradient(90deg, 
        transparent, 
        var(--purple), 
        var(--cyan), 
        var(--gold), 
        transparent);
}

@keyframes ribbonFlow {
    0% { transform: translateX(-50px) rotate(var(--rotation, -15deg)); opacity: 0.2; }
    50% { transform: translateX(50px) rotate(calc(var(--rotation, -15deg) + 5deg)); opacity: 0.4; }
    100% { transform: translateX(-50px) rotate(var(--rotation, -15deg)); opacity: 0.2; }
}

/* Mandala glow effect from user's circular designs */
.mandala-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at center, 
            transparent 30%, 
            rgba(168, 85, 247, 0.1) 50%, 
            rgba(0, 229, 255, 0.08) 70%, 
            transparent 100%);
    animation: mandalaPulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.mandala-glow.mg1 {
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.mandala-glow.mg2 {
    bottom: -150px;
    left: -150px;
    animation-delay: -3s;
    background: 
        radial-gradient(circle at center, 
            transparent 30%, 
            rgba(245, 200, 66, 0.1) 50%, 
            rgba(255, 122, 26, 0.08) 70%, 
            transparent 100%);
}

@keyframes mandalaPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   NEON ACCENT PARTICLES (inspired by user's cyberpunk art)
   ───────────────────────────────────────────────────────────────────────────── */

.neon-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: neonFloat 12s linear infinite;
}

.neon-particle.cyan {
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
}

.neon-particle.purple {
    background: var(--purple);
    box-shadow: 0 0 10px var(--purple), 0 0 20px var(--purple);
}

.neon-particle.gold {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
}

.neon-particle.magenta {
    background: #ff00ff;
    box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}

@keyframes neonFloat {
    0% { 
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateX(-10px) scale(1);
    }
    100% { 
        transform: translateY(-10vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ARTISTIC CARD ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

/* Decorative corner flourishes */
.artistic-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: none;
    opacity: 0.4;
    background-size: contain;
    background-repeat: no-repeat;
}

.artistic-corner.top-left {
    top: -5px;
    left: -5px;
    transform: rotate(0deg);
}

.artistic-corner.top-right {
    top: -5px;
    right: -5px;
    transform: rotate(90deg);
}

.artistic-corner.bottom-left {
    bottom: -5px;
    left: -5px;
    transform: rotate(-90deg);
}

.artistic-corner.bottom-right {
    bottom: -5px;
    right: -5px;
    transform: rotate(180deg);
}

/* Enhanced card glow with artistic colors */
.artistic-glow-card {
    position: relative;
}

.artistic-glow-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        var(--cyan), 
        var(--purple), 
        var(--gold), 
        var(--cyan));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.5s ease;
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
}

.artistic-glow-card:hover::before {
    opacity: 0.5;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FIRE & WATER ELEMENT ACCENTS (from MELODIA design)
   ───────────────────────────────────────────────────────────────────────────── */

.fire-accent {
    background: linear-gradient(180deg, 
        #ff0000 0%, 
        #ff6600 30%, 
        #ffcc00 60%, 
        #ffff66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fireFlicker 0.5s ease-in-out infinite alternate;
}

@keyframes fireFlicker {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.water-accent {
    background: linear-gradient(180deg, 
        #00ffff 0%, 
        #0099ff 50%, 
        #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: waterFlow 2s ease-in-out infinite;
}

@keyframes waterFlow {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(15deg); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ARTISTIC BRANDING ELEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

/* Method-Media artistic badge */
.mm-art-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.2), 
        rgba(0, 229, 255, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 30px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.mm-art-badge::before,
.mm-art-badge::after {
    content: '✦';
    color: var(--gold);
    text-shadow: 0 0 8px var(--gold);
    font-size: 0.7rem;
}

/* Glowing trident accent */
.trident-glow {
    filter: drop-shadow(0 0 8px var(--cyan)) drop-shadow(0 0 16px var(--purple));
    animation: tridentPulse 3s ease-in-out infinite;
}

@keyframes tridentPulse {
    0%, 100% { filter: drop-shadow(0 0 8px var(--cyan)) drop-shadow(0 0 16px var(--purple)); }
    50% { filter: drop-shadow(0 0 16px var(--cyan)) drop-shadow(0 0 24px var(--purple)); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   LANDING PAGE ARTISTIC ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

.landing-bg-artistic {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.landing-bg-artistic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 229, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 200, 66, 0.08) 0%, transparent 60%);
    animation: bgShift 15s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, 1%) rotate(1deg); }
    66% { transform: translate(-1%, 2%) rotate(-1deg); }
}

/* Artistic character silhouette on landing */
.landing-character {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 400px;
    background: url('images/Picsart_26-03-11_09-55-18-339.png') center center / contain no-repeat;
    opacity: 0.12;
    filter: blur(0.5px) hue-rotate(-20deg);
    pointer-events: none;
    z-index: 0;
    animation: characterFloat 8s ease-in-out infinite;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-52%) translateX(-10px); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   REVIEW STAGE ARTISTIC ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

.review-artistic-frame {
    position: relative;
    padding: 30px;
    background: 
        linear-gradient(135deg, rgba(12, 17, 32, 0.95), rgba(6, 8, 15, 0.98)),
        url('images/Picsart_26-03-11_09-48-05-597.png') center center / cover;
    background-blend-mode: overlay;
    border-radius: 20px;
    border: 1px solid rgba(245, 200, 66, 0.2);
    box-shadow: 
        0 0 60px rgba(168, 85, 247, 0.1),
        0 0 100px rgba(0, 229, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Animated border gradient */
.review-artistic-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, 
        var(--cyan), 
        var(--purple), 
        var(--gold), 
        var(--cyan));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: 300% 300%;
    animation: borderGlow 4s linear infinite;
}

.review-artistic-frame:hover::before {
    opacity: 0.3;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BUTTON ARTISTIC ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

.btn-artistic {
    position: relative;
    overflow: hidden;
}

.btn-artistic::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--cyan),
        var(--purple),
        var(--gold),
        transparent
    );
    animation: btnShine 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-artistic:hover::after {
    opacity: 0.3;
}

@keyframes btnShine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   CYBERPUNK TECH ACCENTS
   ───────────────────────────────────────────────────────────────────────────── */

.tech-line {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--cyan), 
        var(--purple), 
        transparent);
    opacity: 0.5;
    margin: 20px 0;
}

.tech-corner-bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--cyan);
    border-style: solid;
    border-width: 0;
    opacity: 0.4;
}

.tech-corner-bracket.tl {
    top: 0; left: 0;
    border-top-width: 2px;
    border-left-width: 2px;
}

.tech-corner-bracket.tr {
    top: 0; right: 0;
    border-top-width: 2px;
    border-right-width: 2px;
}

.tech-corner-bracket.bl {
    bottom: 0; left: 0;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

.tech-corner-bracket.br {
    bottom: 0; right: 0;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ARTISTIC LOADING STATES
   ───────────────────────────────────────────────────────────────────────────── */

.artistic-loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.artistic-loader::before,
.artistic-loader::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: loaderSpin 1.5s linear infinite;
}

.artistic-loader::before {
    border-top-color: var(--cyan);
    border-right-color: var(--purple);
    animation-duration: 1.5s;
}

.artistic-loader::after {
    border-bottom-color: var(--gold);
    border-left-color: var(--orange);
    animation-duration: 2s;
    animation-direction: reverse;
}

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

/* Scanline effect for cyberpunk feel */
.scanlines {
    position: relative;
}

.scanlines::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    opacity: 0.3;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FLOATING ARTISTIC DECORATIONS
   ───────────────────────────────────────────────────────────────────────────── */

.floating-art {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    filter: blur(1px);
    animation: artFloat 25s ease-in-out infinite;
}

.floating-art.fa1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: url('images/Picsart_26-03-11_09-48-05-597.png') center center / contain no-repeat;
    animation-delay: 0s;
}

.floating-art.fa2 {
    bottom: 15%;
    right: 8%;
    width: 180px;
    height: 180px;
    background: url('images/Picsart_26-03-12_06-16-26-889.png') center center / contain no-repeat;
    animation-delay: -8s;
    filter: blur(2px) hue-rotate(30deg);
}

@keyframes artFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.08;
    }
    25% { 
        transform: translateY(-30px) rotate(5deg) scale(1.05); 
        opacity: 0.12;
    }
    50% { 
        transform: translateY(-15px) rotate(-3deg) scale(1); 
        opacity: 0.08;
    }
    75% { 
        transform: translateY(-40px) rotate(3deg) scale(1.03); 
        opacity: 0.1;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SIGNATURE STAGE ARTISTIC ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

.sig-stage-artistic {
    position: relative;
}

.sig-stage-artistic::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold), 
        var(--orange), 
        var(--gold), 
        transparent);
    opacity: 0.5;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE ADJUSTMENTS
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .landing-character {
        width: 150px;
        height: 200px;
        opacity: 0.08;
        right: 2%;
    }
    
    .floating-art {
        display: none;
    }
    
    .energy-ribbon {
        width: 150px;
        opacity: 0.2;
    }
    
    .mandala-glow {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .landing-character {
        display: none;
    }
    
    .energy-ribbon {
        display: none;
    }
    
    .mandala-glow {
        display: none;
    }
}


/* ==========================================================================
   STARFLAME LINK STYLES
   ========================================================================== */

.starflame-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.15), rgba(255, 150, 50, 0.1));
    border: 1px solid rgba(255, 120, 50, 0.3);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: starflameGlow 2s ease-in-out infinite;
}

.starflame-link:hover {
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.25), rgba(255, 150, 50, 0.2));
    border-color: rgba(255, 120, 50, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 100, 50, 0.3);
}

.starflame-icon {
    font-size: 0.9rem;
    animation: flameFlicker 0.5s ease-in-out infinite alternate;
}

.starflame-text {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: #ff9060;
    letter-spacing: 0.03em;
}

@keyframes starflameGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 100, 50, 0.15); }
    50% { box-shadow: 0 0 16px rgba(255, 100, 50, 0.3); }
}

@keyframes flameFlicker {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

/* Personal Links Container */
.personal-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

/* Ziridian Link Styles */
.ziridian-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.15), rgba(150, 100, 255, 0.1));
    border: 1px solid rgba(120, 180, 255, 0.3);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: ziridianGlow 3s ease-in-out infinite;
}

.ziridian-link:hover {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.25), rgba(150, 100, 255, 0.2));
    border-color: rgba(120, 180, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.3);
}

.ziridian-icon {
    font-size: 0.9rem;
    animation: worldSpin 4s linear infinite;
}

.ziridian-text {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: #80c0ff;
    letter-spacing: 0.03em;
}

@keyframes ziridianGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(100, 200, 255, 0.15); }
    50% { box-shadow: 0 0 16px rgba(100, 200, 255, 0.3); }
}

@keyframes worldSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ko-fi Link Styles */
.kofi-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(255, 94, 77, 0.15), rgba(255, 150, 100, 0.1));
    border: 1px solid rgba(255, 100, 80, 0.3);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: kofiGlow 2.5s ease-in-out infinite;
}

.kofi-link:hover {
    background: linear-gradient(135deg, rgba(255, 94, 77, 0.25), rgba(255, 150, 100, 0.2));
    border-color: rgba(255, 100, 80, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 94, 77, 0.3);
}

.kofi-icon {
    font-size: 0.9rem;
    animation: coffeeSteam 2s ease-in-out infinite;
}

.kofi-text {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: #ff8066;
    letter-spacing: 0.03em;
}

@keyframes kofiGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 94, 77, 0.15); }
    50% { box-shadow: 0 0 16px rgba(255, 94, 77, 0.3); }
}

@keyframes coffeeSteam {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* LOCKED LAYOUT FIX SAFE */
#landing-page{min-height:100dvh!important;display:flex!important;flex-direction:column!important;}
.landing-hero{flex:1 0 auto!important;}
.bottom-brand{margin-top:auto!important;padding-bottom:20px;position:relative;z-index:999!important;}
/* ===== HARD VIEWPORT/PORTAL UNLOCK FIX ===== */
html, body{
  height:auto !important;
  min-height:100dvh !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
}

#app{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:100dvh !important;
  overflow:visible !important;
}

.page{
  position:relative !important;
  inset:auto !important;
  width:100% !important;
  min-height:100dvh !important;
  height:auto !important;
  overflow:visible !important;
}

.page.active{
  display:flex !important;
  flex-direction:column !important;
}

#landing-page{
  position:relative !important;
  min-height:100dvh !important;
  height:auto !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:visible !important;
}

.landing-hero{
  flex:1 0 auto !important;
}

.bottom-brand{
  margin-top:auto !important;
  position:relative !important;
  z-index:999 !important;
  padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 20px) !important;
}
/* ===== MOBILE VIEWPORT TIGHTENING ===== */
@media (max-width: 768px){

  #landing-page{
    justify-content:center !important;
    align-items:center !important;
    padding:20px !important;
  }

  .landing-hero{
    width:100% !important;
    max-width:420px !important;
    margin:0 auto !important;
    text-align:center !important;
  }

  .landing-text{
    width:100% !important;
    max-width:420px !important;
    margin:0 auto !important;
  }

  .brand-badge{
    justify-content:center !important;
  }

  .hero-title{
    text-align:center !important;
  }

  .hero-sub{
    text-align:center !important;
  }

  .name-input-group{
    flex-direction:column !important;
    gap:12px !important;
    align-items:center !important;
  }

  .name-input-group input{
    width:100% !important;
  }

  .btn-primary{
    width:100% !important;
    justify-content:center !important;
  }

  .bottom-brand{
    width:100% !important;
    text-align:center !important;
  }

}
