/* ==========================================================================
   KONI MAJALENGKA - REFINED SINGLE PAGE LANDING PAGE (UNDER CONSTRUCTION)
   ========================================================================== */

:root {
  --bg-dark: #070c18;
  --bg-card: rgba(13, 22, 45, 0.75);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(245, 158, 11, 0.45);
  
  --primary-blue: #1d4ed8;
  --accent-blue: #3b82f6;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;
  --accent-green: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.3);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

body.light-theme {
  --bg-dark: #edf2f7;
  --bg-card: rgba(255, 255, 255, 0.88);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(217, 119, 6, 0.4);
  --text-main: #0f172a;
  --text-muted: #475569;
  --shadow-card: 0 15px 35px -10px rgba(15, 23, 42, 0.15);
}

/* Global Reset & Strict Non-Scroll Body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden; /* ABSOLUTELY NO SCROLLING */
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  position: relative;
}

/* Canvas Animation Background */
#bgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

/* Ambient Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.orb-1 {
  top: -10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: rgba(30, 64, 175, 0.35);
}

.orb-2 {
  bottom: -15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.25);
}

/* Main Viewport Container */
.app-viewport {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* Header Section (Logo Pojok Kiri Atas) */
.header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .brand-name {
  background: linear-gradient(135deg, #0f172a 40%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-controls {
  display: flex;
  gap: 0.6rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
}

/* Main Content Area (Center Single Page) */
.main-single {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.hero-split {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.main-headline {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.gradient-gold {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.6;
}

/* Countdown Card */
.countdown-card {
  padding: 1.25rem 1.5rem;
  border-color: var(--border-gold);
  max-width: 500px;
}

.countdown-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timer-display {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.time-block {
  background: rgba(4, 8, 18, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  min-width: 76px;
  text-align: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

body.light-theme .time-block {
  background: #ffffff;
}

.time-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}

body.light-theme .time-val {
  color: #0f172a;
}

.time-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.time-sep {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Visual Side Hero Showcase */
.visual-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-showcase-panel {
  padding: 2.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.logo-showcase-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.logo-showcase-panel:hover .logo-showcase-container {
  transform: scale(1.03);
}

.official-hero-logo {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.logo-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-gold);
  opacity: 0.5;
  box-shadow: 0 0 25px var(--accent-gold);
  pointer-events: none;
}

/* Footer Compact Bottom Bar */
.footer-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive Adjustments */
@media (max-height: 720px) {
  .app-viewport {
    padding: 1rem 1.75rem;
  }
  .main-headline {
    font-size: 2.4rem;
  }
  .main-desc {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  .countdown-card {
    padding: 0.85rem 1.15rem;
  }
  .logo-showcase-container {
    max-width: 240px;
    padding: 1rem;
  }
  .official-hero-logo {
    max-height: 200px;
  }
}

@media (max-width: 900px) {
  html, body {
    overflow-y: auto;
    height: auto;
  }
  .app-viewport {
    height: auto;
    min-height: 100vh;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-compact {
    text-align: center;
  }
}
