/**
 * NETRAA — Palm Reading Module Stylesheet
 */
.bg-light-purple { background-color: rgba(74, 20, 140, 0.03); }
.btn-warning { background-color: var(--accent-gold); border-color: var(--accent-gold); }
.btn-warning:hover { background-color: var(--accent-saffron); }
.btn-purple { background-color: var(--primary-purple); border-color: var(--primary-purple); }
.btn-purple:hover { background-color: var(--primary-dark); }
.btn-outline-purple { color: var(--primary-purple); border-color: var(--primary-purple); }
.btn-outline-purple:hover { background-color: var(--primary-purple); color: #fff; }

/* ═══ FULLSCREEN CAMERA — Palm Reading ═══ */
.camera-fullscreen { position: fixed; inset: 0; z-index: 9999; background: #000; display: block; }
.camera-video-wrapper { position: absolute; inset: 0; overflow: hidden; background: #000; }
.camera-video-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scaleX(-1); }

.camera-overlay { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; z-index: 5; }
#palm-circle {
    width: min(75vw, 400px); height: min(88vh, 500px); border-radius: 50%;
    border: 3px dashed rgba(255,255,255,0.75); box-shadow: 0 0 0 9999px rgba(0,0,0,0.65);
    display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; background: transparent;
}
#palm-circle.scanning { border-color: #2ecc71; border-style: solid; animation: scannerGlow 1.5s infinite alternate; }

@keyframes scannerGlow {
    0% { box-shadow: 0 0 10px rgba(46,204,113,0.4), 0 0 0 9999px rgba(0,0,0,0.65); }
    100% { box-shadow: 0 0 25px rgba(46,204,113,0.8), 0 0 0 9999px rgba(0,0,0,0.65); }
}

.camera-status-bar { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 10; }
.camera-bottom-bar { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; }
.camera-close-btn { position: absolute; top: 25px; right: 25px; width: 50px; height: 50px; z-index: 12; display: flex; align-items: center; justify-content: center; }
.camera-capture-btn { width: 80px; height: 80px; border: 5px solid rgba(255,255,255,0.3); box-shadow: 0 4px 15px rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; }
.camera-capture-btn:hover { transform: scale(1.05); }

/* Premium Lock Card */
.premium-lock-card { background: linear-gradient(135deg, #120921 0%, #210c3d 100%); border: 2px solid #ff9800 !important; border-radius: 24px !important; color: #fff; overflow: hidden; }
.premium-lock-header { background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 24px; }
.lock-crown-icon { font-size: 3rem; color: #ff9800; filter: drop-shadow(0 0 10px rgba(255,152,0,0.5)); animation: crownPulse 2s infinite alternate; }
@keyframes crownPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255,152,0,0.3)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(255,152,0,0.7)); }
}
.wallet-balance-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 16px; margin-bottom: 20px; }
.wallet-amount { font-size: 1.5rem; font-weight: 700; color: #2ecc71; }
.unlock-price { font-size: 2.2rem; font-weight: 800; color: #ff9800; }
.alert-danger-custom { background-color: rgba(231, 76, 60, 0.15); border: 1px solid rgba(231, 76, 60, 0.3); color: #e74c3c; border-radius: 10px; }
.premium-feature-card { border-radius: 24px !important; border: 1px solid rgba(74, 20, 140, 0.08) !important; }
.feature-bullet-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }

/* AD WIDGET */
.premium-ad-widget { background: linear-gradient(135deg, rgba(131,24,67,0.06), rgba(255,152,0,0.06)); border: 1px solid rgba(255,152,0,0.15); border-radius: 16px; padding: 18px; position: relative; overflow: hidden; }
.premium-ad-widget::after { content: "AD"; position: absolute; top: 0; right: 0; background: #ff9800; color: #120921; font-size: 0.6rem; font-weight: 800; padding: 2px 8px; border-bottom-left-radius: 8px; letter-spacing: 0.5px; }
.text-purple-dark { color: #311b92; }
.palm-heading-divider { width: 40px; height: 3px; background: linear-gradient(90deg, var(--accent-gold, #ff9800), transparent); border-radius: 2px; margin: 4px 0 6px 0; }
.palm-form-card { border-radius: 16px !important; }
.palm-form-card > .row { align-items: stretch; min-height: 0; }
.palm-form-card .col-md-7, .palm-form-card .col-md-5 { display: flex; flex-direction: column; }
@media (min-width: 768px) { .border-end-md { border-right: 1px solid rgba(0,0,0,0.08); } }

/* ── RIGHT PANEL: Scan Visual ── */
.palm-scan-visual-panel { background: linear-gradient(145deg, #120921 0%, #210c3d 100%); border-radius: 0 16px 16px 0; padding: 0; position: relative; overflow: hidden; flex: 1; }
.palm-scan-visual-panel::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 14px 14px; }
.palm-scan-wrapper { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 6px 4px; gap: 4px; }
.palm-scan-ring-outer { width: 150px; height: 184px; border-radius: 50%; border: 2px dashed rgba(255,152,0,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; animation: outerRingPulse 3s ease-in-out infinite; }
@keyframes outerRingPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.04); opacity: 1; } }
.palm-scan-ring-inner { width: 126px; height: 158px; border-radius: 50%; border: 1.5px solid rgba(255,152,0,0.6); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: 0 0 18px rgba(255,152,0,0.18); }
.palm-svg { width: 100%; height: 100%; position: relative; z-index: 1; }
.palm-scan-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #ff9800, transparent); animation: scanLine 2s linear infinite; z-index: 2; box-shadow: 0 0 8px rgba(255,152,0,0.8); }
@keyframes scanLine { 0% { top: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.palm-scan-bottom { width: 100%; padding-top: 6px; }
.palm-scan-caption { color: rgba(255,255,255,0.9); font-size: 0.65rem; font-family: 'Cinzel', serif; letter-spacing: 0.5px; font-weight: 600; margin-bottom: 3px; }
.palm-scan-tags .badge.bg-purple-soft { background: rgba(255,255,255,0.12) !important; color: #fff !important; font-size: 0.5rem; border: 1px solid rgba(255,255,255,0.22); padding: 1px 3px; }
.palm-retake-btn { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.65); color: #fff; font-size: 0.6rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.3); white-space: nowrap; z-index: 4; cursor: pointer; transition: background 0.2s; }
.palm-retake-btn:hover { background: rgba(220,53,69,0.8); }
.autocomplete-results { position: absolute; top: 100%; left: 15px; right: 15px; z-index: 1000; background: #ffffff; border: 1px solid #cbd5e0; border-radius: 6px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); max-height: 200px; overflow-y: auto; display: none; }
.autocomplete-item { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #edf2f7; font-size: 0.82rem; color: #2d3748; transition: all 0.2s ease; text-align: left; }
.autocomplete-item:hover { background: #f7fafc; color: #ea580c; }
