@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

.tko-sg { width:100%; max-width:1140px; margin:0 auto; font-family:'Inter',system-ui,sans-serif; padding-bottom: 2rem; }

/* ── TABS ── */
.tko-sg-tabs {
  display:flex; justify-content:center; gap:6px;
  margin-bottom:24px; flex-wrap:wrap;
}
.tko-sg-tab {
  display:flex; flex-direction:column; align-items:center; gap:6px;
  padding:10px 18px; border-radius:12px; cursor:pointer;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:#7a8aa8; font-size:12px; font-weight:600;
  transition:all .2s; white-space:nowrap; font-family:'Inter',system-ui,sans-serif;
}
.tko-sg-tab:hover { border-color:rgba(255,193,7,.25); color:#c8d0de; background:rgba(255,193,7,.04); }
.tko-sg-tab.active {
  border-color:rgba(255,193,7,.45); color:#ffc107;
  background:rgba(255,193,7,.08);
  box-shadow:0 0 16px rgba(255,193,7,.08);
}
.tko-sg-tab-icon { font-size:20px; line-height:1; }
.tko-sg-tab-label { letter-spacing:.2px; }

/* ── PANEL ── */
.tko-sg-panel { display:none; }
.tko-sg-panel.active { display:block; }

/* ── GRID ── */
.tko-sg-grid {
  display:grid; grid-template-columns:repeat(6,1fr); gap:16px;
}

/* ── CARD ── */
.tko-sg-card {
  background:#0d1520; border:1px solid rgba(255,255,255,.07);
  border-radius:16px; overflow:hidden; display:flex; flex-direction:column;
  position:relative; text-decoration:none!important; cursor:pointer;
  transition:transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  animation:tko-sg-in .3s ease both;
}
@keyframes tko-sg-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.tko-sg-card::before {
  content:''; position:absolute; inset:0; border-radius:16px;
  border:1px solid rgba(255,193,7,0); transition:border-color .25s;
  pointer-events:none; z-index:2;
}
.tko-sg-card:hover { transform:translateY(-6px) scale(1.02); box-shadow:0 20px 48px rgba(0,0,0,.6); }
.tko-sg-card:hover::before { border-color:rgba(255,193,7,.35); }
.tko-sg-card.tko-sg-hidden { display:none; }

/* ── IMAGE ── */
.tko-sg-img-wrap {
  position:relative; aspect-ratio:3/4; overflow:hidden; background:#0a0e17;
}
.tko-sg-img-wrap img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .4s cubic-bezier(.25,.46,.45,.94);
}
.tko-sg-card:hover .tko-sg-img-wrap img { transform:scale(1.08); }
.tko-sg-img-wrap::after {
  content:'▶'; position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.52); color:#fff; font-size:1.4rem;
  opacity:0; transition:opacity .25s; pointer-events:none;
}
.tko-sg-card:hover .tko-sg-img-wrap::after { opacity:1; }
.tko-sg-img-wrap::before {
  content:''; position:absolute; bottom:0; left:0; right:0; height:50%;
  background:linear-gradient(to top,#0d1520,transparent);
  pointer-events:none; z-index:1;
}

/* ── SCORE ── */
.tko-sg-score {
  position:absolute; top:8px; right:8px; z-index:3;
  background:rgba(6,12,21,.88); border:1px solid rgba(255,193,7,.4);
  border-radius:8px; padding:3px 7px;
  font-family:'Rajdhani',sans-serif; font-size:13px; font-weight:700; color:#ffc107;
  display:flex; align-items:center; gap:3px; backdrop-filter:blur(6px); line-height:1;
}
.tko-sg-score svg { width:10px; height:10px; fill:#ffc107; flex-shrink:0; }

/* ── BODY ── */
.tko-sg-body { padding:10px 11px 12px; display:flex; flex-direction:column; gap:7px; flex:1; }
.tko-sg-name { font-size:13px; font-weight:700; color:#e8edf5; line-height:1.25; font-family:'Rajdhani',sans-serif; }
.tko-sg-provider { font-size:10px; color:#4a6080; font-weight:500; margin-top:-3px; }
.tko-sg-rtp { font-size:10px; color:#22c55e; font-weight:600; }

/* ── BUTTONS ── */
.tko-sg-btn-play {
  display:flex; align-items:center; justify-content:center; gap:5px;
  padding:9px 8px; background:linear-gradient(135deg,#ffc107,#f59e0b);
  color:#000!important; font-weight:700; font-size:11px;
  border-radius:10px; text-decoration:none!important;
  transition:transform .15s, box-shadow .15s, filter .15s;
  box-shadow:0 3px 12px rgba(255,193,7,.3);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.2;
}
.tko-sg-btn-play:hover { transform:scale(1.04); box-shadow:0 5px 18px rgba(255,193,7,.5); filter:brightness(1.08); color:#000!important; text-decoration:none!important; }
.tko-sg-btn-review {
  display:flex; align-items:center; justify-content:center; gap:5px;
  padding:7px 8px; background:rgba(255,255,255,.04);
  color:#7a8aa8!important; font-weight:600; font-size:11px;
  border-radius:10px; text-decoration:none!important;
  border:1px solid rgba(255,255,255,.1);
  transition:border-color .15s, color .15s, background .15s;
}
.tko-sg-btn-review:hover { border-color:rgba(255,193,7,.35); color:#ffc107!important; background:rgba(255,193,7,.06); text-decoration:none!important; }

/* ── DISCLAIMER ── */
.tko-sg-disc { font-size:9px; color:#253344; line-height:1.4; text-align:center; }
.tko-sg-disc a { color:#253344!important; text-decoration:underline; }

/* ── SHOW MORE ── */
.tko-sg-more-wrap { display:flex; justify-content:center; margin-top:24px; }
.tko-sg-more-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 32px; background:transparent;
  border:1px solid rgba(255,193,7,.35); border-radius:99px;
  color:#ffc107; font-size:13px; font-weight:600;
  cursor:pointer; font-family:'Inter',system-ui,sans-serif;
  transition:background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.tko-sg-more-btn:hover { background:rgba(255,193,7,.08); border-color:rgba(255,193,7,.6); transform:translateY(-2px); box-shadow:0 6px 20px rgba(255,193,7,.15); }
.tko-sg-more-btn svg { width:14px; height:14px; stroke:#ffc107; transition:transform .2s; flex-shrink:0; }
.tko-sg-more-btn:hover svg { transform:translateY(2px); }
.tko-sg-more-btn.done { display:none!important; }

/* ── RESPONSIVE ── */
@media(max-width:1000px){ .tko-sg-grid{grid-template-columns:repeat(3,1fr)} }
@media(max-width:580px){ .tko-sg-grid{grid-template-columns:repeat(2,1fr);gap:12px} .tko-sg-tab{padding:8px 12px;font-size:11px} }