/* ============================================================
   styles.css — FairPlay | Premium Sports Engagement Platform
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --red:           #cc0000;
  --red-light:     #ff1a1a;
  --red-dark:      #990000;
  --red-glow:      rgba(204,0,0,0.45);
  --red-glow-soft: rgba(204,0,0,0.15);
  --dark-bg:       #080808;
  --card-bg:       #111111;
  --card-bg-hover: #181818;
  --card-border:   #242424;
  --card-border-hover: #cc0000;
  --alt-bg:        #0d0d0d;
  --text-primary:  #ffffff;
  --text-muted:    #777777;
  --text-dim:      #444444;
  --header-bg:     #000000;
  --footer-bg:     #040404;
  --strip-bg:      #0a0a0a;
  --gold:          #f5c518;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.7); }
  50%       { box-shadow: 0 0 0 8px rgba(204,0,0,0); }
}

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

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.08); }
}

@keyframes borderGlow {
  0%, 100% { border-color: #242424; }
  50%       { border-color: rgba(204,0,0,0.4); }
}

/* ===== BASE ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.section--alt { background: var(--alt-bg); }

/* Section decorative glow blobs */
.section__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

.section__glow--red {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(204,0,0,0.18) 0%, transparent 70%);
  top: -150px; left: 50%;
  transform: translateX(-50%);
}

.section__glow--subtle {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,0.10) 0%, transparent 70%);
  top: 50%; left: 10%;
  transform: translateY(-50%);
}

.section__glow--red-right {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,0.15) 0%, transparent 70%);
  top: 50%; right: -100px;
  transform: translateY(-50%);
}

.section .container { position: relative; z-index: 1; }

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ===== TYPOGRAPHY ===== */
.section-head {
  text-align: left;
  margin-bottom: 48px;
}

.section-head--center { text-align: center; }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  line-height: 1.12;
}

.section-title__accent { color: var(--red); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 4px;
}

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  margin: 12px 0 22px;
  border-radius: 2px;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  width: 80px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position 0.4s ease;
}

.btn:hover::after { background-position: -200% 0; }

.btn--primary {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(204,0,0,0.45), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(204,0,0,0.65), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}

.btn--sm  { padding: 9px 20px; font-size: 0.85rem; }
.btn--lg  { padding: 16px 44px; font-size: 1.1rem; letter-spacing: 2px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: rgba(0,0,0,0.92);
  border-bottom: 2px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__brand--fairplay {
  display: flex;
  align-items: center;
}

.header__logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.header__logo--fairplay {
  height: 60px;
  filter: none;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 3px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #000;
  padding: 80px 24px 90px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(204,0,0,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 100%,  rgba(204,0,0,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 100%,  rgba(80,0,0,0.15)  0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* animated blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero__blob--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,0.25) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: blobFloat 12s ease-in-out infinite;
}

.hero__blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(150,0,0,0.20) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation: blobFloat 15s ease-in-out infinite reverse;
}

/* ghost watermark text */
.hero__bg-text {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__bg-text span {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__inner--centered {
  grid-template-columns: 1fr;
  max-width: 900px;
  text-align: center;
}

.hero__content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 0.8s ease both;
}

/* badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,0,0,0.12);
  border: 1px solid rgba(204,0,0,0.5);
  color: #ff4444;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--red-light);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 1.8s ease infinite;
}

/* title */
.hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.08;
  margin-bottom: 22px;
  font-style: italic;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.hero__title span {
  color: var(--red-light);
  text-shadow: 0 0 40px rgba(204,0,0,0.6);
}

/* description */
.hero__desc {
  color: #bbb;
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 640px;
  line-height: 1.8;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero__content--centered .hero__desc { text-align: center; }

/* sport tags */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.25s ease both;
}

.hero__tags span {
  padding: 6px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #ccc;
  transition: all 0.2s;
  cursor: default;
}

.hero__tags span:hover {
  background: rgba(204,0,0,0.15);
  border-color: rgba(204,0,0,0.5);
  color: #fff;
  transform: translateY(-2px);
}

/* stats row */
.hero__stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 10px;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.hero__stat strong {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.hero__stat span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 5px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
  animation: fadeUp 0.8s 0.5s ease both;
}

.hero__cta-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.hero__cta-note strong { color: var(--text-primary); }

@media (max-width: 768px) {
  .hero { padding: 56px 24px 64px; min-height: auto; }
  .hero__bg-text { display: none; }
  .hero__stat { padding: 0 18px; }
  .hero__stat-divider { height: 28px; }
  .hero__tags { gap: 8px; }
  .hero__cta { gap: 12px; margin-top: 24px; }
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.marquee-wrap {
  background: var(--red);
  overflow: hidden;
  padding: 0;
  height: 42px;
  display: flex;
  align-items: center;
  position: relative;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--red), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--red), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.95);
  padding: 0 22px;
}

.marquee-sep {
  color: rgba(255,255,255,0.4) !important;
  font-size: 0.6rem !important;
  padding: 0 4px !important;
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--strip-bg);
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 20px 24px;
}

.features-strip__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  cursor: default;
}

.feat-item:hover {
  border-color: var(--red);
  background: var(--card-bg-hover);
  transform: translateY(-3px);
}

.feat-item__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.1));
}

.feat-item__title {
  font-size: 0.83rem;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feat-item__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .features-strip__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-strip__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   EXPLORE PLATFORM — section override
   ============================================================ */
.section--platform {
  background: linear-gradient(180deg, #080808 0%, #0e0306 50%, #080808 100%);
}

/* ============================================================
   SCREENSHOT / PLATFORM CARDS — single horizontal row
   ============================================================ */

/* Scroll wrapper — enables horizontal scroll on small screens */
.screenshots__scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #1a1a1a;
}

.screenshots__scroll-wrap::-webkit-scrollbar { height: 4px; }
.screenshots__scroll-wrap::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 4px; }
.screenshots__scroll-wrap::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

/* Single-row flex — all 5 cards equal width side by side */
.screenshots__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: stretch;
}

.screenshot-card {
  flex: 1 0 0;           /* equal width across all 5 */
  min-width: 180px;      /* floor so they don't collapse on huge screens */
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.4), border-color 0.3s, box-shadow 0.3s;
  position: relative;
}

.screenshot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  border-radius: 14px;
}

.screenshot-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--red);
  box-shadow: 0 20px 60px rgba(204,0,0,0.28), 0 8px 24px rgba(0,0,0,0.7);
}

.screenshot-card--wide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.screenshot-card:hover img { transform: scale(1.05); }

.screenshot-card__label {
  padding: 10px 14px 3px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-light);
  letter-spacing: 1.5px;
}

.screenshot-card__caption {
  padding: 3px 14px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* On small screens give each card a fixed width so they scroll nicely */
@media (max-width: 900px) {
  .screenshot-card { flex: 0 0 260px; }
}
@media (max-width: 480px) {
  .screenshot-card { flex: 0 0 220px; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, #0a0a0a 0%, #120005 50%, #0a0a0a 100%);
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(204,0,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stats-strip__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 20px 16px;
  border-right: 1px solid #1e1e1e;
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: rgba(204,0,0,0.05);
  border-radius: 8px;
}

.stat-item__num {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--red-light);
  line-height: 1;
  text-shadow: 0 0 30px rgba(204,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.stat-item__num--live {
  color: #ff4444;
}

.live-dot {
  width: 10px; height: 10px;
  background: #ff4444;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 1.5s ease infinite;
}

.stat-item__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid #1e1e1e; }
  .stat-item:nth-child(3) { border-bottom: none; }
}

/* ============================================================
   ABOUT — full-width pillars
   ============================================================ */
.about__body--full {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about__body--full .section-head { text-align: center; }
.about__body--full .divider { margin: 12px auto 22px; }

.about__lead {
  font-size: 1.1rem;
  color: #d0d0d0;
  line-height: 1.85;
  margin-bottom: 18px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.about__body--full > p {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 48px 0 0;
  text-align: left;
}

.about__pillar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

/* top accent line */
.about__pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.about__pillar:hover {
  border-color: rgba(204,0,0,0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(204,0,0,0.12), 0 4px 16px rgba(0,0,0,0.6);
  background: var(--card-bg-hover);
}

.about__pillar:hover::before { opacity: 1; }

.about__pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1;
  display: block;
}

.about__pillar h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.about__pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about__pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .about__pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   HOW IT WORKS — step cards
   ============================================================ */
.section--steps {
  background: linear-gradient(180deg, #080808 0%, #0b0208 60%, #080808 100%);
}

/* ---- Timeline grid ---- */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 56px 0 0;
  position: relative;
}

/* ---- Continuous connector line through the number bubbles ---- */
.steps__grid::before {
  content: '';
  position: absolute;
  top: 28px;                /* centre of the 56px bubble */
  left: calc(12.5%);        /* centre of col 1 */
  right: calc(12.5%);       /* centre of col 4 */
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(204,0,0,0.6) 10%,
    rgba(204,0,0,0.3) 50%,
    rgba(204,0,0,0.6) 90%,
    transparent 100%
  );
  z-index: 0;
}

/* ---- Individual step card ---- */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px 36px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.step-card:hover { transform: translateY(-6px); }

/* ---- Number bubble ---- */
.step-card__num {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 0 5px #080808, 0 0 0 7px rgba(204,0,0,0.3), 0 8px 24px rgba(204,0,0,0.4);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step-card:hover .step-card__num {
  box-shadow: 0 0 0 5px #080808, 0 0 0 8px rgba(204,0,0,0.5), 0 12px 32px rgba(204,0,0,0.6);
  transform: scale(1.1);
}

/* ---- Icon ---- */
.step-card__icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}

.step-card:hover .step-card__icon { transform: scale(1.12); }

/* ---- Content box ---- */
.step-card__body {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px 20px;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

/* top accent line */
.step-card__body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover .step-card__body {
  border-color: rgba(204,0,0,0.45);
  box-shadow: 0 16px 48px rgba(204,0,0,0.15), 0 4px 16px rgba(0,0,0,0.6);
  background: var(--card-bg-hover);
}

.step-card:hover .step-card__body::before { opacity: 1; }

/* ---- Title ---- */
.step-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

/* ---- Description ---- */
.step-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.step-card__desc strong { color: var(--red-light); }

/* ---- Highlighted CTA step (Visit Us → pro7 link) ---- */
a.step-card {
  color: inherit;
  text-decoration: none;
}

.step-card--cta .step-card__body {
  border-color: rgba(204,0,0,0.6);
  background: linear-gradient(160deg, rgba(204,0,0,0.12) 0%, var(--card-bg) 55%);
  box-shadow: 0 0 0 1px rgba(204,0,0,0.25), 0 12px 40px rgba(204,0,0,0.22);
  animation: ctaGlow 2.4s ease infinite;
}

.step-card--cta .step-card__body::before { opacity: 1; }

.step-card--cta:hover .step-card__body {
  border-color: rgba(204,0,0,0.85);
  box-shadow: 0 0 0 1px rgba(204,0,0,0.45), 0 18px 52px rgba(204,0,0,0.35);
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(204,0,0,0.25), 0 12px 40px rgba(204,0,0,0.22); }
  50%       { box-shadow: 0 0 0 1px rgba(204,0,0,0.5),  0 16px 52px rgba(204,0,0,0.4); }
}

.step-card__cta-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 26px;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(204,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card--cta:hover .step-card__cta-btn {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(204,0,0,0.6);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
  .steps__grid::before { display: none; }
  .step-card { padding: 0 8px 0; }
}

@media (max-width: 480px) {
  .steps__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: #000;
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* large radial spotlight */
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(204,0,0,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(204,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* grid texture overlay */
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
  font-style: italic;
  line-height: 1.1;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.final-cta__title span {
  color: var(--red-light);
  text-shadow: 0 0 50px rgba(204,0,0,0.7);
}

.final-cta__desc {
  color: #888;
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.final-cta__btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta__note {
  margin-top: 22px;
  font-size: 0.88rem;
  color: #888;
  text-align: center;
}

.final-cta__note strong { color: var(--text-primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- Top bar: brand + social icons ---- */
.footer__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer__logo--fairplay {
  height: 38px;
}

.footer__col-logo {
  display: block;
  margin-top: 24px;
  height: 34px;
  width: auto;
  filter: none;
}

.footer__top-bar {
  border-bottom: 1px solid #181818;
  background: #060606;
}

.footer__top-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(204,0,0,0.35));
  flex-shrink: 0;
}

.footer__brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 4px;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.footer__tagline {
  font-size: 0.75rem;
  color: #555;
  line-height: 1;
}

/* Social icons row */
.footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #111;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* ---- Middle: 4-column nav ---- */
.footer__mid {
  border-bottom: 1px solid #141414;
}

.footer__mid-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 52px 24px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 40px;
}

/* Column heading */
.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-primary);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 2px;
}

/* Link lists */
.footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col ul li a {
  color: #505050;
  font-size: 0.83rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__col ul li a:hover {
  color: #ccc;
  padding-left: 5px;
}

/* Address column */
.footer__col--address address {
  font-style: normal;
}

.footer__col--address p {
  color: #444;
  font-size: 0.82rem;
  line-height: 1.85;
  margin-bottom: 8px;
}

.footer__col--address p:first-child {
  color: #666;
  font-weight: 600;
}

/* Stat badges inside address col */
.footer__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer__badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cc4444;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ---- Bottom bar ---- */
.footer__bottom {
  background: #040404;
}

.footer__bottom-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.74rem;
  color: #2e2e2e;
}

.footer__copy--right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__copy--right a {
  color: #3a3a3a;
  transition: color 0.2s;
}

.footer__copy--right a:hover { color: #888; }

.footer__copy--right span { color: #222; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .footer__mid-inner { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}

@media (max-width: 600px) {
  .footer__top-bar-inner { flex-direction: column; align-items: center; gap: 20px; }
  .footer__mid-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 420px) {
  .footer__mid-inner { grid-template-columns: 1fr; }
}

/* ---- Header responsive ---- */
@media (max-width: 768px) {
  .header__inner { height: 68px; }
  .header__logo { height: 52px; }
  .header__logo--fairplay { height: 52px; }
  .header__right { gap: 12px; }
  .header__actions { gap: 8px; }
}

@media (max-width: 480px) {
  .header__inner { height: 60px; }
  .header__logo { height: 44px; }
  .header__logo--fairplay { height: 44px; }
  .header__right { gap: 8px; }
  .btn--sm { padding: 8px 14px; font-size: 0.78rem; }
}

/* ============================================================
   PLATFORM INTRO / GAME CATEGORIES / LOGIN / FAQ
   ============================================================ */

/* ---- Intro copy under the "Explore the FairPlay Platform" head ---- */
.platform__intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.platform__intro p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.85;
}

.platform__intro p:last-child { margin-bottom: 0; }

/* ---- 4-up card grids (categories, sports & gaming, platform features) ---- */
.about__pillars--four {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .about__pillars--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .about__pillars--four {
    grid-template-columns: 1fr;
  }
}

/* ---- FairPlay Login — security note ---- */
.login__note {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 auto 28px;
  max-width: 780px;
  color: #9a9a9a;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---- FAQ accordion ---- */
.faq__list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq__item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq__item[open] {
  border-color: rgba(204,0,0,0.45);
  background: var(--card-bg-hover);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-primary);
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: '+';
  flex-shrink: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--red-light);
  transition: transform 0.25s ease;
}

.faq__item[open] .faq__q::after {
  content: '\2013';
}

.faq__a {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============================================================
   SCROLL-IN ANIMATIONS (via Intersection Observer in JS)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
