:root {
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f7f2e8;
    --navy: #14213d;
    --gold: #d6a84f;
    --rose: #9f496e;
    --green: #16845b;
    --red: #b42318;
    --premium-gradient: linear-gradient(135deg, #111827 0%, var(--rose) 38%, var(--gold) 72%, var(--green) 100%);
    --premium-glow: 0 24px 72px rgba(17,24,39,.16);
    --card-glow: 0 16px 42px rgba(17,24,39,.08);
}

.astrology-hero {
    background:
        radial-gradient(circle at 18% 16%, rgba(255,255,255,.2), transparent 18%),
        radial-gradient(circle at 82% 18%, rgba(214,168,79,.22), transparent 22%),
        radial-gradient(circle at 70% 78%, rgba(22,132,91,.22), transparent 24%),
        linear-gradient(115deg, rgba(6,12,28,.97), rgba(43,27,67,.88)),
        var(--hero-image) center/cover;
}
.astro-visual {
    position: relative;
    min-height: 460px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.22);
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 35%, rgba(214,168,79,.28), transparent 10%),
        radial-gradient(circle at 65% 65%, rgba(159,73,110,.34), transparent 14%),
        linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    box-shadow: 0 34px 90px rgba(0,0,0,.34);
}
.astro-visual:before { content: ""; position: absolute; inset: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; animation: orbitSpin 24s linear infinite; }
.astro-visual:after { content: ""; position: absolute; width: 170px; height: 2px; left: -40%; top: 28%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transform: rotate(-18deg); filter: drop-shadow(0 0 10px rgba(255,255,255,.8)); animation: cometPass 7s ease-in-out infinite; }
.planet { position: absolute; border-radius: 50%; box-shadow: 0 0 45px rgba(214,168,79,.35); animation: planetFloat 5.8s ease-in-out infinite alternate; }
.planet-one { width: 110px; height: 110px; left: 52px; top: 54px; background: linear-gradient(135deg, #f7d783, #9f496e); }
.planet-two { width: 72px; height: 72px; right: 64px; bottom: 78px; background: linear-gradient(135deg, #9cc8ff, #f8e2a0); animation-delay: -2.4s; }
.zodiac-ring { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; letter-spacing: 10px; color: rgba(255,255,255,.78); text-align: center; padding: 42px; animation: zodiacPulse 9s ease-in-out infinite; }
.star-map { position: absolute; inset: 0; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 34px 34px; opacity: .22; animation: starDrift 18s linear infinite; }
.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.stats-band div { padding: 28px 6vw; background: white; }
.stats-band strong { display: block; font-size: 34px; color: var(--navy); }
.stats-band span { color: var(--muted); font-weight: 700; }
.psychic-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.availability { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; margin-bottom: 8px; }
.availability.available { background: #dcfae6; color: var(--green); }
.availability.busy { background: #fff4d6; color: #8a6100; }
.availability.offline { background: #eceff3; color: #475467; }
.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
@media (max-width: 900px) {
    .stats-band { grid-template-columns: 1fr; }
    .astro-visual { min-height: 340px; }
    .app-buttons { justify-content: flex-start; }
}

* { box-sizing: border-box; }
html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, #fffaf4 0%, #faf8f4 42%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; height: auto; }
audio { max-width: 100%; }
button, input, select, textarea { max-width: 100%; min-width: 0; }
p, td, th, label, a, strong, span { overflow-wrap: anywhere; }
main { min-width: 0; min-height: 72vh; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 14px 6vw;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 44px rgba(17,24,39,.05);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .01em; }
.brand-mark {
    width: 42px; height: 42px; display: grid; place-items: center;
    background: var(--premium-gradient); color: white; border-radius: 12px;
    box-shadow: 0 12px 34px rgba(159,73,110,.25);
}
.brand-logo { max-width: 150px; max-height: 46px; object-fit: contain; display: block; }
nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
nav a { font-weight: 800; color: rgba(17,24,39,.82); }
nav a:hover { color: var(--rose); }
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--navy);
    font-size: 24px;
    cursor: pointer;
}
.auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    white-space: nowrap;
}
.notification-center { position: relative; }
.notification-button { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; font-size: 18px; }
.notification-button span { position: absolute; right: -5px; top: -5px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: white; font-size: 11px; font-weight: 900; }
.notification-button span:empty, .notification-button span[data-empty="1"] { display: none; }
.notification-panel { display: none; position: absolute; right: 0; top: 50px; width: min(420px, calc(100vw - 32px)); max-height: 560px; overflow: auto; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 24px 70px rgba(17,24,39,.18); z-index: 80; }
.notification-panel.open { display: block; }
.notification-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.notification-panel-head button { border: 0; background: transparent; color: var(--rose); font-weight: 800; cursor: pointer; }
.notification-permission { width: 100%; min-height: 40px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf7; color: var(--navy); font-weight: 900; cursor: pointer; }
.notification-item { padding: 11px 0; border-bottom: 1px solid var(--line); }
.notification-item.unread strong:before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--red); }
.notification-item p { margin: 5px 0; font-size: 14px; }
.notification-item time { color: var(--muted); font-size: 11px; }
.auth-link {
    position: relative;
    z-index: 2;
}
.login-link {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(20,33,61,.07);
}
.register-link {
    box-shadow: 0 12px 30px rgba(159,73,110,.24);
}
.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 54px;
    padding: 108px 6vw 92px;
    color: white;
    background:
        linear-gradient(115deg, rgba(9,17,34,.94), rgba(47,31,68,.82)),
        var(--hero-image) center/cover;
    position: relative;
    overflow: hidden;
}
.home-hero { min-height: 680px; align-items: center; }
.home-hero:before {
    content: "";
    position: absolute;
    inset: auto 6vw 38px 6vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
}
.hero:after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -170px;
    top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,168,79,.34), rgba(159,73,110,.14), transparent 68%);
    filter: blur(2px);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(48px, 6.4vw, 88px); line-height: .92; margin: 0 0 20px; letter-spacing: 0; max-width: 900px; text-shadow: 0 18px 58px rgba(0,0,0,.28); }
.hero p { font-size: 19px; line-height: 1.72; color: rgba(255,255,255,.88); max-width: 690px; }
.eyebrow, .card-kicker {
    display: inline-flex;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 12px;
}
.eyebrow.dark { color: var(--rose); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.trust-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.trust-strip span {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.9);
    font-weight: 700;
}
.trust-strip:after {
    content: "";
    flex: 0 0 min(520px, 100%);
    height: 86px;
    margin-top: 10px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.18);
    background:
        radial-gradient(circle at 14% 48%, #f7d783 0 8px, rgba(247,215,131,.28) 9px 24px, transparent 25px),
        radial-gradient(circle at 70% 42%, #9cc8ff 0 6px, rgba(156,200,255,.24) 7px 20px, transparent 21px),
        radial-gradient(circle at 88% 62%, #9ff1cf 0 5px, rgba(159,241,207,.2) 6px 18px, transparent 19px),
        radial-gradient(#fff 1px, transparent 1px),
        linear-gradient(115deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
    background-size: auto, auto, auto, 28px 28px, auto;
    box-shadow: inset 0 0 42px rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.18);
    animation: miniGalaxy 8s ease-in-out infinite alternate;
}
.hero-card {
    background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px;
    padding: 30px;
    backdrop-filter: blur(10px);
    align-self: center;
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.hero-card strong { display: block; font-size: 28px; margin-bottom: 8px; }
.hero-oracle { position: relative; min-height: 430px; display: grid; place-items: center; }
.oracle-card {
    width: min(420px, 100%);
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.24);
    background:
        linear-gradient(180deg, rgba(12,19,36,.1), rgba(12,19,36,.88)),
        var(--home-visual-image) center/cover;
    box-shadow: 0 34px 90px rgba(0,0,0,.34);
}
.oracle-card strong { display: block; font-size: 30px; line-height: 1.08; margin-bottom: 12px; }
.oracle-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.oracle-meter span { height: 7px; border-radius: 999px; background: rgba(255,255,255,.22); }
.oracle-meter span:nth-child(-n+3) { background: var(--gold); }
.floating-note {
    position: absolute;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    color: var(--navy);
    font-weight: 900;
    box-shadow: 0 18px 46px rgba(0,0,0,.22);
}
.note-one { left: 2%; top: 18%; }
.note-two { right: 0; bottom: 18%; }
.feature-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}
.feature-band div { background: white; padding: 24px 6vw; }
.feature-band strong { display: block; color: var(--navy); margin-bottom: 6px; }
.feature-band span { color: var(--muted); }
.section { padding: 56px 6vw; }
.section:nth-of-type(even) { background: rgba(255,255,255,.52); }
.intro-section { background: #fff; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.section h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; margin: 0 0 10px; color: var(--navy); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.9));
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--card-glow);
    overflow: hidden;
}
.card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(214,168,79,.14), transparent 34%, rgba(159,73,110,.08));
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.psychic-card, .package-card, .method-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.psychic-card { display: flex; flex-direction: column; min-width: 0; }
.psychic-card h3, .psychic-card p { overflow-wrap: anywhere; }
.psychic-card .btn { margin-top: auto; }
.psychic-card .availability { align-self: flex-start; }
.psychic-card .psychic-photo { flex: 0 0 210px; width: 100%; overflow: hidden; }
.psychic-card:hover, .package-card:hover, .method-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 68px rgba(17,24,39,.14);
    border-color: rgba(214,168,79,.45);
}
.card:hover:before { opacity: 1; }
.method-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
}
.method-card:after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -40px;
    top: -40px;
    border-radius: 50%;
    background: rgba(214,168,79,.18);
}
.method-card.featured {
    background: var(--premium-gradient);
    color: white;
    border-color: var(--navy);
}
.method-card.featured .muted { color: rgba(255,255,255,.76); }
.method-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--premium-gradient);
    color: white;
    font-weight: 900;
    margin-bottom: 26px;
}
.method-card.featured .method-icon { background: rgba(255,255,255,.12); color: var(--gold); }
.showcase-band {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
    padding: 66px 6vw;
    background:
        radial-gradient(circle at 80% 20%, rgba(214,168,79,.28), transparent 28%),
        linear-gradient(135deg, var(--navy), #231937 60%, var(--rose));
    color: white;
}
.showcase-band h2 { font-size: 34px; margin: 0; max-width: 680px; }
.showcase-list { display: grid; gap: 14px; }
.showcase-list p {
    margin: 0;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.82);
}
.showcase-list strong { color: white; }
.psychic-photo {
    height: 210px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(20,33,61,.92), rgba(159,73,110,.76)),
        var(--expert-image) center/cover;
    display: grid;
    place-items: center;
    font-size: 54px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: inset 0 -70px 70px rgba(0,0,0,.18);
}
.price { font-size: 32px; font-weight: 900; color: var(--navy); }
.package-card {
    display: flex;
    flex-direction: column;
}
.package-card .btn { margin-top: auto; }
.service-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
}
.service-duration {
    display: inline-flex;
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef0f4;
    color: var(--navy);
    font-weight: 900;
    margin: 4px 0 12px;
}
.why-section {
    background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.94)),
        radial-gradient(circle at 12% 10%, rgba(214,168,79,.16), transparent 28%);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.why-card {
    min-height: 210px;
    padding: 22px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--card-glow);
}
.why-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--premium-gradient);
    color: white;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 18px;
}
.why-card h3 { margin: 0 0 10px; color: var(--navy); }
.why-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 20px; border-radius: 999px;
    background: var(--premium-gradient); color: white; font-weight: 800; border: 0; cursor: pointer;
    box-shadow: 0 14px 34px rgba(159,73,110,.22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(159,73,110,.28); filter: saturate(1.08); }
.btn.small { min-height: 36px; padding: 0 14px; }
.btn.ghost { background: #eef0f4; color: var(--navy); box-shadow: none; }
.btn.ghost-light { background: rgba(255,255,255,.15); color: white; border: 1px solid rgba(255,255,255,.25); }
.btn.danger { background: #fee4e2; color: var(--red); }
.form-wrap { max-width: 520px; margin: 48px auto; }
.form-row { display: grid; gap: 8px; margin-bottom: 16px; }
label { font-weight: 700; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    background: white;
}
input:focus, select:focus, textarea:focus {
    outline: 0;
    border-color: rgba(214,168,79,.9);
    box-shadow: 0 0 0 4px rgba(214,168,79,.16);
}
textarea { min-height: 130px; resize: vertical; }
.notice { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; background: #ecfdf3; color: var(--green); }
.error { background: #fff1f0; color: var(--red); }
.danger-zone { border-color: rgba(180,35,24,.28); background: #fffafa; }
.dashboard { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-width: 0; min-height: 78vh; }
.sidebar { background: linear-gradient(180deg, #111827, #2f1f44); color: white; padding: 24px; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sidebar h2 { margin: 0; font-size: 20px; }
.admin-menu-toggle { display: none; min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,255,255,.12); color: white; font-weight: 900; cursor: pointer; }
.admin-nav { display: grid; gap: 4px; }
.sidebar a { display: block; padding: 12px 10px; border-radius: 8px; color: rgba(255,255,255,.86); }
.sidebar a:hover { background: rgba(255,255,255,.1); }
.panel { min-width: 0; max-width: 100%; padding: 34px; }
.table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--card-glow); }
.table th, .table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; border-radius: 16px; -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
.table-scroll .table { box-shadow: none; }
.status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #eef0f4; font-size: 12px; font-weight: 800; }
.status.paid, .status.completed { background: #dcfae6; color: var(--green); }
.status.pending { background: #fff4d6; color: #8a6100; }
.status.rejected, .status.cancelled { background: #fee4e2; color: var(--red); }
.recorder-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.audio-recorder { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }
.recording-console { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px; min-height: 64px; padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.record-mic { font-size: 26px; }
.record-light { width: 12px; height: 12px; border-radius: 50%; background: #98a2b3; box-shadow: 0 0 0 5px rgba(152,162,179,.12); }
.recording-console time { font-variant-numeric: tabular-nums; font-size: 24px; font-weight: 900; color: var(--navy); }
.recording-console[data-state="recording"] { border-color: rgba(180,35,24,.34); background: #fff7f6; }
.recording-console[data-state="recording"] .record-light { background: #e11d48; box-shadow: 0 0 0 6px rgba(225,29,72,.14); animation: recordPulse 1.1s ease-in-out infinite; }
.recording-console[data-state="paused"] .record-light { background: #d6a84f; box-shadow: 0 0 0 5px rgba(214,168,79,.15); }
.recording-console[data-state="ready"] .record-light { background: var(--green); box-shadow: 0 0 0 5px rgba(22,132,91,.12); }
@keyframes recordPulse { 50% { transform: scale(.72); opacity: .55; } }
.two-col { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.order-list { display: grid; gap: 18px; }
.result-card { padding: 0; overflow: hidden; }
.result-head { display: flex; justify-content: space-between; gap: 16px; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); }
.result-head h3 { margin: 0 0 6px; }
.reading-box { padding: 20px; background: #fffaf0; }
.reading-text { margin-top: 8px; line-height: 1.6; }
.mini-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-item:last-child { border-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 6vw; border-top: 1px solid var(--line); background: white; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.footer-links a { color: var(--navy); font-weight: 800; }
.legal-wrap { max-width: 920px; margin: 0 auto; }
.legal-wrap h1 { margin-top: 0; font-size: 34px; }
.legal-content { line-height: 1.75; color: #283142; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.support-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
}
.instagram-float {
    position: fixed;
    right: 22px;
    bottom: 82px;
    z-index: 49;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px 0 10px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    background: linear-gradient(135deg, #833ab4, #c13584 46%, #f77737 78%, #fcaf45);
    color: white;
    box-shadow: 0 16px 38px rgba(131,58,180,.28);
    transition: transform .18s ease, box-shadow .18s ease;
}
.instagram-float:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(131,58,180,.32); }
.instagram-float span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
}
.instagram-float strong { font-size: 14px; }
.support-toggle {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--premium-gradient);
    color: white;
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(20,33,61,.28);
    cursor: pointer;
}
.support-panel {
    position: absolute;
    right: 0;
    bottom: 62px;
    width: min(360px, calc(100vw - 32px));
    max-height: 620px;
    display: none;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 24px 80px rgba(17,24,39,.22);
}
.support-panel.open { display: block; }
.support-head { padding: 16px; background: var(--premium-gradient); color: white; }
.support-head strong { display: block; }
.support-head span { color: rgba(255,255,255,.75); font-size: 13px; }
.support-body { max-height: 260px; overflow-y: auto; padding: 14px; background: #fbfaf7; }
.support-msg { margin-bottom: 10px; padding: 10px; border-radius: 8px; background: white; border: 1px solid var(--line); }
.support-msg.admin { background: #fff7df; }
.support-msg strong { font-size: 13px; }
.support-msg p { margin: 4px 0; line-height: 1.45; }
.support-msg span { color: var(--muted); font-size: 11px; }
.support-form { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.support-form textarea { min-height: 82px; }
.support-widget.support-active [data-support-start] { display: none; }
.support-widget.support-active [data-support-reply] { display: grid; }
.support-widget:not(.support-active) [data-support-reply] { display: none; }
.support-whatsapp {
    display: block;
    margin: 0 12px 12px;
    padding: 10px;
    border-radius: 8px;
    background: #dcfae6;
    color: var(--green);
    text-align: center;
    font-weight: 900;
}
.admin-chat-history { max-height: 420px; overflow-y: auto; margin-bottom: 16px; padding: 12px; background: #fbfaf7; border-radius: 8px; }
.selection-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; max-height: 260px; overflow: auto; padding: 12px; margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }
.selection-list label { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 13px; }
.selection-list input { width: auto; }
.final-cta {
    margin: 36px 6vw 60px;
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 24px;
    background:
        linear-gradient(120deg, rgba(20,33,61,.96), rgba(159,73,110,.88)),
        var(--final-cta-image) center/cover;
    color: white;
    box-shadow: var(--premium-glow);
}
.final-cta h2 { font-size: 34px; margin: 0 0 8px; }
.final-cta p { margin: 0; color: rgba(255,255,255,.82); }
@keyframes miniGalaxy {
    0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; transform: translateY(0); }
    100% { background-position: 22px -8px, -16px 10px, 12px 6px, 42px 24px, 0 0; transform: translateY(-3px); }
}
@keyframes orbitSpin {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(360deg) scale(1.02); }
}
@keyframes cometPass {
    0%, 46% { left: -42%; opacity: 0; }
    56% { opacity: .9; }
    72%, 100% { left: 116%; opacity: 0; }
}
@keyframes planetFloat {
    from { transform: translate3d(0,0,0) scale(1); }
    to { transform: translate3d(12px,-14px,0) scale(1.04); }
}
@keyframes zodiacPulse {
    0%, 100% { opacity: .62; transform: scale(1); }
    50% { opacity: .92; transform: scale(1.025); }
}
@keyframes starDrift {
    from { background-position: 0 0; }
    to { background-position: 68px 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .trust-strip:after, .astro-visual:before, .astro-visual:after, .planet, .zodiac-ring, .star-map {
        animation: none;
    }
}
@media (max-width: 900px) {
    body {
        background:
            radial-gradient(circle at top, rgba(214,168,79,.16), transparent 26%),
            linear-gradient(180deg, #fffaf0, #fbfaf7);
    }
    .topbar {
        position: sticky;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px 16px;
        gap: 12px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 10px 30px rgba(17,24,39,.06);
    }
    .menu-toggle { display: grid; place-items: center; justify-self: end; grid-column: 2; grid-row: 1; }
    .brand { min-width: 0; justify-content: flex-start; }
    .brand-logo { max-width: 132px; max-height: 40px; }
    nav {
        grid-column: 1 / -1;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
        overflow: visible;
        padding: 2px 0 4px;
        scrollbar-width: none;
    }
    .main-nav { display: none; padding: 12px 0 4px; }
    .main-nav.open { display: flex; }
    .main-nav a { flex: 1 1 calc(50% - 10px); text-align: center; }
    nav::-webkit-scrollbar { display: none; }
    nav a {
        white-space: nowrap;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(20,33,61,.06);
        font-size: 14px;
    }
    nav .btn { min-height: 34px; }
    .auth-actions { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; justify-content: flex-end; }
    .notification-center { position: static; }
    .notification-panel {
        position: fixed;
        inset: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        padding: 18px;
        border: 0;
        border-radius: 0;
        z-index: 120;
        box-shadow: none;
    }
    .notification-panel.open { display: flex; flex-direction: column; }
    .notification-panel-head {
        position: sticky;
        top: 0;
        z-index: 2;
        padding-bottom: 12px;
        background: white;
        border-bottom: 1px solid var(--line);
    }
    .notification-panel-head strong { font-size: 20px; }
    .notification-panel [data-notification-list] { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 2px; }
    body.notification-open { overflow: hidden; }
    .login-link {
        background: rgba(255,255,255,.96);
        box-shadow: 0 8px 20px rgba(17,24,39,.08);
    }
    .register-link {
        box-shadow: 0 12px 28px rgba(159,73,110,.25);
    }
    .hero, .grid, .dashboard, .stats, .feature-band, .two-col, .showcase-band, .why-grid { grid-template-columns: 1fr; }
    .hero {
        gap: 24px;
        padding: 52px 18px 36px;
        border-radius: 0 0 28px 28px;
        box-shadow: 0 22px 52px rgba(17,24,39,.18);
    }
    .home-hero { min-height: auto; }
    .hero h1 { font-size: clamp(34px, 11vw, 52px); line-height: 1.02; }
    .hero p { font-size: 16px; }
    .hero-actions .btn { flex: 1 1 180px; }
    .trust-strip span { font-size: 13px; }
    .hero-oracle { min-height: 340px; }
    .oracle-card { min-height: 340px; padding: 24px; }
    .astro-visual { min-height: 320px; }
    .zodiac-ring { font-size: 17px; letter-spacing: 6px; padding: 26px; }
    .planet-one { width: 82px; height: 82px; left: 36px; top: 44px; }
    .planet-two { width: 58px; height: 58px; right: 44px; bottom: 58px; }
    .section { padding: 38px 18px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .section h2, .showcase-band h2, .legal-wrap h1 { font-size: 28px; }
    .card { padding: 18px; border-radius: 16px; }
    .method-card { min-height: auto; }
    .psychic-photo { height: 220px; }
    .showcase-band { padding: 38px 18px; }
    .stats-band div { padding: 22px 18px; }
    .stats-band strong { font-size: 30px; }
    .dashboard { min-height: auto; display: block; }
    .sidebar {
        padding: 14px 16px;
        position: sticky;
        top: 0;
        z-index: 30;
        display: block;
        overflow: visible;
        box-shadow: 0 14px 34px rgba(17,24,39,.14);
    }
    .sidebar-head { margin-bottom: 0; }
    .admin-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .admin-nav {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
        max-height: calc(100dvh - 94px);
        overflow-y: auto;
        padding-right: 2px;
        -webkit-overflow-scrolling: touch;
    }
    .admin-nav.open { display: grid; }
    .sidebar a {
        min-width: 0;
        white-space: normal;
        padding: 10px 12px;
        background: rgba(255,255,255,.08);
        text-align: center;
    }
    .panel { width: 100%; min-width: 0; padding: 22px 16px; overflow-x: hidden; }
    .panel > *, .card, .result-card, .form-row, form, fieldset { min-width: 0; max-width: 100%; }
    .panel .grid, .panel .two-col { grid-template-columns: 1fr; }
    .panel form .btn { margin-top: 6px; }
    .table {
        width: 100%;
        max-width: 100%;
        min-width: 720px;
    }
    .table th, .table td { white-space: normal; }
    .selection-list { grid-template-columns: 1fr 1fr; }
    .table th, .table td { padding: 11px 12px; }
    .floating-note { position: static; margin-top: 10px; justify-self: stretch; text-align: center; }
    .final-cta { flex-direction: column; align-items: flex-start; margin: 28px 18px 42px; padding: 28px; border-radius: 20px; }
    .final-cta h2 { font-size: 28px; }
    .result-head { flex-direction: column; }
    .footer { align-items: flex-start; flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer { padding: 24px 18px; }
    .support-widget { right: 16px; bottom: 16px; left: 16px; }
    .instagram-float { right: 16px; bottom: 78px; }
    .support-toggle { width: 100%; }
    .support-panel {
        right: 0;
        left: 0;
        width: 100%;
        max-height: min(620px, calc(100vh - 110px));
    }
    .form-wrap { margin: 28px 18px; max-width: none; }
}

@media (max-width: 560px) {
    .topbar { border-radius: 0 0 18px 18px; }
    .brand { min-width: 0; }
    .brand span:last-child { max-width: calc(100vw - 180px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .brand-mark { width: 34px; height: 34px; }
    nav a { font-size: 13px; padding: 8px 9px; }
    nav .btn, .auth-actions .btn, .auth-actions .auth-link { width: auto; }
    .auth-actions { gap: 6px; }
    .auth-actions .btn.ghost { min-height: 38px; padding: 0 12px; width: auto; }
    .notification-button { width: 38px; height: 38px; }
    .notification-item { padding: 14px 0; }
    .notification-item p { font-size: 15px; line-height: 1.55; }
    .login-link { padding: 8px 11px; }
    .register-link { padding-left: 13px; padding-right: 13px; }
    .hero { padding: 42px 16px 30px; gap: 18px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 15px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn, .btn { width: 100%; min-height: 48px; }
    .trust-strip span { width: 100%; text-align: center; }
    .trust-strip:after { height: 72px; border-radius: 18px; }
    .oracle-card, .astro-visual { min-height: 300px; }
    .oracle-card strong { font-size: 24px; }
    .section { padding: 32px 16px; }
    .grid { gap: 14px; }
    .card { padding: 16px; box-shadow: 0 12px 30px rgba(17,24,39,.07); }
    .psychic-photo { height: 200px; }
    .price { font-size: 26px; }
    input, select, textarea { font-size: 16px; }
    .recorder-actions .btn { flex: 1 1 100%; }
    .recording-console { grid-template-columns: auto auto 1fr; }
    .recording-console time { grid-column: 1 / -1; text-align: center; font-size: 30px; }
    .stats { gap: 12px; }
    .admin-nav { grid-template-columns: 1fr; }
    .panel h1 { font-size: 28px; }
    .panel .btn.small { width: auto; min-height: 42px; margin-bottom: 5px; }
    .panel form:not(.support-form) > .btn,
    .panel .form-row > .btn { width: 100%; }
    .selection-list { grid-template-columns: 1fr; }
    .result-card { border-radius: 12px; }
    .reading-box, .result-head { padding: 16px; }
    .support-body { max-height: 220px; }
    .support-panel { bottom: 58px; }
    .instagram-float {
        width: 46px;
        height: 46px;
        min-height: 46px;
        padding: 0;
        justify-content: center;
    }
    .instagram-float strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .final-cta { margin-left: 16px; margin-right: 16px; padding: 22px; }
    .final-cta .btn { width: 100%; }
}
/* Premium 2026 visual system */
:root{--premium-ink:#160f22;--premium-plum:#3d174f;--premium-violet:#8e5cb7;--premium-gold:#d8b36a;--premium-cream:#fbf7f1;--premium-line:rgba(77,43,91,.14)}
html{scroll-behavior:smooth;overflow-x:hidden}
body{overflow-x:hidden;background:radial-gradient(circle at 8% 2%,rgba(216,179,106,.12),transparent 28%),var(--premium-cream);color:var(--premium-ink)}
img,video,audio{max-width:100%}
.premium-home{background:linear-gradient(180deg,#1a1028 0 740px,var(--premium-cream) 740px 100%)}
.premium-hero{min-height:680px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center;gap:5vw;padding:92px max(6vw,24px) 118px;background:radial-gradient(circle at 80% 35%,rgba(164,104,199,.26),transparent 30%),linear-gradient(135deg,#160d24 0%,#32143e 58%,#171026 100%);position:relative;isolation:isolate}
.premium-hero:after{content:"";position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(180deg,transparent,var(--premium-cream));z-index:-1}
.premium-hero h1{max-width:820px;font-size:clamp(3rem,7vw,6.8rem);line-height:.94;letter-spacing:-.055em;margin:.25em 0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-weight:500}
.premium-hero .hero-lead{max-width:650px;font-size:clamp(1.05rem,1.6vw,1.35rem);line-height:1.75;color:rgba(255,255,255,.76)}
.premium-hero .eyebrow{color:#efd49b;letter-spacing:.18em}
.premium-hero .trust-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.premium-hero .trust-strip span{border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);backdrop-filter:blur(12px);padding:10px 15px;border-radius:999px;color:#f4ecf6;font-size:.84rem}
.mystic-orb{aspect-ratio:1;max-width:430px;width:100%;justify-self:center;border-radius:50%;display:grid;place-items:center;text-align:center;color:#f5dfac;border:1px solid rgba(239,212,155,.32);box-shadow:0 0 0 28px rgba(255,255,255,.025),0 0 0 62px rgba(255,255,255,.018),inset 0 0 90px rgba(169,99,203,.28),0 35px 90px rgba(0,0,0,.35);position:relative}
.mystic-orb:before,.mystic-orb:after{content:"";position:absolute;border:1px solid rgba(239,212,155,.16);border-radius:50%;inset:12%;transform:rotate(28deg)}.mystic-orb:after{inset:27%;transform:rotate(-35deg)}.mystic-orb span{font-size:5rem;text-shadow:0 0 35px #d4a2ed}.mystic-orb small{position:absolute;bottom:26%;letter-spacing:.18em;text-transform:uppercase;font-size:.65rem}
.premium-home .section{padding:96px max(6vw,24px)}
.story-section{background:var(--premium-cream)}.story-kicker{text-transform:uppercase;letter-spacing:.24em;color:#93643a;font-size:.72rem;margin-bottom:38px}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:start}.story-grid h2,.premium-home .section-head h2{font:500 clamp(2.2rem,4vw,4.2rem)/1.08 Georgia,serif;letter-spacing:-.035em;color:#27142e;margin:.25em 0}.story-grid p{font-size:1.1rem;line-height:1.9;color:#65566a}.signature{font-family:Georgia,serif;font-style:italic;color:#8b5e35!important}
.why-section{background:#f2eadf}.why-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.why-card{background:rgba(255,255,255,.72);border:1px solid rgba(97,61,45,.1);border-radius:22px;padding:30px;box-shadow:0 18px 50px rgba(49,28,52,.06);transition:.25s ease}.why-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(49,28,52,.11)}.why-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#321a3d;color:#f0d18e;font-size:1.25rem}.why-card h3{font-family:Georgia,serif;font-size:1.35rem;color:#2d1835}.why-card p{color:#6b5c6e;line-height:1.7}
.experts-section{background:#1d1228;color:#fff}.experts-section .section-head h2,.experts-section .muted{color:#fff}.experts-section .muted{opacity:.68}.expert-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.premium-card{background:#2a1936;border:1px solid rgba(255,255,255,.1);border-radius:26px;padding:18px;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.2);display:flex;flex-direction:column;min-width:0}.premium-card .psychic-photo{aspect-ratio:4/3;width:100%;height:auto;border-radius:18px;overflow:hidden;background:#3a2646}.premium-card .psychic-photo img{width:100%;height:100%;object-fit:cover}.premium-card h3{font:500 1.65rem Georgia,serif;margin:18px 0 8px}.psychic-bio{color:rgba(255,255,255,.7);line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.specialty-list{font-size:.82rem;line-height:1.55;color:#e7ca8e;border-top:1px solid rgba(255,255,255,.1);padding-top:15px;margin-top:auto}.premium-card .card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.rating{color:#dcb65f;font-weight:700}.rating small{color:rgba(255,255,255,.5);font-weight:400}
.testimonials-section{background:var(--premium-cream)}.testimonial-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.testimonial-card{border-radius:22px;border:1px solid var(--premium-line);padding:30px;background:#fff;box-shadow:0 18px 50px rgba(50,25,56,.06)}.testimonial-card p{font:italic 1.1rem/1.75 Georgia,serif;color:#44334a}.testimonial-card>span{font-size:.82rem;color:#8a788e}
.btn{border-radius:999px;min-height:46px;padding:12px 22px;display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease,box-shadow .2s ease}.btn:hover{transform:translateY(-2px)}
@media(max-width:980px){.premium-hero{grid-template-columns:1fr;padding-top:72px}.mystic-orb{max-width:270px}.why-grid,.expert-grid,.testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-home{background:linear-gradient(180deg,#1a1028 0 960px,var(--premium-cream) 960px 100%)}}
@media(max-width:640px){.premium-home .section{padding:68px 20px}.premium-hero{min-height:auto;padding:62px 20px 90px}.premium-hero h1{font-size:clamp(2.75rem,14vw,4.4rem)}.mystic-orb{max-width:210px}.story-grid,.why-grid,.expert-grid,.testimonial-grid{grid-template-columns:1fr}.expert-grid{gap:20px}.premium-card .psychic-photo{aspect-ratio:16/11}.premium-hero .hero-actions{display:grid}.premium-hero .hero-actions .btn{width:100%}.premium-hero .trust-strip span{font-size:.75rem}.story-grid{gap:20px}.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.card,.result-card{min-width:0;overflow-wrap:anywhere}input,select,textarea{max-width:100%;font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.why-card,.btn{transition:none}}

/* iOS Safari psychic image fix: remove legacy flex-height conflict and show full image. */
.psychic-card.premium-card .psychic-photo{
    flex:0 0 auto;
    width:100%;
    height:auto;
    aspect-ratio:4 / 3;
    min-height:0;
    overflow:hidden;
    position:relative;
    contain:layout paint;
}
.psychic-card.premium-card .psychic-photo img{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:contain;
    object-position:center;
    border-radius:0;
    background:#3a2646;
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
}
@media(max-width:640px){
    .psychic-card.premium-card .psychic-photo{height:auto;aspect-ratio:4 / 3;flex-basis:auto}
}
