/* ============================================================
   Game Addict — Game Info, System Requirements & Download CSS
   Gaming dark theme — fully responsive — Google CWV optimized
   ============================================================ */

:root {
  --ga-primary:   #eb2d1c;
  --ga-dark:      #0f1117;
  --ga-card:      #1a1d27;
  --ga-border:    rgba(255,255,255,.08);
  --ga-text:      #e2e8f0;
  --ga-muted:     #8892a4;
  --ga-accent:    #6366f1;
  --ga-green:     #3a9e52;
  --ga-radius:    10px;
  --ga-transition:.22s cubic-bezier(.4,0,.2,1);
}

/* ── HOW TO DOWNLOAD ─────────────────────────────────────── */
.ga-howto-section {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--ga-card);
  border: 1px solid var(--ga-border);
  border-left: 4px solid var(--ga-primary);
  border-radius: var(--ga-radius);
}
.ga-howto-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ga-howto-content ol {
  margin: 0;
  padding-left: 22px;
  color: var(--ga-text);
  line-height: 1.85;
  font-size: 1rem;
}
.ga-howto-content li { margin-bottom: 8px; }

/* ── TABS WRAPPER ────────────────────────────────────────── */
.ga-tabs-wrapper {
  margin: 32px 0;
  background: var(--ga-card);
  border: 1px solid var(--ga-border);
  border-radius: var(--ga-radius);
  overflow: hidden;
}

/* ── TAB NAV ─────────────────────────────────────────────── */
.ga-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  background: var(--ga-dark);
  border-bottom: 1px solid var(--ga-border);
  gap: 0;
}
.ga-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--ga-muted);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--ga-transition), border-color var(--ga-transition), background var(--ga-transition);
  white-space: nowrap;
  outline: none;
}
.ga-tab-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
}
.ga-tab-btn.ga-tab-active {
  color: #fff;
  border-bottom-color: var(--ga-primary);
  background: rgba(235,45,28,.07);
}
.ga-tab-btn:focus-visible {
  outline: 2px solid var(--ga-accent);
  outline-offset: -2px;
}
.ga-tab-icon { font-size: 1rem; }

/* ── TAB PANELS ──────────────────────────────────────────── */
.ga-tabs-body { padding: 28px 32px; }
.ga-tab-panel { animation: ga-fade .25s ease; }
.ga-tab-panel:focus { outline: none; }
.ga-panel-hidden { display: none; }

@keyframes ga-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SYSTEM REQUIREMENTS ─────────────────────────────────── */
.ga-req-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(235,45,28,.1);
  border: 1px solid rgba(235,45,28,.25);
  border-radius: 6px;
  color: #fca5a5;
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.ga-req-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ga-req-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.ga-req-tbl thead th {
  background: rgba(255,255,255,.05);
  color: var(--ga-muted);
  text-transform: uppercase;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ga-border);
  white-space: nowrap;
}
.ga-req-tbl tbody tr {
  border-bottom: 1px solid var(--ga-border);
  transition: background var(--ga-transition);
}
.ga-req-tbl tbody tr:last-child { border-bottom: none; }
.ga-req-tbl tbody tr:hover { background: rgba(255,255,255,.03); }
.ga-req-tbl td {
  padding: 11px 14px;
  color: var(--ga-text);
  vertical-align: top;
  line-height: 1.65;
  font-size: 1rem;
}
.ga-req-label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #fff !important;
  font-weight: 700 !important;
  white-space: nowrap;
  min-width: 140px;
}
.ga-req-footer,
.ga-req-courtesy {
  margin-top: 14px;
  font-size: .9375rem;
  color: var(--ga-muted);
}
.ga-req-footer a,
.ga-req-courtesy a {
  color: var(--ga-accent);
  text-decoration: none;
  font-weight: 600;
}
.ga-req-footer a:hover { text-decoration: underline; }

/* ── GAME INFO PANEL ─────────────────────────────────────── */
.ga-gameinfo-desc {
  color: var(--ga-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.0625rem;
}
.ga-info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.ga-info-row {
  display: contents;
}
.ga-info-row dt,
.ga-info-row dd {
  padding: 14px 18px;
  font-size: 1rem;
  border-bottom: 1px solid var(--ga-border);
}
.ga-info-row dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.03);
}
.ga-info-row dd {
  color: var(--ga-text);
  margin: 0;
}

/* ── TRAILER PANEL ───────────────────────────────────────── */
.ga-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 16 / 9;
}
.ga-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, opacity .3s;
}
.ga-video-wrap:hover .ga-video-thumb { transform: scale(1.02); opacity: .85; }
.ga-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  background: rgba(235,45,28,.9);
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--ga-transition), transform var(--ga-transition), box-shadow var(--ga-transition);
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.ga-play-btn:hover {
  background: var(--ga-primary);
  transform: translate(-50%,-50%) scale(1.12);
  box-shadow: 0 12px 40px rgba(235,45,28,.5);
}
.ga-play-icon { font-size: 26px; color: #fff; margin-left: 4px; }
.ga-trailer-title {
  margin: 12px 0 0;
  font-size: .9375rem;
  color: var(--ga-muted);
  text-align: center;
}
.ga-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.ga-no-content {
  color: var(--ga-muted);
  font-style: italic;
  text-align: center;
  padding: 24px 0;
}

/* ── DOWNLOAD SECTION ────────────────────────────────────── */
.ga-download-section {
  margin: 32px 0;
  padding: 28px;
  background: var(--ga-card);
  border: 1px solid var(--ga-border);
  border-radius: var(--ga-radius);
  text-align: center;
}
.ga-download-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 22px;
  text-decoration: underline;
  text-decoration-color: var(--ga-primary);
  text-underline-offset: 4px;
}
.ga-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ga-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--ga-btn-bg, #3a9e52);
  color: #fff !important;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background var(--ga-transition), transform var(--ga-transition), box-shadow var(--ga-transition);
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  min-height: 56px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
.ga-download-btn:hover {
  background: var(--ga-btn-hover, #2d7a40) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  color: #fff !important;
}
.ga-download-btn:active { transform: translateY(0); }
.ga-dl-arrow {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .ga-tabs-nav { flex-direction: column; }
  .ga-tab-btn {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 12px 16px;
  }
  .ga-tab-btn.ga-tab-active { border-left-color: var(--ga-primary); border-bottom: none; }
  .ga-tabs-body { padding: 16px; }
  .ga-howto-section { padding: 18px 16px; }
  .ga-download-section { padding: 20px 16px; }
  .ga-download-grid { grid-template-columns: 1fr 1fr; }
  .ga-info-list { grid-template-columns: 1fr; }
  .ga-info-row dt,
  .ga-info-row dd { display: block; }
  .ga-info-row dt { padding-bottom: 2px; }
  .ga-info-row dd { padding-top: 2px; }
  .ga-req-label { min-width: unset; }
}
@media (max-width: 480px) {
  .ga-download-grid { grid-template-columns: 1fr; }
  .ga-play-btn { width: 56px; height: 56px; }
  .ga-play-icon { font-size: 20px; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  .ga-tabs-nav { display: none; }
  .ga-panel-hidden { display: block !important; }
  .ga-download-section { display: none; }
}
