/* =============================================
   ORACLE NUSANTARA - RAMALAN.CSS
   Digabung dari style.css override + inline styles
   ============================================= */

/* ========== CSS VARIABLES ========== */
:root {
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #B8960C;
  --bg-dark: #0A0A0C;
  --bg-card: rgba(15,15,20,0.8);
  --text-light: #E8E8E8;
  --text-muted: #A0A0B0;
  --text-dim: #606070;
  --love: #FF6B8A;
  --career: #D4AF37;
  --finance: #64C864;
  --health: #4ECDC4;
}

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

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

.oracle-card { max-width: 960px; margin: 0 auto; }
.hidden { display: none !important; }
.text-center { text-align: center; }

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

.cosmic-orb {
  font-size: 4rem;
  margin-bottom: 20px;
  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: 12px;
  text-shadow: 0 0 40px rgba(212,175,55,0.2);
}

.hero-tagline {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.7;
  font-weight: 300;
}

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

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

.sub-mystic {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ========== FORM ========== */
.form-group { display: flex; flex-direction: column; gap: 20px; }

.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.input-field {
  flex: 1 1 240px;
}

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

.input-field .input-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 6px;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

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

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

.input-field input::placeholder {
  color: rgba(160,160,176,0.4);
  font-style: italic;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.05));
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 18px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s;
  width: 100%;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--gold);
  color: #0A0A0C;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212,175,55,0.3);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-premium {
  background: linear-gradient(135deg, var(--gold), #C9A830);
  border: none;
  color: #0A0A0C;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  transition: all 0.3s;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(212,175,55,0.2);
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212,175,55,0.4);
}

.btn-pdf, .btn-share {
  background: transparent;
  border: 2px solid rgba(212,175,55,0.4);
  color: var(--gold-light);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-pdf:hover, .btn-share:hover {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
}

/* ========== IDENTITY BADGES ========== */
.identity-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.badge-premium {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.03));
  border: 1.5px solid rgba(212,175,55,0.35);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.9rem;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(212,175,55,0.08);
  animation: badgeFadeIn 0.5s ease forwards;
  opacity: 0;
}

.badge-premium:nth-child(1) { animation-delay: 0.05s; }
.badge-premium:nth-child(2) { animation-delay: 0.1s; }
.badge-premium:nth-child(3) { animation-delay: 0.15s; }
.badge-premium:nth-child(4) { animation-delay: 0.2s; }
.badge-premium:nth-child(5) { animation-delay: 0.25s; }
.badge-premium:nth-child(6) { animation-delay: 0.3s; }

@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge-premium i { color: var(--gold); font-size: 0.9rem; }

/* ========== ASPECT GRID ========== */
.aspect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 800px) {
  .aspect-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 450px) {
  .aspect-grid { grid-template-columns: 1fr; }
}

.aspect-card {
  background: rgba(15,15,20,0.8);
  border-radius: 20px;
  padding: 28px 18px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.aspect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  transition: all 0.4s;
}

.aspect-card.love::before { background: var(--love); }
.aspect-card.career::before { background: var(--career); }
.aspect-card.finance::before { background: var(--finance); }
.aspect-card.health::before { background: var(--health); }

.aspect-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.aspect-card:hover::before {
  width: 100%;
}

.aspect-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  transition: transform 0.3s;
}

.aspect-card:hover .aspect-icon {
  transform: scale(1.15);
}

.aspect-card.love .aspect-icon { color: var(--love); }
.aspect-card.career .aspect-icon { color: var(--career); }
.aspect-card.finance .aspect-icon { color: var(--finance); }
.aspect-card.health .aspect-icon { color: var(--health); }

.aspect-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.aspect-card.love .aspect-title { color: var(--love); }
.aspect-card.career .aspect-title { color: var(--career); }
.aspect-card.finance .aspect-title { color: var(--finance); }
.aspect-card.health .aspect-title { color: var(--health); }

.aspect-stars {
  margin: 10px 0;
  font-size: 0.9rem;
  letter-spacing: 3px;
}

.aspect-card.love .aspect-stars { color: var(--love); }
.aspect-card.career .aspect-stars { color: var(--career); }
.aspect-card.finance .aspect-stars { color: var(--finance); }
.aspect-card.health .aspect-stars { color: var(--health); }

.free-prediction {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ========== ANALYSIS SECTION 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);
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}

.analysis-section-card:hover {
  border-color: rgba(212,175,55,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.analysis-section-card h4 {
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.analysis-section-card h4 i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

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

.analysis-section-card p:last-child { margin-bottom: 0; }

/* ========== SNEAK PEEK / TEASER ========== */
.sneak-peek {
  background: rgba(15,15,20,0.6);
  border-radius: 20px;
  padding: 24px;
  margin: 20px 0;
  border: 1px dashed rgba(212,175,55,0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sneak-peek-blur {
  filter: blur(8px);
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}

.sneak-peek-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.sneak-peek-label p {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.sneak-peek-label span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========== TOKEN & CTA ========== */
.token-badge {
  background: rgba(212,175,55,0.15);
  border: 1.5px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  padding: 12px 28px;
  display: inline-block;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
}

.token-badge i { color: var(--gold); margin-right: 8px; }
.token-badge span { font-weight: 700; color: var(--gold); font-size: 1.2rem; margin-left: 6px; }

/* ========== PULSE ANIMATION ========== */
.pulse-gold {
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.6); }
  70% { box-shadow: 0 0 0 20px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* ========== TIMELINE ========== */
.weekly-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .weekly-timeline { grid-template-columns: repeat(2, 1fr); }
}

.week-item {
  background: rgba(15,15,20,0.6);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.3s;
}

.week-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

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

.week-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.week-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

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

@media (max-width: 500px) {
  .lucky-grid { grid-template-columns: repeat(2, 1fr); }
}

.lucky-item {
  background: rgba(15,15,20,0.8);
  border-radius: 16px;
  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.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
  text-align: center;
  padding: 20px;
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid rgba(212,175,55,0.1);
}

.social-proof i {
  color: var(--gold);
  margin: 0 4px;
}

/* ========== CROSS-SELL ========== */
.cross-sell {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border-radius: 20px;
  padding: 24px;
  margin-top: 32px;
  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.3rem;
  margin-bottom: 8px;
}

.cross-sell p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.cross-sell .btn-outline-gold {
  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;
}

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

/* ========== 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); } }

.loading-text {
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 2px;
  animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ========== 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); }

@media (max-width: 600px) {
  .footer { flex-direction: column; text-align: center; }
  .footer a { margin: 0 10px; }
}

/* ========== NAVBAR OVERRIDE ========== */
.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: 18px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.nav-links a {
  color: #E8E8E8 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 400 !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;
}