/* Social Games — Tek Tanks (additive) */
.social-top-notice {
  background: linear-gradient(90deg, #3d7a52, #5a9a68);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}
.social-top-notice a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.social-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
}
.social-badges--left { justify-content: flex-start; margin: 0 0 1.1rem; }

.social-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.social-badge--accent {
  background: #2f6b40;
  border-color: #2f6b40;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  -webkit-text-fill-color: #ffffff;
}
.social-badge--warn {
  background: #fff4ee;
  border-color: #e07b54;
  color: #8a3a1c;
  font-weight: 700;
}

.social-notice {
  background: rgba(224, 123, 84, 0.08);
  border-bottom: 1px solid rgba(224, 123, 84, 0.22);
  padding: 1rem 0;
}
.social-notice-inner {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.social-notice-inner strong { color: var(--text); }

.social-charter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-charter li {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}
.social-charter h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-family: Georgia, serif;
}
.social-charter p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.social-home-section { padding: 1rem 0 2.5rem; }
.social-home-band {
  background: linear-gradient(135deg, #e8f3eb 0%, #faf8f5 55%, #f8ece6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  max-width: 760px;
  margin: 0 auto;
}
.social-home-band .eyebrow { margin-bottom: 0.5rem; }
.social-home-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}
.social-home-band > article > p {
  color: var(--muted);
  margin-bottom: 1.15rem;
  max-width: 620px;
}
.social-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-page-section { padding: 2.5rem 0; }
.social-page-section.section-alt { padding: 2.5rem 0; }

.responsible-box {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  padding: 2rem;
}
.responsible-box h2 { margin-bottom: 0.65rem; }
.responsible-box > article > p { color: var(--muted); margin-bottom: 1.15rem; }
.responsible-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.helpline-card {
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.helpline-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.helpline-num {
  font-size: 1.45rem;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}
.helpline-num a { color: var(--text); }
.helpline-card p:last-child { color: var(--muted); font-size: 0.88rem; margin: 0; }

.social-disclaimer {
  padding: 1.35rem 0 2.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}
.social-disclaimer strong { color: var(--text); }

.social-age-overlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(45, 52, 54, 0.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.social-age-overlay.hidden { display: none; }
.social-age-box {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.social-age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--orange);
  margin-bottom: 1rem;
}
.social-age-box h2 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.social-age-box p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.social-age-actions {
  display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap;
}

.footer-rg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.85rem;
}
.footer-rg-badges .social-age-pill {
  width: 36px; height: 36px; font-size: 0.78rem; margin: 0;
}
.footer-rg-badges a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.footer-rg-badges a:hover { color: var(--accent); }

.social-help-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(90, 154, 104, 0.2);
}
.social-help-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
  width: 100%;
}
.social-help-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: #fff;
}
.social-help-link:hover {
  color: var(--accent2);
  border-color: var(--line);
}

.social-game-thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}
.game-card .social-game-thumb { width: 100%; }
.social-game-thumb--reels {
  background: linear-gradient(145deg, #3d7a52, #1e2a22 55%, #e07b54);
}
.social-game-thumb--sweep {
  background: linear-gradient(145deg, #2a3a30, #5a9a68 50%, #152019);
}
.social-game-thumb--wheel {
  background: linear-gradient(145deg, #c9922a, #3d7a52 45%, #1e2a22);
}

.social-game-layout { padding: 2rem 0 3.5rem; }
.social-game-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
  max-height: 280px;
}
.social-game-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.social-game-layout .game-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.social-game-layout .game-header h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin: 0.25rem 0 0.5rem;
}
.social-game-layout .game-lead {
  color: var(--muted);
  max-width: 540px;
  line-height: 1.55;
}
.credits-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.credits-chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e07b54, #5a9a68);
}
.credits-chip b {
  color: var(--accent2);
  font-variant-numeric: tabular-nums;
}
.social-play-panel {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.social-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}
.social-toolbar .stat-pill {
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
}
.social-toolbar .stat-pill b { color: var(--accent2); }
.social-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-left: auto;
}
.social-canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    url('/assets/images/social/social-play-bg.webp') center / cover no-repeat,
    linear-gradient(135deg, #e8f3eb, #f8ece6);
  border-radius: var(--radius-sm);
  padding: clamp(12px, 3vw, 24px);
  min-height: min(58vw, 380px);
  border: 1px solid var(--line2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.social-canvas-wrap canvas {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.social-history {
  margin-top: 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid var(--line2);
}
.social-history h3 {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}
.social-history ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.social-history li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line2);
}
.social-history li:last-child { border-bottom: 0; }
.social-history .win { color: #9a6b16; font-weight: 600; }
.social-game-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  min-height: 1.4em;
}

@media (max-width: 900px) {
  .social-charter { grid-template-columns: 1fr; }
  .responsible-box { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .social-home-band { padding: 1.75rem 1.25rem; }
  .responsible-box { padding: 1.35rem; }
  .social-toolbar-actions { margin-left: 0; }
  .social-badge {
    font-size: 0.78rem;
    padding: 0.42rem 0.9rem;
  }
  .social-badge--accent {
    background: #1f552f;
    border-color: #1f552f;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
  }
  .social-badge--warn {
    color: #7a3218;
    border-color: #cf6a45;
  }
}
