/*
 * PROJECT: blogknight
 * DOMAIN: blogknight.com
 * GAME: Tennis Dash
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Pop-Art (Yellow #ffe135, Red #ff1744, Comic Style)
 * - Effect: Brutalism (thick borders, hard shadows)
 * - Fonts: Permanent Marker (heading) + Comfortaa (body)
 * - Buttons: 3D Effect
 *
 * Created: 2026
 */

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Comfortaa:wght@400;600;700&display=swap');

/* ── MANDATORY RULES ── */
.article-card__overlay { position: absolute; inset: 0; z-index: 1; }
.article-card, .offer-card, .card { position: relative; }
.stars { color: #ffc107; }

/* ── CSS VARIABLES ── */
:root {
  --champion-yellow: #ffe135;
  --rally-red: #ff1744;
  --court-green: #00c853;
  --net-black: #1a1a1a;
  --sky-white: #fffde7;
  --serve-orange: #ff6d00;
  --ball-lime: #c6ff00;
  --shadow-hard: 6px 6px 0px #1a1a1a;
  --shadow-hover: 8px 8px 0px #1a1a1a;
  --border-thick: 3px solid #1a1a1a;
  --font-heading: 'Permanent Marker', cursive;
  --font-body: 'Comfortaa', cursive;
  --radius: 4px;
  --header-height: 70px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; max-width: 100%; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden !important; }

body {
  font-family: var(--font-body);
  background-color: var(--champion-yellow);
  color: var(--net-black);
  line-height: 1.6;
  font-size: 16px;
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

/* ── HEADER ── */
.site-header {
  background: var(--rally-red);
  border-bottom: var(--border-thick);
  box-shadow: 0 4px 0 #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--champion-yellow);
  letter-spacing: 1px;
  text-shadow: 3px 3px 0 #1a1a1a;
  transition: transform 0.15s;
}

.logo:hover { transform: rotate(-2deg) scale(1.04); }

/* ── NAV ── */
.site-nav__list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-nav__link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sky-white);
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-nav__link:hover,
.site-nav__link--active {
  background: var(--champion-yellow);
  color: var(--net-black);
  border-color: #1a1a1a;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.site-nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--champion-yellow);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ── HERO ── */
.hero {
  background: var(--sky-white);
  border-bottom: var(--border-thick);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '🎾';
  font-size: 12rem;
  position: absolute;
  right: -40px;
  top: -20px;
  opacity: 0.08;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__badge {
  display: inline-block;
  background: var(--rally-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  padding: 4px 14px;
  border: 2px solid #1a1a1a;
  box-shadow: 3px 3px 0 #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--net-black);
  margin-bottom: 20px;
  text-shadow: 4px 4px 0 rgba(255,23,68,0.2);
}

.hero__title span {
  color: var(--rally-red);
}

.hero__description {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--rally-red);
  display: block;
}

.hero__stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__game-preview {
  background: var(--court-green);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  width: 100%;
  max-width: 380px;
  position: relative;
}

.hero__game-preview::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: rgba(255,255,255,0.5);
}

.hero__game-preview::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: rgba(255,255,255,0.5);
}

.hero__game-icon {
  width: 120px;
  height: 120px;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: 8px;
  margin: 0 auto 16px;
  background: var(--champion-yellow);
  object-fit: cover;
}

.hero__game-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 2px 2px 0 #1a1a1a;
  margin-bottom: 8px;
}

.hero__game-cat {
  display: inline-block;
  background: var(--champion-yellow);
  color: var(--net-black);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border: 2px solid #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── BUTTONS ── */
.btn-play {
  display: inline-block;
  background: var(--rally-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  padding: 14px 36px;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-play:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

.btn-play:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 #1a1a1a;
}

.btn-secondary {
  display: inline-block;
  background: var(--champion-yellow);
  color: var(--net-black);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 12px 28px;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 #1a1a1a;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--net-black);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding: 10px 24px;
  border: var(--border-thick);
  box-shadow: 4px 4px 0 #1a1a1a;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.1s;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--net-black);
  color: var(--champion-yellow);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

/* ── SECTION TITLES ── */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--net-black);
  margin-bottom: 12px;
}

.section-title span {
  color: var(--rally-red);
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 48px;
  max-width: 560px;
}

.section-header {
  margin-bottom: 48px;
}

/* ── FEATURES SECTION ── */
.features {
  padding: 80px 0;
  background: var(--rally-red);
  border-bottom: var(--border-thick);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--champion-yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}

.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.feature-card__icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--net-black);
}

.feature-card__text {
  font-size: 0.92rem;
  color: #333;
}

/* ── HOW TO PLAY SNIPPET ── */
.how-snippet {
  padding: 80px 0;
  background: var(--sky-white);
  border-bottom: var(--border-thick);
}

.how-snippet__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-item__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--rally-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-thick);
  box-shadow: 3px 3px 0 #1a1a1a;
}

.step-item__content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-item__content p {
  font-size: 0.9rem;
  color: #444;
}

.controls-box {
  background: var(--net-black);
  color: var(--champion-yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 32px;
}

.controls-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--champion-yellow);
}

.controls-box ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.controls-box li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.controls-box .ctrl-key {
  background: var(--champion-yellow);
  color: var(--net-black);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  padding: 4px 10px;
  border: 2px solid #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── BLOG SECTION ── */
.blog-section {
  padding: 80px 0;
  background: var(--champion-yellow);
  border-bottom: var(--border-thick);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--sky-white);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}

.article-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
}

.article-card__image {
  height: 180px;
  background: var(--rally-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: var(--border-thick);
}

.article-card__body {
  padding: 24px;
}

.article-card__tag {
  display: inline-block;
  background: var(--court-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border: 2px solid #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--net-black);
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 16px;
}

.article-card__meta {
  font-size: 0.8rem;
  color: #666;
}

.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── FAQ SECTION ── */
.faq-section {
  padding: 80px 0;
  background: var(--sky-white);
  border-bottom: var(--border-thick);
}

.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  padding: 18px 48px 18px 20px;
  cursor: pointer;
  position: relative;
  color: var(--net-black);
  user-select: none;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--rally-red);
  font-family: var(--font-heading);
  transition: transform 0.2s;
}

details[open] > .faq-item__question::after {
  content: '−';
}

.faq-item__answer {
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: #444;
  border-top: 2px solid #eee;
}

/* ── GAME EMBED SECTION ── */
.game-section {
  padding: 80px 0;
  background: var(--court-green);
  border-bottom: var(--border-thick);
}

.game-section .section-title {
  color: #fff;
  text-shadow: 3px 3px 0 #1a1a1a;
}

.game-section .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.game-wrapper {
  background: var(--net-black);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.game-wrapper iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

/* ── LEADERBOARD ── */
.leaderboard-section {
  padding: 80px 0;
  background: var(--rally-red);
  border-bottom: var(--border-thick);
}

.leaderboard-section .section-title {
  color: var(--champion-yellow);
  text-shadow: 3px 3px 0 #1a1a1a;
}

.leaderboard-section .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.leaderboard-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  background: var(--sky-white);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  overflow: hidden;
}

.leaderboard-table th {
  background: var(--net-black);
  color: var(--champion-yellow);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 14px 20px;
  text-align: left;
  border-bottom: var(--border-thick);
}

.leaderboard-table td {
  padding: 12px 20px;
  border-bottom: 2px solid #eee;
  font-size: 0.95rem;
}

.leaderboard-table tr:last-child td {
  border-bottom: none;
}

.leaderboard-table tr:nth-child(even) td {
  background: rgba(255,225,53,0.15);
}

.rank-gold { color: #d4a000; font-family: var(--font-heading); }
.rank-silver { color: #888; font-family: var(--font-heading); }
.rank-bronze { color: #c47b3b; font-family: var(--font-heading); }

/* ── ABOUT PAGE ── */
.page-hero {
  background: var(--rally-red);
  border-bottom: var(--border-thick);
  padding: 60px 0 48px;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--champion-yellow);
  text-shadow: 4px 4px 0 #1a1a1a;
  margin-bottom: 12px;
}

.page-hero__subtitle {
  color: #fff;
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.about-section {
  padding: 80px 0;
  background: var(--sky-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
}

.about-image {
  background: var(--court-green);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  font-size: 6rem;
}

.team-section {
  padding: 80px 0;
  background: var(--champion-yellow);
  border-top: var(--border-thick);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--sky-white);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}

.team-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  background: var(--rally-red);
  border: var(--border-thick);
  box-shadow: 3px 3px 0 #1a1a1a;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.team-card__role {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── HOW TO PLAY PAGE ── */
.htp-section {
  padding: 80px 0;
  background: var(--sky-white);
}

.htp-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.htp-intro p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 14px;
}

.htp-stages {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
}

.htp-stage {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}

.htp-stage:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.htp-stage__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--rally-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-thick);
  box-shadow: 3px 3px 0 #1a1a1a;
}

.htp-stage h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.htp-stage p {
  font-size: 0.95rem;
  color: #444;
}

.tips-section {
  padding: 80px 0;
  background: var(--rally-red);
  border-top: var(--border-thick);
}

.tips-section .section-title {
  color: var(--champion-yellow);
  text-shadow: 3px 3px 0 #1a1a1a;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tip-card {
  background: var(--champion-yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}

.tip-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.tip-card__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.tip-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.88rem;
  color: #333;
}

/* ── BLOG PAGE ── */
.blog-page {
  padding: 80px 0;
  background: var(--sky-white);
}

.blog-page .articles-grid {
  margin-bottom: 48px;
}

/* ── ARTICLE PAGE ── */
.article-page {
  padding: 60px 0 80px;
  background: var(--sky-white);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.article-content {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 40px;
}

.article-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--net-black);
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #666;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.article-meta .tag {
  background: var(--rally-red);
  color: #fff;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid #1a1a1a;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  color: var(--net-black);
  padding-left: 14px;
  border-left: 5px solid var(--rally-red);
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: var(--net-black);
}

.article-content p {
  font-size: 0.98rem;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin: 0 0 16px 24px;
  font-size: 0.98rem;
  color: #333;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  color: var(--net-black);
}

.sidebar-widget .btn-play {
  display: block;
  text-align: center;
  margin-top: 12px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-list li a {
  font-size: 0.9rem;
  color: var(--net-black);
  font-weight: 600;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  transition: color 0.15s;
}

.related-list li a:hover {
  color: var(--rally-red);
}

/* ── CONTACT PAGE ── */
.contact-section {
  padding: 80px 0;
  background: var(--sky-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: var(--border-thick);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--sky-white);
  border-radius: var(--radius);
  transition: box-shadow 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: 4px 4px 0 var(--rally-red);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--champion-yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.contact-info-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: #333;
}

/* ── PRIVACY & TERMS ── */
.legal-section {
  padding: 80px 0;
  background: var(--sky-white);
}

.legal-content {
  max-width: 800px;
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  padding: 48px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--net-black);
  padding-left: 12px;
  border-left: 5px solid var(--rally-red);
}

.legal-content p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 0 0 14px 24px;
}

.legal-content li {
  list-style: disc;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-updated {
  display: inline-block;
  background: var(--champion-yellow);
  border: 2px solid #1a1a1a;
  padding: 4px 14px;
  font-size: 0.85rem;
  margin-bottom: 28px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--net-black);
  color: var(--sky-white);
  border-top: var(--border-thick);
  padding: 60px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand .logo {
  font-size: 1.6rem;
  color: var(--champion-yellow);
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--champion-yellow);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--champion-yellow);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__bottom a {
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

.site-footer__bottom a:hover { color: var(--champion-yellow); }

/* ── BREADCRUMBS ── */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: #666;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--rally-red);
  font-weight: 600;
}

.breadcrumb span { color: #999; }

/* ── COOKIE CONSENT ── */
#cookie-consent {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--net-black);
  color: var(--champion-yellow);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 20px 24px;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  z-index: 9999;
  max-width: 420px;
}

/* ── NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--net-black);
  color: var(--champion-yellow);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 14px 24px;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

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

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--rally-red);
  color: #fff;
  font-size: 1.4rem;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.1s;
}

.scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero__inner,
  .how-snippet__inner,
  .about-grid,
  .contact-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual { order: -1; }

  .features__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav__list {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    background: var(--rally-red);
    padding: 16px;
    border-top: var(--border-thick);
    border-bottom: var(--border-thick);
    z-index: 200;
  }

  .site-nav__list--open { display: flex; }

  .site-nav__toggle { display: flex; }

  .site-header__inner { position: relative; }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .game-wrapper iframe {
    height: 380px;
  }
}