
/* ============================================================
   POKER SHORTCODE SYSTEM — Design #14
   Outfit font · Monochrome palette · Clean editorial
   ============================================================ */

:root {
  --sc-bg: #ffffff;
  --sc-card: #fafafa;
  --sc-border: #e4e4e7;
  --sc-text: #0a0a0a;
  --sc-muted: #71717a;
  --sc-hover: #f4f4f5;
  --sc-accent: #18181b;
  --sc-green: #16a34a;
  --sc-amber: #d97706;
  --sc-radius: 12px;
}

/* Base Container */
.poker-shortcode-container {
  margin: 28px 0;
  width: 100%;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

.poker-shortcode-single {
  margin: 20px 0;
  max-width: 380px;
  font-family: 'Outfit', sans-serif;
}

/* ========================================= */
/* US FLAG (SVG) — absolute positioned       */
/* ========================================= */
/* Flag is styled in the logo section below */
.sc-flag-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========================================= */
/* TABLE ROW LAYOUT                          */
/* ========================================= */
.table_row-layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-row-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--sc-card);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  transition: all 0.15s;
  min-height: 80px;
}
.sc-row-item:hover {
  border-color: #d4d4d8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Rank */
.sc-rank-col { flex: 0 0 32px; text-align: center; }
.sc-rank-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sc-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--sc-muted);
}

/* Logo */
.sc-logo-col { flex: 0 0 52px; }

/* Info — takes remaining space */
.sc-info-col { flex: 1 1 0; min-width: 0; overflow: hidden; }

/* Bonus — fixed width */
.sc-bonus-col { flex: 0 0 100px; text-align: right; }

/* Actions — fixed width */
.sc-actions-col {
  flex: 0 0 180px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

/* Logo */
.sc-logo-col { flex-shrink: 0; }
.sc-logo-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sc-border);
  position: relative;
  background: #fff;
  flex-shrink: 0;
}
.sc-logo-wrapper > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.sc-logo-img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  display: block;
}
.sc-flag-absolute {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 13px;
  z-index: 5;
  background: #fff;
  border-radius: 0 0 0 3px;
  padding: 1px;
  border: none;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
}

/* Info — uses definition from column layout above */
.sc-header-row { margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-site-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--sc-text);
  text-decoration: none;
  letter-spacing: -0.2px;
}
.sc-site-name:hover { color: var(--sc-muted); }
.sc-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.sc-rating-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.sc-stars {
  display: flex;
  gap: 1px;
  font-size: 12px;
}
.sc-stars .star { color: var(--sc-amber); }
.sc-stars .star-empty { color: var(--sc-border); }
.sc-rating-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--sc-text);
  background: var(--sc-hover);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Badges */
.sc-badges { display: flex; gap: 4px; }
.sc-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.sc-pill-crypto { background: #fef3c7; color: #92400e; }
.sc-pill-mobile { background: #dbeafe; color: #1d4ed8; }

/* Bonus — uses fixed width from column layout above */
.sc-bonus-content { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.sc-bonus-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--sc-text);
  letter-spacing: -0.3px;
  display: block;
}
.sc-bonus-desc {
  font-size: 11px;
  color: var(--sc-muted);
  display: block;
}

/* Buttons */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
  height: 36px;
  width: 84px;
}
.sc-btn-play {
  background: var(--sc-accent);
  color: #fff;
}
.sc-btn-play:hover { background: #27272a; }
.sc-btn-review {
  background: var(--sc-bg);
  color: var(--sc-text);
  border: 1px solid var(--sc-border);
}
.sc-btn-review:hover { border-color: #d4d4d8; background: var(--sc-hover); }

/* ========================================= */
/* GRID / CARD LAYOUT                        */
/* ========================================= */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.sc-grid-card {
  background: var(--sc-card);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.15s;
}
.sc-grid-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}

.sc-card-header {
  position: relative;
  padding: 20px 20px 0;
  text-align: center;
}
.sc-card-logo-wrapper {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sc-border);
  background: #fff;
}
.sc-card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.sc-card-body {
  padding: 16px 20px;
  flex: 1;
  text-align: center;
}
.sc-card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
}
.sc-card-score {
  font-weight: 800;
  font-size: 14px;
  background: var(--sc-hover);
  padding: 1px 6px;
  border-radius: 4px;
}
.sc-card-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.sc-card-title a {
  color: var(--sc-text);
  text-decoration: none;
}
.sc-card-title a:hover { color: var(--sc-muted); }
.sc-card-bonus {
  margin-bottom: 10px;
}
.sc-bonus-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--sc-text);
  letter-spacing: -0.3px;
}

/* Features list */
.sc-features {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  text-align: left;
}
.sc-features li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 13px;
  color: var(--sc-muted);
  line-height: 1.5;
}
.sc-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sc-green);
  font-weight: 700;
  font-size: 12px;
}

/* Card footer */
.sc-card-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--sc-border);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.sc-link-review {
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-muted);
  text-decoration: none;
}
.sc-link-review:hover { color: var(--sc-text); }

/* ========================================= */
/* RESPONSIVE                                */
/* ========================================= */
@media (max-width: 768px) {
  .sc-row-item {
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    padding: 14px;
  }
  .sc-bonus-col { display: none; }
  .sc-info-col {
    flex: 1 1 calc(100% - 100px);
    min-width: 0;
  }
  .sc-actions-col {
    flex: 0 0 100%;
    justify-content: stretch;
  }
  .sc-actions-col .sc-btn { flex: 1; text-align: center; width: auto; }
  .grid-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .sc-rank-col { display: none; }
  .sc-row-item { padding: 12px; }
  .sc-info-col {
    flex: 1 1 calc(100% - 70px);
  }
  .sc-site-name { font-size: 14px; }
  .sc-meta-row { gap: 4px; }
  .sc-rating-val { font-size: 12px; }
  .sc-btn { font-size: 13px; height: 38px; width: auto; }
}
