:root {
  --navy: #131c33;
  --navy-card: #1c2846;
  --cream: #f4efe4;
  --gold: #ffdb51;
  --teal: #4ecdc4;
  --text-soft: #ffffff;
}

* {
  box-sizing: border-box;
}


.welcome {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.deskripsi-atas {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

body {
  margin: 0;
  min-height: 100vh;

  background-image:
    url("https://i.ibb.co.com/BKw8T9mN/a79eeeb4cca8f274aabe0928c42215a6.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  color: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 4rem 1.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero--sub {
  padding-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0;
}

.hero p {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 46ch;
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(232, 169, 61, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(78, 205, 196, 0.3);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- Content ---------- */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.card {
  width: 100%;
  background: var(--navy-card);
  border: 1px solid rgba(232, 169, 61, 0.18);
  border-radius: 16px;
  padding: 1.75rem;
}

.card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--gold);
}

.media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subject-list {
  margin: 0;
  padding-left: 1.25rem;
}

.subject-list li {
  padding: 0.35rem 0;
  color: var(--text-soft);
}

.subject-list li::marker {
  color: var(--gold);
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
  margin: 0.25rem 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1.25rem 2rem;
  }

  .card {
    padding: 1.25rem;
  }
}
