/* Social Casino (FI) — page-scoped styles, loaded only on /social-casino.
   Layout reuses styles.css; here only slot machine, game cards and RG plates. */

body.sc-lock {
  overflow: hidden;
}

/* 18+ round badge */
.sc-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #e11d48;
  color: #fff;
  font: 800 16px/1 var(--font-h);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.32);
  user-select: none;
}

/* Hero extras */
.sporttrendmaxit_sc_hero .sporttrendmaxit_hero_content {
  max-width: 760px;
}
.sc-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.sc-hero-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(197, 131, 43, 0.6);
  background: rgba(197, 131, 43, 0.16);
  color: #fff;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Intro facts */
.sc-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.sc-facts li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--c-text-s);
}
.sc-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(197, 131, 43, 0.16);
}

/* Game cards */
.sc-games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .sc-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .sc-games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.sc-game {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-r);
  overflow: hidden;
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.sc-game-art {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--c-secondary), var(--c-primary));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none;
}
.sc-game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-game-tag {
  z-index: 2;
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sc-game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.sc-game-body h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.sc-game-body p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 0 0 16px;
  flex: 1;
}

/* Slot modal (dark panel inside site modal overlay) */
.sc-slot-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--border-r);
  background: var(--c-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.sc-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sc-slot-title {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.1rem;
}
.sc-slot-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.sc-slot-x:hover {
  background: rgba(255, 255, 255, 0.24);
}
.sc-slot {
  padding: 16px;
}
.sc-slot-machine {
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--c-secondary), #0a241c);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sc-slot-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.sc-reel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 10px;
  background: #081b14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
  overflow: hidden;
}
.sc-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1;
  min-width: 0;
  border-radius: 8px;
  background: #0f2e23;
  font-size: clamp(18px, 4.5vw, 24px);
  line-height: 1;
  user-select: none;
}
.sc-cell.is-win {
  background: rgba(197, 131, 43, 0.3);
  box-shadow: inset 0 0 0 2px var(--c-accent);
}
.sc-slot.is-spinning .sc-cell {
  filter: blur(0.4px);
}
.sc-slot-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.sc-stat {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.sc-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sc-stat-val {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.2rem;
  margin-top: 2px;
}
.sc-stat-val.is-gold {
  color: var(--c-accent);
}
.sc-bet {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.sc-bet-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-right: auto;
}
.sc-bet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 800 20px/1 var(--font-h);
  flex-shrink: 0;
}
.sc-bet-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.sc-bet-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sc-bet-val {
  min-width: 56px;
  text-align: center;
  font: 800 1.1rem/1 var(--font-h);
}
.sc-slot-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}
.sc-slot-actions .sporttrendmaxit_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.sc-btn-bonus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  white-space: nowrap;
}
.sc-btn-bonus:hover {
  background: rgba(255, 255, 255, 0.24);
}
.sc-slot-msg {
  min-height: 22px;
  margin-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.sc-slot-msg.is-win {
  color: var(--c-accent);
  font-weight: 700;
}
.sc-slot-note {
  margin: 8px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}
@media (max-width: 640px) {
  .sc-slot-actions {
    grid-template-columns: 1fr;
  }
}

/* Guides grid: 4 cards -> 2 / 1 */
.sc-guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .sc-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.sc-guide-full {
  display: none;
}

/* Safety / responsible gaming (dark section) */
.sporttrendmaxit_sc_safety {
  background: var(--c-primary);
  color: rgba(255, 255, 255, 0.85);
}
.sporttrendmaxit_sc_safety .sporttrendmaxit_section_header h2 {
  color: #fff;
}
.sporttrendmaxit_sc_safety .sporttrendmaxit_section_header p {
  color: rgba(255, 255, 255, 0.75);
}
.sc-safety-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.sc-plates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .sc-plates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.sc-plate {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--border-r);
  background: var(--c-secondary);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sc-plate-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.sc-plate-logo img {
  height: 34px;
  width: auto;
}
.sc-plate-name {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.sc-plate p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}
.sc-plate-link {
  margin-top: auto;
  color: var(--c-accent);
  font-size: 0.85rem;
  font-weight: 700;
}
.sc-plate-link:hover {
  color: #fff;
  text-decoration: underline;
}
.sc-disclaimer {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--border-r);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sc-disclaimer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}
.sc-disclaimer p + p {
  margin-top: 10px;
}
