/* ==========================================================
   PILIH — MPI CAREER PORTAL
   Single Apply Job Vacancies
========================================================== */

:root {
  --p-navy: #202550;
  --p-dark: #181d42;
  --p-blue: #2f6fae;
  --p-soft: #edf4fb;
  --p-text: #17213a;
  --p-muted: #6f7d91;
  --p-line: #e3e8ef;
  --p-bg: #f6f8fb;
}

.mpi-choice-page {
  min-height: calc(100vh - 82px);
  background: var(--p-bg);
  color: var(--p-text);
}

.mpi-choice-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* HERO */

.mpi-choice-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--p-dark) 0%,
    var(--p-navy) 58%,
    #294f7e 100%
  );
  color: #fff;
}

.mpi-choice-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.mpi-choice-hero::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: 80px;
  top: -180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.mpi-choice-hero .mpi-choice-container {
  position: relative;
  z-index: 1;
  padding: 48px 0 54px;
}

.mpi-choice-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-top: 25px;
}

.mpi-choice-eyebrow-line {
  width: 35px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.mpi-choice-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 48px;
  margin-top: 27px;
}

.mpi-choice-heading h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(42px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -2.4px;
}

.mpi-choice-heading h1 em {
  color: #75a8d8;
  font-style: normal;
}

.mpi-choice-heading p {
  max-width: 430px;
  margin: 0 0 5px auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.7;
}

/* OPTIONS */

.mpi-choice-options {
  padding: 42px 0 56px;
  background: var(--p-bg);
}

.mpi-choice-section-head {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: end;
  margin-bottom: 20px;
}

.mpi-choice-label {
  display: block;
  margin-bottom: 13px;
  color: var(--p-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mpi-choice-section-head h2 {
  margin: 0;
  color: var(--p-navy);
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.mpi-choice-section-head p {
  margin: 0 0 2px;
  color: var(--p-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* SINGLE CARD */

.mpi-choice-grid-single {
  grid-template-columns: minmax(0, 500px);
  justify-content: center;
}

.mpi-choice-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 20px 22px 19px;
  border: 1px solid var(--p-navy);
  border-radius: 4px;
  background: var(--p-navy);
  color: #fff;
  text-decoration: none !important;
  box-shadow: 0 12px 35px rgba(32, 37, 80, 0.15);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.mpi-choice-card:hover {
  transform: translateY(-5px);
  color: #fff;
  box-shadow: 0 20px 45px rgba(32, 37, 80, 0.25);
}

.mpi-choice-card-top,
.mpi-choice-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mpi-choice-number {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mpi-choice-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
}

.mpi-choice-card-content {
  flex: 1;
  padding-top: 30px;
}

.mpi-choice-card-label {
  display: block;
  margin-bottom: 8px;
  color: #8bb8e4;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mpi-choice-card h3 {
  margin: 0;
  color: #fff;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -1.5px;
}

.mpi-choice-card-content p {
  max-width: 440px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

.mpi-choice-card-action {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.mpi-choice-card-action i {
  transition: transform 0.25s ease;
}

.mpi-choice-card:hover .mpi-choice-card-action i {
  transform: translateX(4px);
}

/* NOTE */

.mpi-choice-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin: 22px auto 0;
  padding: 11px 14px;
  border: 1px solid var(--p-line);
  background: rgba(255, 255, 255, 0.72);
}

.mpi-choice-note i {
  color: var(--p-blue);
  font-size: 13px;
}

.mpi-choice-note p {
  margin: 0;
  color: var(--p-muted);
  font-size: 10px;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .mpi-choice-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .mpi-choice-heading p {
    margin-left: 0;
  }

  .mpi-choice-section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .mpi-choice-container {
    width: calc(100% - 32px);
  }

  .mpi-choice-hero .mpi-choice-container {
    padding: 42px 0 48px;
  }

  .mpi-choice-heading h1 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }

  .mpi-choice-options {
    padding: 40px 0 52px;
  }

  .mpi-choice-grid-single {
    grid-template-columns: 1fr;
  }

  .mpi-choice-card {
    min-height: 285px;
  }

  .mpi-choice-card-content {
    padding-top: 28px;
  }
}

@media (max-width: 480px) {
  .mpi-choice-heading h1 {
    font-size: 36px;
  }

  .mpi-choice-section-head h2 {
    font-size: 27px;
  }

  .mpi-choice-card {
    min-height: 295px;
    padding: 21px 20px 19px;
  }

  .mpi-choice-card h3 {
    font-size: 31px;
  }

  .mpi-choice-card-content {
    padding-top: 30px;
  }
}

/* ==========================================================
   PREMIUM MOTION — subtle, modern, not distracting
========================================================== */

@keyframes mpiChoiceReveal {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mpiChoiceHeroReveal {
  0% {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes mpiChoiceOrbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, -12px, 0) scale(1.035);
  }
}

@keyframes mpiChoiceOrbFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(16px, 13px, 0);
  }
}

@keyframes mpiChoiceLineGlow {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.75);
    transform-origin: left;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes mpiChoiceIconPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(117, 168, 216, 0);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(117, 168, 216, 0.08);
  }
}

@keyframes mpiChoiceShine {
  0% {
    transform: translateX(-130%) skewX(-18deg);
    opacity: 0;
  }
  18% {
    opacity: 0.14;
  }
  45%,
  100% {
    transform: translateX(180%) skewX(-18deg);
    opacity: 0;
  }
}

/* Hero entrance */
.mpi-choice-eyebrow {
  animation: mpiChoiceHeroReveal 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.mpi-choice-heading h1 {
  animation: mpiChoiceHeroReveal 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s
    both;
}

.mpi-choice-heading p {
  animation: mpiChoiceHeroReveal 0.65s ease-out 0.2s both;
}

/* Slow background movement — gives depth without moving the layout */
.mpi-choice-hero::before {
  animation: mpiChoiceOrbFloat 8s ease-in-out infinite;
}

.mpi-choice-hero::after {
  animation: mpiChoiceOrbFloatTwo 10s ease-in-out infinite;
}

/* Small animated accent */
.mpi-choice-eyebrow-line {
  animation: mpiChoiceLineGlow 2.4s ease-in-out infinite;
}

/* Content reveal */
.mpi-choice-section-head {
  animation: mpiChoiceReveal 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 0.14s both;
}

.mpi-choice-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: mpiChoiceReveal 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) 0.24s both;
  transition:
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.42s ease;
}

/* Soft light sweep on first load/hover */
.mpi-choice-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30%;
  left: 0;
  width: 28%;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}

.mpi-choice-card:hover::before {
  animation: mpiChoiceShine 1.05s ease-out;
}

/* Decorative ring inside the card */
.mpi-choice-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -125px;
  top: -125px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 24px rgba(255, 255, 255, 0.018),
    0 0 0 48px rgba(255, 255, 255, 0.012);
  pointer-events: none;
  transition:
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.45s ease;
}

.mpi-choice-card:hover {
  transform: translateY(-7px);
  border-color: rgba(117, 168, 216, 0.45);
  box-shadow:
    0 24px 55px rgba(32, 37, 80, 0.25),
    0 0 0 1px rgba(117, 168, 216, 0.05);
}

.mpi-choice-card:hover::after {
  transform: scale(1.18);
  opacity: 0.9;
}

/* Keep actual content above decorative layers */
.mpi-choice-card-top,
.mpi-choice-card-content,
.mpi-choice-card-action {
  position: relative;
  z-index: 2;
}

.mpi-choice-icon {
  position: relative;
  z-index: 3;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.35s ease,
    color 0.35s ease;
}

.mpi-choice-card:hover .mpi-choice-icon {
  transform: translateY(-3px) rotate(-4deg);
  background: rgba(255, 255, 255, 0.16);
  animation: mpiChoiceIconPulse 1.8s ease-in-out infinite;
}

/* Typography reacts subtly on hover */
.mpi-choice-card h3 {
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    letter-spacing 0.4s ease;
}

.mpi-choice-card:hover h3 {
  transform: translateX(2px);
  letter-spacing: -1.2px;
}

.mpi-choice-card-action i {
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mpi-choice-card:hover .mpi-choice-card-action i {
  transform: translateX(7px);
}

/* Note appears slightly elevated on hover */
.mpi-choice-note {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.mpi-choice-note:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 174, 0.25);
  box-shadow: 0 10px 28px rgba(32, 37, 80, 0.06);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .mpi-choice-eyebrow,
  .mpi-choice-heading h1,
  .mpi-choice-heading p,
  .mpi-choice-section-head,
  .mpi-choice-card,
  .mpi-choice-hero::before,
  .mpi-choice-hero::after,
  .mpi-choice-eyebrow-line {
    animation: none !important;
  }

  .mpi-choice-card,
  .mpi-choice-card::before,
  .mpi-choice-card::after,
  .mpi-choice-icon,
  .mpi-choice-card h3,
  .mpi-choice-card-action i,
  .mpi-choice-note {
    transition: none !important;
  }
}

/* ==========================================================
   V5 — DYNAMIC PREMIUM MOTION
========================================================== */

@keyframes mpiGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes mpiFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  33% {
    transform: translate3d(-18px, -12px, 0);
  }
  66% {
    transform: translate3d(12px, -20px, 0);
  }
}

@keyframes mpiFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  35% {
    transform: translate3d(22px, 12px, 0);
  }
  70% {
    transform: translate3d(-10px, 22px, 0);
  }
}

@keyframes mpiCardGlow {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.04);
  }
}

@keyframes mpiArrowNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@keyframes mpiNotePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(47, 111, 174, 0);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(47, 111, 174, 0.045);
  }
}

/* Animated premium gradient */
.mpi-choice-hero {
  background: linear-gradient(
    115deg,
    #151a3b,
    #202550 38%,
    #294f7e 72%,
    #202550
  );
  background-size: 260% 260%;
  animation: mpiGradientFlow 16s ease infinite;
}

/* Floating hero atmosphere */
.mpi-choice-hero::before {
  animation:
    mpiFloatOne 11s ease-in-out infinite,
    mpiCardGlow 7s ease-in-out infinite;
}

.mpi-choice-hero::after {
  animation: mpiFloatTwo 14s ease-in-out infinite;
}

/* Moving light streak across hero */
.mpi-choice-hero .mpi-choice-container::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 1px;
  right: 8%;
  top: 43%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: rotate(-25deg);
  animation: mpiFloatTwo 8s ease-in-out infinite;
}

/* Card gets a subtle living glow */
.mpi-choice-card::after {
  animation: mpiCardGlow 6s ease-in-out infinite;
}

/* Icon has a restrained idle motion */
.mpi-choice-icon {
  animation: mpiNotePulse 3.5s ease-in-out infinite;
}

/* Hover gets a slightly stronger response */
.mpi-choice-card:hover .mpi-choice-icon {
  animation:
    mpiChoiceIconPulse 1.6s ease-in-out infinite,
    mpiFloatOne 3.5s ease-in-out infinite;
}

.mpi-choice-card:hover .mpi-choice-card-action i {
  animation: mpiArrowNudge 0.8s ease-in-out infinite;
}

/* Note stays subtly alive */
.mpi-choice-note {
  animation: mpiNotePulse 4s ease-in-out 1.2s infinite;
}

/* Mouse-follow spotlight, activated by JS */
.mpi-choice-card::selection {
  background: transparent;
}

.mpi-choice-card .mpi-card-spotlight {
  position: absolute;
  z-index: 1;
  width: 260px;
  height: 260px;
  left: var(--spot-x, 50%);
  top: var(--spot-y, 50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(117, 168, 216, 0.13) 0%,
    rgba(117, 168, 216, 0.045) 35%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mpi-choice-card.is-pointer .mpi-card-spotlight {
  opacity: 1;
}

/* Keep text above spotlight */
.mpi-choice-card .mpi-choice-card-top,
.mpi-choice-card .mpi-choice-card-content,
.mpi-choice-card .mpi-choice-card-action {
  z-index: 3;
}

/* Mobile: don't run cursor effects */
@media (max-width: 700px) {
  .mpi-choice-hero {
    animation-duration: 20s;
  }

  .mpi-choice-card .mpi-card-spotlight {
    display: none;
  }

  .mpi-choice-card:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mpi-choice-hero,
  .mpi-choice-hero::before,
  .mpi-choice-hero::after,
  .mpi-choice-hero .mpi-choice-container::before,
  .mpi-choice-card::after,
  .mpi-choice-icon,
  .mpi-choice-note,
  .mpi-choice-card:hover .mpi-choice-icon,
  .mpi-choice-card:hover .mpi-choice-card-action i {
    animation: none !important;
  }

  .mpi-choice-card {
    transform: none !important;
  }
}

/* ==========================================================
   V6 — KINETIC TYPOGRAPHY
   Elegant text movement, subtle and professional
========================================================== */

@keyframes mpiTextRise {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mpiTextDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -2px, 0);
  }
}

@keyframes mpiTextShimmer {
  0% {
    background-position: 160% 50%;
  }
  100% {
    background-position: -60% 50%;
  }
}

@keyframes mpiUnderlineFlow {
  0%,
  100% {
    transform: scaleX(0.72);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* The main hero title is composed by JS into small word units. */
.mpi-kinetic-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: mpiTextRise 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform, opacity;
}

.mpi-choice-heading h1 .mpi-kinetic-word:nth-child(1) {
  animation-delay: 0.12s;
}
.mpi-choice-heading h1 .mpi-kinetic-word:nth-child(2) {
  animation-delay: 0.19s;
}
.mpi-choice-heading h1 .mpi-kinetic-word:nth-child(3) {
  animation-delay: 0.26s;
}
.mpi-choice-heading h1 .mpi-kinetic-word:nth-child(4) {
  animation-delay: 0.33s;
}
.mpi-choice-heading h1 .mpi-kinetic-word:nth-child(5) {
  animation-delay: 0.4s;
}

/* The blue accent word gets a refined moving highlight. */
.mpi-choice-heading h1 em {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #75a8d8 0%,
    #75a8d8 38%,
    #d8eaff 50%,
    #75a8d8 62%,
    #75a8d8 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    mpiTextShimmer 5s ease-in-out 1.15s infinite,
    mpiTextDrift 4.5s ease-in-out 1.2s infinite;
}

/* Supporting copy gently settles after the title. */
.mpi-choice-heading p {
  animation:
    mpiChoiceHeroReveal 0.65s ease-out 0.58s both,
    mpiTextDrift 6s ease-in-out 1.5s infinite;
}

/* Section heading gets a quiet upward breathing motion. */
.mpi-choice-section-head h2 {
  animation:
    mpiTextRise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.32s both,
    mpiTextDrift 7s ease-in-out 1.7s infinite;
}

/* Card label/title appear sequentially. */
.mpi-choice-card-label {
  animation: mpiTextRise 0.55s ease-out 0.55s both;
}

.mpi-choice-card h3 {
  animation: mpiTextRise 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 0.62s both;
}

.mpi-choice-card-content p {
  animation: mpiTextRise 0.55s ease-out 0.72s both;
}

/* Elegant animated line beneath the card action. */
.mpi-choice-card-action {
  position: relative;
}

.mpi-choice-card-action::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 62px;
  height: 1px;
  background: rgba(117, 168, 216, 0.65);
  transform-origin: left center;
  animation: mpiUnderlineFlow 3.2s ease-in-out 1s infinite;
}

/* Small text in the note is also introduced softly. */
.mpi-choice-note p {
  animation: mpiTextRise 0.5s ease-out 0.9s both;
}

@media (prefers-reduced-motion: reduce) {
  .mpi-kinetic-word,
  .mpi-choice-heading h1 em,
  .mpi-choice-heading p,
  .mpi-choice-section-head h2,
  .mpi-choice-card-label,
  .mpi-choice-card h3,
  .mpi-choice-card-content p,
  .mpi-choice-card-action::before,
  .mpi-choice-note p {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .mpi-choice-heading h1 em {
    background: none;
    color: #75a8d8;
  }
}

/* ==========================================================
   RECRUITMENT NOTICE MODAL
   Same visual reference as PUBLIC CAREER HOME
========================================================== */

.mpi-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.mpi-notice-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mpi-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 38, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.mpi-notice-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px 34px 30px;
  background: #fff;
  border: 1px solid rgba(32, 38, 90, 0.08);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s ease;
}

.mpi-notice-modal.show .mpi-notice-card {
  transform: translateY(0) scale(1);
}

.mpi-notice-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff4df;
  color: #c47a00;
  font-size: 21px;
}

.mpi-notice-label {
  display: block;
  margin-bottom: 8px;
  color: #7c8995;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mpi-notice-content h2 {
  margin: 0 0 17px;
  color: var(--p-navy);
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
}

.mpi-notice-content p {
  margin: 0 auto 12px;
  max-width: 430px;
  color: #53616e;
  font-size: 14px;
  line-height: 1.75;
}

.mpi-notice-content strong {
  color: var(--p-navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mpi-notice-button {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--p-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.mpi-notice-button:hover {
  background: var(--p-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(32, 38, 90, 0.18);
}

.mpi-notice-button:focus-visible {
  outline: 3px solid rgba(63, 131, 189, 0.3);
  outline-offset: 3px;
}

body.mpi-modal-open {
  overflow: hidden;
}

@media (max-width: 576px) {
  .mpi-notice-modal {
    padding: 18px;
  }

  .mpi-notice-card {
    padding: 28px 22px 22px;
    border-radius: 17px;
  }

  .mpi-notice-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    font-size: 18px;
  }

  .mpi-notice-content h2 {
    font-size: 23px;
  }

  .mpi-notice-content p {
    font-size: 13px;
    line-height: 1.7;
  }
}
