/* =========================================================
   BETJI SOFT PREMIUM CUSTOM CSS
   Eski Custom CSS kodlarını kaldırıp bunu tek parça ekleyin.
========================================================= */


/* =========================================================
   1. GENEL DEĞİŞKENLER
========================================================= */

:root {
    --betji-bg-dark: #09050f;
    --betji-bg-main: #100719;
    --betji-bg-purple: #241038;
    --betji-purple: #a71ed9;
    --betji-purple-dark: #7421aa;
    --betji-gold: #f8c640;
    --betji-gold-dark: #d99d1c;
    --betji-text: #ffffff;
    --betji-muted: #c9c3d8;
    --betji-border: rgba(255, 255, 255, 0.07);
    --betji-card: rgba(255, 255, 255, 0.035);
    --betji-radius-sm: 8px;
    --betji-radius-md: 12px;
    --betji-radius-lg: 18px;
}


/* =========================================================
   2. GENEL SAYFA ARKA PLANI
========================================================= */

html,
body {
    background-color: var(--betji-bg-dark) !important;
}

body {
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(167, 30, 217, 0.16),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #160a25 0%,
            #100719 45%,
            #09050f 100%
        ) !important;

    background-attachment: fixed !important;
    color: var(--betji-text);
}

body > .flex-1 {
    background: transparent !important;
}

main {
    position: relative;
}

main img {
    user-select: none;
    -webkit-user-drag: none;
}


/* =========================================================
   3. HEADER
========================================================= */

header.sticky {
    background: rgba(28, 11, 45, 0.91) !important;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07) !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.16);

    transition:
        background-color 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease !important;
}

header.sticky.is-scrolled {
    background: rgba(22, 8, 36, 0.97) !important;

    box-shadow:
        0 10px 34px rgba(0, 0, 0, 0.3);
}

header img {
    transition:
        opacity 180ms ease,
        transform 180ms ease !important;
}

header a:hover img {
    opacity: 0.92 !important;
    transform: scale(1.015);
}


/* Header menü linkleri */

header nav a {
    position: relative;

    border-radius: 8px !important;

    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        opacity 180ms ease !important;
}

header nav a:hover {
    background:
        rgba(255, 255, 255, 0.06) !important;

    color: var(--betji-gold) !important;

    opacity: 1 !important;

    transform: translateY(-1px);
}


/* Profil butonu */

header button.w-10.h-10 {
    background:
        rgba(255, 255, 255, 0.055) !important;

    border:
        1px solid rgba(255, 255, 255, 0.1) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease !important;
}

header button.w-10.h-10:hover {
    background:
        rgba(255, 255, 255, 0.1) !important;

    border-color:
        rgba(248, 198, 64, 0.28) !important;

    transform: translateY(-1px);
}


/* =========================================================
   4. PARA YATIRMA / BONUS BUTONLARI
========================================================= */

button[aria-label="Para Yatırma"],
button[aria-label="Bonus Talep"] {
    border:
        1px solid rgba(255, 255, 255, 0.11) !important;

    transition:
        transform 180ms ease,
        filter 180ms ease,
        box-shadow 180ms ease !important;
}


/* Para yatırma altın */

button[aria-label="Para Yatırma"] {
    background:
        linear-gradient(
            135deg,
            #f9d366 0%,
            #f0b629 48%,
            #d99412 100%
        ) !important;

    color: #241038 !important;

    box-shadow:
        0 8px 22px rgba(217, 157, 28, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}


/* Bonus mor */

button[aria-label="Bonus Talep"] {
    background:
        linear-gradient(
            135deg,
            #b533e4 0%,
            #9423c8 50%,
            #7421aa 100%
        ) !important;

    color: #ffffff !important;

    box-shadow:
        0 8px 22px rgba(118, 30, 165, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

button[aria-label="Para Yatırma"]:hover,
button[aria-label="Bonus Talep"]:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.06) !important;
}

button[aria-label="Para Yatırma"]:active,
button[aria-label="Bonus Talep"]:active {
    transform: translateY(0) scale(0.995) !important;
}


/* Buton ikon yuvarlakları */

button[aria-label="Para Yatırma"] > span:first-child,
button[aria-label="Bonus Talep"] > span:first-child {
    background:
        rgba(255, 255, 255, 0.2) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}


/* =========================================================
   5. ANA SLIDER
========================================================= */

main .relative.w-full.overflow-hidden[style*="height: 450px"] {
    height: clamp(220px, 29vw, 450px) !important;

    border-radius:
        0 0 var(--betji-radius-lg) var(--betji-radius-lg);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.18);
}

main .relative.w-full.overflow-hidden[style*="height: 450px"] img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;
}


/* =========================================================
   6. TÜM BANNER HOVER EFEKTLERİNİ YUMUŞAT
========================================================= */

.group img[class*="group-hover:scale-105"] {
    transition-duration: 350ms !important;
    transition-timing-function: ease !important;
}

.group:hover img[class*="group-hover:scale-105"] {
    transform: scale(1.025) !important;
}


/* =========================================================
   7. ANA KATEGORİ + PRAGMATIC + EGT + SAĞLAYICILAR ALANI
========================================================= */

/*
   Bu ana bloğu yalnızca slot_oyunlar görseli üzerinden hedefler.
*/

.w-full.px-4.py-4.space-y-4:has(
    img[src*="a398d7ee_slot_oyunlar.png"]
) {
    width: 100% !important;

    max-width: 1500px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* Bu bloktaki tüm görseller */

.w-full.px-4.py-4.space-y-4:has(
    img[src*="a398d7ee_slot_oyunlar.png"]
) img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    object-fit: contain !important;
}


/* Tüm kartlara soft çerçeve */

.w-full.px-4.py-4.space-y-4:has(
    img[src*="a398d7ee_slot_oyunlar.png"]
) > div > * {
    border:
        1px solid rgba(255, 255, 255, 0.07) !important;

    background:
        rgba(255, 255, 255, 0.02);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease !important;
}

.w-full.px-4.py-4.space-y-4:has(
    img[src*="a398d7ee_slot_oyunlar.png"]
) > div > *:hover {
    border-color:
        rgba(248, 198, 64, 0.16) !important;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


/* =========================================================
   8. MASAÜSTÜ ANA GÖRSEL ALANI
========================================================= */

@media (min-width: 1024px) {

    /*
       İlk alan:
       Slot / Canlı Casino / Spor / Espor / Hızlı / Bonus
       6 sütun tek sıra
    */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(1) {
        display: grid !important;

        grid-template-columns:
            repeat(6, minmax(0, 1fr)) !important;

        gap: 12px !important;

        width: 100% !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(1) > * {
        width: 100% !important;

        min-width: 0 !important;
        max-width: none !important;

        margin: 0 !important;

        flex: none !important;
    }


    /*
       İkinci alan:
       Pragmatic ve EGT
    */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(2) {
        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 16px !important;

        width: 100% !important;

        max-width: 1220px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(2) > * {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;

        flex: none !important;
    }


    /*
       Üçüncü alan:
       Yatay sağlayıcılar
    */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(3) {
        display: flex !important;

        justify-content: center !important;

        width: 100% !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(3) > * {
        width: 100% !important;

        max-width: 1200px !important;

        margin: 0 auto !important;

        flex: none !important;
    }
}


/* =========================================================
   9. TABLET ANA GÖRSEL ALANI
========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    /* 6 kategori: 3x2 */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(1) {
        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(1) > * {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;

        flex: none !important;
    }


    /* Pragmatic ve EGT yan yana */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(2) {
        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(2) > * {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;

        flex: none !important;
    }


    /* Sağlayıcılar */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(3) > * {
        width: 100% !important;
        max-width: none !important;
    }
}


/* =========================================================
   10. MOBİL ANA GÖRSEL ALANI
========================================================= */

@media (max-width: 767px) {

    body {
        background-attachment: scroll !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }


    /*
       6 kategori:
       3 sütun, 2 satır
    */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(1) {
        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 6px !important;

        width: 100% !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(1) > * {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;

        flex: none !important;

        border-radius: 8px !important;
    }


    /*
       Pragmatic ve EGT:
       Mobilde alt alta
    */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(2) {
        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 8px !important;

        width: 100% !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(2) > * {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;

        flex: none !important;

        border-radius: 9px !important;
    }


    /* Yatay sağlayıcılar */

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(3) {
        display: block !important;

        width: 100% !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div:nth-child(3) > * {
        width: 100% !important;

        max-width: none !important;

        margin: 0 !important;

        flex: none !important;

        border-radius: 9px !important;
    }
}


/* =========================================================
   11. DOKUZLU OYUN/BANNER ALANI
========================================================= */

section.my-12:has(
    img[src*="db31623b_2.png"]
) {
    margin-top: 28px !important;
    margin-bottom: 32px !important;

    padding: 14px !important;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius:
        var(--betji-radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.16);
}


/* Kart çerçevesi */

section.my-12:has(
    img[src*="db31623b_2.png"]
) div[class*="gcol-"] > div > div {
    border:
        1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.16);

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease !important;
}

section.my-12:has(
    img[src*="db31623b_2.png"]
) div[class*="gcol-"]:hover > div > div {
    border-color:
        rgba(248, 198, 64, 0.15);

    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.21);
}


/* Masaüstü: 9 tek sıra */

@media (min-width: 1024px) {

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) {
        display: grid !important;

        grid-template-columns:
            repeat(9, minmax(0, 1fr)) !important;

        gap: 10px !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        width: 100% !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) > div[class*="gcol-"] {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        margin-bottom: 0 !important;

        flex: none !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) .min-h-\[200px\] {
        min-height: 0 !important;
        height: auto !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) img {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;
    }
}


/* Tablet: 5 + 4 */

@media (min-width: 768px) and (max-width: 1023px) {

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) {
        display: grid !important;

        grid-template-columns:
            repeat(5, minmax(0, 1fr)) !important;

        gap: 8px !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) > div[class*="gcol-"] {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        padding: 0 !important;
        margin: 0 !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) .min-h-\[200px\] {
        min-height: 0 !important;
        height: auto !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) img {
        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;
    }
}


/* Mobil: 3x3 */

@media (max-width: 767px) {

    section.my-12:has(
        img[src*="db31623b_2.png"]
    ) {
        margin-top: 20px !important;
        margin-bottom: 24px !important;

        padding: 8px !important;

        border-radius: 12px !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) {
        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 6px !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        width: 100% !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) > div[class*="gcol-"] {
        width: 100% !important;

        max-width: none !important;
        min-width: 0 !important;

        padding: 0 !important;

        margin: 0 !important;

        flex: none !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) .min-h-\[200px\] {
        min-height: 0 !important;
        height: auto !important;
    }

    .flex.flex-wrap.-mx-3.row-auto:has(
        img[src*="db31623b_2.png"]
    ) img {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;
    }
}


/* =========================================================
   12. JACKPOT ALANI
========================================================= */

/* Jackpot ana alanına panel görünümü */

div.w-full.overflow-hidden.px-4.md\:px-6.py-4:has(
    h2
) {
    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius:
        var(--betji-radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.008)
        );

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.15);
}


/* Jackpot kartları */

.grid.grid-cols-2.md\:grid-cols-4.gap-3 > div {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        ) !important;

    border-color:
        rgba(255, 255, 255, 0.07) !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease !important;
}

.grid.grid-cols-2.md\:grid-cols-4.gap-3 > div:hover {
    transform: translateY(-2px);

    border-color:
        rgba(248, 198, 64, 0.15) !important;

    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.22);
}


/* Jackpot sekmeleri */

button.bg-primary {
    background:
        linear-gradient(
            135deg,
            var(--betji-gold),
            var(--betji-gold-dark)
        ) !important;

    color: #241038 !important;

    box-shadow:
        0 6px 15px rgba(248, 198, 64, 0.17);
}


/* =========================================================
   13. FOOTER
========================================================= */

footer {
    background:
        linear-gradient(
            180deg,
            rgba(30, 12, 48, 0.97),
            #0b0610
        ) !important;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);
}


/* Footer iç çizgileri */

footer .border-t {
    border-color:
        rgba(255, 255, 255, 0.065) !important;
}


/* Footer başlıkları */

footer h4 {
    color: var(--betji-gold) !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    letter-spacing: 0.01em;
}


/* Footer linkleri */

footer a {
    transition:
        color 160ms ease,
        transform 160ms ease,
        opacity 160ms ease !important;
}

footer a:hover {
    color: #ffffff !important;

    opacity: 1 !important;

    transform: translateX(2px);
}


/* İçeriği olmayan footer kolonlarını gizle */

footer .grid > div:has(h4):not(:has(li)):not(:has(a)) {
    display: none !important;
}


/* İlk footer kolon düzeni */

footer .container > .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-6 {
    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 28px !important;
}


/* Footer özellik ikonları */

footer .w-12.h-12.rounded-xl {
    border:
        1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}


/* Footer copyright */

footer p {
    color: var(--betji-muted) !important;
}


/* =========================================================
   14. MOBİL GENEL AYARLAR
========================================================= */

/* =========================================================
   15. HOVER DESTEKLEMEYEN CİHAZLAR
========================================================= */

@media (hover: none) {

    .group:hover img[class*="group-hover:scale-105"] {
        transform: none !important;
    }

    .w-full.px-4.py-4.space-y-4:has(
        img[src*="a398d7ee_slot_oyunlar.png"]
    ) > div > *:hover {
        transform: none !important;
    }

    .grid.grid-cols-2.md\:grid-cols-4.gap-3 > div:hover {
        transform: none !important;
    }
}


/* =========================================================
   16. HAREKET AZALTMA TERCİHİ
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}