﻿/* Özel CSS stilleri (beyaz ve mavi tonları) */
html,
body {
    height: 100%;
    margin: 0;
    overflow: auto; /* Mobil için overflow:hidden kaldırıldı */
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #e0f7fa);
    /* Açık mavi gradient */
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%; /* height yerine min-height kullanıldı */
    padding: 20px;
    text-align: center;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2xl;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 792px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    top: -5px;
    animation: fadeIn 1s ease, pulse 2s infinite alternate;
    box-sizing: border-box; /* İçeriğin padding ile birlikte genişliği aşmamasını sağlar */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.04);
    }
}

.container::before,
.container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.container::before {
    width: 240px;
    height: 240px;
    background: linear-gradient(to bottom, #90caf9, #4fc3f7);
    /* Açık mavi tonları */
    top: -70px;
    right: -70px;
    filter: blur(10px);
}

.container::after {
    width: 190px;
    height: 190px;
    background: linear-gradient(to bottom, #81d4fa, #00b0ff);
    bottom: -50px;
    left: -50px;
    filter: blur(12px);
}

.logo-area {
    margin-bottom: 30px;
}

    .logo-area img {
        width: 150px;
        height: auto;
        margin: 0 auto;
        display: block;
        border-radius: 16px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        animation: tiltAndScale 2s ease infinite alternate;
        max-width: 100%; /* Resmin container genişliğini aşmaması için */
    }

@keyframes tiltAndScale {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(3deg) scale(1.05);
    }
}

.logo-area img:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #1a237e;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 1s ease;
    background-image: linear-gradient(to right, #64b5f6, #1e88e5);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    line-height: 1.1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

p {
    color: #314155;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease;
}

.highlight {
    color: #0d47a1;
    font-weight: 600;
    padding: 0.2em 0.4em;
    border-radius: 6px;
    background-color: rgba(25, 118, 210, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.loading-section {
    margin-top: 1.5rem;
}

.loading-text {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.progress-bar-bg {
    background: #e0e0e0;
    height: 0.8rem;
    border-radius: 9999px;
    overflow: hidden;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    background: linear-gradient(to right, #42a5f5, #1e88e5);
    height: 100%;
    width: 0;
    transition: width 0.1s ease;
    border-radius: 9999px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.percent-text {
    margin-top: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    animation: pulse 1.5s infinite alternate;
}

/* Responsive adjustments */
@media (max-width: 768px) { /* Tabletler için */
    .container {
        padding: 30px;
    }

    h1 {
        font-size: 2.2rem;
    }

    p,
    .loading-text,
    .percent-text {
        font-size: 1rem;
    }

    .container::before,
    .container::after {
        display: none; /* Tabletlerde de kaldırıldı, isteğe bağlı eklenebilir */
    }
}


@media (max-width: 480px) {
    /* Telefonlar için */
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2rem; /* Telefonlarda daha küçük font */
    }

    p,
    .loading-text,
    .percent-text {
        font-size: 0.9rem; /* Telefonlarda daha küçük font */
    }

    .logo-area img {
        width: 120px;
    }

    .container::before,
    .container::after {
        display: none; /* Telefonlarda tamamen kaldırıldı */
    }
}
