* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
    overflow: hidden;
}

.redirect-container {
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-in-out forwards 0.5s;
}

h1 {
    font-size: 28px;
    color: #0073e6;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 1s;
}

p {
    font-size: 16px;
    color: #555;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 1.2s;
}

a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.countdown-timer {
    font-size: 20px;
    margin-top: 20px;
    color: #444;
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 1.4s;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0073e6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-top: 30px;
}

.bounce {
    animation: bounce 2s infinite ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 480px) {
    .redirect-container {
        padding: 30px;
    }

    h1 {
        font-size: 24px;
    }

    .countdown-timer {
        font-size: 18px;
    }
}
