/* Kayan Logolar Alanı — Orijinal + renk/boyut düzeltmesi */
.scrolling-logos {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: 20px; /* Slider ile logolar arası 20px açıklık */
}

.scrolling-logos:before,
.scrolling-logos:after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}

.scrolling-logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--bs-body-bg));
}

.scrolling-logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--bs-body-bg));
}

.logos-slide {
    display: inline-block;
    animation: 80s scroll infinite linear;
}

.scrolling-logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide a {
    display: inline-block;
    margin: 0 12px; /* Orijinal 40px idi — boşluk azaltıldı */
}

.logos-slide img {
    height: 40px;          /* Orijinal 50px — orantılı boyut */
    width: auto;
    max-width: 130px;
    max-height: 40px;
    object-fit: contain;   /* Oran bozulmasın */
    vertical-align: middle;
    filter: none;          /* Orijinal renkler (grayscale kaldırıldı) */
    opacity: 1;
    transition: all .3s ease;
}

.logos-slide img:hover {
    transform: scale(1.1);
}
.social li a {
    width:30px;
    height: 30px;
    position: relative;
    display: block;

}
.list-unstyled {
    display: flex;
    padding-left: 0;
    list-style: none;
}
.countdown-timer { display: flex; gap: 6px; margin-top:10px;}
.timer-box { background-color: transparent; border-radius: 8px; padding: 6px; text-align: center; min-width: 30px; border: 0.5px solid #d5d5d5;}
.timer-box span { font-size: 1.35rem; font-weight: 700; display: block; color: #0d6efd; }
.timer-box label { font-size: 0.65rem; font-weight: 400; color: #d5d5d5; }
.card-body .text-danger .timer-box span { color: #0d6efd; }
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
    #cart-count-badge, #message-count-badge {
        position: absolute;
        top: 2px;
        right: 3px;
        font-size: 12px;
        color: #fff;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
.form-text {
    margin-top: .25rem;
    font-size: .875em;
    color: #ccc;
}
.text-muted {
    --bs-text-opacity: 1;
    color: var(--bs-sprimary-color) !important;}
.nav-tabs .nav-link.active {
    color: #0d6efd;}

@media only screen and (max-width: 768px) {

  .breadcrumb-title {font-size: 14px !important;}
  .breadcrumb-item {font-size: 14px !important;}
  h5 {font-size: 16px !important; }
}
/* Footer — sayfa altına sabit (bottom 0 fixed) */
/* main.css'teki absolute bottom:0'ı sabitlemek için (left: sidebar genişliği) */
.page-footer {
    position: fixed;
    bottom: 0;
    left: 260px;  /* sidebar genişliği */
    right: 0;
    z-index: 1030;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    transition: ease-out 0.3s;
}

/* Footer cam (glassy) efekti — header ile AYNI lacivert cam görünümü */
/* Header şeffaf olduğu için arkadaki lacivert body (#191b2b) header'da görünür. */
/* Footer da aynı lacivert yarı saydam + blur kullanır. */
body { background-color: #191b2b; }
.page-footer {
    background: rgba(25, 27, 43, 0.55) !important;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    color: #dbe0e7;
}
/* Footer metinleri koyu lacivert zeminde açık okunur */
.page-footer .text-muted,
.page-footer a.text-muted {
    color: rgba(219, 224, 231, 0.85) !important;
}
.page-footer .material-icons-outlined {
    color: rgba(219, 224, 231, 0.85) !important;
}

/* Sidebar kapalıyken (toggled) footer sol kenara yaslansın */
.toggled .page-footer {
    left: 70px;
}

/* Mobil: sidebar off-canvas (ekran dışı) olduğu için footer tam genişlik.
   Ayrıca sabit yükseklik (40px) içeriği kesiyor — footer'ı akışa al,
   içeriğe göre büyüsün ve sayfa sonunda tam görünsün. */
@media only screen and (max-width: 768px) {
    .page-footer,
    .toggled .page-footer {
        position: static;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        min-height: 40px;
        padding: 10px 12px;
    }
    .page-footer .row {
        margin-top: 0;
        margin-bottom: 0;
        gap: 8px 0;
    }
    /* Mobilde akışta olduğu için ayrıca boşluk gerekmez */
    .main-wrapper {
        padding-bottom: 0;
    }
}

/* Footer sabit olduğu için içerik footer'ın altında kalmasın (masaüstü) */
.main-wrapper {
    padding-bottom: 70px;
}

/* ============================================================
   STORY MODÜLÜ — Yalnızca bu bölüm için CSS eklenmiştir
   (Diğer modüller orijinal .card.rounded-4 yapısını kullanır)
   ============================================================ */
.story-wrapper { width: 100%; display: flex; justify-content: center; }
.story-container { width: 100%; max-width: 1350px; padding: 0 25px; position: relative; }

.story-circle {
    width: 95px; height: 95px; border-radius: 50%; padding: 6px;
    border: 1px solid #93c909; background: #12151c;
    position: relative; overflow: hidden;
}
.story-circle:hover { transition: transform 0.4s ease; }
.story-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.story-overlay {
    position: absolute;
    bottom: 6px; left: 6px; right: 6px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 18px 8px 6px 8px;
    border-radius: 0 0 50% 50%;
    pointer-events: none;
}
.story-overlay .story-title {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    margin: 0;
    letter-spacing: 0.3px;
}
.story-title { font-size: 16px; margin-top: 8px; color: #e3e5e8; text-align: center; white-space: nowrap; }

.story-window {
    position: relative; width: 100%; max-width: 372px; height: 660px;
    background: #000; border-radius: 15px; overflow: hidden;
}
.story-header { position: absolute; top: 15px; left: 10px; right: 10px; z-index: 10005; }
.progress-bar-bg { height: 2px; background: rgba(255,255,255,0.5); border-radius: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: #f5f5f5; width: 0%; }
.close-btn { position: absolute; top: 25px; right: 15px; color: #fff; font-size: 24px; cursor: pointer; z-index: 10006; }
.nav-side { position: absolute; top: 0; height: 100%; width: 100%; z-index: 10004; }
.main-story-img { width: 100%; height: 100%; object-fit: cover; }

.story-node { cursor: pointer; }

#storyOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
.nav-left { left: 0; }
.nav-right { right: 0; }
.run-progress { animation: progressFill 3.1s linear forwards; }
@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

@media (max-width: 576px) {
    .story-window { height: 100vh; max-width: 100%; border-radius: 0; }
    .story-circle { width: 75px; height: 75px; }
    #storyOverlay .story-window { height: 100vh; max-width: 100%; border-radius: 0; }
}

/* ============================================================
   ÖDÜL ÇARKI — cark-html/style.css BİREBİR kopya
   (yalnızca seçiciler #odul-carki-modal kapsamına alındı)
   Kaynak: /home/75bonuspops.site/public_html/cark-html/style.css
   ============================================================ */

/* --- Fullscreen modal: cark-html body stili birebir --- */
.odul-carki-modal-full .modal-dialog { margin: 0; max-width: 100%; }
.odul-carki-modal-full .modal-content {
    border: 0;
    border-radius: 0;
    min-height: 100vh;
    /* cark-html body ile BİREBİR */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    background: repeating-conic-gradient(#f58e3f 0 18deg, #ffd103 0 36deg);
    /* ÖNEMLİ: stacking context oluştur — negatif z-index'li çark
       parçaları (.back-wheel, .holder, .shadow) arka planın
       ALTINDA kalmasın, üstünde görünsün */
    position: relative;
    z-index: 0;
}
.odul-carki-modal-full .modal-backdrop.show { opacity: 0.4; }
.odul-carki-modal-full .modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding: 1rem 1.5rem;
}
.odul-carki-title {
    color: #1a1a1a;
    font-size: 1.35rem;
    letter-spacing: 0.3px;
}
.odul-carki-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;               /* modal-content yüksekliğini doldur → dikey ortalama */
    width: 100%;
    padding: 2rem 1rem 3rem;
}

/* --- ÇARK (cark-html birebir, #odul-carki-modal kapsamında) --- */
#odul-carki-modal .odul-carki-wheel-wrap {
    /* SPIN butonu (top:-80px) için üst boşluk — header ile çakışmasın */
    margin-top: 90px;
}
#odul-carki-modal .fortune-wheel,
#odul-carki-modal .wheel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#odul-carki-modal .wheel {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    /* conic-gradient JS ile dinamik üretilir (DB renkleri) */
}
#odul-carki-modal .back-wheel,
#odul-carki-modal .back-wheel:after {
    position: absolute;
    border-radius: 50%;
}
#odul-carki-modal .back-wheel {
    width: 270px;
    height: 270px;
    background-color: #333;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    z-index: -1;
}
#odul-carki-modal .back-wheel:after {
    content: "";
    border: 5px dotted yellow;
    width: 260px;
    height: 260px;
    animation: light .5s linear infinite;
}
@keyframes light {
    0%   { filter: hue-rotate(0deg); }
    50%  { filter: hue-rotate(130deg); }
    100% { filter: hue-rotate(0deg); }
}
#odul-carki-modal .ring {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 100%;
    /* ilk dilimi üst oka ortalamak için JS ile -degPer/2 uygulanır */
}
#odul-carki-modal .label {
    top: 50%;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-origin: 50% 0;
    position: absolute;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
    text-shadow: 0 2px 3px rgba(0,0,0,.6);
    /* JS: transform: rotate(i*degPer) translate(0,-30%) inline uygulanır */
}
#odul-carki-modal .label span {
    display: inline-block;
    width: 150px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* JS: transform: rotate(90deg) inline uygulanır
       → metin merkezden dışa doğru okunur (radyal) */
}
#odul-carki-modal .holder {
    position: absolute;
    background-color: #333;
    width: 100px;
    height: 100px;
    overflow: hidden;
    z-index: -2;
    top: 220px;
    left: 32%;
}
#odul-carki-modal .holder:before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    background-color: rgba(0,0,0,.4);
    top: -218px;
    left: -85%;
    border-radius: 50%;
}
#odul-carki-modal .shadow {
    position: absolute;
    width: 250px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.3);
    top: 320px;
}
#odul-carki-modal .shadow:before {
    content: "";
    position: absolute;
    background-color: #333;
    width: 200px;
    height: 30px;
    border-radius: 100px 100px 0 0;
    left: 30px;
    top: -15px;
    box-shadow: inset 0 -10px rgba(0,0,0,.3);
}
#odul-carki-modal .shadow:after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: yellow;
    border: 5px solid #333;
    border-radius: 50%;
    box-shadow: inset -5px -5px rgba(0,0,0,.2);
    top: -215px;
    left: 105px;
}
#odul-carki-modal .arrow,
#odul-carki-modal .arrow:before {
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
}
#odul-carki-modal .arrow {
    border-color: #333 transparent transparent transparent;
    border-width: 50px 20px 0 20px;
    top: -15px;
    z-index: 4;
}
#odul-carki-modal .arrow:before {
    content: "";
    border-color: #9e2a2b transparent transparent transparent;
    border-width: 38px 13px 0 13px;
    top: -46px;
    left: -13px;
}
#odul-carki-modal .spin {
    position: absolute;
    top: -80px;
    width: 150px;
    height: 50px;
    background-color: transparent;
    border: 5px solid red;
    border-radius: 50px;
    color: red;
    font-weight: 900;
    font-size: 30px;
    transition: .1s;
    cursor: pointer;
    z-index: 5;
}
#odul-carki-modal .spin:hover:not(:disabled) {
    background-color: red;
    color: yellow;
}
#odul-carki-modal .spin:active:not(:disabled) {
    width: 200px;
    color: #affc41;
}
#odul-carki-modal .spin:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* --- Alt bilgi: durum, kalan hak (cark-html .status/.remaining birebir) --- */
#odul-carki-modal .odul-carki-status {
    margin-top: 100px;
    font-size: 18px;
    font-weight: 800;
    color: #f4f3f3;
    text-shadow: 0 1px 0 rgba(255,255,255,.4);
    min-height: 26px;
    text-align: center;
    max-width: 320px;
}
#odul-carki-modal .odul-carki-kalan {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #ee0f0f;
    text-shadow: 0 2px 3px rgba(255,255,255,.9);
    text-align: center;
}

/* ============================================================
   SPONSORLAR — SADECE MOBİL DÜZENLEMELER
   Desktop görünümüne KESİNLİKLE dokunmaz (max-width media query)
   ============================================================ */
@media (max-width: 767.98px) {
    /* Sütunlar arası gap'i daralt (g-3 yerine daha sıkı) */
    .sponsor-grid {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
    }
    /* Kart içi boşluğu daralt (alttan üstten) */
    .sponsor-grid .card-body {
        padding: 0.5rem 0.6rem !important;
    }
    /* Logo container min-height'i küçült, logoyu büyüt */
    .sponsor-grid .card-body .text-center {
        min-height: auto !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
    }
    .sponsor-grid .card-body .text-center img {
        max-height: 90px !important;
        max-width: 100% !important;
        width: auto !important;
    }
}
