/* ==========================================================================
   Cricket 07 - Modern Light / White Theme Stylesheet
   Domain: cricket07.in
   ========================================================================== */

:root {
  /* Theme Colors - Light / Clean Aesthetic */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #f8fafc;
  
  --border-light: #e2e8f0;
  --border-card: #e5e9f0;
  --border-focus: #2563eb;

  /* Accent Colors */
  --primary-blue: #1d4ed8;
  --primary-blue-hover: #1e40af;
  --accent-red: #dc2626;
  --accent-red-hover: #b91c1c;

  /* Category icon pastel backgrounds */
  --pastel-green: #eefdf4;
  --pastel-green-icon: #16a34a;
  --pastel-blue: #eff6ff;
  --pastel-blue-icon: #2563eb;
  --pastel-yellow: #fefce8;
  --pastel-yellow-icon: #ca8a04;
  --pastel-pink: #fdf2f8;
  --pastel-pink-icon: #db2777;

  /* Typography Colors */
  --text-heading: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 10px 25px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --shadow-btn: 0 4px 12px rgba(29, 78, 216, 0.28);
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --------------------------------------------------------------------------
   Header & Navbar (Clean White with Nav + Search)
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.brand-red-badge {
  color: #ffffff;
  background-color: var(--accent-red);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-xs);
  margin-left: 0.15rem;
  font-weight: 900;
  display: inline-block;
  line-height: 1.2;
}

.brand-domain {
  color: var(--text-heading);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-item a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-block: 1.5rem;
  position: relative;
  transition: color var(--transition);
}

.nav-item a:hover {
  color: var(--primary-blue);
}

.nav-item a.active {
  color: var(--primary-blue);
}

.nav-item a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--primary-blue);
  border-radius: 2px 2px 0 0;
}

.header-search {
  position: relative;
  width: 250px;
}

.search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
  font-size: 0.85rem;
  color: var(--text-heading);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  background-color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-xs);
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
}

.pulse-badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 1.8s infinite;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.35);
}

.btn-white {
  background-color: #ffffff;
  color: var(--text-heading);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Hero Section (White Theme with Stadium Visual)
   -------------------------------------------------------------------------- */
.hero-section {
  background: radial-gradient(circle at 85% 20%, rgba(224, 238, 255, 0.6) 0%, rgba(248, 250, 252, 0.95) 60%), #f8fafc;
  border-bottom: 1px solid var(--border-light);
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.hero-brand-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.2rem;
  font-size: inherit;
  font-weight: inherit;
}

.hero-cricket-title {
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1;
  letter-spacing: -2px;
}

.hero-red-pill {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  color: #ffffff;
  background-color: var(--accent-red);
  padding: 0.15rem 0.85rem;
  border-radius: var(--radius-md);
  line-height: 1;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.6px;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: -1.75rem;
  margin-bottom: 2rem;
}

/* Feature ribbon below hero buttons */
.hero-features-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.hf-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
}

.hf-icon {
  color: var(--primary-blue);
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Hero Right Visual: Cricket 07 In-Game Preview Image
   -------------------------------------------------------------------------- */
.hero-preview-container {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
}

.hero-preview-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1758 / 895;
  object-fit: contain;
}

.hero-preview-container:hover .hero-preview-img {
  transform: none;
}

/* Status Badge Over Preview */
.preview-top-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  background: rgba(11, 19, 32, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.preview-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Sections General
   -------------------------------------------------------------------------- */
.section {
  padding: 4rem 0;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.section-icon-badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--pastel-blue);
  color: var(--primary-blue);
  border-radius: var(--radius-sm);
}

.section-heading {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-link-action {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.section-link-action:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Section: Why Play Cricket 07? (4 Cards)
   -------------------------------------------------------------------------- */
.why-play-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.box-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.box-icon.green {
  background-color: var(--pastel-green);
  color: var(--pastel-green-icon);
}

.box-icon.blue {
  background-color: var(--pastel-blue);
  color: var(--pastel-blue-icon);
}

.box-icon.yellow {
  background-color: var(--pastel-yellow);
  color: var(--pastel-yellow-icon);
}

.box-icon.pink {
  background-color: var(--pastel-pink);
  color: var(--pastel-pink-icon);
}

.box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
}

.box-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Section: How to Play Cricket 07 (4 Step Cards with Mockup)
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.step-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
  overflow: hidden;
}

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

.step-badge-number {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 26px;
  height: 26px;
  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.step-card-body {
  padding: 1.4rem;
  flex-grow: 1;
}

.step-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.step-card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-card-text strong {
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   Section: Cricket 07 Gameplay (Screenshots with White Border & Watermark)
   -------------------------------------------------------------------------- */
.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gameplay-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid #ffffff;
  background-color: #0b1320;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  aspect-ratio: 5 / 4;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gameplay-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px -6px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.gameplay-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gameplay-card:hover .gameplay-img {
  transform: scale(1.06);
}

.more-screenshots-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.more-screenshots-link {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-red);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.more-screenshots-link:hover {
  color: var(--accent-red-hover);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Callout Banner: Play Cricket 07 for Free
   -------------------------------------------------------------------------- */
.free-play-banner {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 1.5rem 0 3rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.fp-text h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.fp-text p {
  color: var(--text-body);
  font-size: 0.95rem;
  max-width: 650px;
}

/* --------------------------------------------------------------------------
   Section: Editorial Guide & Specifications Table (Article Fold)
   -------------------------------------------------------------------------- */
.editorial-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4.5rem 0;
}

.editorial-container {
  max-width: 1200px;
  width: 100%;
}

.editorial-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.editorial-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.editorial-p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.4rem;
}

.editorial-p strong {
  color: var(--text-heading);
  font-weight: 700;
}

.editorial-h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.4px;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
}

.editorial-table-intro {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

/* Specifications Table */
.specs-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  container-type: inline-size;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table thead th {
  padding: 1rem 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  border-bottom: 2px solid var(--text-heading);
  letter-spacing: -0.2px;
}

.specs-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition);
}

.specs-table tbody tr:hover {
  background-color: var(--bg-hover);
}

.specs-table tbody td {
  padding: 1.1rem 0;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  vertical-align: top;
}

.specs-table tbody td:first-child {
  font-weight: 700;
  color: var(--text-heading);
  width: 28%;
  padding-right: 2rem;
}

.specs-table tbody td:last-child {
  width: 72%;
  color: var(--text-body);
}

@container (width < 560px) {
  .specs-table thead {
    display: none;
  }
  .specs-table, .specs-table tbody, .specs-table tr, .specs-table td {
    display: block;
    width: 100% !important;
  }
  .specs-table tbody tr {
    padding: 0.85rem 0;
  }
  .specs-table tbody td:first-child {
    padding-bottom: 0.3rem;
  }
  .specs-table--3col tbody td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--text-heading);
  }
}

.specs-table--3col tbody td:first-child {
  width: 22%;
}

.specs-table--3col tbody td:nth-child(2),
.specs-table--3col tbody td:last-child {
  width: 39%;
  padding-right: 1.5rem;
}

.editorial-h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1rem;
  scroll-margin-top: 80px;
}

.editorial-h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.editorial-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.editorial-mode {
  background: var(--bg-hover);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}

.editorial-mode p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-body);
}

.editorial-list {
  margin: 0 0 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.editorial-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  padding-left: 0.25rem;
}

.editorial-list strong {
  color: var(--text-heading);
  font-weight: 700;
}

.editorial-note {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

@media (max-width: 640px) {
  .editorial-modes-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Game Controls & Key Binding Badges
   -------------------------------------------------------------------------- */
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 0.2rem 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  border-radius: var(--radius-xs);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.control-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.control-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.control-card-header .box-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.control-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
}

.control-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #f1f5f9;
}

.control-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.control-action {
  color: var(--text-body);
  font-weight: 500;
}

.control-keys {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Browser Compatibility & System Matrix
   -------------------------------------------------------------------------- */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.compat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.compat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.compat-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.compat-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
}

.compat-badge.info {
  background: #eff6ff;
  color: #1d4ed8;
}

.compat-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.25rem;
}

.faq-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.faq-disclosure {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-disclosure:hover {
  border-color: #cbd5e1;
}

.faq-disclosure[open] {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-card);
}

.faq-summary {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-disclosure[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

.faq-content {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Footer (Dark Navy, matching image reference)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0b1320;
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.footer-brand-title .red-badge {
  background-color: var(--accent-red);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-xs);
  font-size: 0.9em;
}

.footer-disclaimer {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Action Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-bar .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Secondary Pages (About, Contact, Legal)
   -------------------------------------------------------------------------- */
.page-header-section {
  background: radial-gradient(circle at 80% 20%, rgba(224, 238, 255, 0.7) 0%, #f8fafc 60%);
  border-bottom: 1px solid var(--border-light);
  padding: 3rem 0 2.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-light);
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 700px;
  line-height: 1.6;
}

.legal-content-section {
  padding: 3.5rem 0 5rem;
}

.legal-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.legal-box h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.legal-box h2:first-of-type {
  margin-top: 0;
}

.legal-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

.legal-box p {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.legal-box ul {
  margin-bottom: 1.4rem;
  padding-left: 1.4rem;
}

.legal-box li {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.alert-callout {
  background: #eff6ff;
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: #1e3a8a;
  line-height: 1.6;
}

.alert-callout.warning {
  background: #fef2f2;
  border-left-color: var(--accent-red);
  color: #991b1b;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--pastel-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-heading);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-play-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .compat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gameplay-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-search {
    display: none;
  }

  .site-header {
    height: 62px;
  }

  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-layout {
    gap: 2rem;
  }

  .hero-cricket-title {
    font-size: 3rem;
  }

  .hero-red-pill {
    font-size: 2.4rem;
  }

  .why-play-grid, .steps-grid, .gameplay-grid {
    grid-template-columns: 1fr;
  }

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

  .faq-two-col {
    grid-template-columns: 1fr;
  }

  .free-play-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}
