/* Gift Overlay */
        .gift-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.0);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            
        }

        .gift-overlay.active {
            display: flex;
        }

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

        .gift-modal {
            background: white;
            border-radius: 16px;
            width: 90%;
            max-width: 900px;
            max-height: 85vh;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
        }

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

        .gift-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 30px;
            border-bottom: 1px solid #e0e0e0;
            background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
            color: white;
        }

        .gift-header h2 {
            margin: 0;
            font-size: 24px;
            font-weight: 600;
        }

        .closee-btn {
            font-size: 32px;
            cursor: pointer;
            color: white;
            transition: transform 0.3s;
            line-height: 1;
            background: none;
            border: none;
        }

        .closee-btn:hover {
            transform: rotate(90deg);
        }

        .gift-body {
            overflow-y: auto;
            max-height: calc(85vh - 100px);
        }

        .gifts-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            padding: 30px;
        }

        .gift-item {
            text-align: center;
            padding: 20px;
            border: 2px solid #f0f0f0;
            border-radius: 12px;
            transition: all 0.3s ease;
            cursor: pointer;
            background: white;
        }

        .gift-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            border-color: #667eea;
        }

        .gift-item img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            margin-bottom: 15px;
            transition: transform 0.3s;
        }

        .gift-item:hover img {
            transform: scale(1.1);
        }

        .gift-item h4 {
            margin: 10px 0 8px;
            color: #333;
            font-size: 16px;
            font-weight: 600;
        }

        .gift-item .price {
            color: #667eea;
            font-size: 15px;
            font-weight: 600;
            margin: 8px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .gift-item button {
            background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 25px;
            cursor: pointer;
            margin-top: 12px;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: 600;
            width: 100%;
        }

        .gift-item button:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .gift-item button:active {
            transform: scale(0.98);
        }

        /* User balance display */
        .user-balance {
            background: #fff3cd;
            padding: 15px 30px;
            text-align: center;
            border-bottom: 1px solid #ffc107;
            font-size: 16px;
            color: #856404;
            font-weight: 600;
        }

        .user-balance i {
            color: #ffc107;
            margin-right: 8px;
        }

        /* Success message */
        .success-message {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #4CAF50;
            color: white;
            padding: 16px 24px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 2000;
            animation: slideInRight 0.3s ease;
            display: none;
        }

        .success-message.show {
            display: block;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Empty state */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .empty-state i {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.3;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .gifts-container {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 15px;
                padding: 20px;
            }

            .gift-header h2 {
                font-size: 20px;
            }

            .gift-item {
                padding: 15px;
            }

            .gift-item img {
                width: 80px;
                height: 80px;
            }
			
        }