/* =============================================
   ORACLE NUSANTARA - MANURITAS.CSS
   Analisis Getaran Nama dengan Hanacaraka
   ============================================= */

/* ========== CSS VARIABLES ========== */
:root {
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --bg-dark: #0A0A0C;
  --text-muted: #A0A0B0;
  --text-dim: #606070;
  --success: #64C864;
  --danger: #FF8A8A;
  --warning: #FFB347;
  --info: #4ECDC4;
}

/* ========== RESET & BASE ========== */
* { box-sizing: border-box; }

body {
  background: #0A0A0C;
  background-image: radial-gradient(ellipse at 30% 20%, rgba(212,175,55,0.04) 0%, transparent 50%);
  font-family: 'Inter', sans-serif;
  color: #E8E8E8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.oracle-card { max-width: 1000px; margin: 0 auto; }

/* ========== NAVBAR ========== */
.navbar {
  background: rgba(10,10,12,0.97) !important;
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gold) !important;
  padding: 14px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

.navbar .logo a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  text-decoration: none !important;
}

.nav-links {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.nav-links a {
  color: #E8E8E8 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  transition: color 0.2s !important;
}

.nav-links a:hover { color: var(--gold) !important; }
.nav-links a.active { color: var(--gold) !important; font-weight: 700 !important; }

/* ========== HERO SECTION ========== */
.mystic-header { text-align: center; padding: 40px 20px 20px; }

.mystic-header .header-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.3));
}

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

.mystic-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.mystic-header .subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.5;
}

.header-divider::before,
.header-divider::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== FORM INPUTS ========== */
.input-field { margin-bottom: 18px; }

.input-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
}

.input-field input,
.input-field select {
  width: 100%;
  background: rgba(10,10,12,0.8);
  border: 2px solid rgba(212,175,55,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  color: #E8E8E8;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}

.input-field input:focus,
.input-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
}

.input-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
  font-style: italic;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--gold), #C9A830);
  border: none;
  color: #0A0A0C;
  padding: 18px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s;
  letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(212,175,55,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212,175,55,0.5);
}

.btn-premium {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: #0A0A0C;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-premium:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.btn-outline-gold:hover { background: rgba(212,175,55,0.15); }

.btn-pdf, .btn-share {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.btn-pdf:hover, .btn-share:hover { background: rgba(212,175,55,0.15); }

/* ========== NUMEROLOGY GRID ========== */
.numerology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.numerology-card {
  background: rgba(15,15,20,0.8);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.3s;
}

.numerology-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.5);
}

.numerology-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 8px;
}

.numerology-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.numerology-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
}

.numerology-desc {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-top: 4px;
}

.power-name-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05));
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  margin-top: 16px;
  border: 1px solid rgba(212,175,55,0.4);
  font-size: 1.2rem;
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
}

/* ========== ANALYSIS CARDS ========== */
.analysis-section-card {
  background: rgba(15,15,20,0.7);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(212,175,55,0.12);
  animation: fadeIn 0.5s ease;
}

.analysis-section-card h4 {
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(212,175,55,0.15);
  padding-bottom: 12px;
}

.analysis-section-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ========== HIGHLIGHT BOXES ========== */
.highlight-box {
  background: linear-gradient(135deg, rgba(100,200,100,0.1), rgba(100,200,100,0.05));
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  border: 1px solid rgba(100,200,100,0.3);
}

.warning-box {
  background: linear-gradient(135deg, rgba(255,138,138,0.1), rgba(255,138,138,0.05));
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
  border-left: 4px solid var(--danger);
}

.info-box {
  background: rgba(212,175,55,0.08);
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
  border-left: 4px solid var(--gold);
}

.ritual-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  border: 1px dashed rgba(212,175,55,0.3);
}

/* ========== GENERATOR PACKAGE CARDS ========== */
.package-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15,15,20,0.8);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 12px;
  border: 1px solid rgba(212,175,55,0.2);
  flex-wrap: wrap;
  gap: 12px;
  transition: transform 0.2s;
}

.package-card:hover { transform: translateY(-2px); }

.package-silver { border-left: 5px solid #C0C0C0; }
.package-gold { border-left: 5px solid var(--gold); }
.package-platinum { border-left: 5px solid var(--success); }

/* ========== LUCKY ITEMS ========== */
.lucky-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.lucky-item {
  background: rgba(15,15,20,0.8);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.2);
}

.lucky-item .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
}

.lucky-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ========== TOKEN BADGE ========== */
.token-badge {
  background: rgba(212,175,55,0.15);
  border: 1.5px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  padding: 10px 24px;
  display: inline-block;
  color: var(--gold-light);
  font-weight: 600;
}

.badge-premium {
  background: rgba(212,175,55,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--gold-light);
  border: 1px solid rgba(212,175,55,0.3);
}

/* ========== CROSS-SELL ========== */
.cross-sell {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border-radius: 24px;
  padding: 32px;
  margin-top: 40px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.2);
}

.cross-sell h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cross-sell .btn-link {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 12px;
}

.cross-sell .btn-link:hover {
  background: var(--gold);
  color: #0A0A0C;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

.pulse { animation: pulse 2s infinite; }

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 32px 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}

.footer a:hover { color: var(--gold-light); }

/* ========== LOADING ========== */
#loadingOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10,10,12,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  gap: 20px;
}

.spinner {
  width: 50px; height: 50px;
  border: 3px solid rgba(212,175,55,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  .numerology-grid { grid-template-columns: 1fr; }
  .lucky-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { flex-direction: column; text-align: center; }
  .footer a { margin: 0 10px; }
}