/* ═══════════════════════════════════════════════════════════
   UnlockMyDream — app.css
   Single source of truth. No style.css needed.
   Fonts: Cinzel (headings/logo), Inter (body), Cormorant Garamond (dream text/quotes)
   Theme: Dark only. Option C — Nebula Depth background.
════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ══════════════════════════════════════════════
   COLOUR VARIABLES
══════════════════════════════════════════════ */
:root {
    /* Backgrounds */
    --bg:        #08080f;
    --bg2:       #0d0d1c;
    --bg3:       #111128;
    --card:      #0f0f20;
    --card2:     #13132a;

    /* Text — high contrast hierarchy */
    --text:      #f0edf8;   /* primary — near white with warmth */
    --text2:     #c4bedd;   /* secondary — readable muted */
    --text3:     #7a749a;   /* tertiary — labels, meta */
    --text4:     #4a4468;   /* quaternary — very dim */

    /* Borders */
    --border:    rgba(255,255,255,0.07);
    --border2:   rgba(255,255,255,0.12);
    --border3:   rgba(255,255,255,0.18);

    /* Gold — primary accent */
    --gold:      #c9a84c;
    --gold2:     #e8c96a;   /* hover/highlight */
    --gold3:     #a8873a;   /* pressed */
    --gold-dim:  rgba(201,168,76,0.10);
    --gold-glow: rgba(201,168,76,0.20);
    --gold-border: rgba(201,168,76,0.28);

    /* Indigo/Purple — secondary accent */
    --indigo:    #7c6fd4;
    --indigo2:   #9b90e8;
    --indigo-dim:    rgba(124,111,212,0.10);
    --indigo-glow:   rgba(124,111,212,0.20);
    --indigo-border: rgba(124,111,212,0.30);

    /* Status */
    --red:       #e05252;
    --red-dim:   rgba(224,82,82,0.10);
    --red-border:rgba(224,82,82,0.28);
    --green:     #52c97e;
    --green-dim: rgba(82,201,126,0.10);
    --green-border:rgba(82,201,126,0.28);

    /* Radius */
    --r:  4px;
    --r2: 8px;
    --r3: 12px;
}

/* ══════════════════════════════════════════════
   BACKGROUND — Option C: Nebula Depth
   Edit the orb colors/positions/sizes here
══════════════════════════════════════════════ */
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Nebula orbs — fixed so they stay as you scroll */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124,111,212,0.13) 0%, rgba(100,60,180,0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}
body::after {
    content: '';
    position: fixed;
    bottom: -15%;
    left: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, rgba(180,120,30,0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(70px);
}

/* Subtle grain texture overlay */
body .grain {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Ensure content sits above background effects */
nav, main, footer, .umd-mobile-menu, .umd-dropdown, .umd-cookie {
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════ */
.font-cinzel    { font-family: 'Cinzel', serif; }
.font-cormorant { font-family: 'Cormorant Garamond', serif; }
.serif          { font-family: 'Cormorant Garamond', serif; }

h1, h2, h3, h4, h5 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: .02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text2); line-height: 1.8; }
a { color: inherit; text-decoration: none; transition: color .15s; }
.gold-text { color: var(--gold); }
.muted     { color: var(--text3); }
.dim       { color: var(--text4); }

/* Dream text — special Cormorant styling */
.dream-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
    letter-spacing: .01em;
}

/* ══════════════════════════════════════════════
   LAYOUT WRAPPERS — consistent across all pages
══════════════════════════════════════════════ */
.wrap    { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.wrap-sm { width: 100%; max-width: 820px;  margin: 0 auto; padding: 0 2rem; }
.wrap-lg { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.wrap-xs { width: 100%; max-width: 560px;  margin: 0 auto; padding: 0 2rem; }

/* ══════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════ */
.card {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r2);
    transition: border-color .2s;
}
.card:hover         { border-color: var(--border2); }
.card-gold          { background: var(--gold-dim);   border-color: var(--gold-border)   !important; }
.card-indigo        { background: var(--indigo-dim); border-color: var(--indigo-border) !important; }
.card-red           { background: var(--red-dim);    border-color: var(--red-border)    !important; }
.card-green         { background: var(--green-dim);  border-color: var(--green-border)  !important; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: .7rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: var(--r);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: all .18s;
}
.btn-primary { background: var(--gold); color: #08080f; }
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: transparent; border: 0.5px solid var(--gold-border); color: var(--gold); }
.btn-outline:hover { background: var(--gold-dim); border-color: var(--gold); }

.btn-ghost { background: transparent; border: 0.5px solid var(--border2); color: var(--text2); }
.btn-ghost:hover { background: var(--card2); color: var(--text); border-color: var(--border3); }

.btn-indigo { background: var(--indigo-dim); border: 0.5px solid var(--indigo-border); color: var(--indigo2); }
.btn-indigo:hover { background: var(--indigo-glow); }

.btn-danger { background: var(--red-dim); border: 0.5px solid var(--red-border); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }

.btn-sm  { padding: .5rem 1.1rem; font-size: .68rem; }
.btn-lg  { padding: .9rem 2.4rem; font-size: .8rem; }
.btn-block { width: 100%; }

/* ══════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════ */
.form-label {
    display: block;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: .4rem;
}
.form-input {
    width: 100%;
    background: var(--bg3);
    border: 0.5px solid var(--border2);
    border-radius: var(--r);
    padding: .75rem 1rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color .18s;
}
.form-input:focus      { border-color: var(--gold-border); }
.form-input::placeholder { color: var(--text4); }
select.form-input      { cursor: pointer; }
textarea.form-input    { resize: vertical; }
input[type=range] {
    -webkit-appearance: none;
    width: 100%; height: 4px;
    border-radius: 2px;
    background: var(--bg3);
    outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    border: 2px solid var(--bg);
}

/* ══════════════════════════════════════════════
   ALERTS
══════════════════════════════════════════════ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r2);
    font-size: .9rem;
    line-height: 1.6;
}
.alert-gold   { background: var(--gold-dim);   border: 0.5px solid var(--gold-border);   color: var(--gold2); }
.alert-indigo { background: var(--indigo-dim); border: 0.5px solid var(--indigo-border); color: var(--indigo2); }
.alert-red    { background: var(--red-dim);    border: 0.5px solid var(--red-border);    color: var(--red); }
.alert-green  { background: var(--green-dim);  border: 0.5px solid var(--green-border);  color: var(--green); }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.umd-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 68px;
    background: rgba(8,8,15,0.88);
    border-bottom: 0.5px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.umd-nav-inner {
    height: 68px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    width: 100%;
}
.umd-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: .95rem;
    letter-spacing: .18em;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.umd-logo .gold { color: var(--gold); }
.umd-logo img   { height: 32px; width: auto; display: block; }
.umd-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.umd-nav-links a { color: var(--text2); transition: color .15s; white-space: nowrap; }
.umd-nav-links a:hover  { color: var(--text); }
.umd-nav-links a.active { color: var(--gold); }
.umd-nav-right { display: flex; align-items: center; gap: .875rem; flex-shrink: 0; }

/* Keys badge */
.umd-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 14px; border-radius: 20px;
    font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; white-space: nowrap; transition: opacity .18s;
}
.umd-badge:hover { opacity: .8; }
.umd-badge.has  { background: var(--indigo-dim); border: 0.5px solid var(--indigo-border); color: var(--indigo2); }
.umd-badge.none { background: var(--red-dim);    border: 0.5px solid var(--red-border);    color: var(--red); }

/* Auth buttons */
.umd-btn-outline {
    display: inline-flex; align-items: center; padding: 7px 18px;
    border-radius: var(--r); font-size: .72rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    border: 0.5px solid var(--border2); color: var(--text2); transition: all .18s;
}
.umd-btn-outline:hover { border-color: var(--gold-border); color: var(--gold); }
.umd-btn-primary {
    display: inline-flex; align-items: center; padding: 8px 20px;
    border-radius: var(--r); font-size: .72rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    background: var(--gold); color: #08080f; border: none; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: opacity .18s;
}
.umd-btn-primary:hover { opacity: .88; }

/* Theme toggle */
.umd-theme-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 0.5px solid var(--border2);
    background: var(--card);
    color: var(--text3); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: all .2s; flex-shrink: 0;
}
.umd-theme-btn:hover { color: var(--gold); border-color: var(--gold-border); }

/* Hamburger */
.umd-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.umd-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: var(--text3); border-radius: 2px; transition: all .3s;
}

/* User dropdown */
.umd-user-wrap { position: relative; }
.umd-user-btn {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 6px 12px; border-radius: var(--r2);
    border: 0.5px solid var(--border); background: var(--card);
    color: var(--text2); font-size: .8rem; font-weight: 500;
    transition: all .18s; user-select: none; white-space: nowrap;
}
.umd-user-btn:hover { border-color: var(--border2); color: var(--text); }
.umd-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--indigo-dim); border: 0.5px solid var(--indigo-border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cinzel', serif; font-size: 13px;
    color: var(--indigo2); flex-shrink: 0; font-weight: 600;
}
.umd-chevron { font-size: 9px; color: var(--text4); transition: transform .2s; }
.umd-user-btn.open .umd-chevron { transform: rotate(180deg); }
.umd-dropdown {
    display: none; position: absolute; top: calc(100% + 10px); right: 0;
    min-width: 195px; background: var(--bg2);
    border: 0.5px solid var(--border2); border-radius: var(--r2);
    box-shadow: 0 12px 40px rgba(0,0,0,.6); overflow: hidden; z-index: 200;
}
.umd-dropdown.open { display: block; }
.umd-drop-header {
    padding: .875rem 1rem; border-bottom: 0.5px solid var(--border);
    font-size: .78rem; color: var(--text3);
}
.umd-drop-header strong { display: block; color: var(--text); font-size: .88rem; margin-bottom: 2px; }
.umd-drop-link {
    display: flex; align-items: center; gap: .625rem;
    padding: .65rem 1rem; font-size: .82rem; color: var(--text2);
    text-decoration: none; transition: background .15s;
}
.umd-drop-link:hover { background: var(--card2); color: var(--text); }
.umd-drop-link i { width: 15px; color: var(--text3); font-size: 13px; }
.umd-drop-link.danger { color: var(--red); }
.umd-drop-link.danger:hover { background: var(--red-dim); }
.umd-drop-sep { height: 0.5px; background: var(--border); margin: .25rem 0; }

@media (max-width: 860px) {
    .umd-nav-links { display: none; }
    .umd-hamburger { display: flex; }
    .desk-only     { display: none !important; }
}

/* Mobile menu */
.umd-mobile-menu {
    display: none; position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 99;
    padding: 1.5rem 2rem; flex-direction: column; gap: 0;
    border-top: 0.5px solid var(--border); overflow-y: auto;
}
.umd-mobile-menu.open { display: flex; }
.umd-mobile-menu a {
    padding: 1rem 0; font-size: 1.1rem; font-family: 'Cinzel', serif;
    color: var(--text2); text-decoration: none;
    border-bottom: 0.5px solid var(--border); display: block; letter-spacing: .08em;
}
.umd-mobile-menu a:hover { color: var(--gold); }

/* Key warning bar */
.umd-key-warn {
    background: var(--gold-dim); border-bottom: 0.5px solid var(--gold-border);
    padding: 9px 2rem; display: flex; align-items: center;
    justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--gold2);
    position: relative; z-index: 1;
}
.umd-key-warn a { font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* Cookie bar */
.umd-cookie {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--bg2); border-top: 0.5px solid var(--border2);
    padding: 1rem 2rem; display: flex; align-items: center;
    justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    font-size: .82rem; color: var(--text2); box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}
.umd-cookie.hidden { display: none; }

/* ══════════════════════════════════════════════
   TABS
══════════════════════════════════════════════ */
.tabs-nav {
    display: flex; border-bottom: 0.5px solid var(--border);
    overflow-x: auto; scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
    padding: .875rem 1.75rem; font-size: .7rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--text3);
    cursor: pointer; border: none; background: none;
    border-bottom: 2px solid transparent; margin-bottom: -.5px;
    white-space: nowrap; transition: all .18s; font-family: 'Inter', sans-serif;
}
.tab-btn:hover { color: var(--text2); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; padding-top: 1.5rem; }
.tab-panel.active { display: block; }

/* ══════════════════════════════════════════════
   SECTION LABELS
══════════════════════════════════════════════ */
.sec-label {
    font-size: .68rem; letter-spacing: .4em; text-transform: uppercase;
    color: var(--gold); opacity: .8; text-align: center; margin-bottom: .75rem; display: block;
}
.sec-title {
    font-family: 'Cinzel', serif; text-align: center;
    color: var(--text); margin-bottom: 1rem; font-weight: 400;
}
.sec-sub {
    text-align: center; color: var(--text2);
    max-width: 520px; margin: 0 auto 3rem; font-size: 1.05rem;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
    position: relative; overflow: hidden;
    padding: 7rem 2rem 6rem; text-align: center;
}
.hero-eyebrow {
    font-size: .68rem; letter-spacing: .4em; text-transform: uppercase;
    color: var(--gold); opacity: .85; margin-bottom: 1.5rem; display: block;
}
.hero-btns {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; flex-wrap: wrap;
}
.star-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.star { position: absolute; border-radius: 50%; background: #fff; }
@keyframes twinkle { 0%,100%{opacity:.2} 50%{opacity:.7} }

/* Language pills */
.lang-pills {
    display: flex; align-items: center; justify-content: center;
    gap: .5rem; flex-wrap: wrap; margin-top: 2rem;
}
.lang-pill {
    font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text3); padding: 5px 14px;
    border: 0.5px solid var(--border); border-radius: 20px;
    cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
}
.lang-pill:hover, .lang-pill.active {
    border-color: var(--gold-border); color: var(--gold); background: var(--gold-dim);
}

/* ══════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════ */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3,1fr); } }
.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    border: 0.5px solid var(--gold-border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--gold);
}

/* ══════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════ */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 900px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }

.price-card {
    padding: 2rem; display: flex; flex-direction: column;
    position: relative; background: var(--card);
    border: 0.5px solid var(--border); border-radius: var(--r2);
    transition: border-color .2s, transform .2s;
}
.price-card:hover { transform: translateY(-2px); border-color: var(--border2); }
.price-card.featured { border-color: var(--indigo-border) !important; background: var(--indigo-dim) !important; }
.price-popular {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    background: var(--indigo); color: #fff; padding: 3px 16px; border-radius: 12px; white-space: nowrap;
    font-family: 'Inter', sans-serif;
}
.price-name   { font-family: 'Inter', sans-serif; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text3); margin-bottom: .875rem; }
.price-amount { font-family: 'Cinzel', serif; font-size: 3.2rem; color: var(--text); line-height: 1; margin-bottom: .25rem; }
.price-amount sup { font-size: 1.3rem; vertical-align: super; }
.price-period { font-size: .75rem; color: var(--text3); margin-bottom: 1.25rem; }
.price-keys-badge {
    display: flex; align-items: center; gap: 8px; padding: .875rem 1rem;
    background: var(--gold-dim); border: 0.5px solid var(--gold-border);
    border-radius: var(--r); margin-bottom: 1.25rem; font-size: .85rem; color: var(--gold2);
}
.price-features { list-style: none; margin-bottom: 1.75rem; flex: 1; }
.price-features li {
    font-size: .85rem; color: var(--text2); padding: .5rem 0;
    border-bottom: 0.5px solid var(--border); display: flex; align-items: center; gap: 8px;
}
.price-features li::before { content: '✦'; font-size: 8px; color: var(--gold); opacity: .5; flex-shrink: 0; }

/* Toggle */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: .875rem; margin-bottom: 3rem; }
.toggle-label { font-size: .85rem; color: var(--text3); cursor: pointer; transition: color .2s; }
.toggle-label.active { color: var(--text); font-weight: 500; }
.toggle-track {
    width: 48px; height: 28px; border-radius: 14px;
    background: var(--bg3); border: 0.5px solid var(--border2);
    position: relative; cursor: pointer; transition: background .2s;
}
.toggle-track.on { background: var(--gold-dim); border-color: var(--gold-border); }
.toggle-thumb {
    position: absolute; top: 4px; left: 4px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--text4); transition: left .2s, background .2s;
}
.toggle-track.on .toggle-thumb { left: 24px; background: var(--gold); }
.save-badge {
    font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
    background: var(--green-dim); border: 0.5px solid var(--green-border);
    color: var(--green); padding: 2px 10px; border-radius: 12px; display: inline-block;
}

/* ══════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════ */
.dash-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1fr 380px; align-items: start;
}
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }

.vault-card { padding: 1.25rem; }
.vault-card.unlocked { border-left: 2px solid var(--indigo) !important; }
.vault-card.pending  { border-left: 2px solid var(--gold-border) !important; }

/* ══════════════════════════════════════════════
   LUCIDITY BAR
══════════════════════════════════════════════ */
.luc-bar { height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.luc-fill { height: 100%; border-radius: 3px; transition: width .5s; }

/* ══════════════════════════════════════════════
   SYMBOL PILLS
══════════════════════════════════════════════ */
.sym-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: 1rem; margin-top: 2rem;
}
.sym-pill {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.1rem; background: var(--card);
    border: 0.5px solid var(--border); border-radius: var(--r2); transition: border-color .2s;
}
.sym-pill:hover { border-color: var(--gold-border); }
.sym-icon {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: var(--indigo-dim); border: 0.5px solid var(--indigo-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--indigo2); font-size: 14px;
}

/* ══════════════════════════════════════════════
   DIVIDERS
══════════════════════════════════════════════ */
.divider-ornament {
    display: flex; align-items: center; gap: 1.25rem; margin: 3.5rem 0;
}
.divider-ornament::before, .divider-ornament::after {
    content: ''; flex: 1; height: 0.5px; background: var(--border);
}
.divider-ornament span { color: var(--gold); opacity: .4; font-size: .75rem; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
    border-top: 0.5px solid var(--border);
    padding: 3.5rem 2rem 2rem;
    background: rgba(8,8,15,0.6);
    margin-top: auto;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 0.5px solid var(--border); padding-top: 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--text3);
}
.footer-link {
    font-size: .88rem; color: var(--text2); text-decoration: none;
    display: block; margin-bottom: .6rem; transition: color .15s;
}
.footer-link:hover { color: var(--gold); }
.footer-col-label {
    font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--text3); margin-bottom: 1rem; display: block;
}

/* ══════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }   .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.mt-2{margin-top:.5rem} .mt-4{margin-top:1rem} .mt-6{margin-top:1.5rem}
.mt-8{margin-top:2rem}  .mt-10{margin-top:2.5rem} .mt-12{margin-top:3rem}
.mb-2{margin-bottom:.5rem} .mb-4{margin-bottom:1rem} .mb-6{margin-bottom:1.5rem}
.mb-8{margin-bottom:2rem}  .mb-10{margin-bottom:2.5rem} .mb-12{margin-bottom:3rem}
.w-full { width: 100%; }
.hidden { display: none !important; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ══════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text4); }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin   { to{transform:rotate(360deg)} }
.fade-up  { animation: fadeUp .5s ease both; }
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .2s; }
.delay-3  { animation-delay: .3s; }
.spinner  {
    width: 18px; height: 18px;
    border: 2px solid var(--border2); border-top-color: var(--gold);
    border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}

/* ══════════════════════════════════════════════
   RTL SUPPORT (Arabic, Urdu)
══════════════════════════════════════════════ */
[dir=rtl] .vault-card.unlocked { border-left: none; border-right: 2px solid var(--indigo) !important; }
[dir=rtl] .vault-card.pending  { border-left: none; border-right: 2px solid var(--gold-border) !important; }
[dir=rtl] .umd-dropdown        { right: auto; left: 0; }

/* ── Legacy class aliases — backwards compatibility ── */
.container    { width:100%; max-width:1200px; margin:0 auto; padding:0 2rem; }
.container-sm { width:100%; max-width:820px;  margin:0 auto; padding:0 2rem; }
.page-wrap    { width:100%; max-width:1200px; margin:0 auto; padding:0 2rem; }
.page-wrap-sm { width:100%; max-width:820px;  margin:0 auto; padding:0 2rem; }
.page-wrap-lg { width:100%; max-width:1400px; margin:0 auto; padding:0 2rem; }
.interp-wrap  { width:100%; max-width:860px;  margin:0 auto; padding:0 2rem; }

/* Tailwind-like utilities still used in some pages */
.flex-grow    { flex:1; }
.flex-shrink-0{ flex-shrink:0; }
.min-h-screen { min-height:100vh; }
.items-center { align-items:center; }
.justify-center{ justify-content:center; }
.justify-between{ justify-content:space-between; }
.flex         { display:flex; }
.grid         { display:grid; }
.hidden       { display:none !important; }
.w-full       { width:100%; }
.h-full       { height:100%; }
.relative     { position:relative; }
.absolute     { position:absolute; }
.overflow-hidden{ overflow:hidden; }
.text-center  { text-align:center; }
.font-bold    { font-weight:700; }
.font-semibold{ font-weight:600; }
.uppercase    { text-transform:uppercase; }
.tracking-widest{ letter-spacing:.2em; }
.rounded-full { border-radius:9999px; }
.border       { border:.5px solid var(--border); }
.cursor-pointer{ cursor:pointer; }
.transition   { transition:all .2s; }
.opacity-0    { opacity:0; }
.opacity-100  { opacity:1; }
.z-10         { z-index:10; }
.z-50         { z-index:50; }

/* mystic-card — from old style.css */
.mystic-card  {
    background:rgba(13,13,28,0.85);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border:0.5px solid rgba(124,111,212,0.18);
    border-radius:8px;
    transition:all .3s;
}
.mystic-card:hover {
    border-color:var(--gold);
    box-shadow:0 8px 32px rgba(124,111,212,0.15);
}

/* btn-mystic — from old style.css */
.btn-mystic {
    background:linear-gradient(45deg,#4c1d95,#6d28d9);
    box-shadow:0 0 20px rgba(124,58,237,0.25);
    border:none;
    cursor:pointer;
    color:#fff;
}
.btn-mystic:hover { opacity:.9; }

/* serif-font — old class name */
.serif-font { font-family:'Cinzel',serif; }

/* gold-text — ensure it works */
.gold-text {
    background:linear-gradient(to right,#c9a84c,#e8c96a,#c9a84c);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    display:inline-block;
}
