/* Ekrem Abi v5 — sponsor atlasları, oran güvenli kampanyalar ve klasik çark */

/* Aynı sponsor görselini her yerde tekrarlamak yerine iki ayrı 3x2 atlas kullanılır. */
.generated-sponsor-art,.generated-daily-art{background-repeat:no-repeat!important;background-size:100% 100%,300% 200%!important;background-color:#0b0e13!important}
.generated-sponsor-art{background-image:linear-gradient(180deg,transparent 48%,#07090eea 100%)!important}
.generated-daily-art{background-image:linear-gradient(180deg,transparent 48%,#07090eea 100%)!important}
.generated-sponsor-art.art-0,.generated-daily-art.art-0{background-position:center,0 0!important}
.generated-sponsor-art.art-1,.generated-daily-art.art-1{background-position:center,50% 0!important}
.generated-sponsor-art.art-2,.generated-daily-art.art-2{background-position:center,100% 0!important}
.generated-sponsor-art.art-3,.generated-daily-art.art-3{background-position:center,0 100%!important}
.generated-sponsor-art.art-4,.generated-daily-art.art-4{background-position:center,50% 100%!important}
.generated-sponsor-art.art-5,.generated-daily-art.art-5{background-position:center,100% 100%!important}
.module-art.generated-sponsor-art:before,.daily-reward-art.generated-daily-art:before{content:"";position:absolute;z-index:1;inset:0;border:1px solid color-mix(in srgb,var(--module-color,var(--reward-color)) 45%,transparent);box-shadow:inset 0 0 32px color-mix(in srgb,var(--module-color,var(--reward-color)) 13%,transparent);pointer-events:none}
.module-page[data-module="biletler"] .module-art{aspect-ratio:4/3}.module-page[data-module="yayinda"] .module-art,.module-page[data-module="yayinlar"] .module-art{aspect-ratio:16/10}.module-page[data-module="ozel-oranlar"] .module-art{aspect-ratio:5/4}
.module-page[data-theme="crimson"] .generated-sponsor-art:before{background:linear-gradient(135deg,#ff174f20,transparent 50%)}
.module-page[data-theme="violet"] .generated-sponsor-art:before{background:linear-gradient(135deg,#8d63ff20,transparent 50%)}
.module-page[data-theme="emerald"] .generated-sponsor-art:before{background:linear-gradient(135deg,#32dc8220,transparent 50%)}

/* Ana görsel ve metinsiz açılış: logo yerine üretilmiş rulet/blackjack sahnesi. */
.hero-casino-art{width:100%;min-width:0;height:330px;position:relative;z-index:2;border:1px solid #f1ae3f55;border-radius:30px;background-image:linear-gradient(135deg,#07090d20,#07090d55);background-repeat:no-repeat;background-size:100% 100%;background-position:center;box-shadow:inset 0 0 45px #0009,0 24px 55px #000b,0 0 35px #ff5c2a35;animation:v5-casino-float 4.2s ease-in-out infinite;overflow:hidden}
.hero-casino-art:before{content:"";position:absolute;inset:-20%;background:linear-gradient(105deg,transparent 35%,#fff3bc26 48%,transparent 60%);animation:v5-casino-sheen 5.5s ease-in-out infinite}
.loader-casino-art{width:184px;height:184px;position:relative;z-index:2;border:7px solid #100d0b;border-radius:50%;background-image:radial-gradient(circle,#5a2c18,#090b10 70%);box-shadow:0 0 0 2px #ffcc5b,0 0 0 12px #35170d,0 0 65px #ff5a2d66,inset 0 0 38px #000;animation:v5-loader-wheel 2.6s cubic-bezier(.5,.05,.25,1) infinite}
.loader-casino-art:before,.loader-casino-art:after{content:"";position:absolute;inset:-25px;border:2px solid transparent;border-top-color:#ffcf5c;border-right-color:#ff315b;border-radius:50%;animation:v5-loader-ring 1.25s linear infinite}.loader-casino-art:after{inset:-43px;border-width:1px;border-top-color:#ff6b31;border-left-color:#f3b946;animation-direction:reverse;animation-duration:2.1s}
@keyframes v5-casino-float{50%{transform:translateY(-7px);filter:brightness(1.12)}}
@keyframes v5-casino-sheen{0%,62%{transform:translateX(-60%) rotate(8deg)}100%{transform:translateX(60%) rotate(8deg)}}
@keyframes v5-loader-wheel{50%{filter:brightness(1.2);transform:scale(1.045)}}
@keyframes v5-loader-ring{to{transform:rotate(360deg)}}

/* İki yan reklam alanı aynı atlasın ayrı, parlak dikey panellerini kullanır. */
.sponsor-rail{background-repeat:no-repeat!important;background-size:100% 100%,auto 100%!important;background-color:#090c12!important}
.sponsor-rail-left{background-position:center,72% center!important}.sponsor-rail-right{background-position:center,94% center!important}
.sponsor-rail h2{margin-top:auto;padding:7px 5px;border-radius:8px;background:#05070bc7;text-shadow:0 2px 7px #000}.sponsor-rail p{padding:0 4px;text-shadow:0 2px 7px #000}.sponsor-rail>b{margin-top:9px}

/* Telegram görseli her gelen görsel oranında kırpılmadan ortalanır. */
.campaign-image{aspect-ratio:1/1!important;min-height:0!important;display:grid!important;place-items:center;background:#0a0d12!important;isolation:isolate}
.campaign-backdrop{display:block!important;position:absolute!important;z-index:0!important;inset:-18px!important;overflow:hidden!important;opacity:.52!important;filter:blur(17px) saturate(1.15) brightness(.62)!important;transform:scale(1.12)!important}
.campaign-backdrop img{width:100%!important;height:100%!important;object-fit:cover!important}
.campaign-image>picture{width:100%!important;height:100%!important;position:relative!important;z-index:2!important;display:grid!important;place-items:center!important}
.campaign-image>picture>img,.campaign-image>img{width:100%!important;height:100%!important;position:relative!important;z-index:2!important;object-fit:contain!important;object-position:center!important;transform:none!important}
.campaign-image:after{z-index:3}

/* Önceki ateş ocağı çarkı: görünüm geri döndü, aktif sponsor mantığı korunur. */
.classic-wheel .wheel-app-stage{min-height:840px;padding:23px 24px 36px;border:1px solid #303743;border-radius:20px;background:linear-gradient(180deg,#06090db8,#06090d20 30%,#06090de6 94%),url("ember-wheel-stage.webp") center top/cover no-repeat;box-shadow:inset 0 0 85px #000d,0 30px 75px #000b}
.classic-wheel .wheel-app-stage:before{background:radial-gradient(circle at 50% 60%,#ff6d2430,transparent 36%);animation:emblem-breathe 3s ease-in-out infinite}
.classic-wheel .wheel-page .wheel-stage{width:100%;min-height:760px;padding:56px 15px 30px;border:0;background:none;box-shadow:none}
.classic-wheel .wheel-page .wheel-title{z-index:8;min-width:176px;margin-bottom:-14px;padding:12px 29px 15px;border:2px solid #ffb02f;background:linear-gradient(180deg,#554c4b,#201e22 38%,#090b10);box-shadow:inset 0 0 0 4px #16171b,0 9px 20px #000b,0 0 18px #ff6b1d55;filter:none}
.classic-wheel .wheel-page .wheel-title small{font-size:7px}.classic-wheel .wheel-page .wheel-title b{color:#ffb934;font-size:20px;text-shadow:0 2px 0 #6c2308,0 0 12px #ff7a1f}
.classic-wheel .wheel-page .wheel-machine{--wheel-size:min(570px,68vw);z-index:6;border:6px solid #171a20;background:radial-gradient(circle,#24150e 0 59%,#0a0c10 60% 68%,transparent 69%);box-shadow:inset 0 0 0 3px #aa5a22,inset 0 0 25px #000,0 18px 50px #000c,0 0 24px #ff6e213e}
.classic-wheel .wheel-page .wheel-machine:before{inset:-11px;background:repeating-conic-gradient(from 8deg,#59616c 0 4deg,#191c22 4deg 13deg,#df6d20 13deg 15deg,#20242a 15deg 30deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 13px),#000 calc(100% - 12px));mask:radial-gradient(farthest-side,transparent calc(100% - 13px),#000 calc(100% - 12px));filter:drop-shadow(0 0 7px #ff641d80)}
.classic-wheel .wheel-page .wheel-pointer{z-index:7;top:-10px;width:68px;height:104px;padding:0 0 36px;clip-path:polygon(50% 100%,8% 36%,14% 11%,30% 0,70% 0,86% 11%,92% 36%);background:linear-gradient(90deg,#63300d,#ffcf62 30%,#e58a24 62%,#5d2709);color:#4f2108;font-size:14px;filter:drop-shadow(0 6px 8px #000) drop-shadow(0 0 9px #ff7b25)}
.classic-wheel .wheel-page .wheel-label{width:112px;gap:5px;padding:0;border:0;background:transparent;filter:drop-shadow(0 3px 4px #000)}
.classic-wheel .wheel-page .wheel-label b{color:#fff7e6;font-size:clamp(13px,1.45vw,18px)}.classic-wheel .wheel-page .wheel-label small{max-width:108px;color:#ffc86d;font-size:8px}
.classic-wheel .wheel-page .wheel-hub{width:112px;height:112px;padding:12px;border:10px solid #19130b;background:radial-gradient(circle at 35% 24%,#fff1a6 0,#eaa134 24%,#a95015 54%,#3a1608 78%);display:flex!important;box-shadow:0 0 0 3px #ffca58,0 0 0 8px #3b2a17,0 0 34px #ff7b22,inset 0 -12px 20px #411306}
.classic-wheel .wheel-page .spin-button{min-width:210px;margin-top:22px;padding:14px 28px;border-color:#ffbe4e;border-radius:11px;background:linear-gradient(180deg,#ffcf57,#e27e1e 58%,#a94312);color:#241105;font-size:12px;text-shadow:0 1px #fff6a0}
.classic-wheel .wheel-page .wheel-result{max-width:450px;border-color:#8e5a25;background:linear-gradient(145deg,#211d19ee,#111419f2)}

@media(max-width:760px){
  .hero-casino-art{height:230px;border-radius:22px}.loader-casino-art{width:138px;height:138px}.loader-casino-art:before{inset:-19px}.loader-casino-art:after{inset:-32px}
  .sidebar.is-open{z-index:1200;height:100vh;height:100dvh;padding:66px 11px 12px;overflow:hidden;display:flex!important;flex-direction:column}
  .sidebar.is-open .main-nav{flex:1 1 auto;min-height:0;margin:0;overflow-y:auto;overscroll-behavior:contain;padding:0 3px 10px 0}
  .sidebar.is-open .telegram-card{min-height:68px!important;margin:8px 0 0!important;padding:12px 10px 12px 50px!important;position:relative;flex:0 0 auto;border-color:#79d8ff99!important;background:linear-gradient(135deg,#168ec8,#126491)!important;box-shadow:0 11px 25px #0008,0 0 20px #229ed944!important}
  .sidebar.is-open .telegram-card:before{content:"";width:29px;height:29px;left:12px;right:auto;top:50%;bottom:auto;opacity:1;transform:translateY(-50%);background:url("social-telegram.svg") center/contain no-repeat}
  .sidebar.is-open .telegram-card b{font-size:9px!important}.sidebar.is-open .telegram-card small{color:#d8f5ff!important;font-size:7px!important}.sidebar.is-open .version{display:none}
  .sidebar-backdrop{z-index:1190!important}body.menu-is-open .mobile-bottom-nav{opacity:0;visibility:hidden;pointer-events:none}
  .daily-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.daily-reward-card>.daily-reward-art{aspect-ratio:1/1}.daily-reward-card>.daily-reward-art>strong{left:6px;right:5px;bottom:7px;font-size:11px}.daily-reward-card>.daily-reward-copy{min-height:150px;padding:7px}.daily-reward-copy>div{display:block}.daily-reward-copy>div span{display:block;margin-top:3px;font-size:6px}.daily-reward-card h3{font-size:9px;line-height:1.15}.daily-reward-card p{font-size:6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.daily-reward-card a{width:100%;padding:7px 3px;justify-content:center;text-align:center;font-size:6px}
  .classic-wheel .wheel-app-stage{min-height:650px;padding:14px 2px 22px;border-radius:14px;background-size:auto 100%}.classic-wheel .wheel-page .wheel-stage{min-height:570px;padding:38px 0 15px}.classic-wheel .wheel-page .wheel-machine{--wheel-size:min(78vw,390px);border-width:4px}.classic-wheel .wheel-page .wheel-pointer{top:-3px;width:42px;height:64px;padding-bottom:10px;font-size:10px}.classic-wheel .wheel-page .wheel-label{width:66px;gap:3px}.classic-wheel .wheel-page .wheel-label b{font-size:9px}.classic-wheel .wheel-page .wheel-label small{max-width:64px;font-size:5.5px}.classic-wheel .wheel-page .wheel-hub{width:78px;height:78px;padding:6px;border-width:6px}.classic-wheel .wheel-page .spin-button{min-width:190px;padding:13px 18px;font-size:10px}
}

@media(max-width:390px){.daily-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.classic-wheel .wheel-page .wheel-machine{--wheel-size:min(76vw,300px)}.classic-wheel .wheel-page .wheel-label{width:58px}.classic-wheel .wheel-page .wheel-label b{font-size:8.5px}.classic-wheel .wheel-page .wheel-label small{max-width:56px;font-size:5px}}
@media(prefers-reduced-motion:reduce){.hero-casino-art,.hero-casino-art:before,.loader-casino-art,.loader-casino-art:before,.loader-casino-art:after{animation:none!important}}
