    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
        }

       
        body {
            background: linear-gradient(135deg, #f6f7fe 0%, #f0f2ff 100%);
            color: var(--gray-800);
            min-height: 100vh;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }

        :root {
            --primary: #4f46e5;
            --primary-dark: #4338ca;
            --success: #10b981;
            --success-dark: #059669;
            --warning: #f59e0b;
            --danger: #ef4444;
            --danger-dark: #dc2626;
            --gray-900: #111827;
            --gray-800: #1f2937;
            --gray-700: #374151;
            --gray-600: #4b5563;
            --gray-500: #6b7280;
            --gray-400: #9ca3af;
            --gray-300: #d1d5db;
            --gray-200: #e5e7eb;
            --gray-100: #f3f4f6;
            --gray-50: #f9fafb;
            --white: #ffffff;
        }

        body {
            background: linear-gradient(135deg, #f6f7fe 0%, #f0f2ff 100%);
            min-height: 100vh;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            width: 100%;
            max-width: 520px;
            margin: 0 auto;
        }

        /* Header */
        .header {
            text-align: center;
            background: transparent;
            padding: 30px;
            border-radius: 20px;
            margin-bottom: 20px;


        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-icon i {
            font-size: 24px;
            color: white;
        }

        .logo span {
            font-size: 28px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .header h1 {
            font-size: 24px;
            color: var(--gray-800);
            margin-bottom: 8px;
        }

        .header-subtitle {
            color: var(--gray-600);
            font-size: 14px;
        }

        /* SPINNER SECTION FROM ORIGINAL CODE */
        .loader-container {
            background: transparent;
            padding: 50px 30px;
            border-radius: 20px;

            text-align: center;
            animation: fadeIn 0.3s ease;
        }

        .multi-spinner-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
            height: 120px;
        }

        .multi-spinner {
            position: relative;
            width: 100px;
            height: 100px;
        }

        .spinner-layer {
            position: absolute;
            border-radius: 50%;
            border-style: solid;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }

        .spinner-layer-1 {
            width: 100%;
            height: 100%;
            border-width: 4px;
            border-color: rgba(79, 70, 229, 0.1);
            border-top-color: var(--primary);
            animation: spin1 2s linear infinite;
        }

        .spinner-layer-2 {
            width: 70%;
            height: 70%;
            top: 15%;
            left: 15%;
            border-width: 3px;
            border-color: rgba(79, 70, 229, 0.15);
            border-top-color: var(--primary-dark);
            animation: spin2 1.5s linear infinite reverse;
        }

        .spinner-layer-3 {
            width: 50%;
            height: 50%;
            top: 25%;
            left: 25%;
            border-width: 2px;
            border-color: rgba(79, 70, 229, 0.2);
            border-top-color: #8b5cf6;
            animation: spin3 1s linear infinite;
        }

        /* Icon Inside Spinner */
        .spinner-icon {
            position: absolute;
            width: 30px;
            height: 30px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            z-index: 10;
            animation: pulseIcon 2s ease-in-out infinite;
        }

        .spinner-center {
            position: absolute;
            width: 20%;
            height: 20%;
            top: 40%;
            left: 40%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 50%;
            animation: pulse 1.5s ease-in-out infinite;
        }

        .loader-content {
            text-align: center;
        }

        .loader-title {
            font-size: 18px;
            color: var(--gray-800);
            margin-bottom: 15px;
            font-weight: 600;
        }

        /* Name with dots below */
        .name-container {
            margin: 10px 0 25px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .name-display {
            font-size: 16px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 8px;
            padding: 8px 16px;
            background: transparent;
            border-radius: 8px;
            min-width: 200px;
        }

        .processing-dots-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            height: 24px;
        }

        .processing-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: var(--primary);
            opacity: 0.4;
            animation: dotWave 1.5s ease-in-out infinite;
        }

        .processing-dot:nth-child(1) {
            animation-delay: 0s;
        }

        .processing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .processing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        .loader-subtitle {
            color: var(--gray-600);
            font-size: 14px;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .loader-info-grid {
            display: grid;
            gap: 12px;
            margin-top: 25px;
        }

        .info-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;

            border-radius: 10px;

            transition: all 0.3s ease;
        }

        .info-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            border-color: var(--gray-300);
        }

        .info-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            flex-shrink: 0;
        }

        .info-text h4 {
            font-size: 13px;
            color: var(--gray-800);
            margin-bottom: 2px;
            font-weight: 600;
        }

        .info-text p {
            font-size: 12px;
            color: var(--gray-600);
            line-height: 1.4;
        }

        /* END OF SPINNER SECTION */

        /* Status Card */
        .status-card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .status-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
        }

        .success-card::before {
            background: linear-gradient(135deg, var(--success), var(--success-dark));
        }

        .failed-card::before {
            background: linear-gradient(135deg, var(--danger), var(--danger-dark));
        }

        .refunded-card::before {
            background: linear-gradient(135deg, var(--warning), #d97706);
        }

        .status-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 32px;
            position: relative;
        }

        .success-icon {
            background: linear-gradient(135deg, #d1fae5, #a7f3d0);
            color: var(--success-dark);
            border: 4px solid #bbf7d0;
        }

        .failed-icon {
            background: linear-gradient(135deg, #fee2e2, #fecaca);
            color: var(--danger-dark);
            border: 4px solid #fecaca;
        }

        .refunded-icon {
            background: linear-gradient(135deg, #fef3c7, #fde68a);
            color: #d97706;
            border: 4px solid #fde68a;
        }

        .status-card h2 {
            font-size: 22px;
            color: var(--gray-800);
            margin-bottom: 15px;
        }

        .status-card p {
            color: var(--gray-600);
            line-height: 1.6;
            margin-bottom: 30px;
            font-size: 15px;
        }

        /* Transaction Details */
        .transaction-details {
            background: var(--gray-50);
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
            border: 1px solid var(--gray-200);
        }

        .detail-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid var(--gray-200);
            align-items: center;
        }

        .detail-row:last-child {
            border-bottom: none;
        }

        .detail-label {
            color: var(--gray-600);
            font-weight: 500;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .detail-value {
            color: var(--gray-800);
            font-weight: 600;
            font-size: 14px;
            text-align: right;
        }

        .amount {
            font-size: 20px;
            font-weight: 700;
        }

        .success-amount {
            color: var(--success-dark);
        }

        .failed-amount {
            color: var(--danger-dark);
        }

        /* GIFT CARDS WITH BACKGROUND IMAGES (ORIGINAL STYLE) */
        .gift-cards-container {
            margin: 25px 0;
        }

        .gift-card {
            background-size: 100px;
            background-repeat: no-repeat;
            background-position: center center;
            background-color: #8b5cf6;
            background-blend-mode: overlay;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 10px;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            min-height: 140px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .gift-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
            z-index: 1;
        }

        .gift-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            position: relative;
            z-index: 2;
            margin-bottom: 15px;
        }

        .gift-card-brand {
            font-weight: 700;
            font-size: 18px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .gift-card-amount {
            font-weight: 800;
            font-size: 20px;
            background: linear-gradient(135deg, #ffffff, #f3f4f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .gift-card-details {
            position: relative;
            z-index: 2;
        }

        .card-detail-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(5px);
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .card-detail-label {
            font-size: 12px;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .card-detail-value {
            font-family: 'Courier New', monospace;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 1px;
        }

        .redeem-button {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
            text-decoration: none;
        }

        .redeem-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-1px);
        }

        /* Info Sections */
        .info-section {
            background: var(--gray-50);
            border-left: 4px solid;
            padding: 15px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
            text-align: left;
        }

        .info-section.success {
            border-left-color: var(--success);
        }

        .info-section.danger {
            border-left-color: var(--danger);
        }

        .info-section h4 {
            color: var(--gray-800);
            margin-bottom: 10px;
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-section ul {
            padding-left: 20px;
        }

        .info-section li {
            margin-bottom: 6px;
            color: var(--gray-600);
            font-size: 14px;
            line-height: 1.5;
        }

        /* Instructions */
        .instructions-box {
            background: #eff6ff;
            border: 1px solid #dbeafe;
            border-radius: 12px;
            padding: 20px;
            margin: 20px 0;
            text-align: left;
        }

        .instructions-box h4 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .instructions-content {
            font-size: 14px;
            color: var(--gray-700);
            line-height: 1.6;
            white-space: pre-line;
        }

        /* Redemption URL */
        .redemption-url {
            margin: 15px 0;
            text-align: center;
        }

        .redemption-url a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .redemption-url a:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 12px;
            margin-top: 30px;
        }

        .btn {
            flex: 1;
            padding: 16px 20px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 15px;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .btn-success {
            background: linear-gradient(135deg, var(--success), var(--success-dark));
            color: white;
        }

        .btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
        }

        .btn-danger {
            background: linear-gradient(135deg, var(--danger), var(--danger-dark));
            color: white;
        }

        .btn-danger:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
        }

        .btn-secondary {
            background: var(--gray-200);
            color: var(--gray-700);
            border: 2px solid transparent;
        }

        .btn-secondary:hover {
            background: var(--gray-300);
            transform: translateY(-2px);
        }

        /* Status Message */
        .status-message {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            border-radius: 25px;
            font-weight: 600;
            margin: 15px 0;
            font-size: 14px;
        }

        .success-message {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-dark);
            border: 1px solid rgba(16, 185, 129, 0.2);
        }

        .failed-message {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-dark);
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

        /* Animations - UPDATED WITH SPINNER ANIMATIONS */
        @keyframes spin1 {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes spin2 {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes spin3 {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.1);
                opacity: 0.8;
            }
        }

        @keyframes pulseIcon {

            0%,
            100% {
                transform: translate(-50%, -50%) scale(1);
            }

            50% {
                transform: translate(-50%, -50%) scale(1.05);
            }
        }

        @keyframes dotWave {

            0%,
            100% {
                opacity: 0.4;
                transform: translateY(0);
            }

            50% {
                opacity: 1;
                transform: translateY(-5px);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 640px) {
            body {
                padding: 15px;
                align-items: flex-start;
            }

            .header {
                padding: 25px 20px;
            }

            .loader-container {
                padding: 40px 20px;
            }

            .status-card {
                padding: 30px 20px;
            }

            .action-buttons {
                flex-direction: column;
            }

            .detail-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .detail-value {
                text-align: left;
                width: 100%;
            }

            .multi-spinner {
                width: 90px;
                height: 90px;
            }

            .spinner-icon {
                width: 28px;
                height: 28px;
                font-size: 13px;
            }

            .name-display {
                min-width: 180px;
                font-size: 15px;
            }
        }

        @media (max-width: 480px) {
            .header h1 {
                font-size: 20px;
            }

            .logo span {
                font-size: 24px;
            }

            .loader-title {
                font-size: 16px;
            }

            .status-card h2 {
                font-size: 20px;
            }

            .amount {
                font-size: 18px;
            }

            .multi-spinner {
                width: 80px;
                height: 80px;
            }
        }/* ===== SCROLLBAR ===== */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--gray-light);
            border-radius: var(--border-radius-xs);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: var(--border-radius-xs);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

  @keyframes popupZoom {
            from {
                transform: scale(0.8);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }