/**
 * Free Game — Roboto (fixed webfont) inside fg-client-island.
 * sans-serif alone maps to Arial/Segoe/etc. per OS — same weight looks different.
 */
.free-game-section {
  margin: 0 0 0.45rem;
}

.free-game-section .fg-client-island {
  all: initial;
  display: block;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: medium;
  font-weight: 400;
  line-height: normal;
  color: #000;
  box-sizing: border-box;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: auto;
  font-synthesis: none;
}

.free-game-section .fg-client-island *,
.free-game-section .fg-client-island *::before,
.free-game-section .fg-client-island *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

/* --- client :root --- */
.free-game-section .fg-client-island {
  --primary: #6f42c1;
  --custom-color: rgba(60, 10, 80, 0.79);
}

.free-game-section .fg-client-island .full-width-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 20px;
}

.free-game-section .fg-client-island .header-strip {
  background: var(--primary);
  padding: 15px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  width: 100%;
}

.free-game-section .fg-client-island .content-area {
  padding: 12px 4px;
}

.free-game-section .fg-client-island .info-box,
.free-game-section .fg-client-island .pro-tips-box {
  margin-left: 4px;
  margin-right: 4px;
}

.free-game-section .fg-client-island .info-box {
  background: #f3e5f5;
  color: #4a148c;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  border-left: 4px solid var(--primary);
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: center;
}

.free-game-section .fg-client-island .pro-tips-box {
  background: #fff7ed;
  color: #9a3412;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px dashed #fb923c;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.free-game-section .fg-client-island .premium-game-card,
.free-game-section .fg-client-island .premium-game-card.free-market-card {
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  margin-left: 0;
  margin-right: 0;
}

.free-game-section .fg-client-island .premium-game-card:last-child {
  margin-bottom: 0;
}

.free-game-section .fg-client-island .card-app-header {
  background-color: var(--custom-color);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  padding: 13px;
}

.free-game-section .fg-client-island .date-time-container {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 400;
  background-color: #e7f1ff;
  padding: 10px 15px;
  border-bottom: 1px solid #cfe2ff;
}

.free-game-section .fg-client-island .card-body-fit {
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.free-game-section .fg-client-island .data-strip-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  padding: 6px 4px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
}

.free-game-section .fg-client-island .ank-digits-large,
.free-game-section .fg-client-island .strip-digits {
  width: 100%;
  text-align: center;
  padding: 0 2px;
  line-height: 1.3;
}

.free-game-section .fg-client-island .large-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #000;
}

.free-game-section .fg-client-island .bg-cyan {
  background-color: #9eeaf9;
}

.free-game-section .fg-client-island .bg-yellow {
  background-color: #ffc107;
}

/* Numbers: Roboto 500 (Medium) — matches client screenshot, not faux-bold Arial 700/900 */
.free-game-section .fg-client-island .ank-digits-large {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 2px;
}

.free-game-section .fg-client-island .strip-digits {
  font-size: 20px;
  font-weight: 500;
}

.free-game-section .fg-client-island .strip-digits.strip-digits-patti {
  font-size: 15px;
  font-weight: 500;
}

.free-game-section .fg-client-island .pass-ring {
  font-size: 30px;
  font-weight: 500;
  background-color: #dcfce7;
  border: 2px solid #22c55e;
  border-radius: 3px;
  padding: 0 7px;
  margin-left: 4px;
}

.free-game-section .fg-client-island .pass-box {
  font-size: 18px;
  font-weight: 500;
  background-color: #dcfce7;
  border: 2px solid #22c55e;
  border-radius: 3px;
  padding: 1px 7px;
  margin: 0 2px;
}

.free-game-section .fg-client-island .passing-record {
  text-align: center;
  padding: 14px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 6px;
  margin-top: 8px;
}

.free-game-section .fg-client-island .record-text {
  font-size: 15px;
  font-weight: 500;
  color: #5b21b6;
}

/* Dynamic states (not in client mockup) */
.free-game-section .fg-client-island .fg-values-empty {
  display: block;
  min-height: 1.35em;
}

.free-game-section .fg-client-island .fg-state-box {
  text-align: center;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

.free-game-section .fg-client-island .fg-state-loading {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.free-game-section .fg-client-island .fg-state-ad {
  background: #fff7ed;
  border: 1px dashed #fb923c;
  color: #9a3412;
  font-weight: 700;
  text-align: left;
}

.free-game-section .fg-client-island .fg-state-ad strong {
  font-weight: 700;
}

.free-game-section .fg-client-island .fg-state-ad .free-ad-content {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}

.free-game-section .fg-client-island .fg-state-closed {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-weight: 700;
}

.free-game-section .fg-client-island .fg-loading-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6f42c1;
  margin-right: 6px;
  vertical-align: middle;
  animation: fgPulse 1.5s ease-in-out infinite;
}

@keyframes fgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
