/* ============================================
   Divine Call — Lord Krishna Audio Call UI
   ============================================ */

:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --gold: #FFD700;
    --gold-dim: #B8860B;
    --gold-glow: rgba(255, 215, 0, 0.15);
    --krishna-blue: #1a5fb4;
    --krishna-blue-light: #3584e4;
    --krishna-blue-dark: #0d3b7a;
    --text-primary: #f0e6d3;
    --text-secondary: #a89b8c;
    --text-dim: #6b6157;
    --accent-red: #e74c3c;
    --accent-green: #2ecc71;
    --accent-pink: #FF69B4;
    --saffron: #FF9933;
    --font-display: 'Cinzel', serif;
    --font-body: 'Noto Sans Devanagari', 'Cormorant Garamond', serif;
    --font-ui: 'Noto Sans Devanagari', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* ---- Particles Background ---- */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

#particles .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite ease-in-out;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1.2); }
}

/* ---- App Layout ---- */
#app {
    position: relative;
    z-index: 1;
    height: 100vh;
    max-width: 480px;
    margin: 0 auto;
}

/* ---- Screens ---- */
.screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(0.97);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#screen-call {
    overflow-y: hidden;
}

#screen-call .call-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    background: var(--bg-dark);
    z-index: 30;
}

.screen.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

/* ============================================
   LANDING SCREEN
   ============================================ */
.landing-content {
    text-align: center;
    padding: 2rem 1.25rem 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-header {
    margin-bottom: 1.5rem;
}

.om-symbol {
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    margin-bottom: 0.15rem;
    animation: omPulse 4s infinite ease-in-out;
}

.om-symbol.small {
    font-size: 1.8rem;
}

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

.app-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
    margin-bottom: 0.1rem;
}

.app-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.section-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

/* ---- Deity Cards — Horizontal List ---- */
.deity-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    margin-bottom: 1.25rem;
}

.deity-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.deity-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.deity-card.selected {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.04);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.08);
}

#deity-shiva.selected {
    border-color: rgba(176, 196, 222, 0.6);
    background: rgba(176, 196, 222, 0.04);
    box-shadow: 0 0 24px rgba(176, 196, 222, 0.08);
}

.deity-card-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.deity-avatar-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.krishna-circle {
    background: radial-gradient(circle at 40% 40%, #1e3a6e, #0d2550);
    box-shadow: 0 0 15px rgba(26, 95, 180, 0.2);
}

.shiva-circle {
    background: radial-gradient(circle at 40% 40%, #4a5568, #2d3748);
    box-shadow: 0 0 15px rgba(176, 196, 222, 0.15);
}

.deity-svg {
    width: 55px;
    height: 55px;
}

.deity-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.deity-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.deity-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.deity-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-ui);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-full);
    color: var(--gold);
}

.tag-shiva {
    background: rgba(176, 196, 222, 0.08);
    border-color: rgba(176, 196, 222, 0.2);
    color: #B0C4DE;
}

/* Checkmark indicator */
.deity-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: transparent;
}

.deity-card.selected .deity-check {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

#deity-shiva.selected .deity-check {
    border-color: #B0C4DE;
    background: rgba(176, 196, 222, 0.15);
    color: #B0C4DE;
}

/* ---- Call Button ---- */
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    border: none;
    border-radius: var(--radius-full);
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
    letter-spacing: 0.03em;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.35);
}

.btn-call:active {
    transform: translateY(0);
}

.btn-call.btn-secondary {
    background: var(--bg-card);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: none;
}

.btn-call.btn-secondary:hover {
    background: var(--bg-card-hover);
}

.btn-icon {
    display: flex;
    align-items: center;
}

/* ---- Call Mode Toggle ---- */
.call-mode-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 3px;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.mode-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dim);
    background: none;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.45rem 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mode-btn.active {
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.08);
}

.mode-btn:hover:not(.active) {
    color: var(--text-secondary);
}

.disclaimer {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 1rem;
}

/* ---- Video Avatar Container ---- */
.call-video-container {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
}

.call-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-video-container audio {
    display: none;
}

.call-video-container.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

/* ============================================
   CALL SCREEN
   ============================================ */
.call-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

/* ---- Call Header ---- */
.call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.5rem 0;
}

.btn-end-top {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.call-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
}

.pulse-dot.connecting {
    background: var(--saffron);
    animation-name: pulseDotOrange;
}

@keyframes pulseDotOrange {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(255, 153, 51, 0); }
}

#call-timer {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

/* ---- Deity Area (In-Call) ---- */
.call-deity-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
    padding: 1rem 0;
}

.call-deity-area.ringing .call-deity-circle {
    animation: ringPulse 1.5s ease-in-out infinite;
}

.call-deity-area.picked-up .call-deity-circle {
    animation: pickupFlash 0.6s ease-out;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes pickupFlash {
    0% { transform: scale(1.1); box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); }
    100% { transform: scale(1); box-shadow: none; }
}

.call-aura {
    position: absolute;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aura-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.1);
    animation: auraExpand 4s infinite ease-out;
}

.aura-ring-1 {
    width: 180px;
    height: 180px;
    animation-delay: 0s;
}

.aura-ring-2 {
    width: 220px;
    height: 220px;
    animation-delay: 1.3s;
}

.aura-ring-3 {
    width: 260px;
    height: 260px;
    animation-delay: 2.6s;
}

@keyframes auraExpand {
    0% { opacity: 0.6; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.3); }
}

.call-aura.speaking .aura-ring {
    border-color: rgba(26, 95, 180, 0.25);
    animation-duration: 2s;
}

.call-aura.thinking .aura-ring {
    border-color: rgba(255, 153, 51, 0.2);
    animation-duration: 1.5s;
}

.call-deity-circle {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1e2742, var(--bg-secondary));
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.call-deity-circle.speaking {
    border-color: rgba(26, 95, 180, 0.5);
    box-shadow: 0 0 40px rgba(26, 95, 180, 0.2);
}

.call-deity-circle.thinking {
    border-color: rgba(255, 153, 51, 0.4);
    box-shadow: 0 0 40px rgba(255, 153, 51, 0.15);
}

.krishna-svg-call {
    width: 120px;
    height: 120px;
}

.call-deity-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}

/* ---- Transcript Area ---- */
.transcript-area {
    min-height: 80px;
    max-height: 120px;
    overflow-y: auto;
    padding: 0.75rem 1rem;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

#transcript-content {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

#transcript-content .user-text {
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 0.25rem;
}

#transcript-content .deity-text {
    color: var(--gold);
    opacity: 0.9;
}

#transcript-content .interim {
    opacity: 0.5;
}

/* ---- Audio Visualizer ---- */
.audio-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 40px;
    padding: 0.5rem 0;
}

.viz-bar {
    width: 3px;
    height: 4px;
    background: var(--krishna-blue-light);
    border-radius: 2px;
    transition: height 0.1s ease;
}

.audio-visualizer.active .viz-bar {
    animation: vizPulse 0.8s infinite ease-in-out;
}

.viz-bar:nth-child(1) { animation-delay: 0s; }
.viz-bar:nth-child(2) { animation-delay: 0.1s; }
.viz-bar:nth-child(3) { animation-delay: 0.2s; }
.viz-bar:nth-child(4) { animation-delay: 0.3s; }
.viz-bar:nth-child(5) { animation-delay: 0.15s; }
.viz-bar:nth-child(6) { animation-delay: 0.25s; }
.viz-bar:nth-child(7) { animation-delay: 0.35s; }
.viz-bar:nth-child(8) { animation-delay: 0.05s; }
.viz-bar:nth-child(9) { animation-delay: 0.2s; }

@keyframes vizPulse {
    0%, 100% { height: 4px; }
    50% { height: 28px; }
}

.audio-visualizer.speaking .viz-bar {
    background: var(--krishna-blue-light);
}

.audio-visualizer.user-speaking .viz-bar {
    background: var(--saffron);
}

/* ---- Call Controls ---- */
.call-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    margin-top: auto;
    flex-shrink: 0;
}

.control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.control-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.control-btn.btn-end {
    width: 64px;
    height: 64px;
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.control-btn.btn-end:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.control-btn.muted {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    color: var(--accent-red);
}

/* ============================================
   POST-CALL SCREEN
   ============================================ */
.postcall-content {
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.postcall-blessing {
    margin-bottom: 2rem;
}

.postcall-blessing h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.blessing-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 300px;
    margin: 0 auto;
}

.call-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 215, 0, 0.08);
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.summary-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ---- Donation Section ---- */
.donation-section {
    margin-bottom: 2rem;
}

.donation-section h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.donation-section p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.donation-options {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.donation-btn {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-sm);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.2s ease;
}

.donation-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 215, 0, 0.35);
    transform: translateY(-1px);
}

.donation-btn.selected {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 2px; }

/* ---- Responsive ---- */
@media (max-height: 700px) {
    .deity-avatar { width: 100px; height: 100px; }
    .deity-card { padding: 1.25rem 1rem 1rem; }
    .call-deity-circle { width: 120px; height: 120px; }
    .krishna-svg-call { width: 95px; height: 95px; }
    .transcript-area { max-height: 80px; }
}

@media (min-width: 481px) {
    #app {
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* ============================================
   OVERLAYS (Mic permission, End confirm, Error)
   ============================================ */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.overlay.hidden {
    display: none;
}

.overlay-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 340px;
    width: 100%;
}

.overlay-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.overlay-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.overlay-icon {
    margin-bottom: 1rem;
}

/* ============================================
   LOGIN SCREEN
   ============================================ */
/* ---- Login Landing Redesign ---- */
.login-landing {
    gap: 1.25rem;
}

.login-hero {
    text-align: center;
}

.login-hero-tagline {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gold);
    margin-top: 0.5rem;
    letter-spacing: 0.3px;
}

.login-hero-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    line-height: 1.4;
}

.login-deities {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.login-deity-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    flex: 1;
    max-width: 160px;
}

.login-deity-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 0.2rem;
}

.login-deity-dot.krishna-dot {
    background: linear-gradient(135deg, #1a5fb4, #3498db);
    box-shadow: 0 0 12px rgba(26, 95, 180, 0.4);
}

.login-deity-dot.shiva-dot {
    background: linear-gradient(135deg, #708090, #B0C4DE);
    box-shadow: 0 0 12px rgba(176, 196, 222, 0.4);
}

.login-deity-chip span:first-of-type {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.login-deity-hint {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    color: var(--text-dim);
}

.login-demo-quote {
    background: rgba(255, 215, 0, 0.04);
    border-left: 2px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0.75rem 1rem;
    text-align: left;
}

.login-quote-icon {
    font-size: 1.2rem;
    color: var(--gold);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.login-quote-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

.login-quote-attr {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
}

.login-social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.login-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login-stat-num {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}

.login-stat-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-top: 0.1rem;
}

.login-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
}

.login-cta {
    text-align: center;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: #222;
    background: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-google:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.login-footnote {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
}

/* Post-call WhatsApp share section */
.share-section {
    text-align: center;
    margin: 1.25rem 0;
    padding: 0.5rem 0;
}
.share-caption {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp svg { flex-shrink: 0; }

/* Payment status banner (shown after returning from checkout) */
/* Pre-call disclaimer */
.disclaimer-card {
    max-width: 380px;
    text-align: center;
}
.disclaimer-om {
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.disclaimer-card h3 {
    font-family: var(--font-display, var(--font-body));
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.disclaimer-main {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.disclaimer-sub {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    line-height: 1.4;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
}
#btn-disclaimer-proceed:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* AI-based badge on call screen */
.ai-badge {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-ui);
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    z-index: 15;
    pointer-events: none;
    letter-spacing: 0.3px;
}

.payment-banner {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 95, 180, 0.95);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    text-align: center;
    animation: slideDownFade 0.4s ease-out;
}
.payment-banner.success {
    background: rgba(39, 174, 96, 0.95);
}
.payment-banner.warning {
    background: rgba(243, 156, 18, 0.95);
}
@keyframes slideDownFade {
    from { transform: translate(-50%, -60px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* Upgrade button in user bar */
.btn-upgrade-bar {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #0a0a0a;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    margin-left: 0.4rem;
}

/* Upgrade CTA on post-call screen */
.postcall-upgrade-cta {
    text-align: center;
    padding: 1rem;
    margin: 0.75rem 0;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-md);
}
.postcall-upgrade-cta p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.btn-upgrade-gold {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #0a0a0a;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
}

/* Video coming soon */
.coming-soon-email {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}
.input-email {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    font-family: var(--font-ui);
    outline: none;
    width: 180px;
}
.input-email::placeholder {
    color: var(--text-dim);
}

/* Cookie / analytics consent banner */
.consent-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 560px;
    width: calc(100% - 2rem);
    background: rgba(15, 15, 20, 0.96);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    z-index: 150;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    animation: slideUpFade 0.5s ease-out;
}
@keyframes slideUpFade {
    from { transform: translate(-50%, 40px); opacity: 0; }
    to   { transform: translate(-50%, 0); opacity: 1; }
}
.consent-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.consent-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    flex: 1 1 260px;
}
.consent-text a {
    color: var(--gold);
    text-decoration: underline;
}
.consent-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}
.consent-btn {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    padding: 0.45rem 0.9rem;
    border-radius: 18px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}
.consent-accept {
    background: var(--gold);
    color: #0a0a0a;
    font-weight: 600;
}
.consent-accept:hover { filter: brightness(1.1); }
.consent-decline {
    background: transparent;
    color: var(--text-dim);
    border-color: rgba(255, 255, 255, 0.15);
}
.consent-decline:hover { color: var(--text-secondary); }

/* ============================================
   UPGRADE SCREEN
   ============================================ */
.upgrade-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    width: 100%;
    text-align: center;
}

.upgrade-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.upgrade-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.upgrade-plans {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.plan-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 0.75rem;
    flex: 1;
    max-width: 160px;
    position: relative;
}

.plan-card.plan-recommended {
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.08);
}

.plan-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg-primary);
    font-family: var(--font-ui);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
}

.plan-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.plan-price span {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-dim);
}

.plan-name {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.2rem 0;
}

.plan-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ---- User Welcome Bar ---- */
.user-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.user-name {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.trial-info {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--saffron);
    margin-left: auto;
}

.btn-logout {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.2s;
}
.btn-logout:hover {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
}

/* ---- Trial Banner ---- */
.trial-banner {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background: rgba(255, 153, 51, 0.15);
    border: 1px solid rgba(255, 153, 51, 0.3);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 0.3rem 1rem;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--saffron);
    text-align: center;
}

.trial-banner.hidden {
    display: none;
}

.trial-banner.warning {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    color: var(--accent-red);
}

/* ---- Disclaimer Banner ---- */
.disclaimer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 10, 18, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    font-family: var(--font-ui);
    font-size: 0.6rem;
    color: var(--text-dim);
    text-align: center;
}

.disclaimer-banner a {
    color: var(--gold);
    text-decoration: none;
    margin: 0 0.15rem;
}
