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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(to left, #f3a103, #e9575b);
    background: -webkit-gradient(linear, right top, left top, from(#e9575b), to(#f3a103));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.redirect-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.icon {
    font-size: 48px;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.website-name {
    font-weight: bold;
    color: #e9575b;
    font-size: 28px;
    display: block;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown {
    font-size: 18px;
    color: #f3a103;
    font-weight: bold;
    margin: 20px 0;
}

.button-container {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to left, #f3a103, #e9575b);
    background: -webkit-gradient(linear, right top, left top, from(#e9575b), to(#f3a103));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: opacity 0.3s;
    margin: 5px;
    border: none;
}

.btn:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.spinner {
    border: 3px solid #ffe0cc;
    border-top: 3px solid #f3a103;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Media queries pour responsive */
@media (max-width: 768px) {
    .redirect-container {
        padding: 30px 20px;
        margin: 10px;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .website-name {
        font-size: 24px;
    }

    .icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .countdown {
        font-size: 16px;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .redirect-container {
        padding: 25px 15px;
        border-radius: 8px;
    }

    h1 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .website-name {
        font-size: 20px;
        margin: 8px 0;
    }

    .icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .countdown {
        font-size: 14px;
    }

    .button-container {
        margin-top: 20px;
    }

    .btn {
        font-size: 14px;
        padding: 12px 16px;
    }

    .spinner {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }
}
