<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Push Notification Dashboard</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #ffffff;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            padding: 20px;
            zoom: 0.85;
        }

        ::-webkit-scrollbar {
            display: none;
        }

        .dashboard__header {
            text-align: center;
            margin-bottom: 40px;
            margin-top: 60px;
            animation: fadeInDown 0.8s ease;
        }

        .dashboard__title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #000000;
            margin-bottom: 10px;
        }

        .dashboard__subtitle {
            font-size: 1.1rem;
            color: #6c757d;
        }

        .notification__grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .notification__card {
            background: #ffffff;
            border: 2px solid #e0e0e0;
            border-radius: 16px;
            padding: 30px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        .notification__card:nth-child(1) { animation-delay: 0.1s; }
        .notification__card:nth-child(2) { animation-delay: 0.2s; }
        .notification__card:nth-child(3) { animation-delay: 0.3s; }
        .notification__card:nth-child(4) { animation-delay: 0.4s; }
        .notification__card:nth-child(5) { animation-delay: 0.5s; }
        .notification__card:nth-child(6) { animation-delay: 0.6s; }
        .notification__card:nth-child(7) { animation-delay: 0.7s; }

        .notification__card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
            transition: left 0.5s ease;
        }

        .notification__card:hover::before {
            left: 100%;
        }

        .notification__card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
            border-color: #000000;
        }

        .notification__icon-wrapper {
            width: 80px;
            height: 80px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .notification__card:hover .notification__icon-wrapper {
            background: #000000;
        }

        .notification__icon {
            font-size: 2.5rem;
            color: #000000;
            transition: all 0.3s ease;
        }

        .notification__card:hover .notification__icon {
            color: #ffffff;
            transform: scale(1.1) rotate(5deg);
        }

        .notification__title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #000000;
            margin-bottom: 10px;
        }

        .notification__description {
            font-size: 0.95rem;
            color: #6c757d;
            line-height: 1.5;
        }

        .notification__badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #000000;
            color: #ffffff;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .loading__overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            animation: fadeOut 0.5s ease 1.5s forwards;
        }

        .loading__spinner {
            width: 60px;
            height: 60px;
            border: 4px solid #e0e0e0;
            border-top: 4px solid #000000;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        @keyframes fadeOut {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }

        /* Tablet responsiveness */
        @media (min-width: 768px) and (max-width: 1024px) {
            .notification__grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Desktop responsiveness */
        @media (min-width: 1025px) {
            .notification__grid {
                grid-template-columns: repeat(5, 1fr);
            }

            .dashboard__title {
                font-size: 3rem;
            }
        }

        /* Mobile responsiveness */
        @media (max-width: 767px) {
            .notification__grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .notification__card {
                padding: 10px;
            }

            .notification__icon-wrapper {
                width: 60px;
                height: 60px;
            }

            .notification__icon {
                font-size: 2rem;
            }

            .notification__title {
                font-size: 1rem;
            }

            .notification__description {
                font-size: 0.85rem;
            }

            .dashboard__title {
                font-size: 1.8rem;
            }

            .dashboard__subtitle {
                font-size: 0.95rem;
            }
        }

        /* Extra small mobile */
        @media (max-width: 480px) {
            body {
                padding: 15px;
            }

            .notification__grid {
                gap: 12px;
            }

            .notification__card {
                padding: 18px 12px;
            }
        }
    </style>
</head>
<body>
    <!-- Loading Screen -->
    <div class="loading__overlay" id="loadingScreen">
        <div class="loading__spinner"></div>
    </div>

    <div style="background: #fff; padding: 10px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,0.2); position: fixed; top: 0; right: 0; left: 0; z-index: 100;">
        <a href="admin-overview.php" style="font-size: 30px; padding-left: 10px; color: #000;"><i class="bi bi-chevron-left"></i></a>
        <p style="align-content: center; display: flex; color: #000; font-size: 20px; font-weight: 600; padding-top: 7px;">Return</p>

        <i class="fas fa-user-tag" style="color: #fff;"></i>
    </div>


    <!-- Dashboard Header -->
    <header class="dashboard__header">
        <h1 class="dashboard__title">Push Notification Center</h1>
        <p class="dashboard__subtitle">Select a notification type to manage</p>
    </header>

    <!-- Notification Grid -->
    <div class="notification__grid">
        <!-- Notification Card 1 -->
        <a href="notify.php" class="notification__card" id="notificationCard1">
            <span class="notification__badge">New</span>
            <div class="notification__icon-wrapper">
                <i class="bi bi-bell-fill notification__icon"></i>
            </div>
            <h3 class="notification__title">Liquidity Differencial Tariff</h3>
            <p class="notification__description">Transfer Charges</p>
        </a>

        <!-- Notification Card 2 -->
        <a href="notify1.php" class="notification__card" id="notificationCard2">
            <div class="notification__icon-wrapper">
                <i class="bi bi-exclamation-triangle-fill notification__icon"></i>
            </div>
            <h3 class="notification__title">OTC Brokerage</h3>
            <p class="notification__description">Urgent alerts requiring immediate attention</p>
        </a>

        <!-- Notification Card 3 -->
        <a href="notify2.php" class="notification__card" id="notificationCard3">
            <div class="notification__icon-wrapper">
                <i class="bi bi-chat-dots-fill notification__icon"></i>
            </div>
            <h3 class="notification__title">Wire TXT Ad</h3>
            <p class="notification__description">User messages and communication</p>
        </a>

        <!-- Notification Card 4 -->
        <a href="notify3.php" class="notification__card" id="notificationCard4">
            <div class="notification__icon-wrapper">
                <i class="bi bi-calendar-event-fill notification__icon"></i>
            </div>
            <h3 class="notification__title">FX Remidition</h3>
            <p class="notification__description">Scheduled events and appointments</p>
        </a>

        <!-- Notification Card 5 -->
        <a href="notify4.php" class="notification__card" id="notificationCard5">
            <div class="notification__icon-wrapper">
                <i class="bi bi-gift-fill notification__icon"></i>
            </div>
            <h3 class="notification__title">Stream Continuety</h3>
            <p class="notification__description">Special offers and promotional content</p>
        </a>

        <!-- Notification Card 6 -->
        <a href="notify5.php" class="notification__card" id="notificationCard6">
            <div class="notification__icon-wrapper">
                <i class="bi bi-graph-up-arrow notification__icon"></i>
            </div>
            <h3 class="notification__title">Volatility</h3>
            <p class="notification__description">Performance metrics and insights</p>
        </a>

        <!-- Notification Card 7 -->
        <a href="notify6.php" class="notification__card" id="notificationCard7">
            <div class="notification__icon-wrapper">
                <i class="bi bi-gear-fill notification__icon"></i>
            </div>
            <h3 class="notification__title">DOM Algorithm</h3>
            <p class="notification__description">Maintenance and system notifications</p>
        </a>
    </div>

    <script>
        // Remove loading screen after page loads
        window.addEventListener('load', function() {
            setTimeout(function() {
                document.getElementById('loadingScreen').style.display = 'none';
            }, 1500);
        });

        // Add click animation effect
        document.querySelectorAll('.notification__card').forEach(card => {
            card.addEventListener('click', function(e) {
                const ripple = document.createElement('div');
                ripple.style.position = 'absolute';
                ripple.style.width = '20px';
                ripple.style.height = '20px';
                ripple.style.background = 'rgba(0, 0, 0, 0.3)';
                ripple.style.borderRadius = '50%';
                ripple.style.transform = 'scale(0)';
                ripple.style.animation = 'ripple 0.6s ease-out';
                ripple.style.left = e.clientX - this.getBoundingClientRect().left + 'px';
                ripple.style.top = e.clientY - this.getBoundingClientRect().top + 'px';
                
                this.appendChild(ripple);
                
                setTimeout(() => ripple.remove(), 600);
            });
        });

        // Add ripple animation
        const style = document.createElement('style');
        style.textContent = `
            @keyframes ripple {
                to {
                    transform: scale(20);
                    opacity: 0;
                }
            }
        `;
        document.head.appendChild(style);
    </script>
</body>
</html>