body.redirect-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.redirect-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.redirect-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.redirect-message {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.redirect-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.redirect-link:hover {
    color: var(--text-secondary);
}

.redirect-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    z-index: 1;
}

.redirect-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.redirect-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.redirect-footer .footer-copy {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.redirect-header-override {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
}

.redirect-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redirect-site-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.redirect-site-name:hover {
    color: var(--text-secondary);
}

.redirect-header-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.redirect-header-nav a,
.redirect-header-nav button {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
    padding: 0;
}

.redirect-header-nav a:hover,
.redirect-header-nav button:hover {
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .redirect-container {
        padding: 1rem;
    }

    .redirect-content {
        padding: 2rem 1.5rem;
    }

    .redirect-footer .container {
        padding: 0 24px;
    }

    .redirect-header-nav {
        gap: 1rem;
    }

    .redirect-header-nav a,
    .redirect-header-nav button {
        font-size: 0.8rem;
    }
}
