/* =============================================
   ORACLE NUSANTARA - KALENDER SPIRITUAL CSS
   Kalender Bali • Shio • BaZi Interaktif
   ============================================= */

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

* { box-sizing: border-box; }

body {
  background: #0A0A0C;
  background-image: 
    radial-gradient(ellipse at 30% 20%, rgba(212,175,55,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(100,200,100,0.02) 0%, transparent 50%);
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  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: #0A0A0C;
  border-bottom: 2px solid var(--gold);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
}

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

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

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

/* ========== DATE NAVIGATOR ========== */
.date-navigator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  background: rgba(15,15,20,0.7);
  padding: 16px 24px;
  border-radius: 60px;
  border: 1px solid rgba(212,175,55,0.15);
  backdrop-filter: blur(8px);
}

.nav-btn {
  background: rgba(15,15,20,0.8);
  border: 2px solid rgba(212,175,55,0.3);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: var(--gold);
  color: #0A0A0C;
  border-color: var(--gold);
  transform: scale(1.1);
}

.nav-btn.today-btn {
  border-radius: 50px;
  width: auto;
  padding: 0 24px;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 8px;
}

.date-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  font-weight: 600;
  min-width: 240px;
  text-align: center;
  padding: 8px 16px;
  background: rgba(10,10,12,0.5);
  border-radius: 50px;
  border: 1px solid rgba(212,175,55,0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.date-display:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
}

input[type="date"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

/* ========== TABS ========== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  justify-content: center;
}

.tab-btn {
  background: rgba(15,15,20,0.7);
  border: 1.5px solid rgba(212,175,55,0.2);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.tab-btn:hover { border-color: var(--gold); color: var(--gold-light); }

.tab-btn.active {
  background: var(--gold);
  color: #0A0A0C;
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.tab-content { display: none; animation: fadeInUp 0.5s ease; }
.tab-content.active { display: block; }

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

/* ========== HIGHLIGHT BOX ========== */
.highlight-box {
  background: linear-gradient(145deg, rgba(20,20,25,0.95), rgba(10,10,12,0.95));
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
}

.highlight-box .main-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
}

.highlight-box .main-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

.highlight-box .main-label {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
}

/* ========== CALENDAR GRID ========== */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.info-card {
  background: rgba(15,15,20,0.7);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(212,175,55,0.12);
  transition: all 0.3s;
}

.info-card:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.info-card h3 {
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(212,175,55,0.08);
}

.info-row:last-child { border-bottom: none; }

.info-label {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-value {
  color: var(--gold-light);
  font-weight: 600;
  text-align: right;
  font-size: 0.95rem;
}

/* ========== FESTIVAL TAGS ========== */
.festival-tag {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  padding: 8px 18px;
  margin: 4px;
  font-size: 0.85rem;
  color: var(--gold-light);
  transition: all 0.3s;
}

.festival-tag:hover { background: rgba(212,175,55,0.2); transform: translateY(-2px); }

.festival-tag.special {
  background: rgba(255,138,138,0.15);
  border-color: rgba(255,138,138,0.4);
  color: var(--danger);
  font-weight: 600;
}

/* ========== ACTIVITY ========== */
.activity-text {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(212,175,55,0.12);
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9rem;
}

.activity-text strong { color: var(--gold-light); }

/* ========== CROSS-SELL & FOOTER ========== */
.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;
}

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

.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); }

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
  .date-navigator { gap: 8px; padding: 12px 16px; }
  .date-display { font-size: 1rem; min-width: 180px; padding: 6px 12px; }
  .nav-btn { width: 38px; height: 38px; font-size: 1rem; }
  .highlight-box .main-value { font-size: 2.2rem; }
  .calendar-grid { grid-template-columns: 1fr; }
  .tab-btn { padding: 10px 16px; font-size: 0.85rem; }
  .footer { flex-direction: column; text-align: center; }
  .footer a { margin: 0 10px; }
}