* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #05071b;
  color: #fff;
  min-height: 100vh;
}

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(5, 7, 27, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-container {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 34px;
  font-weight: 800;
}

.logo-text {
  display: flex;
  white-space: nowrap;
}

.logo i {
  color: #b25cff;
}

.kenzi-white {
  color: #fff;
}

.kenzi-play {
  color: #c975ff;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 40px;
}

/* CONTENT */

.container {
  max-width: 1000px;
  margin: auto;

  padding: 120px 20px 40px;
}

.cart-card {
  max-width: 700px;
  margin: auto;
  background: #090d2b;
  border: 1px solid rgba(173, 92, 255, 0.15);
  border-radius: 28px;
  padding: 30px;
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.cart-title i {
  color: #c975ff;
  font-size: 28px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item h3 {
  margin-bottom: 4px;
}

.cart-item p {
  color: #9da7c8;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.delete-btn {
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(255, 80, 80, 0.15);
  color: #ff6d6d;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  padding-top: 25px;
  font-size: 22px;
  font-weight: 700;
}

.cart-total strong {
  color: #c975ff;
}

.cart-actions {
  margin-top: 30px;
  display: grid;
  gap: 15px;
}

.checkout-btn,
.continue-btn {
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
}

.checkout-btn {
  background: linear-gradient(90deg, #a855f7, #ec6db5);
  color: white;
}

.continue-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
}

/* MOBILE */

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .item-right {
    width: 100%;
    justify-content: space-between;
  }

  .logo {
    font-size: 28px;
  }
}

/* =========================================
   LOADING SCREEN
========================================= */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(5, 8, 26, 0.75);
  backdrop-filter: blur(18px);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(176, 92, 255, 0.25);
  filter: blur(120px);
  animation: pulseLoading 2.5s ease-in-out infinite;
}

.loading-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.loading-content i {
  font-size: 42px;
  color: #b05cff;
  margin-bottom: 18px;
  animation: floatIcon 2s ease-in-out infinite;
}

.loading-content h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.loading-bar {
  width: 260px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loading-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b05cff, #ff78f2);
  animation: loadingMove 1.2s linear infinite;
}

.loading-content p {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes loadingMove {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(350%);
  }
}

@keyframes pulseLoading {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}
