*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sky: #c8dce8;
  --sky-mid: #b2ccd9;
  --sky-dark: #8aafc2;
  --card-bg: #d6e6ef;
  --nav-bg: #e8f1f6;
  --text-dark: #2a3f4e;
  --text-mid: #4a6474;
  --text-light: #7a9aaa;
  --accent: #3d7a9a;
  --white: #f4f9fc;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sky);
  color: var(--text-dark);
}

/* NAV */
nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--sky-mid);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-logo {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 500;
}

/* HAMBURGER BUTTON */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: var(--sky-mid);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE DROPDOWN */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--sky-mid);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 99;
  padding: 0.5rem 0;
  list-style: none;
}

.nav-dropdown.open {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 0.75rem 2rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown li a:hover,
.nav-dropdown li a.active {
  background: var(--sky-mid);
  color: var(--accent);
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn-signin {
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-signin:hover {
  background: var(--sky-mid);
}

.btn-register {
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.btn-register:hover {
  background: #2d6a8a;
  transform: translateY(-1px);
}

/* HERO */
.hero {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, #a8c8dc 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-dark);
  max-width: 680px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 420px;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  background: var(--accent);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(61, 122, 154, 0.25);
}

.btn-primary:hover {
  background: #2d6a8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 122, 154, 0.3);
}

.btn-outline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  background: transparent;
  color: var(--accent);
  padding: 12px 28px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-outline:hover {
  background: rgba(61, 122, 154, 0.08);
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MAIN CONTENT */
.main {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* SECTION TITLE */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1.2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 8px auto 0;
  border-radius: 2px;
  opacity: 0.5;
}

/* FEATURED EPISODE */
.featured-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.8rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.ep-thumbnail {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.ep-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ep-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.ep-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

.ep-link {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  margin: 2px 0;
}

.ep-link:hover {
  text-decoration: underline;
}

.ep-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 300;
}

/* MORE EPISODES */
.more-section {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.more-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 0.9rem;
  letter-spacing: 0.05em;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.ep-mini {
  background: var(--sky-mid);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ep-mini:hover {
  background: var(--sky-dark);
  transform: translateY(-2px);
}

.ep-mini-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.ep-mini-body {
  font-size: 0.72rem;
  color: var(--text-mid);
}

/* EXPLORE SECTION */
.explore-section {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.explore-card {
  background: var(--sky-mid);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.explore-card:hover {
  background: var(--sky-dark);
  color: white;
  transform: translateY(-2px);
}

/* PAGE CONTENT */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page-header {
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.page-header p {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 300;
}

/* RESOURCE GRID */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.resource-card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.resource-card:nth-child(1) {
  animation-delay: 0.15s;
}

.resource-card:nth-child(2) {
  animation-delay: 0.22s;
}

.resource-card:nth-child(3) {
  animation-delay: 0.29s;
}

.resource-card:nth-child(4) {
  animation-delay: 0.36s;
}

.resource-card:nth-child(5) {
  animation-delay: 0.43s;
}

.resource-card:nth-child(6) {
  animation-delay: 0.50s;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.11);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Wrapper — owns the dimensions so absolute children always have a parent height */
.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: var(--sky-mid);
}

/* Gradient backdrop so text stays legible */
.card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%);
  pointer-events: none;
  border-radius: 0;
}

/* Title positioned over the image */
.card-image-wrap .card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0;
  z-index: 1;
}

/* Override the button look – plain white text on the gradient */
.card-image-wrap .card-title a {
  background: none;
  box-shadow: none;
  color: #fff;
  text-align: left;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  width: auto;
  display: block;
}

.card-image-wrap .card-title a:hover {
  background: none;
  box-shadow: none;
  transform: none;
  text-decoration: underline;
  color: #fff;
}

/* Placeholder image icon */
.card-image svg {
  width: 48px;
  height: 48px;
  opacity: 0.35;
  color: var(--sky-dark);
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 300;
}

/* Resource card link – styled like a primary button */
.card-title {
  margin-bottom: 0.75rem;
}

.card-title a {
  display: inline-block;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 9px 14px;
  border-radius: 8px;
  line-height: 1.4;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(61, 122, 154, 0.2);
}

.card-title a:hover {
  background: #2d6a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61, 122, 154, 0.3);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-center {
    position: static;
    transform: none;
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 420px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* PROFILE SECTION */
.profile {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: start;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
  padding: 10%
}

.profile-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--sky-mid);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.profile-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
  color: var(--sky-dark);
}

.profile-content {
  padding-top: 0.5rem;
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.profile-subheading {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 1.4rem;
  font-style: italic;
}

.profile-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
}

.profile-body p+p {
  margin-top: 1rem;
}

/* SOCIAL LINKS */
.social-section {
  margin-top: 2.2rem;
  padding-top: 2.0rem;
  border-top: 1px solid var(--sky-mid);
}

.social-label {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--sky-mid);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.social-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61, 122, 154, 0.25);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  border-top: 1px solid var(--sky-mid);
  background: var(--nav-bg);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .profile {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .profile-image {
    aspect-ratio: 16/9;
  }

  .nav-center {
    position: static;
    transform: none;
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* DIVIDER */
.divider {
  height: 1.8rem;
}

/* SOCIALS SECTION */
.socials-section {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.socials-grid {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--sky-mid);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.social-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-pill:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61, 122, 154, 0.28);
  border-color: var(--accent);
}




.star {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  background: linear-gradient(-45deg, #FFF, rgba(0, 0, 255, 0));
  border-radius: 999px;
  filter: drop-shadow(0 0 6px #FFF);
  animation: tail 5s ease-in-out infinite,
    falling 5s ease-in-out infinite;
}

@keyframes tail {
  0% {
    width: 0;
  }

  30% {
    width: 100px;
  }

  100% {
    width: 0;
  }
}

@keyframes falling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(120vw);
  }
}

.starfield {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotateZ(40deg);
}

.star::before,
.star::after {
  content: "";
  position: absolute;
  top: calc(50%-1px);
  right: 0;
  height: 2px;
  background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #FFF, rgba(0, 0, 255, 0));
  border-radius: 100%;
  transform: translateX(50%) rotateZ(45deg);
  animation: shining 3s ease-in-out infinite
}

@keyframes shining {
  0% {
    width: 0;
  }

  50% {
    width: 30px;
  }

  100% {
    width: 0;
  }
}

.star::after {
  transform: translateX(50%) rotateZ(-45deg);
}

.star:nth-child(1) {
  top: calc(50% - 120px);
  left: -15%;
  animation-delay: 0s;
}

.star:nth-child(1)::before,
.star:nth-child(1)::after {
  animation-delay: 0s;
}

.star:nth-child(2) {
  top: calc(50% - 60px);
  left: 10%;
  animation-delay: 0.7s;
}

.star:nth-child(2)::before,
.star:nth-child(2)::after {
  animation-delay: 0.7s;
}

.star:nth-child(3) {
  top: 50%;
  left: 35%;
  animation-delay: 1.4s;
}

.star:nth-child(3)::before,
.star:nth-child(3)::after {
  animation-delay: 1.4s;
}

.star:nth-child(4) {
  top: calc(50% + 60px);
  left: 10%;
  animation-delay: 2.1s;
}

.star:nth-child(4)::before,
.star:nth-child(4)::after {
  animation-delay: 2.1s;
}

.star:nth-child(5) {
  top: calc(50% + 120px);
  left: -15%;
  animation-delay: 2.8s;
}

.star:nth-child(5)::before,
.star:nth-child(5)::after {
  animation-delay: 2.8s;
}






.popup-container {
  position: fixed;
  left: 0;
  top: 0;
  padding: 15px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.popup-container.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-container .quiz-box {
  position: relative;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
  transform: translateY(-50px);
  transition: all 0.4s ease-out;
}

.popup-container.active .quiz-box {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  transform: translateY(0);
}

/* Quiz Configuration Stylings */
.config-container {
  z-index: 10;
  width: 415px;
  padding: 25px;
  text-align: center;
}

.config-container .config-title {
  font-size: 1.31rem;
}

.config-container .config-option {
  margin-top: 25px;
}

.config-option .option-title {
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.config-option .category-options {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}

.config-option .question-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 30px;
  justify-content: center;
}

.config-option button {
  padding: 12px;
  font-size: 0.938rem;
  color: #000;
  cursor: pointer;
  font-weight: 500;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #9B8FFF;
  transition: 0.3s ease;
}

.config-option button.active {
  color: #5145BA;
  border-color: #5145BA;
  background: #dfdafd;
}

.config-option button:hover,
.quiz-content .answer-option:hover {
  background: #dad5fd;
}

.config-option .question-options button {
  flex: 1 1 10%;
}

.config-container .start-quiz-btn,
.quiz-footer .next-question-btn,
.result-container .try-again-btn {
  color: #fff;
  border: none;
  font-weight: 500;
  background: #5145BA;
  padding: 13px 25px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.config-container .start-quiz-btn {
  margin-top: 30px;
}

.config-container .start-quiz-btn:hover,
.quiz-footer .next-question-btn:hover,
.result-container .try-again-btn:hover {
  background: #403795;
}

/* Quiz Container Stylings */
.quiz-container {
  width: 480px;
}

.quiz-container .quiz-header {
  display: flex;
  padding: 14px 25px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.09);
}

.quiz-header .quiz-title {
  font-size: 1.43rem;
  font-weight: 700;
}

.quiz-header .quiz-timer {
  display: flex;
  width: 70px;
  color: #fff;
  gap: 5px;
  align-items: center;
  background: #32313C;
  border-radius: 6px;
  padding: 7px 9px;
  font-weight: 600;
  transition: 0.2s ease;
}

.quiz-header .quiz-timer span {
  font-size: 1.4rem;
}

.quiz-container .quiz-content {
  padding: 20px 25px 25px;
}

.quiz-content .question-text {
  font-size: 1.5rem;
  font-weight: 600;
}

.quiz-content .answer-options {
  list-style: none;
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-direction: column;
}

.quiz-content .answer-option {
  display: flex;
  cursor: pointer;
  align-items: center;
  font-weight: 500;
  border-radius: 6px;
  padding: 13px 16px;
  border: 1px solid #B5ACFF;
  background: #F3F1FF;
  justify-content: space-between;
  transition: 0.3s ease;
}

.quiz-content .answer-option span {
  display: block;
  flex-shrink: 0;
  margin: -4px -3px -4px 12px;
}

.quiz-content .answer-option.correct {
  border-color: #B7E1C1;
  background: #D4EDDA;
  color: #155724;
}

.quiz-content .answer-option.correct span {
  color: #16AE56;
}

.quiz-content .answer-option.incorrect {
  border-color: #F4BEC3;
  background: #F8D7DA;
  color: #721C24;
}

.quiz-content .answer-option.incorrect span {
  color: #F23723;
}

.quiz-container .quiz-footer {
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #C6C6C6;
}

.quiz-footer .question-status {
  font-weight: 500;
}

.quiz-footer .question-status b {
  font-weight: 600;
}

.quiz-footer .next-question-btn {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 9px 17px;
}

/* Quiz Result Stylings */
.result-container {
  text-align: center;
  padding: 40px;
  width: 410px;
}

.result-container .result-img {
  width: 110px;
}

.result-container .result-title {
  margin-top: 30px;
}

.result-container .result-message {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 15px;
}

.result-container .result-message b {
  font-weight: 700;
  color: #5145BA;
}

.result-container .try-again-btn {
  padding: 12px 20px;
  margin-top: 30px;
}

@media (max-width: 624px) {

  .config-container,
  .quiz-container .quiz-content {
    padding: 20px;
  }

  .quiz-content .answer-option {
    padding: 12px 10px 12px 14px;
  }

  .config-container .question-options {
    padding: 0 15px;
  }

  .quiz-container .quiz-header,
  .quiz-container .quiz-footer {
    padding: 13px 20px;
  }

  .quiz-header .quiz-title,
  .quiz-content .question-text {
    font-size: 1.3rem;
  }

  .result-container .result-title {
    font-size: 1.4rem;
  }
}