:root {
            --primary: #4e6bff;
            --primary-dark: #3a5aff;
            --accent: #00d4ff;
            --dark: #0f172a;
            --gray: #64748b;
            --light: #f8fafc;
            --border: rgba(255, 255, 255, 0.15);
            --glass: rgba(255, 255, 255, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            min-height: 100vh;
            color: white;
            padding: 20px 0;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://images.unsplash.com/photo-1557682250-33bd709cbe85?w=1920') center/cover no-repeat;
            opacity: 0.15;
            z-index: -2;
        }

        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
        }

        .shape {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            opacity: 0.1;
            animation: float 20s infinite linear;
        }

        .shape:nth-child(1) {
            width: 300px;
            height: 300px;
            top: 10%;
            left: 10%;
        }

        .shape:nth-child(2) {
            width: 500px;
            height: 500px;
            bottom: 20%;
            right: 15%;
            animation-delay: 5s;
        }

        .shape:nth-child(3) {
            width: 400px;
            height: 400px;
            top: 50%;
            left: -10%;
            animation-delay: 10s;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            100% {
                transform: translateY(-100vh) rotate(360deg);
            }
        }

        .container {
            max-width: 480px;
            margin: 40px auto;
            position: relative;
            z-index: 10;
        }

        .checkout-card {
            background: var(--glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            border: 1px solid var(--border);
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.8s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            padding: 10px 10px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            pointer-events: none;
        }

        .header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            position: relative;
            z-index: 2;
        }

        .header p {
            opacity: 0.9;
            font-size: 0.75rem;
            position: relative;
            z-index: 2;
        }

        .secure-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 212, 255, 0.2);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            margin-top: 15px;
            border: 1px solid rgba(0, 212, 255, 0.3);
        }

        .content {
            padding: 10px;
        }

        .summary-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #e2e8f0;
        }

        .checkout-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 14px;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .checkout-item:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .item-info h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .item-info p {
            font-size: 0.9rem;
            color: #94a3b8;
        }

        .item-price {
            font-size: 1.3rem;
            font-weight: 700;
            background: linear-gradient(135deg, #00ff88, #00d4ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .total-section {
            margin-top: 20px;
            padding-top: 10px;
            border-top: 1px dashed rgba(255, 255, 255, 0.2);
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            font-size: 1.1rem;
            margin-bottom: 12px;
        }

        .grand-total {
            font-size: 1.2rem;
            font-weight: 700;
            color: white;
            background: linear-gradient(135deg, #a8ff35, #00ff88);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        #pay-btn {
            width: 100%;
            padding: 18px;
            margin-top: 30px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border: none;
            border-radius: 16px;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s ease;
            box-shadow: 0 10px 30px rgba(78, 107, 255, 0.4);
            position: relative;
            overflow: hidden;
        }

        #pay-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.7s;
        }

        #pay-btn:hover::before {
            left: 100%;
        }

        #pay-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(78, 107, 255, 0.6);
        }

        .footer-note {
            text-align: center;
            margin-top: 20px;
            font-size: 0.85rem;
            color: #94a3b8;
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
                margin: 20px auto;
            }

            .content {
                padding: 20px;
            }

            .header h1 {
                font-size: 1.7rem;
            }
        }
.total-section {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.total-row.shipping {
  color: #94a3b8;
  font-size: 1rem;
}

.total-row.shipping .text-success {
  color: #10b981;
  font-weight: 600;
}

.total-divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.3);
  margin: 16px 0;
}

.grand-total-row {
  font-size: 1.5rem !important;
  color: white;
  padding-top: 16px;
  border-top: 2px solid var(--gold);
}

.grand-total-price {
  color: #d4af37;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.btn-proceed-checkout {
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #000;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-proceed-checkout:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}