/* Kış Teması - Soft & Göz Yormayan Gece Mavisi Arka Plan */
html, body {
    background-color: #080f1e !important;
    overflow-x: hidden !important; 
    max-width: 100vw !important;
    width: 100% !important;
    touch-action: manipulation !important; 
}
body {
    background-image: linear-gradient(to bottom, #080f1e, #020617) !important;
    background-attachment: fixed !important;
}

/* ========================================= */
/* SAKİN PRELOADER                           */
/* ========================================= */
#preloader {
    align-items: center !important;
    justify-content: center !important;
    background: #080f1e !important; 
}
#preloader > * { display: none !important; }
#preloader::after {
    content: "❄️";
    font-size: 50px;
    color: rgba(255, 255, 255, 0.4);
    animation: slowSpin 4s linear infinite;
    text-shadow: none;
}
@keyframes slowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================= */
/* YAVAŞ VE SİLİK KAR TANELERİ (Huzurlu)     */
/* ========================================= */
.snowflakes {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 99999;
    overflow: hidden !important; 
}
.snowflake {
    color: rgba(255, 255, 255, 0.15) !important; /* Çok saydam, dikkati dağıtmaz */
    font-family: Arial, sans-serif;
    text-shadow: none !important; /* Parlamayı kaldırdık */
    position: absolute; top: -10%; user-select: none;
    pointer-events: none !important;
    animation-name: snowflakes-fall, snowflakes-sway;
    animation-duration: 20s, 6s; /* Çok daha yavaş */
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
}
.snowflake:nth-child(1) { left: 5%; animation-delay: 0s, 0s; font-size: 0.8em; }
.snowflake:nth-child(2) { left: 15%; animation-delay: 2s, 1s; font-size: 1.2em; }
.snowflake:nth-child(3) { left: 25%; animation-delay: 8s, 0.5s; font-size: 1em; }
.snowflake:nth-child(4) { left: 35%; animation-delay: 4s, 2s; font-size: 0.9em; }
.snowflake:nth-child(5) { left: 45%; animation-delay: 2s, 3s; font-size: 1.3em; }
.snowflake:nth-child(6) { left: 55%; animation-delay: 10s, 3s; font-size: 1.1em; }
.snowflake:nth-child(7) { left: 65%; animation-delay: 6s, 2s; font-size: 0.7em; }
.snowflake:nth-child(8) { left: 75%; animation-delay: 3s, 1s; font-size: 1.2em; }
.snowflake:nth-child(9) { left: 85%; animation-delay: 1s, 0s; font-size: 1em; }
.snowflake:nth-child(10) { left: 95%; animation-delay: 5s, 1.5s; font-size: 1.4em; }

@keyframes snowflakes-fall { 0% { top: -10%; } 100% { top: 110%; } }
@keyframes snowflakes-sway { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(20px); } }

/* ========================================= */
/* SOFT ROZETLER (Mat Gümüş/Buz)             */
/* ========================================= */
.rank-badge {
    background: linear-gradient(135deg, #e2e8f0, #94a3b8) !important;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important; 
    width: 18px !important;  
    height: 18px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #0f172a !important; 
    font-weight: 700 !important;
    font-size: 10px !important; 
    
    top: auto !important;
    left: auto !important;
    bottom: -5px !important;
    right: -5px !important;
    
    z-index: 105 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4) !important;
    border: none !important;
    border-radius: 0 !important;
}

/* ========================================= */
/* SADE VE ŞIK DENEME BONUSLARI BUTONU       */
/* ========================================= */
.btn-dynamic-glow {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    box-shadow: none !important;
    color: #cbd5e1 !important;
    border-radius: 8px !important;
    animation: none !important;
    transition: background 0.3s ease !important;
}
.btn-dynamic-glow:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}
.btn-dynamic-glow span, .btn-dynamic-glow i {
    color: #cbd5e1 !important;
    text-shadow: none !important;
}

/* ========================================= */
/* SOFT FROSTED GLASS ÇERÇEVELER             */
/* ========================================= */
/* Tüm neon parlamaları ve hızlı animasyonları kaldırdık */
.banner-wrapper, .list-item, .bento-item, .vip-card, .horizontal-banner, .sponsor-item, .site-box {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
    animation: none !important; /* Rahatsız edici yanıp sönmeler kaldırıldı */
    transition: border-color 0.4s ease, transform 0.4s ease !important;
}

/* Sadece hover'da çok hafif ve zarif bir belirginleşme */
.banner-wrapper:hover, .list-item:hover, .bento-item:hover, .vip-card:hover, .sponsor-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Eski karmaşık köşe buzlarını tamamen iptal ettik */
.banner-wrapper::after, .list-item::after, .bento-item::after, .vip-card::after, .horizontal-banner::after, .sponsor-item::after {
    display: none !important; 
}

/* Üst kısımdaki çok zarif cam kesimi yansıması (Göz yormaz) */
.banner-wrapper::before, .list-item::before, .bento-item::before, .vip-card::before, .horizontal-banner::before, .sponsor-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
    z-index: 10 !important;
}

/* ========================================= */
/* SAKİN DÖNER KARELER (Agresif ışık iptal)  */
/* ========================================= */
.mini-square-item {
    transition: transform 0.3s ease !important;
    border-radius: 8px !important; 
    overflow: hidden !important; 
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.mini-square-item:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Dikkat dağıtan dönen ışıkları tamamen sildik */
.mini-square-item::before {
    display: none !important; 
}

/* İç çerçeve sıfırlandı, görsellerin net görünmesi sağlandı */
.mini-square-inner {
    inset: 0 !important; 
    background-color: transparent !important;
    border-radius: 6px !important;
    z-index: 2 !important;
    border: none !important;
    animation: none !important; 
    box-shadow: none !important;
}
.mini-square-inner::before {
    display: none !important;
}

/* ========================================= */
/* SOFT BAŞLIKLAR (Göz Almayan Renkler)      */
/* ========================================= */
.vip-horizontal-list h2, .section-header h2, .modal-header h2, .site-modal-header h2 {
    color: #cbd5e1 !important;
    text-shadow: none !important;
    font-weight: 500 !important;
    background: none !important;
    -webkit-text-fill-color: #cbd5e1 !important;
}
/* ========================================= */
/* V11 HERO SLIDER VE YATAY LOGOLAR MODÜLÜ   */
/* ========================================= */
.hero-slider-module {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 15px auto;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    z-index: 10;
}
.hero-slides-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide {
    flex: 0 0 100%;
    width: 100%;
}
.hero-slide a {
    display: block;
    width: 100%;
}
.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px;
}
.hero-pagination {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-dot.active {
    background: #00ff00; /* İstediğin gibi açık yeşil (Görseldeki gibi) */
    width: 25px;
    border-radius: 5px;
}

/* YATAY KAYAN LOGOLAR (BRAND MARQUEE) */
.horizontal-logos-module {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    position: relative;
    overflow: hidden;
}
.hl-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.hl-track {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    animation: scrollHMarquee 25s linear infinite;
}
.hl-track:hover {
    animation-play-state: paused;
}
.hl-item {
    flex: 0 0 auto;
    height: 60px;
    width: 160px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    backdrop-filter: blur(5px);
    transition: background 0.3s, transform 0.3s;
}
.hl-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}
.hl-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.hl-item:hover img {
    opacity: 1;
}

/* 4 Kopyanın kusursuz dönmesi için %25 formülü */
@keyframes scrollHMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); } 
}

@media (max-width: 768px) {
    .hero-slide img {
        min-height: 180px;
    }
    .hl-item {
        width: 120px;
        height: 50px;
    }
}
/* ========================================= */
/* V12 YATAY KAYAN LOGOLAR DÜZELTME          */
/* ========================================= */
.horizontal-logos-module {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 20px auto;
    position: relative;
    overflow: hidden;
}
.hl-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.hl-track {
    display: flex !important;
    flex-wrap: nowrap !important; /* CRITICAL: Yan yana kalmalarını sağlar */
    width: max-content !important; /* CRITICAL: Sıkışmalarını engeller */
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    animation: scrollHMarquee 20s linear infinite;
}
.hl-track:hover {
    animation-play-state: paused;
}
.hl-item {
    flex: 0 0 auto !important; /* Sıkışmayı önler */
    height: 45px !important; /* Daha küçük ve kibar */
    width: 120px !important; /* Daha küçük ve kibar */
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    backdrop-filter: blur(5px);
}
.hl-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    opacity: 0.8;
}
@keyframes scrollHMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); } 
}

@media (max-width: 768px) {
    .hl-item {
        width: 100px !important;
        height: 40px !important;
    }
}