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

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

/* Water Wave Animation - Blue Theme */
.water-waves {
  display: none !important;
}

.footer-support-btn {
  display: none !important;
}

.walking-sticker {
  display: none !important;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%2340C4FF' opacity='.4'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: wave 8s linear infinite;
}

.wave:nth-child(2) {
  bottom: 15px;
  opacity: 0.5;
  animation: wave 6s linear reverse infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%230088CC' opacity='.35'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
}

.wave:nth-child(3) {
  bottom: 30px;
  opacity: 0.6;
  animation: wave 10s linear infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%2364D5FF' opacity='.45'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
}

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.banner-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF4FA3, transparent);
  margin: 0 20px 16px;
}

.banner-section {
  padding: 0 12px 16px;
}

@media (min-width: 400px) {
  .banner-section {
    padding: 0 16px 20px;
  }
}

.banner-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  box-shadow: 0 4px 20px var(--shadow-pink);
}

@media (min-width: 400px) {
  .banner-slider {
    border-radius: 20px;
    box-shadow: 0 6px 28px var(--shadow-pink);
  }
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.banner-img.active {
  opacity: 1;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--pink-primary);
  width: 28px;
  border-radius: 4px;
}

.walking-sticker {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  pointer-events: none;
}

.walking-mascot {
  width: 60px;
  height: 60px;
  object-fit: contain;
  animation: walk 2s ease-in-out infinite, bounce 0.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(255, 79, 163, 0.3));
}

@keyframes walk {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 480px) {
  .walking-sticker { bottom: 15px; left: 15px; }
  .walking-mascot { width: 50px; height: 50px; }
}

:root {
  --pink-primary: #FF4FA3;
  --pink-light: #FF7AB8;
  --pink-soft: #FFE0F0;
  --blush-bg: #FFF5FA;
  --white: #FFFFFF;
  --text-dark: #2D2D3A;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --card-border: #FFE8F4;
  --shadow-pink: rgba(255, 79, 163, 0.15);
  --shadow-soft: rgba(0, 0, 0, 0.05);
  --success: #10B981;
  --error: #EF4444;
}

[data-theme="dark"] {
  --pink-primary: #FF6BB3;
  --pink-light: #FF8AC5;
  --pink-soft: #3D2A35;
  --blush-bg: #1A1A2E;
  --white: #252538;
  --text-dark: #F5F5F7;
  --text-gray: #B0B0C0;
  --text-light: #8888A0;
  --card-border: #3D3D55;
  --shadow-pink: rgba(255, 79, 163, 0.25);
  --shadow-soft: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
  background: #1A1A2E;
}

[data-theme="dark"] .header {
  background: #252538;
  border-color: #3D3D55;
}

[data-theme="dark"] .card {
  background: #252538;
  border-color: #3D3D55;
}

[data-theme="dark"] .footer {
  background: #151525;
}

[data-theme="dark"] .product-card {
  background: #2A2A42;
  border-color: #3D3D55;
}

[data-theme="dark"] .modal-content {
  background: #252538;
}

[data-theme="dark"] .modal-header {
  background: linear-gradient(135deg, #FF6BB3 0%, #FF8AC5 100%);
}

[data-theme="dark"] input,
[data-theme="dark"] select {
  background: #1A1A2E;
  border-color: #3D3D55;
  color: #F5F5F7;
}

[data-theme="dark"] .step-header {
  background: #2A2A42;
}

[data-theme="dark"] .payment-option {
  background: #2A2A42;
  border-color: #3D3D55;
}

[data-theme="dark"] .game-name,
[data-theme="dark"] .game-details h2 {
  color: #F5F5F7;
}

[data-theme="dark"] .game-badge,
[data-theme="dark"] .game-details p {
  color: #B0B0C0;
}

[data-theme="dark"] .step-title,
[data-theme="dark"] .step-number {
  color: #F5F5F7;
}

[data-theme="dark"] label {
  color: #F5F5F7;
}

[data-theme="dark"] .product-name {
  color: #F5F5F7;
}

[data-theme="dark"] .product-price {
  color: #FF6BB3;
}

[data-theme="dark"] .side-menu {
  background: #252538;
}

[data-theme="dark"] .menu-item {
  color: #F5F5F7;
}

[data-theme="dark"] .menu-footer p {
  color: #8888A0;
}

[data-theme="dark"] .payment-option span {
  color: #F5F5F7;
}

[data-theme="dark"] .order-summary-row span,
[data-theme="dark"] .order-summary-row strong {
  color: #F5F5F7;
}

[data-theme="dark"] .terms-label {
  color: #B0B0C0;
}

[data-theme="dark"] .modal-body {
  color: #F5F5F7;
}

[data-theme="dark"] .qr-payment-container {
  color: #F5F5F7;
}

[data-theme="dark"] .info-row span {
  color: #B0B0C0;
}

[data-theme="dark"] .footer-description {
  color: #B0B0C0;
}

body {
  font-family: 'Poppins', 'Noto Sans Khmer', sans-serif;
  background: linear-gradient(180deg, var(--blush-bg) 0%, #FFF0F7 100%);
  min-height: 100vh;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.page-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--blush-bg);
  position: relative;
  padding-bottom: 100px;
}

@media (min-width: 768px) {
  .page-container {
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .page-container {
    max-width: 100%;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

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

.back-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--blush-bg);
  color: var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.25s ease;
}

.back-btn:hover {
  background: var(--pink-soft);
  transform: scale(1.05);
}

.logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: none;
  background: var(--blush-bg);
  color: var(--pink-primary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  background: var(--pink-soft);
  transform: scale(1.05);
}

.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}

.side-menu.open {
  right: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(4px);
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-header {
  display: flex;
  align-items: center;
  padding: 24px 20px;
  gap: 14px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
}

.menu-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--white);
  padding: 4px;
}

.menu-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex: 1;
}

.close-menu {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.close-menu:hover {
  background: rgba(255,255,255,0.3);
}

.menu-nav {
  flex: 1;
  padding: 20px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  border-left: 4px solid transparent;
}

.menu-item:hover,
.menu-item.active {
  background: var(--blush-bg);
  border-left-color: var(--pink-primary);
  color: var(--pink-primary);
}

.menu-item i {
  width: 24px;
  text-align: center;
  font-size: 18px;
}

.menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.menu-footer p {
  font-size: 12px;
  color: var(--text-light);
}

.product-banner {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.banner-title {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.main-content {
  padding: 24px 20px;
}

.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding: 0 10px;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 90px;
}

.stepper-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--text-light);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  border: 3px solid transparent;
}

.stepper-step.active .stepper-number {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  color: var(--white);
  box-shadow: 0 6px 24px var(--shadow-pink);
  transform: scale(1.1);
}

.stepper-step.completed .stepper-number {
  background: var(--success);
  color: var(--white);
}

.stepper-step.completed .stepper-number::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.stepper-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
}

.stepper-step.active .stepper-label {
  color: var(--pink-primary);
  font-weight: 600;
}

.stepper-line {
  flex: 1;
  height: 4px;
  background: var(--pink-soft);
  margin: 0 8px;
  margin-bottom: 28px;
  border-radius: 2px;
  transition: all 0.35s ease;
}

.stepper-line.completed {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
}

.card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 24px var(--shadow-soft);
}

.game-info-card {
  display: flex;
  gap: 18px;
}

.game-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.game-details {
  flex: 1;
  min-width: 0;
}

.game-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.game-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-gray);
}

.feature-item i {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.feature-item i.fa-check-circle,
.feature-item i.fa-clock,
.feature-item i.fa-headset {
  color: var(--success);
}

.feature-item i.fa-ban {
  color: var(--error);
}

.game-description p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.game-description p:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--shadow-pink);
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
}

.info-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blush-bg);
  border: none;
  color: var(--pink-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.info-btn:hover {
  background: var(--pink-soft);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.required {
  color: var(--pink-primary);
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--card-border);
  border-radius: 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: all 0.25s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 4px var(--shadow-pink);
}

.form-input::placeholder {
  color: var(--text-light);
}

.check-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  border: none;
  border-radius: 16px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px var(--shadow-pink);
}

.check-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 79, 163, 0.35);
}

.check-btn:active {
  transform: translateY(0);
}

.check-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.verification-section,
.products-section {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 24px var(--shadow-soft);
}

.section-header-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--shadow-pink);
}

.section-header-box h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
}

.game-info-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 24px var(--shadow-soft);
  display: flex;
  gap: 18px;
}

.game-icon-wrapper .game-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.game-description {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 24px var(--shadow-soft);
}

.warning-text {
  color: var(--error);
  background: #FEF2F2;
  padding: 14px;
  border-radius: 12px;
  margin-top: 12px;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.warning-text i {
  margin-top: 2px;
}

.security-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #ECFDF5;
  border-radius: 14px;
  margin-top: 16px;
  color: var(--success);
  font-size: 13px;
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 16px;
}

.form-group {
  position: relative;
}

.pay-now-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  border: none;
  border-radius: 16px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px var(--shadow-pink);
}

.pay-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 79, 163, 0.35);
}

.pay-now-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: var(--pink-primary);
}

.security-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--soft-pink);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-gray);
}

.security-notice i {
  color: var(--pink-primary);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.payment-modal-content {
  background: var(--white);
  border-radius: 28px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-section {
  text-align: center;
  padding: 20px 0;
}

.qr-image {
  max-width: 240px;
  margin: 0 auto 20px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.timer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--pink-primary);
  margin-bottom: 16px;
}

.checking-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-gray);
  font-size: 14px;
}

.btn-primary {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  border: none;
  border-radius: 16px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px var(--shadow-pink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 79, 163, 0.35);
}

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

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.verification-result {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: #ECFDF5;
  border: 2px solid var(--success);
  display: none;
}

.verification-result.show {
  display: block;
}

.result-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.result-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-label {
  font-size: 12px;
  color: var(--text-light);
}

.result-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.error-message {
  margin-top: 18px;
  padding: 16px 18px;
  background: #FEF2F2;
  border: 2px solid var(--error);
  border-radius: 16px;
  display: none;
  align-items: center;
  gap: 12px;
  color: var(--error);
}

.error-message.show {
  display: flex;
}

.error-message i {
  font-size: 20px;
  flex-shrink: 0;
}

.error-message span {
  font-size: 14px;
  flex: 1;
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 18px;
}

.section-subtitle i {
  color: #FBBF24;
}

.category-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--pink-primary);
}

.category-title:first-of-type {
  margin-top: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
}

.product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--card-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: var(--pink-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-pink);
}

.product-card.selected {
  border-color: var(--pink-primary);
  background: var(--blush-bg);
  box-shadow: 0 6px 20px var(--shadow-pink);
}

.product-image,
.product-icon {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush-bg);
  padding: 10px;
}

.product-image img,
.product-icon img {
  height: 50px;
  object-fit: contain;
}

.product-info {
  padding: 10px 8px;
  text-align: center;
  background: var(--white);
}

.product-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--pink-primary);
}

@media (min-width: 768px) {
  .product-card {
    border-radius: 16px;
  }
  .product-image,
  .product-icon {
    height: 80px;
    padding: 12px;
  }
  .product-image img,
  .product-icon img {
    height: 56px;
  }
  .product-info {
    padding: 12px 10px;
  }
  .product-name {
    font-size: 13px;
  }
  .product-price {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .product-card {
    border-radius: 18px;
  }
  .product-image,
  .product-icon {
    height: 90px;
    padding: 14px;
  }
  .product-image img,
  .product-icon img {
    height: 60px;
  }
  .product-info {
    padding: 14px;
  }
  .product-name {
    font-size: 14px;
  }
  .product-price {
    font-size: 16px;
  }
}

.sticky-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 18px 20px;
  box-shadow: 0 -6px 32px rgba(0,0,0,0.1);
  z-index: 500;
  display: none;
  border-top: 1px solid var(--card-border);
}

.sticky-summary.show {
  display: block;
}

.sticky-summary-content {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-summary-info {
  flex: 1;
  min-width: 0;
}

.sticky-product {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.sticky-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--pink-primary);
}

.sticky-btn {
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  border: none;
  border-radius: 14px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px var(--shadow-pink);
  white-space: nowrap;
}

.sticky-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 79, 163, 0.4);
}

.footer {
  background: #FFFFFF;
  padding: 40px 20px 30px;
  text-align: left;
  position: relative;
  z-index: 10;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
  border-top: 2px solid var(--pink-primary);
}

.footer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-brand-name span {
  color: var(--pink-primary);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-gray);
}

.footer-description {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  background: var(--pink-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social-btn:hover {
  background: var(--pink-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--pink-primary);
  border-radius: 2px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: var(--pink-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.footer-contact-value {
  font-size: 12px;
  color: var(--text-gray);
}

.footer-payment-text {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.footer-payment-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-payment-img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-payment-icon {
  width: 56px;
  height: 40px;
  background: var(--pink-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-payment-icon.wing {
  background: linear-gradient(135deg, #00C853, #00A843);
  color: white;
}

.footer-payment-icon.aba {
  background: linear-gradient(135deg, #B8860B, #DAA520);
  color: white;
}

.footer-payment-icon.khqr {
  background: var(--pink-soft);
  border: 1px solid var(--card-border);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.footer-copyright strong {
  color: var(--text-dark);
}

.footer-developer {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.footer-developer a {
  color: var(--pink-primary);
  text-decoration: none;
}

.footer-links-bottom {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links-bottom a {
  color: var(--text-gray);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-bottom a:hover {
  color: var(--pink-primary);
}

.footer-links-bottom .dot {
  color: #444;
}

.footer-support-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #40C4FF 0%, #0088CC 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(64, 196, 255, 0.4);
  z-index: 1000;
  transition: all 0.3s;
}

.footer-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(64, 196, 255, 0.5);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.contact-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

.contact-buttons {
  display: flex;
  gap: 12px;
}

.contact-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-btn.telegram {
  background: linear-gradient(135deg, #40C4FF 0%, #0088CC 100%);
}

.contact-btn.facebook {
  background: linear-gradient(135deg, #5B8DEE 0%, #1877F2 100%);
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--pink-primary);
}

.footer-links .divider {
  margin: 0 16px;
  color: var(--card-border);
}

.copyright {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.copyright strong {
  color: var(--pink-primary);
  font-weight: 600;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-methods span:first-child {
  font-size: 13px;
  color: var(--text-gray);
}

.payment-badge {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.payment-badge.khqr {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
}

.payment-badge.aba {
  background: linear-gradient(135deg, #4F8EFF 0%, #0052CC 100%);
}

.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.payment-modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 28px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--card-border);
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.close-modal {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: var(--blush-bg);
  color: var(--pink-primary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.close-modal:hover {
  background: var(--pink-soft);
}

.modal-body {
  padding: 24px;
}

.order-summary {
  background: var(--blush-bg);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
}

.payment-method-section {
  margin-bottom: 20px;
}

.payment-method-section .section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-method-section .section-title i {
  color: var(--pink-primary);
}

.payment-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}

.payment-option:hover {
  border-color: var(--pink-light);
}

.payment-option.selected {
  border-color: var(--pink-primary);
  background: var(--pink-soft);
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-logo {
  width: 50px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.payment-option span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.terms-section {
  margin-bottom: 20px;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.terms-checkbox input[type="checkbox"] {
  display: none;
}

.terms-checkbox .checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--card-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: var(--white);
}

.terms-checkbox input:checked + .checkmark {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
}

.terms-checkbox input:checked + .checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 12px;
}

.terms-text {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.4;
}

.terms-text a {
  color: var(--pink-primary);
  text-decoration: none;
  font-weight: 500;
}

.terms-text a:hover {
  text-decoration: underline;
}

.btn-buy {
  width: 100%;
}

.btn-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.payment-selection {
  margin-bottom: 20px;
}

.payment-method-card {
  display: inline-flex;
  padding: 14px 20px;
  border: 2px solid var(--pink-primary);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--pink-soft);
}

.payment-method-card input[type="radio"] {
  display: none;
}

.payment-method-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-method-logo {
  width: 45px;
  height: 30px;
  object-fit: contain;
  border-radius: 4px;
}

.payment-khqr-logo {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

.bakong-payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bakong-payment-card.selected {
  border-color: var(--pink-primary);
}

.bakong-payment-card input[type="radio"] {
  display: none;
}

.bakong-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  overflow: hidden;
}

.bakong-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bakong-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bakong-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.bakong-card-subtitle {
  font-size: 13px;
  color: var(--text-gray);
}

.bakong-card-check {
  font-size: 24px;
  color: var(--pink-primary);
}

.bakong-card-check i {
  opacity: 0;
  transition: opacity 0.2s;
}

.bakong-payment-card.selected .bakong-card-check i {
  opacity: 1;
}

.payment-method-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.terms-agreement {
  margin-top: 16px;
}

.terms-agree-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.terms-agree-checkbox input[type="checkbox"] {
  display: none;
}

.terms-checkmark {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid var(--pink-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: var(--white);
}

.terms-agree-checkbox input:checked + .terms-checkmark {
  background: var(--pink-primary);
}

.terms-agree-checkbox input:checked + .terms-checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 12px;
}

.terms-agree-text {
  font-size: 14px;
  color: var(--text-dark);
}

.terms-agree-text a {
  color: var(--pink-primary);
  text-decoration: none;
  font-weight: 600;
}

.terms-agree-text a:hover {
  text-decoration: underline;
}

.sticky-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--card-border);
}

.order-row:last-child {
  border-bottom: none;
  padding-top: 14px;
  margin-top: 6px;
}

.order-label {
  color: var(--text-gray);
}

.order-value {
  color: var(--text-dark);
  font-weight: 500;
  text-align: right;
}

.order-value.total {
  color: var(--pink-primary);
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .product-image {
    height: 70px;
  }
  
  .product-image img {
    height: 50px;
  }
  
  .sticky-summary-content {
    flex-direction: column;
  }
  
  .sticky-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .main-content {
    padding: 28px 32px;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  
  .product-image {
    height: 100px;
  }
  
  .product-image img {
    height: 70px;
  }
  
  .game-icon {
    width: 100px;
    height: 100px;
  }
  
  .footer {
    padding: 40px 32px;
  }
}

@media (min-width: 1024px) {
  .main-content {
    padding: 36px 48px;
  }
  
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .product-image {
    height: 110px;
  }
  
  .product-image img {
    height: 80px;
  }
  
  .game-icon {
    width: 110px;
    height: 110px;
  }
  
  .footer {
    padding: 48px;
  }
  
  .sticky-summary-content {
    max-width: 1024px;
  }
}
/* QR Payment Styles */
.qr-payment-container {
  text-align: center;
  padding: 20px 0;
}

.qr-header {
  margin-bottom: 20px;
}

.qr-header .qr-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}

.qr-header h3 {
  color: var(--pink-primary);
  font-size: 20px;
  font-weight: 600;
}

.qr-code-wrapper {
  background: white;
  border: 3px solid var(--pink-soft);
  border-radius: 16px;
  padding: 16px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(255, 79, 163, 0.1);
}

.qr-code-image {
  width: 200px;
  height: 200px;
  display: block;
}

.payment-info {
  background: var(--pink-soft);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.payment-info .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.payment-info .info-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 79, 163, 0.1);
}

.payment-info .order-id {
  font-family: monospace;
  font-weight: 600;
  color: var(--pink-primary);
}

.payment-info .amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink-primary);
}

.timer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 600;
  color: var(--pink-primary);
  margin-bottom: 16px;
}

.timer-section i {
  font-size: 20px;
}

.payment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #fff9fc, #fff);
  border-radius: 10px;
  margin-bottom: 20px;
  color: var(--text-gray);
}

.payment-status i {
  color: var(--pink-primary);
}

.payment-methods {
  padding-top: 16px;
  border-top: 1px solid var(--pink-soft);
}

.payment-methods p {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.bank-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.bank-logos img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.bakong-logo {
  display: flex;
  justify-content: center;
}

.bakong-logo img {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
}

/* Success Header */
.success-header {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border-radius: 16px 16px 0 0;
}

.success-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.success-header i {
  font-size: 24px;
}

/* Success Page Styles */
.success-page {
  text-align: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.success-sticker {
  margin-bottom: 20px;
}

.sticker-bounce {
  display: inline-block;
  animation: bounce 1s ease infinite;
}

.check-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.check-circle i {
  font-size: 40px;
  color: white;
}

.sparkles {
  position: relative;
}

.sparkle {
  position: absolute;
  color: #FFD700;
  animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle.s1 { top: -60px; left: 50%; transform: translateX(-50%); }
.sparkle.s2 { top: -40px; left: 20%; animation-delay: 0.2s; }
.sparkle.s3 { top: -40px; right: 20%; animation-delay: 0.4s; }
.sparkle.s4 { top: -20px; left: 50%; transform: translateX(-50%); animation-delay: 0.6s; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.success-title {
  color: #4CAF50;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-subtitle {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 24px;
}

.order-details-card {
  background: var(--pink-soft);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.order-detail-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 79, 163, 0.1);
}

.detail-label {
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-label i {
  color: var(--pink-primary);
  width: 16px;
}

.detail-value {
  font-weight: 500;
  color: var(--text-dark);
}

.detail-value.highlight {
  color: var(--pink-primary);
  font-weight: 700;
  font-size: 16px;
}

.status-row .detail-value.status-paid {
  background: #e8f5e9;
  color: #4CAF50;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.delivery-note {
  color: var(--text-gray);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #fff9fc;
  border-radius: 8px;
  margin-bottom: 16px;
}

.delivery-note i {
  color: var(--pink-primary);
}

/* Confetti Animation */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--pink-primary);
  animation: confetti-fall 3s ease-out forwards;
}

.confetti:nth-child(1) { left: 10%; background: #FF4FA3; animation-delay: 0s; }
.confetti:nth-child(2) { left: 20%; background: #FFD700; animation-delay: 0.1s; }
.confetti:nth-child(3) { left: 30%; background: #4CAF50; animation-delay: 0.2s; }
.confetti:nth-child(4) { left: 40%; background: #2196F3; animation-delay: 0.3s; }
.confetti:nth-child(5) { left: 50%; background: #FF4FA3; animation-delay: 0.4s; }
.confetti:nth-child(6) { left: 60%; background: #FFD700; animation-delay: 0.5s; }
.confetti:nth-child(7) { left: 70%; background: #4CAF50; animation-delay: 0.6s; }
.confetti:nth-child(8) { left: 80%; background: #2196F3; animation-delay: 0.7s; }
.confetti:nth-child(9) { left: 90%; background: #FF4FA3; animation-delay: 0.8s; }
.confetti:nth-child(10) { left: 15%; background: #FFD700; animation-delay: 0.9s; }
.confetti:nth-child(11) { left: 45%; background: #4CAF50; animation-delay: 1s; }
.confetti:nth-child(12) { left: 75%; background: #2196F3; animation-delay: 1.1s; }

@keyframes confetti-fall {
  0% {
    opacity: 1;
    top: -10px;
    transform: rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    top: 100%;
    transform: rotate(720deg) scale(0);
  }
}
