
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>cs-banana.shop</title>
    <style>
        body {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 0;
            background-color: #000;
            font-family: 'Arial', sans-serif;
            color: #9370DB; /* Dark purple text */
            transition: background-color 0.3s, color 0.3s;
            animation: shimmer 2s infinite alternate;
        }

        @keyframes shimmer {
            0% {
                color: #FF00FF; /* Bright purple */
            }
            50% {
                color: #800080; /* Purple */
            }
            100% {
                color: #FF00FF; /* Bright purple */
            }
        }

        .header {
            width: 100%;
            position: fixed;
            top: 0;
            left: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background-color: #000;
            z-index: 1000;
            transition: background-color 0.3s, color 0.3s;
        }

        .graffiti {
            font-size: 60px;
            font-weight: bold;
            text-shadow:
                2px 2px 0 #ff0000,
                -2px -2px 0 #00ff00,
                2px -2px 0 #0000ff,
                -2px 2px 0 #ffff00;
            animation: gradient 3s infinite alternate;
        }

        @keyframes gradient {
            0% {
                text-shadow:
                    2px 2px 0 #ff0000,
                    -2px -2px 0 #00ff00,
                    2px -2px 0 #0000ff,
                    -2px 2px 0 #ffff00;
            }
            100% {
                text-shadow:
                    2px 2px 0 #00ff00,
                    -2px -2px 0 #ffff00,
                    2px -2px 0 #ff0000,
                    -2px 2px 0 #0000ff;
            }
        }

        .toggle-button {
            padding: 10px;
            font-size: 24px;
            cursor: pointer;
            background-color: transparent;
            border: none;
            color: inherit;
            margin-left: 10px; /* Small left margin */
        }

        .link {
            font-size: 24px;
            color: inherit;
            text-decoration: none;
        }

        .nav-buttons {
            display: flex;
            gap: 20px;
        }

        .nav-button {
            font-size: 24px;
            color: inherit;
            text-decoration: none;
            cursor: pointer;
            border: 2px solid #9370DB;
            padding: 10px 20px;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
        }

        .nav-button:hover {
            background-color: #9370DB;
            color: #fff;
        }

        .login-button {
            font-size: 24px;
            color: inherit;
            text-decoration: none;
            cursor: pointer;
            border: 2px solid #9370DB;
            padding: 10px 20px;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
            margin-left: 20px;
        }

        .login-button:hover {
            background-color: #9370DB;
            color: #fff;
        }

        .data-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            width: 90%;
            max-width: 1200px;
            padding: 20px;
            margin-top: 140px;
        }

        .data-item {
            background-color: #111;
            border: 2px solid #9370DB;
            border-radius: 10px;
            padding: 40px; /* Increased padding */
            width: calc(100% - 40px); /* Full width for better visibility */
            box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
            transition: transform 0.3s, background-color 0.3s, color 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .data-item:hover {
            transform: scale(1.05);
        }

        .data-item h2 {
            font-size: 28px; /* Increased font size */
            margin-bottom: 20px;
        }

        .data-item p {
            font-size: 18px; /* Increased font size */
            margin: 10px 0;
        }

        .data-item img {
            width: 150px; /* Increased image size */
            height: auto;
            margin: 20px 0;
        }

        form {
            color: inherit;
            transition: color 0.3s;
        }

        @media (max-width: 1024px) {
            .data-item {
                width: calc(100% - 40px); /* Full width for better visibility */
            }
        }

        @media (max-width: 768px) {
            .data-item {
                width: calc(100% - 40px); /* Full width for better visibility */
            }

            .header {
                flex-direction: column;
                align-items: stretch;
            }

            .nav-buttons {
                display: none;
                flex-direction: column;
                width: 100%;
            }

            .nav-buttons.active {
                display: flex;
            }

            .nav-button, .login-button {
                width: 100%;
                text-align: center;
                font-size: 20px;
                padding: 15px;
            }

            .menu-toggle {
                display: block;
                font-size: 24px;
                cursor: pointer;
                background-color: transparent;
                border: none;
                color: inherit;
                padding: 10px;
                margin-left: auto;
                margin-right: 20px;
            }

            .toggle-button {
                margin-left: 20px;
            }
        }

        @media (min-width: 769px) {
            .menu-toggle {
                display: none;
            }
        }

        /* Новые стили для переливающейся рамки и кнопки */
        .processing-container {
            border: 4px solid;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            animation: border-shimmer 2s infinite alternate;
            margin-top: 20px;
        }

        @keyframes border-shimmer {
            0% {
                border-color: #FF00FF;
            }
            50% {
                border-color: #800080;
            }
            100% {
                border-color: #FF00FF;
            }
        }

        .home-button {
            background-color: #9370DB;
            color: #fff;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            cursor: pointer;
            transition: transform 0.3s, background-color 0.3s;
            text-decoration: none;
            display: inline-block;
            margin-top: 20px;
        }

        .home-button:hover {
            background-color: #800080;
            transform: scale(1.05);
        }

        .loader {
            border: 4px solid #9370DB; /* Уменьшенная толщина рамки */
            border-top: 4px solid #FF00FF; /* Уменьшенная толщина рамки */
            border-radius: 50%;
            width: 30px; /* Уменьшенный размер */
            height: 30px; /* Уменьшенный размер */
            animation: spin 1s linear infinite;
            margin: 10px auto; /* Уменьшенный отступ */
            display: inline-block; /* Чтобы колесико было в одной строке с текстом */
            vertical-align: middle; /* Выравнивание по вертикали */
        }

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

        .timer {
            font-size: 24px;
            margin: 20px 0;
        }

        .processing-text {
            display: inline-block;
            vertical-align: middle; /* Выравнивание по вертикали */
            margin-left: 10px; /* Отступ от колесика */
            font-size: 18px; /* Размер текста */
        }
    </style>
</head>
<body>
<div class="processing-container">
    <div>
        <div class="loader"></div>
        <span class="processing-text">Your order is currently being processed. Once the payment is completed, a purchase order will be sent to your account.</span>
    </div>
    <p>Please wait...</p>
    <div class="timer" id="timer">05:00</div>
    <a href="/" class="home-button">Go back to the main page</a>
</div>

<script>
        // Обратный таймер на 5 минут
        let timeLeft = 300; // 5 минут в секундах
        const timerElement = document.getElementById('timer');

        function updateTimer() {
            const minutes = Math.floor(timeLeft / 60);
            const seconds = timeLeft % 60;
            timerElement.textContent = `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`;

            if (timeLeft > 0) {
                timeLeft--;
                setTimeout(updateTimer, 1000);
            } else {
                window.location.href = '/'; // Переход на главную страницу
            }
        }

        updateTimer(); // Запуск таймера
    </script>

</body>
</html>