@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Cinzel:wght@400;500;600;700&display=swap');

@import url(/files/css/sections/footer.css?v=20250102);
@import url(/files/css/sections/navbar.css?v=20250102);
@import url(/files/css/sections/head.css?v=20250102);

@import url(/files/css/fonts.css);

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #0f0f0f;
}

/* WebKit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.22));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f2d58a, #d4af37);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 6px rgba(0,0,0,0.5);
}

/* Hover/active states for a bit of shine */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4af37, #f2d58a);
}

::-webkit-scrollbar-thumb:active {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

/* ============================================ */
/* KAR YAĞIŞI EFEKTİ - YILBAŞI ÖZEL (GLOBAL) */
/* ============================================ */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -200px; /* Navbar'ın üstünde görünmemesi için yukarıdan başlat */
    color: #ffffff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    user-select: none;
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    50% {
        transform: translateX(var(--horizontal-move, 50px)) rotate(180deg);
    }
    100% {
        transform: translateY(calc(100vh + 200px)) translateX(calc(var(--horizontal-move, 50px) * 1.5)) rotate(360deg);
        opacity: 0.3;
    }
}

/* Farklı boyutlarda kar taneleri */
.snowflake.small {
    font-size: 0.8em;
    animation-duration: 8s;
    animation-timing-function: linear;
}

.snowflake.medium {
    font-size: 1em;
    animation-duration: 10s;
    animation-timing-function: linear;
}

.snowflake.large {
    font-size: 1.5em;
    animation-duration: 12s;
    animation-timing-function: linear;
}

/* Farklı animasyon gecikmeleri */
.snowflake:nth-child(odd) {
    animation-delay: 0s;
}

.snowflake:nth-child(even) {
    animation-delay: 0.5s;
}

/* Kar Yağışı Toggle Butonu */
.snow-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
}

.snow-toggle-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    position: relative;
}

.snow-toggle-content i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.snow-toggle-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    width: 0;
    max-width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
}

.snow-toggle-btn:hover {
    width: auto;
    min-width: 120px;
    border-radius: 50px;
    padding: 0 12px;
}

.snow-toggle-btn:hover .snow-toggle-content {
    gap: 8px;
}

.snow-toggle-btn:hover .snow-toggle-text {
    opacity: 1;
    width: auto;
    max-width: 100px;
    margin-left: 0;
}

.snow-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.snow-toggle-btn:active {
    transform: scale(0.95);
}

.snow-toggle-btn.disabled {
    opacity: 0.5;
}

.snow-toggle-btn.disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1);
}

/* Kar yağışı kapalıyken container'ı gizle */
.snow-container.hidden {
    display: none;
}

@media (max-width: 768px) {
    .snow-toggle-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        bottom: 20px;
        right: 20px;
        padding: 0;
    }
    
    .snow-toggle-btn:hover {
        width: auto;
        min-width: 100px;
        padding: 0 10px;
    }
    
    .snow-toggle-text {
        font-size: 0.65rem;
    }
}