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

:root {
  --ink: #393b3d;
  --muted: #606162;
  --line: #c7cbce;
  --soft: #f2f4f5;
  --panel: #ffffff;
  --blue: #007aff;
  --green: #00c851;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(0, 122, 255, 0.1), transparent 26rem),
    radial-gradient(circle at 88% 72%, rgba(0, 200, 81, 0.12), transparent 24rem),
    linear-gradient(135deg, #f2f4f5, #e8ebec);
  color: var(--ink);
  font-family: "Kumbh Sans", Arial, sans-serif;
  animation: fadeIn 700ms ease-in;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

nav {
  align-items: center;
  animation: slideDown 650ms ease-out;
  background: linear-gradient(135deg, #dee1e3, #f0f3f5);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 40px;
  width: 100%;
}

.logo {
  align-items: center;
  display: flex;
  gap: 18px;
}

.menu-mark {
  color: #25272a;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(90deg);
}

.brand-gem {
  background: linear-gradient(145deg, #fff, #d2d6db);
  border: 3px solid #303236;
  box-shadow: inset 0 0 0 7px #eef0f2;
  height: 32px;
  position: relative;
  transform: rotate(12deg);
  transition: transform 0.25s ease;
  width: 32px;
}

.logo:hover .brand-gem {
  transform: rotate(102deg) scale(1.08);
}

nav ul {
  align-items: center;
  display: flex;
  gap: 12px;
  list-style: none;
}

nav li {
  border-radius: 8px;
  cursor: default;
  overflow: hidden;
  padding: 10px 15px;
  position: relative;
  transition: all 0.25s ease;
}

nav li:hover {
  background: rgba(0, 122, 255, 0.1);
  color: var(--blue);
  transform: translateY(-2px);
}

nav li::before,
button::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  content: "";
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  transition: left 0.45s ease;
  width: 100%;
}

nav li:hover::before,
button:hover::before {
  left: 100%;
}

main {
  padding-bottom: 8px;
}

.middle {
  align-items: center;
  animation: zoomIn 760ms ease-out 180ms both;
  background:
    linear-gradient(135deg, rgba(39, 39, 46, 0.82), rgba(0, 122, 255, 0.62)),
    linear-gradient(20deg, #16181c 0%, #38404b 38%, #226ec7 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 135px;
  justify-content: center;
  margin: 10px auto 24px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: min(70%, 920px);
}

.middle::before {
  animation: shimmer 3s infinite;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  content: "";
  height: 200%;
  left: -50%;
  position: absolute;
  top: -50%;
  width: 200%;
}

.middle h1 {
  animation: pulse 2s infinite;
  font-size: 35px;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.middle p {
  font-size: 17px;
  max-width: 760px;
  padding: 0 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.box_con {
  animation: slideUp 760ms ease-out 300ms both;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  font-size: 20px;
  margin: 0 auto;
  min-height: 194px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  width: min(70%, 920px);
}

.box_con::before {
  animation: gradientMove 2s linear infinite;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--blue));
  background-size: 200% 100%;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.box,
.box2,
.box4 {
  text-align: center;
}

.box3.active {
  animation: slideIn 360ms ease-out;
}

.box4.active {
  animation: bounceIn 700ms ease-out;
  text-align: center;
}

h2 {
  background: linear-gradient(135deg, var(--blue), var(--green));
  background-clip: text;
  color: transparent;
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 21px;
}

input {
  background: var(--soft);
  border: 2px solid transparent;
  border-radius: 12px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--ink);
  font-size: 17px;
  max-width: 100%;
  min-width: min(280px, 100%);
  outline: none;
  padding: 11px 15px;
  transition: all 0.25s ease;
}

input:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
  transform: translateY(-2px);
}

button {
  background: linear-gradient(135deg, #393b3d, #2c2e30);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  margin-top: 30px;
  outline: none;
  overflow: hidden;
  padding: 12px 25px;
  position: relative;
  transition: all 0.25s ease;
}

button:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

button:active {
  transform: translateY(-1px);
}

.container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(248, 249, 250, 0.74));
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.row {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-around;
  min-height: 70px;
  padding: 8px 16px;
  position: relative;
  transition: all 0.25s ease;
}

.row:not(:last-child) {
  border-bottom: 1px solid #bdbebe;
}

.row:hover {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 200, 81, 0.1));
}

.price {
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  min-width: 150px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.details {
  align-items: center;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border: 2px solid #b8b8b8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6);
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 0;
  min-height: 46px;
  padding: 8px 15px;
  width: 180px;
}

.details:hover {
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
  transform: translateY(-3px) scale(1.04);
}

.credit-icon {
  display: block;
  height: 30px;
  object-fit: contain;
  transition: transform 0.25s ease;
  width: 30px;
}

.details:hover .credit-icon {
  transform: rotate(360deg);
}

.details span:last-child {
  font-size: 20px;
  font-weight: 800;
}

.folding {
  height: 100px;
  margin: 20px auto;
  position: relative;
  transform: rotateZ(45deg);
  width: 100px;
}

.square {
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 4px;
  height: 30px;
  position: absolute;
  right: 35%;
  top: 36%;
  transform: rotateZ(87deg);
  width: 30px;
}

.folding .sk-cube {
  float: left;
  height: 50%;
  position: relative;
  transform: scale(1.1);
  width: 50%;
}

.folding .sk-cube::before {
  animation: sk-foldCubeAngle 2.4s infinite linear both;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 2px;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform-origin: 100% 100%;
  width: 100%;
}

.folding .sk-cube2 {
  transform: scale(1.1) rotateZ(90deg);
}

.folding .sk-cube3 {
  transform: scale(1.1) rotateZ(180deg);
}

.folding .sk-cube4 {
  transform: scale(1.1) rotateZ(270deg);
}

.folding .sk-cube2::before {
  animation-delay: 0.3s;
}

.folding .sk-cube3::before {
  animation-delay: 0.6s;
}

.folding .sk-cube4::before {
  animation-delay: 0.9s;
}

.useroutput {
  color: var(--muted);
  margin-top: 30px;
  text-align: center;
}

.box4 p {
  color: var(--muted);
  line-height: 1.45;
}

.complete-btn {
  animation: glowing 2s infinite;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.para {
  animation: slideUp 760ms ease-out 520ms both;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  margin: 50px auto;
  text-align: center;
  width: min(70%, 920px);
}

.particles {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.particle {
  animation: float 6s infinite linear;
  border-radius: 50%;
  height: 4px;
  opacity: 0;
  position: absolute;
  width: 4px;
}

nav,
main {
  position: relative;
  z-index: 1;
}

.success-animation,
.verification-modal {
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 200, 81, 0.92), rgba(0, 122, 255, 0.92));
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 20;
}

.success-animation.open,
.verification-modal.open {
  display: flex;
}

.success-content,
.verification-card {
  animation: successBounce 520ms ease-out;
  color: white;
  text-align: center;
}

.success-content p,
.verification-card p {
  margin: 12px auto 0;
  max-width: 420px;
}

.success-mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  display: inline-flex;
  font-size: 32px;
  font-weight: 900;
  height: 86px;
  justify-content: center;
  margin-bottom: 20px;
  width: 86px;
}

.verification-card {
  background: rgba(21, 25, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  max-width: 480px;
  padding: 32px;
  position: relative;
  width: min(100%, 480px);
}

.verification-card h2 {
  color: #fff;
  margin-bottom: 12px;
}

.close-button {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: none;
  font-size: 18px;
  height: 34px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
}

.modal-action {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.08);
  }
  70% {
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sk-foldCubeAngle {
  0%,
  10% {
    opacity: 0;
    transform: perspective(140px) rotateX(-180deg);
  }
  25%,
  75% {
    opacity: 1;
    transform: perspective(140px) rotateX(0deg);
  }
  90%,
  100% {
    opacity: 0;
    transform: perspective(140px) rotateY(180deg);
  }
}

@keyframes glowing {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(0, 200, 81, 0.3);
  }
  50% {
    box-shadow: 0 8px 30px rgba(0, 200, 81, 0.64);
  }
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg);
  }
  10%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) rotate(360deg);
  }
}

@keyframes successBounce {
  0% {
    opacity: 0;
    transform: scale(0.66);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1042px) {
  .middle,
  .box_con,
  .para {
    width: 90%;
  }
}

@media (max-width: 750px) {
  nav {
    padding: 0 18px;
  }

  nav ul {
    gap: 4px;
  }

  nav li {
    font-size: 14px;
    padding: 8px 9px;
  }

  .middle,
  .box_con {
    width: calc(100% - 10px);
  }

  .middle h1 {
    font-size: 30px;
  }

  .middle p {
    font-size: 13px;
  }

  .box_con {
    padding: 18px 12px;
  }

  h2 {
    font-size: 28px;
  }

  .row {
    gap: 10px;
    justify-content: space-between;
  }

  .details {
    width: 150px;
  }
}

@media (max-width: 430px) {
  .brand-gem {
    display: none;
  }

  nav {
    padding: 0 10px;
  }

  nav li {
    font-size: 13px;
    padding: 8px 6px;
  }

  .price {
    font-size: 17px;
    min-width: 118px;
  }

  .details {
    min-width: 132px;
    padding: 8px 10px;
    width: 132px;
  }

  .verification-card {
    padding: 32px 18px 24px;
  }
}
