@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&display=swap");

:root {
  --navy-950: #061a33;
  --navy-900: #0b2f59;
  --navy-850: #07305a;
  --navy-800: #0f3a6a;
  --sky-200: #bcd7f4;
  --sky-300: #a8cbf2;
  --white: #ffffff;
  --ink: #0b1420;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif;
  color: var(--white);
  background: radial-gradient(1200px 700px at 30% 10%, rgba(255, 255, 255, 0.04) 0%, transparent 55%),
    linear-gradient(180deg, #0b3a77 0%, #04162d 100%);
}

.ppdbBody {
  background: #0b3a77;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 0;
}

.header {
  padding: 10px 0 8px;
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto 14px;
  display: grid;
  grid-template-columns: 340px 1fr 340px;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
}

.header__left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header__center {
  text-align: center;
  padding: 0 10px;
  min-width: 0;
}

.header__right {
  min-height: 1px;
}

.header__logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.header__h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: 0.4px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.header__subtitle {
  margin: 6px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 0 14px;
}

.content {
  width: 100%;
}

.content__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 680px 420px;
  gap: 60px;
  align-items: stretch;
  justify-content: center;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.panel--photo {
  padding: 16px;
}

.photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  object-fit: contain;
}

.panel--login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
}

.loginCard {
  width: min(440px, 100%);
  background: #7ea6d8;
  border-radius: 22px;
  padding: 18px 18px 16px;
  color: #061a33;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.loginCard__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #0b1420;
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(6, 26, 51, 0.95);
}

.field__input {
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(6, 26, 51, 0.22);
  outline: none;
  font-size: 15px;
  background: #ffffff;
}

.field__input::placeholder {
  color: rgba(0, 0, 0, 0.35);
  font-weight: 700;
}

.field__input:focus {
  border-color: rgba(6, 26, 51, 0.9);
  box-shadow: 0 0 0 3px rgba(6, 26, 51, 0.18);
}

.btn {
  height: 46px;
  width: 66%;
  justify-self: center;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.btn--primary {
  background: #0b3a77;
  color: var(--white);
  box-shadow: none;
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--primary:active {
  transform: translateY(1px);
}

.hint {
  margin: 10px 2px 0;
  font-size: 12px;
  color: rgba(11, 20, 32, 0.85);
  font-weight: 700;
}

.footer {
  margin-top: auto;
  padding: 0;
  margin-left: -18px;
  margin-right: -18px;
}

.footer__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
  color: #0b1420;
  border-radius: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.22);
  display: flex;
  gap: 34px;
  justify-content: center;
  padding: 12px 18px;
  flex-wrap: nowrap;
  box-shadow: none;
}

.footerItem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
}

.icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0b1420;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.22);
}

@media (max-width: 980px) {
  .content__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .header__h1 {
    font-size: 24px;
  }

  .header__subtitle {
    font-size: 14px;
  }

  .footer__inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 1100px) {
  .header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 10px;
  }

  .header__left {
    justify-content: center;
  }

  .header__right {
    display: none;
  }

  .footer__inner {
    width: 100%;
    gap: 14px 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .header {
    padding-top: 18px;
  }

  .header__inner {
    grid-template-columns: 1fr;
  }

  .header__h1 {
    font-size: 20px;
  }

  .loginCard {
    padding: 18px 16px 14px;
  }
}

/* =========================
   PPDB / Info Pendaftaran
   ========================= */

.ppdbPage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: linear-gradient(180deg, #0b3a77 0%, #083664 100%);
  border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}

.topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr 120px;
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logos {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.15);
}

.brand__text {
  min-width: 0;
}

.brand__name {
  font-weight: 900;
  letter-spacing: 0.3px;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__tagline {
  margin-top: 2px;
  font-weight: 600;
  font-size: 12px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.menu__link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 140ms ease;
}

.menu__link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu__link--active {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.loginBtn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 6px;
  background: #0b0b0b;
  border: 2px solid rgba(0, 0, 0, 0.8);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.loginBtn:hover {
  filter: brightness(1.05);
}

.ppdbMain {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0b3a77;
}

.ppdbHero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 520px at 30% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0b3a77 0%, #052245 100%);
  border-bottom: 10px solid #052b55;
}

.ppdbHero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px 260px at 64% 42%, rgba(0, 201, 167, 0.42) 0%, rgba(0, 201, 167, 0) 70%),
    radial-gradient(520px 380px at 78% 40%, rgba(0, 201, 167, 0.20) 0%, rgba(0, 201, 167, 0) 72%),
    radial-gradient(260px 190px at 18% 66%, rgba(0, 201, 167, 0.20) 0%, rgba(0, 201, 167, 0) 72%);
  opacity: 0.95;
  pointer-events: none;
}

.ppdbHero__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px 22px;
}

.heroNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}

.heroNav--left {
  left: 16px;
}

.heroNav--right {
  right: 16px;
}

.heroNav__icon {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.heroTop {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
  align-items: center;
}

.heroSeal {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.heroSeal__ring {
  width: 190px;
  height: 190px;
  border-radius: 999px;
  border: 7px solid rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.20) 0%, transparent 60%),
    #0b2f59;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.heroSeal__logo {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  background: #ffffff;
}

.heroSeal__name {
  font-weight: 900;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.heroTitle {
  text-align: center;
}

.heroTitle__line1 {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: 1px;
}

.heroTitle__line2 {
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: 0.8px;
  color: rgba(0, 229, 190, 0.55);
}

.heroTitle__year {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
  opacity: 0.95;
}

.heroGrid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 420px 1fr 520px;
  gap: 18px;
  align-items: end;
}

.heroLeft {
  padding: 8px 0 0;
}

.heroSectionTitle {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 40px;
  color: rgba(0, 229, 190, 0.65);
  text-transform: uppercase;
}

.heroSectionTitle--small {
  font-size: 34px;
}

.heroBullets {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  font-size: 26px;
  font-weight: 700;
}

.heroBullet {
  display: flex;
  gap: 12px;
  align-items: center;
}

.heroBullet::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 229, 190, 0.8);
  box-shadow: 0 0 0 4px rgba(0, 229, 190, 0.18);
}

.heroReg {
  margin-top: 22px;
}

.heroDatePill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(10, 15, 30, 0.25);
  border: 3px solid rgba(0, 229, 190, 0.35);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.7px;
}

.heroContacts {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  opacity: 0.95;
}

.heroContact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.heroContact__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 190, 0.12);
  border: 1px solid rgba(0, 229, 190, 0.35);
  color: rgba(0, 229, 190, 0.95);
}

.heroCenter {
  display: grid;
  place-items: center;
  padding-bottom: 38px;
}

.ctaBlob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 330px;
  height: 88px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 58%),
    rgba(0, 229, 190, 0.40);
  border: 5px solid rgba(255, 255, 255, 0.75);
  color: rgba(0, 229, 190, 0.95);
  text-decoration: none;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.ctaBlob:hover {
  filter: brightness(1.06);
}

.heroRight {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: end;
  padding-bottom: 8px;
}

.photoBlob {
  position: relative;
  width: 520px;
  height: 260px;
  border-top-left-radius: 220px;
  border-bottom-left-radius: 220px;
  border-top-right-radius: 140px;
  border-bottom-right-radius: 140px;
  background: rgba(0, 229, 190, 0.24);
  border: 8px solid rgba(0, 229, 190, 0.55);
  overflow: visible;
}

.photoBlob__ring {
  position: absolute;
  border-radius: 999px;
  border: 8px solid rgba(0, 229, 190, 0.55);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.photoBlob__ring--big {
  width: 260px;
  height: 260px;
  right: 10px;
  top: -20px;
}

.photoBlob__ring--small {
  width: 190px;
  height: 190px;
  right: 220px;
  top: 78px;
  border-color: rgba(0, 229, 190, 0.45);
}

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

.promoSeal {
  margin-top: 10px;
  width: 340px;
  height: 240px;
  border-radius: 999px;
  background: #ffffff;
  color: #1b2147;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border: 6px solid rgba(255, 255, 255, 0.7);
}

.promoSeal__text1 {
  font-weight: 900;
  font-size: 46px;
  letter-spacing: 1px;
}

.promoSeal__text2 {
  margin-top: 8px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.4px;
  color: rgba(0, 229, 190, 0.75);
}

.ppdbLinks {
  background: #052b55;
  border-top: 2px solid rgba(0, 0, 0, 0.25);
  padding: 22px 16px 28px;
}

.ppdbLinks__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.linkCard {
  background: #ffffff;
  border-radius: 18px;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 2px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.linkCard__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 80px;
  background: #0b3a77;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.6px;
  border-radius: 12px;
}

.footer--ppdb {
  margin-top: 0;
}

.footer__inner--ppdb {
  border-top: 2px solid rgba(0, 0, 0, 0.18);
}

@media (max-width: 1240px) {
  .topbar__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .menu {
    justify-content: center;
  }

  .loginBtn {
    justify-self: center;
  }

  .heroGrid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .heroCenter {
    padding-bottom: 0;
  }

  .heroRight {
    justify-items: center;
  }
}

@media (max-width: 820px) {
  .heroTop {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .heroSeal {
    justify-items: center;
  }

  .heroSectionTitle {
    font-size: 34px;
  }

  .heroBullets {
    grid-template-columns: 1fr 1fr;
    font-size: 22px;
  }

  .heroContacts {
    font-size: 16px;
  }

  .photoBlob {
    width: min(520px, 100%);
  }

  .promoSeal {
    width: min(340px, 100%);
  }

  .ppdbLinks__inner {
    grid-template-columns: 1fr;
  }
}
