/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0f172a;
    color: #ffffff;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Ana Kart */
.redirect-card {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: cardSlideIn 0.8s ease-out;
}

/* Logo Bölümü */
.logo-section {
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    color: #0f172a;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* İçerik */
.content {
    margin-bottom: 32px;
}

/* Loading Animation */
.loading-animation {
    margin-bottom: 24px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(16, 185, 129, 0.2);
    border-top: 4px solid #10b981;
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spin 1s linear infinite;
}

/* Başlık ve Alt Başlık */
.title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 32px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #14b8a6);
    border-radius: 4px;
    width: 0%;
    animation: progressFill 3s ease-out forwards;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.progress-text {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
}

/* Manuel Yönlendirme */
.manual-redirect {
    margin-top: 24px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.manual-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.redirect-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: #0f172a;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    min-width: 180px;
    justify-content: center;
}

.redirect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #0d9488);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.redirect-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding-top: 24px;
}

.footer-text {
    font-size: 14px;
    color: #64748b;
}

.highlight {
    color: #10b981;
    font-weight: 600;
}

/* Arka Plan Efektleri */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(20, 184, 166, 0.05));
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent);
    animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

/* Animasyonlar */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes buttonFadeIn {
    from {
        opacity: 0.7;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .redirect-card {
        padding: 32px 24px;
        margin: 16px;
    }

    .title {
        font-size: 24px;
    }

    .logo-text {
        font-size: 28px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .bg-circle-1,
    .bg-circle-2 {
        width: 200px;
        height: 200px;
    }
}

/* Hover Efektleri */
.redirect-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Progress Text Animasyonu */
@keyframes progressTextUpdate {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.progress-text {
    animation: progressTextUpdate 0.5s ease-in-out infinite;
}