/* CSP-safe hover helpers */
.hover-lift { transition:transform .2s,border-color .2s; }
.hover-lift:hover { transform:translateY(-3px); border-color:rgba(245,158,11,0.4) !important; }
.hover-opacity:hover { opacity:.85 !important; }
.hover-bg-close:hover { background:rgba(255,255,255,0.1) !important; }
.hover-bg-cancel:hover { background:rgba(255,255,255,0.08) !important; }

/* Hero slider */
.hero-slider { position:relative; width:100%; overflow:hidden; background:#0a0a1a; height:240px; }
.hero-slider-track { display:flex; transition: transform 0.7s cubic-bezier(.77,0,.18,1); will-change:transform; height:100%; }
.hero-slide { min-width:100%; position:relative; height:240px; }
@media(min-width:768px){ .hero-slider,.hero-slide { height:397px; } }
.hero-slide-bg { position:absolute; inset:0; background-size:cover; background-position:center top; }
.hero-slide-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(105deg, rgba(8,8,20,0.82) 0%, rgba(8,8,20,0.55) 40%, rgba(80,0,120,0.35) 70%, rgba(8,8,20,0.75) 100%); }
.hero-slide-bg::before { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background: linear-gradient(105deg, transparent 45%, rgba(160,0,255,0.18) 50%, rgba(220,80,255,0.10) 55%, transparent 60%); }
.hero-slide-content { position:relative; z-index:2; height:100%; display:flex; align-items:center; padding: 0 24px; max-width: 1280px; margin:0 auto; }
.slide-text { max-width: 520px; }
.hero-slide .slide-text > * { opacity:0; transform:translateY(24px); }
.hero-slide.active .slide-label { animation: slideIn .5s .1s ease forwards; }
.hero-slide.active .slide-title { animation: slideIn .6s .22s ease forwards; }
.hero-slide.active .slide-sub   { animation: slideIn .6s .34s ease forwards; }
.hero-slide.active .slide-cta   { animation: slideIn .5s .46s ease forwards; }
@keyframes slideIn { to { opacity:1; transform:translateY(0); } }
.slide-label { display:inline-flex; align-items:center; gap:8px; background:rgba(249,115,22,0.18); border:1px solid rgba(249,115,22,0.4); color:#fdba74; font-size:12px; font-weight:700; padding:5px 14px; border-radius:99px; letter-spacing:.5px; text-transform:uppercase; margin-bottom:14px; }
.slide-title { font-family:'Lexend',sans-serif; font-weight:900; font-size: clamp(28px,5vw,56px); line-height:1.05; color:#fff; text-shadow: 0 0 40px rgba(249,115,22,0.5), 0 2px 4px rgba(0,0,0,0.8); margin-bottom:10px; }
.slide-title span { color:#fb923c; }
.slide-title .neon { color:#c084fc; text-shadow: 0 0 30px rgba(192,132,252,0.8); }
.slide-sub { color:rgba(255,255,255,0.75); font-size:clamp(13px,1.6vw,16px); line-height:1.6; margin-bottom:20px; font-weight:500; }
.slide-cta { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.btn-primary { display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg,#f97316,#ef4444); color:#fff; font-weight:800; font-size:14px; padding:12px 28px; border-radius:99px; border:none; cursor:pointer; box-shadow:0 4px 20px rgba(249,115,22,0.45); transition:transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s; letter-spacing:.3px; text-decoration:none; }
.btn-primary:hover { transform:scale(1.06) translateY(-1px); box-shadow:0 8px 28px rgba(249,115,22,0.55); }
.btn-secondary { display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,0.1); backdrop-filter:blur(8px); border:1.5px solid rgba(255,255,255,0.25); color:#fff; font-weight:700; font-size:14px; padding:11px 24px; border-radius:99px; cursor:pointer; transition:background .2s, transform .2s; text-decoration:none; }
.btn-secondary:hover { background:rgba(255,255,255,0.18); transform:scale(1.04); }
.slider-arrow { position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.12); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,0.2); color:#fff; cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; transition:background .2s, transform .2s; }
.slider-arrow:hover { background:rgba(249,115,22,0.5); transform:translateY(-50%) scale(1.1); }
.slider-arrow-left { left:16px; } .slider-arrow-right { right:16px; }
.slider-dots { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:7px; z-index:10; }
.slider-dot { width:8px; height:8px; border-radius:99px; background:rgba(255,255,255,0.35); cursor:pointer; transition:all .3s ease; border:none; padding:0; }
.slider-dot.active { background:#f97316; width:24px; }
.slider-progress { position:absolute; bottom:0; left:0; height:3px; z-index:10; background:linear-gradient(90deg,#f97316,#ef4444); transition: width 0.1s linear; }

/* Top rated widget */
.top-rated-widget { background:#0e0e1f; border:1px solid rgba(249,115,22,0.2); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; position:relative; z-index:1; }
@media(min-width:768px){ .top-rated-widget { height:397px; } }
.top-rated-header { background:linear-gradient(135deg,rgba(249,115,22,0.15),rgba(239,68,68,0.1)); padding:10px 14px; border-bottom:1px solid rgba(249,115,22,0.2); display:flex; align-items:center; gap:8px; flex-shrink:0; }
@media(min-width:768px){ .top-rated-header { padding:14px 16px; } }
.top-rated-header h3 { font-size:12px; font-weight:800; color:#fff; letter-spacing:.5px; text-transform:uppercase; margin:0; }
.top-rated-list { display:flex; flex-direction:row; overflow-x:auto; overflow-y:hidden; padding:10px; gap:10px; scrollbar-width:none; -ms-overflow-style:none; touch-action:pan-x; }
.top-rated-list::-webkit-scrollbar { display:none; }
@media(min-width:768px){
  .top-rated-list { flex-direction:column; overflow-x:hidden; overflow-y:auto; padding:4px 0; gap:0; max-height:350px; scrollbar-width:thin; scrollbar-color:rgba(249,115,22,0.3) transparent; touch-action:pan-y; }
  .top-rated-list::-webkit-scrollbar { display:block; width:3px; }
  .top-rated-list::-webkit-scrollbar-thumb { background:rgba(249,115,22,0.4); border-radius:4px; }
}

/* Snap scroll tracks */
.snap-scroll-track::-webkit-scrollbar { display:none; }
.snap-scroll-track { touch-action:pan-x; -webkit-overflow-scrolling:touch; }
.snap-dots { display:flex; justify-content:center; gap:5px; padding:6px 0 2px; }
.snap-dot { width:6px; height:6px; border-radius:99px; background:rgba(0,0,0,0.15); transition:all .25s; flex-shrink:0; }
.snap-dot.active { background:#f97316; width:18px; }

/* Top rated items */
.top-rated-item { display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 8px; border-radius:12px; background:rgba(255,255,255,0.05); text-decoration:none; flex-shrink:0; width:calc(33.333% - 7px); transition:background .15s; position:relative; }
@media(min-width:480px) and (max-width:767px){ .top-rated-item { width:calc(20% - 8px); } }
@media(min-width:768px){ .top-rated-item { flex-direction:row; width:auto; background:transparent; border-radius:0; padding:7px 14px; gap:10px; position:static; } }
.top-rated-item:hover { background:rgba(249,115,22,0.1); }
.top-rated-rank { position:absolute; top:6px; left:6px; font-size:9px; font-weight:900; color:#fff; background:rgba(0,0,0,0.55); width:16px; height:16px; border-radius:5px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
@media(min-width:768px){ .top-rated-rank { position:static; background:transparent; width:18px; height:auto; border-radius:0; font-size:11px; color:rgba(255,255,255,0.3); display:block; text-align:center; } }
.top-rated-rank.gold { background:rgba(250,204,21,0.8); color:#000; }
.top-rated-rank.silver { background:rgba(203,213,225,0.8); color:#000; }
.top-rated-rank.bronze { background:rgba(251,146,60,0.8); color:#000; }
@media(min-width:768px){ .top-rated-rank.gold { background:transparent; color:#facc15; } .top-rated-rank.silver { background:transparent; color:#cbd5e1; } .top-rated-rank.bronze { background:transparent; color:#fb923c; } }
.top-rated-img { width:calc(33.333vw - 32px); height:calc(33.333vw - 32px); max-width:80px; max-height:80px; border-radius:10px; object-fit:cover; flex-shrink:0; background:#1a1a2e; }
@media(min-width:480px) and (max-width:767px){ .top-rated-img { width:calc(20vw - 20px); height:calc(20vw - 20px); max-width:80px; max-height:80px; } }
@media(min-width:768px){ .top-rated-img { width:36px; height:36px; max-width:36px; max-height:36px; border-radius:8px; } }
.top-rated-info { min-width:0; text-align:center; width:100%; }
@media(min-width:768px){ .top-rated-info { flex:1; text-align:left; } }
.top-rated-name { font-size:10.5px; font-weight:700; color:#e2e8f0; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(min-width:768px){ .top-rated-name { font-size:11.5px; white-space:nowrap; display:block; -webkit-line-clamp:unset; text-overflow:ellipsis; } }
.top-rated-meta { display:none; }
@media(min-width:768px){ .top-rated-meta { display:block; font-size:10px; color:rgba(255,255,255,0.45); margin-top:1px; } }
.top-rated-stars { display:flex; align-items:center; gap:1px; flex-shrink:0; justify-content:center; }
@media(min-width:768px){ .top-rated-stars { justify-content:flex-start; gap:2px; } }
.top-rated-stars span { font-size:9px; color:#facc15; }
.top-rated-stars .score { font-size:9px; font-weight:800; color:#facc15; margin-left:1px; white-space:nowrap; }
@media(min-width:768px){ .top-rated-stars span { font-size:10px; } .top-rated-stars .score { font-size:11px; margin-left:2px; } }

/* Ticker */
.ticker-wrap { background: linear-gradient(90deg, #1a0a00, #2d1200, #1a0a00); border-top: 1px solid rgba(249,115,22,0.3); border-bottom: 1px solid rgba(249,115,22,0.3); overflow: hidden; position: relative; height: 38px; display: flex; align-items: center; }
.ticker-badge { position: absolute; left: 0; top: 0; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 7px; background: linear-gradient(135deg, #f97316, #ef4444); padding: 0 18px 0 12px; font-size: 11px; font-weight: 900; color: #fff; letter-spacing: 1.2px; text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); white-space: nowrap; min-width: 115px; }
.ticker-wrap::after { content:''; position:absolute; right:0; top:0; bottom:0; width:60px; z-index:5; background: linear-gradient(to left, #1a0a00, transparent); pointer-events:none; }
.ticker-track { display: flex; align-items: center; white-space: nowrap; animation: tickerScroll 32s linear infinite; padding-left: 130px; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 7px; color: #fed7aa; font-size: 13px; font-weight: 600; padding-right: 36px; }
.ticker-item strong { color: #fb923c; font-weight: 800; }
.ticker-sep { color: #f97316; padding-right: 36px; opacity: 0.6; font-size: 15px; }

/* Pending review modal */
#prModal { display:none; position:fixed; inset:0; z-index:9200; align-items:center; justify-content:center; padding:16px; background:rgba(0,0,0,0.6); backdrop-filter:blur(4px); }
#prModal.show { display:flex; }
#prModalBox { background:#fff; border-radius:24px; box-shadow:0 25px 60px rgba(0,0,0,0.3); width:100%; max-width:440px; overflow:hidden; transform:scale(0.9) translateY(16px); opacity:0; transition:transform 0.25s ease, opacity 0.25s ease; }
#prModal.show #prModalBox { transform:scale(1) translateY(0); opacity:1; }
.pr-star { cursor:pointer; transition:transform 0.1s; }
.pr-star:hover { transform:scale(1.15); }
.pr-star svg { width:36px; height:36px; transition:fill 0.1s; }
