/* Genel yapı */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 32px;
    position: relative;
    z-index: 1;
    transform: translateY(-3%);
}

/* Yüklenme halkası */
.ring-container {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(#2563eb 0deg, #2563eb 80deg, transparent 80deg 360deg);
    animation: spin 1.2s linear infinite;
}

.ring::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background-color: #ffffff;
}

.ring-progress {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Marka kısmı */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.brand-logo {
    height: 52px;
    object-fit: contain;
    filter: none;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.brand-name {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: #111;
    opacity: 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #111 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 0.8s ease forwards 0.6s;
}

.loading-text {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.6em;
    color: #2563eb;
    margin-top: 4px;
    opacity: 0;
    font-weight: 500;
    position: relative;
    padding-right: -0.6em;
    animation: fadeIn 0.8s ease forwards 1s;
}

.loading-text::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #2563eb;
    margin-left: 4px;
    animation: dots 1.5s infinite steps(4);
}

/* Animasyonlar */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Responsive tasarım */
@media (max-width: 480px) {
    .ring-container { width: 110px; height: 110px; }
    .ring { width: 90px; height: 90px; }
    .ring-progress { width: 110px; height: 110px; }
    .brand-logo { height: 44px; }
    .brand-name { font-size: 1.2rem; }
}