/* Google Fonts Import for Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

:root {
  --gold: #FFD700;
  --dark-gold: #B8860B;
  --bright-yellow: #fbff01;
  --yellow: #FFFF00;
  --goldenrod: #DAA520;
  --orange: #FFA500;
  --navy: #003366;
  --dark-navy: #002244;
  --very-dark-navy: #00005b;
  --white: #ffffff;
  --black: #000000;
  --blue: #1e40af;
  --light-blue: #3b82f6;
  --dark-blue: #1e3a8a;
  --dark-gray: #1f2937;
  --gray: #495057;
  --light-gray: #c5cbd1;
  --very-light-gray: #e5e7eb;
  --dark-slate: #2c3e50;
  --red: #e74c3c;
  --medium-gray: #6c757d;
  --slate-gray: #374151;
  --light-slate: #64748b;
  --sky-blue: #0369a1;
  --light-green: #d1fae5;
  --green: #a7f3d0;
  --dark-green: #065f46;
  --light-red: #fee2e2;
  --coral-red: #fecaca;
  --dark-red: #b91c1c;
  --very-light-gray-alt: #f1f5f9;
  --light-slate-alt: #e2e8f0;
  --light-yellow: #fff3cd;
  --pale-yellow: #ffeaa7;
  --dark-yellow: #856404;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Merriweather', serif;
  background-image: url('../img/omaga4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #2c3e50;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 27, 27, 0.3);
  opacity: 0.9;
  z-index: -1;
}

/* ==== NAVBAR ==== */
/* Navbar awal transparan */
/* Navbar awal transparan */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  background: transparent;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff; /* putih saat transparan */
  font-family: Arial, Helvetica, sans-serif;
  transition: color 0.5s ease;
}

.navbar.scrolled .nav-logo {
  color: #222; /* hitam saat background putih */
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  font-size: 1rem;
  color: #fff; /* putih saat transparan */
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
  transition: color 0.5s ease;
}

.navbar.scrolled .nav-menu li a {
  color: #333; /* hitam saat background putih */
}

.nav-menu li a:hover {
  color: #007BFF;
}

/* Navbar aktif saat discroll */
.navbar.scrolled {
  background: #182e65; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  padding: 0.6rem 2rem; /* shrink */
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #FFD700;
}

/* Active link highlight */
.nav-menu a.active {
  color: #FFD700;
  font-weight: 600;
}

html {
  scroll-behavior: smooth;
}

.brand-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.brand-title:hover {
  color: #FFD700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.brand-subtitle {
  font-size: 1rem;
  color: #fff;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar-links li a {
  color: var(--dark-gold);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.navbar-links li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 215, 0, 0.2),
    transparent);
  transition: left 0.5s ease;
}

.navbar-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #fbff01, #B8860B);
  transition: width 0.4s ease;
  border-radius: 1px;
}

.navbar-links li a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.navbar-links li a:hover::before {
  left: 100%;
}

.navbar-links li a:hover::after {
  width: 100%;
}

.navbar-links li a:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}

/* ==== HEADER ==== */

header {
  background: linear-gradient(135deg, #001F3F 0%, #003366 50%, #001F3F 100%);
  background-image:
    linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(255, 215, 0, 0.05) 50%, rgba(184, 134, 11, 0.1) 100%),
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,215,0,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(184,134,11,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,215,0,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  
  padding: 60px 2rem 60px 2rem; /* biar ga nabrak navbar */
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Overlay tipis */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* transparansi tipis */
  z-index: 1;
}

/* Judul */
header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-shadow:
    0 0 20px rgba(184, 134, 11, 0.5),
    0 0 40px rgba(184, 134, 11, 0.3),
    0 0 60px rgba(184, 134, 11, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: headerFadeIn 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  z-index: 2; /* muncul di atas overlay */
}

/* Subjudul */
header p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: headerFadeIn 1.2s ease-out 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  z-index: 2;
}

/* Animasi */
@keyframes headerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==== MAIN ==== */
main {
  flex: 1;
  padding: 3rem 1rem;
  padding-top: 170px;
  width: 90%;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.quiz-intro {
  background: transparent;
  
  border-radius: 10px;
  position: relative;
}

.gold-box-image {
  max-width: 40%;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 8px;
}

.quiz-intro p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.quiz-btn-container {
  text-align: center;
  margin-top: 2rem;
}

/* ==== BUTTON ==== */
button {
  background: linear-gradient(135deg, var(--dark-gold) 0%, #FFD700 100%);
  border: none;
  color: #FFD700;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
button:hover {
  background: linear-gradient(135deg, #FFD700 0%, var(--dark-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(184, 134, 11, 0.6);
}

/* Premium Button Style */
.btn-premium {
  background: linear-gradient(135deg, #FFFF00 0%, #FFD700 50%, #FFFF00 100%);
  border: 2px solid #FFD700;
  color: #000000;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.3), 0 4px 12px rgba(255,215,0,0.2);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-premium:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFFF00 50%, #FFD700 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4), 0 8px 20px rgba(255,215,0,0.4);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.1), 0 4px 12px rgba(255,215,0,0.3);
}

/* Quiz Button Style - matches btn-premium */
.quiz-btn {
  background: linear-gradient(135deg, #FFFF00 0%, #FFD700 50%, #FFFF00 100%);
  border: 2px solid #FFD700;
  color: #000000;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.3), 0 4px 12px rgba(255,215,0,0.2);
  position: relative;
  overflow: hidden;
}

.quiz-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.quiz-btn:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFFF00 50%, #FFD700 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4), 0 8px 20px rgba(255,215,0,0.4);
}

.quiz-btn:hover::before {
  left: 100%;
}

.quiz-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.1), 0 4px 12px rgba(255,215,0,0.3);
}

/* Khusus tombol pilihan kuis */
.choice-btn {
  display: block;
  margin: 1rem auto;
  width: 100%;
  max-width: 1000px;
  background: linear-gradient(135deg, #FFFF00 0%, #FFD700 25%, #FFA500 50%, #FF8C00 75%, #FFFF00 100%);
  color: #fff;
  text-align: center;
  border: none;
  padding: 1.5rem 3rem;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 6px 20px rgba(255, 215, 0, 0.5),
    inset 0 2px 6px rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(255, 215, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: gentlePulse 3s ease-in-out infinite;
}

.choice-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    rgba(255, 215, 0, 0.3),
    rgba(255, 255, 255, 0.4),
    transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.choice-btn::after {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.choice-btn:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFFF00 25%, #FFA500 50%, #FF8C00 75%, #FFD700 100%);
  transform: translateY(-3px) scale(1.03) rotate(1deg);
  box-shadow:
    0 12px 30px rgba(255, 215, 0, 0.7),
    inset 0 3px 8px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 215, 0, 0.6);
  border-color: #FFA500;
  animation: none;
}

.choice-btn:hover::before {
  left: 100%;
}

.choice-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

.choice-btn:active {
  transform: translateY(-2px) scale(1.01) rotate(0.5deg);
  box-shadow:
    0 8px 20px rgba(255, 215, 0, 0.6),
    inset 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

.choice-btn:focus {
  outline: 4px solid rgba(255, 215, 0, 0.8);
  outline-offset: 3px;
}

@keyframes gentlePulse {
  0%, 100% {
    box-shadow:
      0 6px 20px rgba(255, 215, 0, 0.5),
      inset 0 2px 6px rgba(255, 255, 255, 0.4),
      0 0 0 1px rgba(255, 215, 0, 0.1);
  }
  50% {
    box-shadow:
      0 8px 25px rgba(255, 215, 0, 0.6),
      inset 0 3px 8px rgba(255, 255, 255, 0.5),
      0 0 0 1px rgba(255, 215, 0, 0.2);
  }
}

/* Style for question box */
.question-box {
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  padding: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.1) 0%,
    rgba(255, 255, 255, 0.9) 25%,
    rgba(248, 250, 252, 0.95) 50%,
    rgba(255, 255, 255, 0.9) 75%,
    rgba(251, 255, 1, 0.1) 100%);
  backdrop-filter: blur(10px);
  margin: 1rem auto;
  max-width: 1000px;
  box-shadow:
    0 0 30px rgba(251, 255, 1, 0.3),
    0 10px 40px rgba(0, 51, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.question-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fbff01, #B8860B, #fbff01, #B8860B);
  box-shadow: 0 2px 10px rgba(251, 255, 1, 0.5);
}

.question-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fbff01, #B8860B, #fbff01, #B8860B);
  box-shadow: 0 -2px 10px rgba(251, 255, 1, 0.5);
}

/* Enhanced question text styling */
.question-box h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  font-family: 'Times New Roman', serif;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Centering for first question buttons */
.first-question {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.first-question .choice-btn {
  width: auto;
  min-width: 100x;
  max-width: 100px;
  text-align: center;
  margin: 0.5rem 0;
}

/* Improved button container alignment */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.button-container.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.button-container .choice-btn {
  margin: 0.5rem;
  flex: 0 1 auto;
}

/* ==== TIMER ==== */
.timer-container {
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.timer-bar {
  width: 100%;
  max-width: 400px;
  height: 12px;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-radius: 25px;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.timer-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
  border-radius: 25px;
  transition: width 1s linear;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: timerPulse 1s infinite;
}

.timer-text {
  font-size: 2rem;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  margin-bottom: 0.5rem;
}

@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* ==== PROGRESS BAR ==== */
#progress-bar {
  margin-bottom: 2rem;
  text-align: center;
}

#progress-text {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 0.5rem;
  display: block;
}

.bar-container {
  width: 100%;
  background-color: #c5cbd1;
  height: 8px;
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background-color: #ffffff;
  transition: width 0.4s ease;
}

/* ==== HASIL ==== */
h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.hidden {
  display: none;
}

/* ==== FOOTER ==== */
footer {
  margin-top: 80px;
  background: #182e65;
  text-align: center;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  border-top: 1px solid #B8860B;
}

footer .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

footer .social-links img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

footer .social-links img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ==== ANIMASI ==== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

main > section {
  animation: fadeIn 0.6s ease-in-out;
}

/* ==== SCOREBOARD ==== */
#scoreboard {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border: 2px solid #d4af37;
  border-radius: 15px;
  padding: 1rem 2rem;
  text-align: center;
  margin: 1rem auto 2rem auto;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.scoreboard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-categories {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  margin-top: 1rem;
  gap: 10px;
  flex-wrap: wrap;
}

.score-category {
  flex: 1;
  padding: 1rem 0.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
  min-width: 80px;
  margin: 5px;
}

.score-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
}

.score-label {
  font-weight: bold;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.score-value {
  font-size: 1.8rem;
  color: #e74c3c;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
  line-height: 1;
}

/* Different colors for each score category */
.modal-score {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.3), rgba(41, 128, 185, 0.2));
  border-color: rgba(52, 152, 219, 0.4);
  text-shadow: 0 1px 3px rgba(255, 215, 0, 0.6);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(255, 215, 0, 0.4);
  border-radius: 12px;
}

.reputasi-score {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.3), rgba(39, 174, 96, 0.2));
  border-color: rgba(46, 204, 113, 0.4);
  text-shadow: 0 1px 3px rgba(255, 215, 0, 0.6);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(255, 215, 0, 0.4);
  border-radius: 12px;
}

.inovasi-score {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(142, 68, 173, 0.2));
  border-color: rgba(155, 89, 182, 0.4);
  text-shadow: 0 1px 3px rgba(255, 215, 0, 0.6);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(255, 215, 0, 0.4);
  border-radius: 12px;
}

.total-score {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.3), rgba(243, 156, 18, 0.2));
  border-color: rgba(241, 196, 15, 0.4);
  text-shadow: 0 1px 3px rgba(255, 215, 0, 0.6);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(255, 215, 0, 0.4);
}

#scoreboard h2 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 0;
  font-weight: 700;
}

#score {
  font-size: 2rem;
  color: #e74c3c;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(0.2deg);
  }
  50% {
    transform: translateY(-6px) rotate(0deg);
  }
  75% {
    transform: translateY(-3px) rotate(-0.2deg);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(255, 215, 0, 0.3),
      0 10px 40px rgba(0, 51, 102, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow:
      0 0 40px rgba(255, 215, 0, 0.4),
      0 15px 50px rgba(0, 51, 102, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  }
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .navbar-links {
    gap: 1rem;
  }
  header h1 {
    font-size: 2.2rem;
  }
  
  #scoreboard {
    max-width: 350px;
    padding: 0.8rem 1rem;
  }
  
  #scoreboard h2 {
    font-size: 1.3rem;
  }
  
  #score {
    font-size: 1.8rem;
  }
  
  .score-categories {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .score-category {
    flex: 0 0 calc(50% - 20px);
    margin: 5px;
    min-width: 70px;
  }
}


/* ==== BOX & CARD ==== */
/* Gold box */
/* ==== Gold Box Premium Elegan Final ==== */
.gold-box {
  position: relative;
  background: linear-gradient(145deg, rgba(218, 218, 228, 0.95), rgba(210, 210, 218, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.6);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin: 3rem auto;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
  font-family: "Merriweather", Times, serif;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  transition: all 0.3s ease;
}

.gold-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.25);
}

/* Divider emas tipis */
.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  margin: 1.2rem auto;
  border-radius: 2px;
}

/* Gambar */
.gold-box-image {
  max-width: 220px;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.25);
}

/* Teks */
.gold-box p {
  line-height: 1.8;
  font-size: 12px;
  color: #050505;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Tombol */
.gold-box .btn-start {
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000;
  font-weight: bold;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 6px rgba(255, 215, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.3);
}

.gold-box .btn-start:hover {
  transform: scale(1.07);
  box-shadow: inset 0 0 10px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.6);
}


.result-card {
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  padding: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.1) 0%,
    rgba(255, 255, 255, 0.9) 25%,
    rgba(248, 250, 252, 0.95) 50%,
    rgba(255, 255, 255, 0.9) 75%,
    rgba(251, 255, 1, 0.1) 100%);
  backdrop-filter: blur(10px);
  text-align: center;
  max-width: 700px;
  margin: 60px auto;
  box-shadow:
    0 0 30px rgba(251, 255, 1, 0.3),
    0 10px 40px rgba(0, 51, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  animation: fadeIn 0.6s ease-in-out;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFA500);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.result-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFA500);
  box-shadow: 0 -2px 10px rgba(255, 215, 0, 0.5);
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #f4f5f7;
}

.result-title {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 1rem;
}

.result-desc {
  color: #000;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 13px;
}

.restart-btn {
  background: #003366;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.restart-btn:hover {
  background: #002244;
}

/* ==== ENHANCED FINAL SCORE DISPLAY ==== */
.final-result-container {
  max-width: 6000px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.final-result-card {
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  padding: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.1) 0%,
    rgba(255, 255, 255, 0.9) 25%,
    rgba(248, 250, 252, 0.95) 50%,
    rgba(255, 255, 255, 0.9) 75%,
    rgba(251, 255, 1, 0.1) 100%);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 30px rgba(251, 255, 1, 0.3),
    0 10px 40px rgba(0, 51, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.final-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFA500);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.final-result-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFA500);
  box-shadow: 0 -2px 10px rgba(255, 215, 0, 0.5);
}

.achievement-badge {
  position: absolute;
  top: -20px;
  right: 20px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  font-size: 0.9rem;
}

.result-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.final-result-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e3a8a, #10b981, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.total-score-display {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  padding: 1rem 2rem;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.total-label {
  font-weight: 600;
  color: #64748b;
}

.total-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #003366;
}

.score-breakdown {
  margin: 2rem 0;
}

.score-breakdown h3 {
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.score-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.05) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(5px);
  margin-bottom: 1rem;
  box-shadow:
    0 0 15px rgba(251, 255, 1, 0.2),
    0 4px 12px rgba(0, 51, 102, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.score-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
  box-shadow: 0 1px 5px rgba(255, 215, 0, 0.4);
}

.score-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.4),
    0 8px 20px rgba(0, 51, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-image: linear-gradient(135deg, #FFD700, #FFA500, #FFD700, #FFA500) 1;
}

.score-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.score-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.score-value {
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-align: center;
}

.score-value.positive {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}

.score-value.negative {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #b91c1c;
}

.progress-container {
  background: #e5e7eb;
  border-radius: 10px;
  height: 20px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
}

.progress-text {
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.score-tooltip {
  cursor: help;
  font-size: 1.2rem;
  color: #6b7280;
  position: relative;
}

.score-tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 1000;
}

.recommendation {
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  padding: 1.5rem;
  border-radius: 15px;
  margin: 2rem 0;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.08) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(5px);
  box-shadow:
    0 0 20px rgba(251, 255, 1, 0.25),
    0 6px 15px rgba(0, 51, 102, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.recommendation h3 {
  color: #0369a1;
  margin-bottom: 1rem;
  font-weight: 600;
}

.recommendation p {
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  background: linear-gradient(135deg, #003366, #002244);
  color: #000000;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn:hover {
  background: linear-gradient(135deg, #00005b, #000080);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 128, 0.3);
}

.main-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  color: #000000;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 128, 0.3);
}

/* Celebration animation */
@keyframes confettiFall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff0000;
  opacity: 0;
  animation: confettiFall 2s ease-in-out forwards;
}

/* Animation for progress bars */
@keyframes progressFill {
  from { width: 0%; }
  to { width: var(--target-width); }
}

.progress-bar {
  animation: progressFill 1.5s ease-out forwards;
}

/* Horizontal Score Display */
.horizontal-score-display {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  border-radius: 15px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.05) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(5px);
  box-shadow:
    0 0 15px rgba(251, 255, 1, 0.2),
    0 4px 12px rgba(0, 51, 102, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.horizontal-score-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
  box-shadow: 0 1px 5px rgba(255, 215, 0, 0.4);
}

.horizontal-score-display:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.4),
    0 8px 20px rgba(0, 51, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-image: linear-gradient(135deg, #FFD700, #FFA500, #FFD700, #FFA500) 1;
}

.score-breakdown-horizontal {
  margin: 2rem 0;
}

.score-breakdown-horizontal h3 {
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.horizontal-scores {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  border-radius: 15px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.05) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(5px);
  box-shadow:
    0 0 15px rgba(251, 255, 1, 0.2),
    0 4px 12px rgba(0, 51, 102, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.horizontal-scores::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
  box-shadow: 0 1px 5px rgba(255, 215, 0, 0.4);
}

.horizontal-scores:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.4),
    0 8px 20px rgba(0, 51, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-image: linear-gradient(135deg, #FFD700, #FFA500, #FFD700, #FFA500) 1;
}

.horizontal-score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  min-width: 100px;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  border-radius: 15px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.08) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(5px);
  box-shadow:
    0 0 20px rgba(251, 255, 1, 0.25),
    0 6px 15px rgba(0, 51, 102, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.horizontal-score-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.horizontal-score-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.horizontal-score-value {
  font-size: 2rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  min-width: 60px;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.horizontal-score-value.positive {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}

.horizontal-score-value.negative {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #b91c1c;
}

.horizontal-total-score {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
  font-size: 2.2rem;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.5);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(255, 215, 0, 0.3);
}

/* Responsive design for final score */
@media (max-width: 768px) {
  .final-result-container {
    padding: 1rem;
  }

  .final-result-card {
    padding: 2rem 1.5rem;
  }

  .final-result-title {
    font-size: 1.5rem;
  }

  .score-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .horizontal-score-display {
    flex-direction: column;
    gap: 0.8rem;
  }

  .horizontal-score-item {
    width: 100%;
    max-width: 200px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .share-btn, .main-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==== PILIHAN LANJUTAN ==== */
.lanjutan-choices {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.lanjutan-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  border: none;
  color: #000000;
  font-weight: 700;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 51, 102, 0.3);
  transition: background-color 0.3s ease;
  min-width: 180px;
  user-select: none;
  flex: 1 1 180px;
  text-align: center;
  white-space: normal;
}

.lanjutan-btn:hover,
.lanjutan-btn:focus {
  background: #00005b;
  box-shadow: 0 0 20px rgba(0, 0, 128, 0.5);
  outline: none;
}

.sub-bisnis-btn,
.back-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  border: none;
  color: #000000;
  font-weight: 700;
  padding: 1rem 1.8rem;
  font-size: 1.05rem;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 51, 102, 0.3);
  transition: background-color 0.3s ease;
  min-width: 180px;
  user-select: none;
  flex: 1 1 180px;
  text-align: center;
  white-space: nowrap;
  margin: 0.3rem;
}

.sub-bisnis-btn:hover,
.back-btn:hover,
.sub-bisnis-btn:focus,
.back-btn:focus {
  background: #00005b;
  box-shadow: 0 0 20px rgba(0, 0, 128, 0.5);
  outline: none;
}

.back-btn {
  margin-top: 1.5rem;
  max-width: 250px;
}


/* ==== BUTTON CONTAINERS - FOUNDING SECTIONS ==== */
/* General button container styling */
.button-container,
.bisnis-choices, 
.narrative-actions,
.lanjutan-choices,
.choices,
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

/* Specific container adjustments */
.bisnis-choices {
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.narrative-actions {
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.lanjutan-choices {
  gap: 1rem;
  margin: 2rem 0;
}

.choices {
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.action-buttons {
  gap: 1.2rem;
  margin-top: 2.5rem;
}

/* ==== FOUNDING TEXT BOXES ==== */
.founding-box {
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, #fbff01, #B8860B, #fbff01) 1;
  padding: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(251, 255, 1, 0.1) 0%,
    rgba(255, 255, 255, 0.9) 25%,
    rgba(248, 250, 252, 0.95) 50%,
    rgba(255, 255, 255, 0.9) 75%,
    rgba(251, 255, 1, 0.1) 100%);
  backdrop-filter: blur(10px);
  margin: 2rem auto;
  max-width: 700px;
  box-shadow:
    0 0 30px rgba(251, 255, 1, 0.3),
    0 10px 40px rgba(0, 51, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.founding-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFA500);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.founding-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFA500);
  box-shadow: 0 -2px 10px rgba(255, 215, 0, 0.5);
}

.founding-title {
  color: var(--dark-gold);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(184, 134, 11, 0.3);
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founding-text {
  color: var(--dark-gold);
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(184, 134, 11, 0.2);
}

.founding-subtext {
  color: #DAA520;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(218, 165, 32, 0.2);
}

.founding-highlight {
  background: linear-gradient(120deg, rgba(218, 165, 32, 0.15), rgba(184, 134, 11, 0.1));
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
  color: var(--dark-gold);
  text-shadow: 0 1px 2px rgba(184, 134, 11, 0.3);
}

/* Different types of founding boxes */
.founding-intro {
  border-color: var(--dark-gold);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.founding-validation {
  border-color: #DAA520;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.founding-crisis {
  border-color: #FFD700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.founding-action {
  border-color: var(--dark-gold);
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

/* Responsive founding boxes */
@media (max-width: 768px) {
  .founding-box {
    padding: 2rem 1.5rem;
    margin: 1.5rem;
  }
  
  .founding-title {
    font-size: 1.8rem;
  }
  
  .founding-text {
    font-size: 1.1rem;
  }
  
  .founding-subtext {
    font-size: 1rem;
  }
}

/* ==== BUTTON STYLES - FOUNDING SECTIONS ==== */
/* Base button style */
.choice-btn,
.bisnis-btn,
.lanjutan-btn,
.sub-bisnis-btn,
.main-btn,
.share-btn {
  border: none;
  color: #000000;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-align: center;
  min-width: 200px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Specific button styles */
.choice-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  margin: 0.5rem 0;
  width: 100%;
  max-width: 500px;
}

.choice-btn:hover {
  background: linear-gradient(135deg, #FFD700, #FFFF00);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 255, 0, 0.4);
}

.bisnis-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  /*flex: 1 1 200px; */
  min-width: 180px;
}

.bisnis-btn:hover {
  background: linear-gradient(135deg, #FFFF00, #FFFF00);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 128, 0.4);
}

.lanjutan-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  flex: 1 1 180px;
  min-width: 160px;
}

.lanjutan-btn:hover {
  background: linear-gradient(135deg, #FFFF00, #FFFF00);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 128, 0.4);
}

.sub-bisnis-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  flex: 1 1 220px;
  min-width: 200px;
}

.sub-bisnis-btn:hover {
  background: linear-gradient(135deg, #00005b, #000080);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 128, 0.4);
}

.main-btn {
  background: linear-gradient(135deg, #FFFF00, #FFD700);
  min-width: 180px;
}

.main-btn:hover {
  background: linear-gradient(135deg, #00005b, #000080);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 128, 0.4);
}

.share-btn {
  background: linear-gradient(135deg, #003366, #002244);
  color: #000000;
  min-width: 180px;
}

.share-btn:hover {
  background: linear-gradient(135deg, #00005b, #000080);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 128, 0.4);
}

/* Center buttons in specific contexts */
.result-card .main-btn {
  display: block;
  margin: 1.5rem auto 0 auto;
  max-width: 250px;
}

.narrative-actions .main-btn {
  margin: 0;
  min-width: 200px;
}

.action-buttons .main-btn,
.action-buttons .share-btn {
  margin: 0;
  min-width: 180px;
}

/* First question specific styling */
.first-question {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.first-question .choice-btn {
  width: auto;
  
  max-width: 1000px;
  text-align: center;
  margin: 0.5rem 0;
}

/* Horizontal button container */
.button-container.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.button-container.horizontal .choice-btn {
  margin: 0.5rem;
  flex: 0 1 auto;
}

/* Alternating Question Layout */
.questions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.question-left {
  text-align: left;
  justify-self: start;
  max-width: 100%;
}

.question-right {
  text-align: right;
  justify-self: end;
  max-width: 100%;
}

.question-left .question-box {
  margin-left: 0;
  margin-right: auto;
}

.question-right .question-box {
  margin-left: auto;
  margin-right: 0;
}

/* Responsive adjustments for alternating questions */
@media (max-width: 768px) {
  .questions-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .question-left,
  .question-right {
    text-align: center;
    justify-self: center;
  }

  .question-left .question-box,
  .question-right .question-box {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsive adjustments for centered buttons */
@media (max-width: 768px) {
  .bisnis-choices {
    flex-direction: column;
    align-items: center;
  }

  .bisnis-btn {
    width: 100%;
    max-width: 280px;
  }

  .choices {
    padding: 0 1rem;
  }

  .choice-btn {
    max-width: 100%;
  }

  .narrative-actions {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .main-btn,
  .action-buttons .share-btn {
    width: 100%;
    max-width: 280px;
    margin: 0;
  }
}

/* ===== QUIZ CONTAINER ===== */
#quiz-container {
  max-width: 900px;
  margin: 60px auto;
 
  background: transparent;
  border-radius: 12px;
  box-shadow: none;
  text-align: center;
}

#quiz-container h2 {
  margin-bottom: 1.5rem;
  font-size: 20px;
  color: #222;
  font-family: Merriweather;
}

#quiz-container .choices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#quiz-container button {
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: Merriweather;
  border: none;
  border-radius: 8px;
  background: #FFC001;
  color: #001F3F;
  cursor: pointer;
  transition: all 0.3s ease;
}

#quiz-container button:hover {
  background: #FFD700;
  color: #000;
  transform: scale(1.05);
  
}

#quiz-container .question-box {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#quiz-container.active {
  background: transparent;
  box-shadow: none;
}

/* ===== RESULT BOX ===== */
#result {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  text-align: center;
  display: none; /* default hidden */
}

#result h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #FFD700;
}

#result p {
  font-size: 1rem;
  color: #eee;
  line-height: 1.6;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.investor-intro p {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  main {
    padding: 1rem;
  }

  .question-box {
    padding: 1.2rem;
    margin: 1rem 0;
    max-width: 95%;
  }

  .question-box h2 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .choice-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }

  #result {
    padding: 1.5rem;
    max-width: 95%;
  }

  #result h2 {
    font-size: 1.4rem;
  }

  #result p {
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 0.8rem;
  }
}

/* ==== SCALE-IN ANIMATION ==== */
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Glow highlight untuk hasil */
@keyframes goldGlow {
  0% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }
}

/* Apply scale-in di question box */
.question-box {
  animation: scaleIn 0.4s ease forwards;
}

/* Apply scale-in + glow di result */
#result {
  animation: scaleIn 0.5s ease forwards, goldGlow 2s infinite ease-in-out;
}
