/*
Theme Name: FoxyBetting
Theme URI: https://foxybetting.com
Author: Foxy Team
Description: Editorial sportsbook affiliate theme for FoxyBetting.
Version: 1.0.0
Text Domain: foxybetting
*/

:root {
  --fb-paper: #f9faf6;
  --fb-paper-2: #f3f4f1;
  --fb-paper-3: #e7e8e5;
  --fb-card: #ffffff;
  --fb-ink: #002418;
  --fb-ink-2: #1a1c1a;
  --fb-muted: #414944;
  --fb-line: #c0c9c2;
  --fb-lime: #b8f23a;
  --fb-lime-2: #a0d81b;
  --fb-amber: #ffb957;
  --fb-danger: #ba1a1a;
  --fb-max: 1280px;
  --fb-gutter: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fb-paper);
  color: var(--fb-ink-2);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
  vertical-align: middle;
}

.fb-wrap {
  width: min(100% - 32px, var(--fb-max));
  margin: 0 auto;
}

.fb-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--fb-line);
  background: rgba(249, 250, 246, 0.96);
  backdrop-filter: blur(10px);
}

.fb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.fb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.fb-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--fb-ink);
  background: var(--fb-lime);
  color: var(--fb-ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 800;
}

.fb-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fb-nav a,
.fb-mini-link {
  color: var(--fb-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.fb-nav a:hover,
.fb-nav a.fb-active,
.fb-mini-link:hover {
  color: var(--fb-ink);
}

.fb-cta,
.fb-ghost,
.fb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--fb-ink);
  color: var(--fb-ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fb-cta,
.fb-button {
  background: var(--fb-lime);
  box-shadow: 4px 4px 0 var(--fb-ink);
  padding: 13px 22px;
}

.fb-cta:hover,
.fb-button:hover {
  background: var(--fb-lime-2);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--fb-ink);
}

.fb-ghost {
  background: transparent;
  padding: 13px 20px;
}

.fb-ghost:hover {
  background: var(--fb-paper-2);
}

.fb-ticker {
  overflow: hidden;
  border-bottom: 1px solid #073b2a;
  background: var(--fb-ink);
  color: #fff;
}

.fb-ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 8px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  animation: fb-marquee 26s linear infinite;
}

.fb-ticker strong {
  color: var(--fb-lime);
}

@keyframes fb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.fb-main {
  padding: 40px 0 64px;
}

.fb-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: clamp(28px, 5vw, 56px);
}

.fb-hero::before {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(0, 36, 24, 0.06) 0, rgba(0, 36, 24, 0.06) 2px, transparent 2px, transparent 9px);
  content: "";
  pointer-events: none;
}

.fb-hero > * {
  position: relative;
  z-index: 1;
}

.fb-kicker,
.fb-label {
  color: var(--fb-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fb-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.fb-live-dot {
  width: 9px;
  height: 9px;
  background: var(--fb-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184, 242, 58, 0.18);
}

.fb-title,
.fb-page-title,
.fb-section-title,
.fb-card-title,
.fb-entry-title {
  margin: 0;
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.fb-title {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 84px);
}

.fb-page-title {
  font-size: clamp(42px, 6vw, 68px);
}

.fb-section-title {
  font-size: clamp(30px, 4vw, 42px);
}

.fb-card-title,
.fb-entry-title {
  font-size: 30px;
}

.fb-lede {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--fb-muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}

.fb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.fb-data-panel {
  border: 1px solid var(--fb-line);
  background: var(--fb-paper-2);
  padding: 18px;
}

.fb-data-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--fb-line);
  padding-bottom: 12px;
}

.fb-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 230px;
  padding-top: 24px;
}

.fb-bars span {
  display: block;
  background: var(--fb-lime);
}

.fb-bars span:nth-child(1) { height: 36%; }
.fb-bars span:nth-child(2) { height: 52%; }
.fb-bars span:nth-child(3) { height: 44%; }
.fb-bars span:nth-child(4) { height: 78%; }
.fb-bars span:nth-child(5) { height: 68%; }
.fb-bars span:nth-child(6) { height: 100%; background: var(--fb-ink); }

.fb-section {
  margin-top: 56px;
}

.fb-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid var(--fb-ink);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

.fb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.fb-rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: 24px;
}

.fb-rank-card + .fb-rank-card {
  margin-top: 16px;
}

.fb-rank-card:hover {
  border-color: var(--fb-ink);
}

.fb-rank {
  position: absolute;
  top: -12px;
  left: -12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--fb-card);
  background: var(--fb-ink);
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.fb-logo-box {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid var(--fb-line);
  background:
    linear-gradient(135deg, rgba(184, 242, 58, 0.18), transparent 48%),
    var(--fb-paper-2);
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.fb-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--fb-amber);
}

.fb-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--fb-line);
  background: var(--fb-paper-2);
  color: var(--fb-ink);
  padding: 7px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
}

.fb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.fb-tag {
  border: 1px solid var(--fb-line);
  padding: 5px 8px;
  color: var(--fb-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.fb-card-copy {
  margin: 12px 0 0;
  color: var(--fb-muted);
}

.fb-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--fb-line);
  margin-top: 16px;
  padding-top: 14px;
}

.fb-meta-value {
  display: block;
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.fb-offer {
  border-left: 1px solid var(--fb-line);
  padding-left: 22px;
  text-align: right;
}

.fb-offer strong {
  display: block;
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}

.fb-fine {
  display: block;
  margin-top: 10px;
  color: #717974;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.fb-small-card,
.fb-method-card,
.fb-post-card {
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: 20px;
}

.fb-small-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 14px;
}

.fb-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fb-method-card span {
  color: var(--fb-ink);
  font-size: 30px;
}

.fb-method-card h3,
.fb-post-card h3 {
  margin: 12px 0 8px;
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
}

.fb-method-card p,
.fb-post-card p {
  margin: 0;
  color: var(--fb-muted);
}

.fb-list-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.fb-filter {
  position: sticky;
  top: 92px;
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: 18px;
}

.fb-filter h2,
.fb-filter h3 {
  margin: 0;
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  line-height: 1.1;
  text-transform: uppercase;
}

.fb-filter h2 {
  border-bottom: 1px solid var(--fb-line);
  padding-bottom: 10px;
  font-size: 28px;
}

.fb-filter h3 {
  margin-top: 22px;
  font-size: 19px;
}

.fb-filter select,
.fb-filter input[type="search"] {
  width: 100%;
  border: 1px solid var(--fb-line);
  background: var(--fb-paper-2);
  margin-top: 8px;
  padding: 11px 10px;
  color: var(--fb-ink);
  font: inherit;
}

.fb-check {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
  color: var(--fb-muted);
}

.fb-review-hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: clamp(24px, 5vw, 48px);
}

.fb-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.fb-article {
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: clamp(24px, 4vw, 44px);
}

.fb-article h2,
.fb-article h3,
.fb-sidebar-box h3 {
  color: var(--fb-ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  line-height: 1.15;
  text-transform: uppercase;
}

.fb-article h2 {
  margin: 34px 0 12px;
  border-bottom: 1px solid var(--fb-line);
  padding-bottom: 8px;
  font-size: 34px;
}

.fb-article h2:first-child {
  margin-top: 0;
}

.fb-article h3 {
  margin: 24px 0 8px;
  font-size: 25px;
}

.fb-article p,
.fb-article li {
  color: var(--fb-muted);
  font-size: 17px;
  line-height: 1.7;
}

.fb-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fb-pros-cons ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.fb-sidebar-box {
  position: sticky;
  top: 92px;
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: 20px;
}

.fb-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
}

.fb-table th,
.fb-table td {
  border-bottom: 1px solid var(--fb-line);
  padding: 14px 16px;
  text-align: left;
}

.fb-table th {
  background: var(--fb-paper-3);
  color: var(--fb-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.fb-table tr:nth-child(even) td {
  background: rgba(0, 36, 24, 0.025);
}

.fb-footer {
  border-top: 4px solid var(--fb-ink);
  background: var(--fb-paper-3);
  padding: 42px 0;
}

.fb-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.fb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.fb-footer a {
  color: var(--fb-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.fb-footer a:hover {
  color: var(--fb-ink);
}

.fb-empty {
  border: 1px solid var(--fb-line);
  background: var(--fb-card);
  padding: 32px;
}

.fb-mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  :root {
    --fb-gutter: 20px;
  }

  .fb-nav,
  .fb-topbar .fb-cta {
    display: none;
  }

  .fb-hero,
  .fb-rank-card,
  .fb-review-hero,
  .fb-content-grid,
  .fb-list-layout,
  .fb-footer-grid {
    grid-template-columns: 1fr;
  }

  .fb-grid,
  .fb-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fb-data-panel {
    display: none;
  }

  .fb-offer {
    border-left: 0;
    border-top: 1px solid var(--fb-line);
    padding: 18px 0 0;
    text-align: left;
  }

  .fb-filter,
  .fb-sidebar-box {
    position: static;
  }

  .fb-mobile-nav {
    position: sticky;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--fb-line);
    background: var(--fb-card);
  }

  .fb-mobile-nav a {
    display: grid;
    min-height: 58px;
    place-items: center;
    color: var(--fb-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
  }
}

@media (max-width: 640px) {
  .fb-wrap {
    width: min(100% - 28px, var(--fb-max));
  }

  .fb-main {
    padding-top: 24px;
  }

  .fb-title {
    font-size: 44px;
  }

  .fb-grid,
  .fb-method-grid,
  .fb-pros-cons,
  .fb-meta-grid {
    grid-template-columns: 1fr;
  }

  .fb-rank-card {
    padding: 22px 18px;
  }

  .fb-actions,
  .fb-review-hero .fb-actions {
    display: grid;
  }
}
