/* ── ScratchOffReport.com — Florida Card Grid Theme ─────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=DM+Sans:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #152236;
  --gold:       #f59e0b;
  --gold-dk:    #d97706;
  --sun:        #fbbf24;
  --ocean:      #0ea5e9;
  --coral:      #f43f5e;
  --palm:       #10b981;
  --green:      #16a34a;
  --amber:      #d97706;
  --red:        #dc2626;
  --text:       #1a1a2e;
  --text-mid:   #4a5568;
  --text-muted: #718096;
  --border:     #e2e8f0;
  --bg:         #f0f4f8;
  --white:      #ffffff;
  --radius:     12px;
  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* ── Site Header ─────────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
}

.logo-tld { color: rgba(255,255,255,0.3); font-size: 16px; font-weight: 500; }

.free-badge {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.site-nav { display: flex; gap: 22px; align-items: center; }

.nav-link {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

.nav-link:hover { color: rgba(255,255,255,0.9); text-decoration: none; }
.nav-link.active { color: var(--gold); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.social-buttons { display: flex; gap: 6px; margin-left: 4px; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
  transition: opacity 0.15s;
}
.social-btn:hover { opacity: 0.85; text-decoration: none; }
.fb-btn { background: #1877f2; color: #fff; }
.ig-btn { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }

/* ── Stats Bar ───────────────────────────────────────────────────────────── */
.stats-bar { background: var(--navy-mid); border-bottom: 1px solid rgba(255,255,255,0.06); }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
}
.live-indicator { color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 5px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.stat-item { color: rgba(255,255,255,0.45); }
.stat-right { margin-left: auto; color: rgba(255,255,255,0.3); }

/* ── Container ───────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 28px 20px 60px; }

.page-header { margin-bottom: 20px; }
.page-header h1 {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.page-sub { font-size: 14px; color: var(--text-muted); }

/* ── Filter Bar ──────────────────────────────────────────────────────────── */
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filter-label { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.filter-divider { width: 1px; height: 18px; background: var(--border); margin: 0 4px; }

.chip {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  transition: all 0.12s;
  text-decoration: none !important;
  display: inline-block;
}
.chip:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.chip-sort-on { background: var(--navy); color: var(--white); border-color: var(--navy); font-weight: 500; }
.chip-price-on { background: var(--gold); color: var(--navy); border-color: var(--gold-dk); font-weight: 600; }

/* ── Card Grid ───────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* ── Ticket Image ─────────────────────────────────────────────────────────── */
.ticket-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.ticket-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ticket-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: 1px;
  text-align: center;
  padding: 16px;
  line-height: 1.2;
}

.price-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

.prizes-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.prizes-hot   { background: #fef3c7; color: #92400e; }
.prizes-ok    { background: #dcfce7; color: #166534; }
.prizes-gone  { background: #fee2e2; color: #991b1b; }
.prizes-many  { background: #e0f2fe; color: #075985; }

/* ── Card Body ───────────────────────────────────────────────────────────── */
.card-body { padding: 14px 16px 16px; }

.game-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.new-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  background: #dcfce7;
  color: #166534;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 500;
  vertical-align: middle;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-box {
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 10px;
}

.stat-box-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.stat-box-val {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.odds-good { color: var(--green); }
.odds-mid  { color: var(--amber); }
.odds-bad  { color: var(--red); }

/* ── Payout Bar ──────────────────────────────────────────────────────────── */
.payout-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payout-label-text {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.payout-bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--bg);
  overflow: hidden;
}

.payout-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--navy);
}

.payout-pct {
  font-size: 12px;
  color: var(--text-mid);
  min-width: 32px;
  text-align: right;
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Social section ──────────────────────────────────────────────────────── */
.social-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.social-section-text { font-size: 13px; color: var(--text-muted); }

.social-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 8px;
  transition: opacity 0.15s;
  text-decoration: none !important;
}

.social-follow-btn:hover { opacity: 0.85; }
.social-follow-btn.fb { background: #1877f2; color: #fff; }
.social-follow-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }

/* ── Disclaimer ──────────────────────────────────────────────────────────── */
.disclaimer { font-size: 12px; color: var(--text-muted); text-align: center; line-height: 1.7; }
.disclaimer a { color: var(--text-mid); text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 20px; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}
.footer-inner a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-inner a:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-social { color: rgba(255,255,255,0.5); display: flex; align-items: center; }
.footer-social:hover { color: rgba(255,255,255,0.9); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav .nav-link:not(.active) { display: none; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .stat-right { display: none; }
}
