/*
Theme Name: GameLoad Pro
Theme URI: https://gameload.pro
Description: High-performance WordPress theme for PC game downloads. SEO optimized, AdSense ready, blazing fast.
Version: 1.0.0
Author: GameLoad Pro
Text Domain: gameload-pro
Tags: games, download, seo, adsense, responsive
*/

/* ============================================
   CSS VARIABLES — NAVY + ORANGE PALETTE
   ============================================ */
:root {
  --navy:        #1A3A5C;
  --navy-dark:   #0F2540;
  --navy-light:  #2563A8;
  --sky:         #4AB8FF;
  --sky-light:   #E6F1FB;
  --orange:      #FF6B35;
  --orange-dark: #E05520;
  --bg:          #F0F7FF;
  --bg-card:     #FFFFFF;
  --text:        #1A2B3C;
  --text-muted:  #5F7A96;
  --border:      #D0E4F5;
  --success:     #2E7D32;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(26,58,92,.08);
  --shadow-md:   0 4px 24px rgba(26,58,92,.13);
  --font-head:   'Barlow', sans-serif;
  --font-body:   'Plus Jakarta Sans', sans-serif;
  --font-mono:   'Roboto Mono', monospace;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media(max-width:900px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-3{ grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr; } }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
#site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.site-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-logo span { color: var(--orange); }
.site-logo:hover { color: #fff; }

/* Search bar in header */
.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  overflow: hidden;
  transition: background .2s;
}
.header-search:focus-within { background: rgba(255,255,255,.18); border-color: var(--sky); }
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: .9rem;
  color: #fff;
  font-family: var(--font-body);
}
.header-search input::placeholder { color: rgba(255,255,255,.55); }
.header-search button {
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 1rem;
  transition: color .2s;
}
.header-search button:hover { color: var(--orange); }

/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-menu a.nav-highlight {
  background: var(--orange);
  color: #fff;
  padding: 6px 14px;
}
.nav-menu a.nav-highlight:hover { background: var(--orange-dark); }

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; font-size: 1.4rem; }
@media(max-width:768px){
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-dark); padding: 12px; flex-direction: column; align-items: flex-start; gap: 2px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; border-radius: var(--radius-sm); }
  .header-search { display: none; }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  background: var(--navy);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.breadcrumbs nav { font-size: .8rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: rgba(255,255,255,.65); }
.breadcrumbs a:hover { color: var(--sky); }
.breadcrumbs .sep { opacity: .4; }
.breadcrumbs .current { color: var(--sky); }

/* ============================================
   HERO / PAGE BANNER
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1A4A7C 100%);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234AB8FF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto 24px; }
.hero-badge {
  display: inline-block;
  background: rgba(74,184,255,.15);
  border: 1px solid rgba(74,184,255,.3);
  color: var(--sky);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.section-header h2 { font-size: 1.25rem; }
.section-header a { font-size: .85rem; color: var(--navy-light); font-weight: 600; }
.section-header a:hover { color: var(--orange); }
.section-tag {
  display: inline-block;
  background: var(--sky-light);
  color: var(--navy-light);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 6px;
}

/* ============================================
   GAME CARDS
   ============================================ */
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sky); }
.game-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sky-light);
}
.game-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.game-card:hover .game-card__thumb img { transform: scale(1.04); }
.game-card__genre {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--navy);
  color: var(--sky);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.game-card__size {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.game-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.game-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); line-height: 1.3; }
.game-card__title a { color: inherit; }
.game-card__title a:hover { color: var(--orange); }
.game-card__meta { font-size: .78rem; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.game-card__meta span { display: flex; align-items: center; gap: 4px; }
.game-card__btn {
  display: block;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .88rem;
  transition: background .2s, transform .1s;
  margin-top: auto;
}
.game-card__btn:hover { background: var(--orange-dark); color: #fff; transform: scale(.98); }

/* Featured card — larger */
.game-card--featured .game-card__thumb { aspect-ratio: 21/9; }
.game-card--featured .game-card__title { font-size: 1.2rem; }

/* ============================================
   DOWNLOAD BOX (single game page)
   ============================================ */
.download-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  background: rgba(74,184,255,.08);
  border-radius: 50%;
}
.download-box h3 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.download-box__info { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.dl-info-item { display: flex; flex-direction: column; gap: 2px; }
.dl-info-item .lbl { font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .6px; }
.dl-info-item .val { font-size: .95rem; font-weight: 600; color: #fff; font-family: var(--font-mono); }
.download-box__links { display: flex; flex-direction: column; gap: 10px; }
.mirror-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: background .2s;
}
.mirror-row:hover { background: rgba(255,255,255,.1); }
.mirror-row__name { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mirror-row__size { font-family: var(--font-mono); font-size: .78rem; color: rgba(255,255,255,.5); }
.mirror-btn {
  background: var(--orange);
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  transition: background .2s;
  flex-shrink: 0;
}
.mirror-btn:hover { background: var(--orange-dark); color: #fff; }

/* ============================================
   SYSTEM REQUIREMENTS TABLE
   ============================================ */
.req-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 20px 0; }
.req-table thead th {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.req-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.req-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.req-table tbody td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.req-table tbody tr:nth-child(even) td { background: var(--sky-light); }
.req-table tbody tr:last-child td { border-bottom: none; }
.req-table .req-label { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ============================================
   INFO BOX / GAME META
   ============================================ */
.game-meta-box {
  background: var(--sky-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}
.game-meta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 14px; }
.meta-item .meta-lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: .6px; margin-bottom: 3px; }
.meta-item .meta-val { font-size: .92rem; font-weight: 600; color: var(--navy); }

/* ============================================
   INSTALLATION GUIDE
   ============================================ */
.install-steps { counter-reset: step; margin: 20px 0; }
.install-step {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  align-items: flex-start;
}
.install-step__num {
  background: var(--navy);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.install-step__text { font-size: .95rem; color: var(--text); }
.install-step__text strong { color: var(--navy); }

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; }
.faq-question {
  background: var(--bg-card);
  padding: 14px 20px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .2s;
}
.faq-question:hover { background: var(--sky-light); }
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--navy-light); transition: transform .2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 14px 20px; font-size: .9rem; color: var(--text-muted); border-top: 1px solid var(--border); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ============================================
   COUNTDOWN DOWNLOAD PAGE
   ============================================ */
.countdown-box {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  max-width: 500px;
  margin: 0 auto;
}
.countdown-circle {
  width: 100px;
  height: 100px;
  border: 4px solid var(--border);
  border-top-color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-mono);
  margin: 0 auto 20px;
  animation: spin-border 1s linear infinite;
}
@keyframes spin-border { to { border-top-color: var(--orange); transform: rotate(360deg); } }
.countdown-box h2 { font-size: 1.3rem; margin-bottom: 8px; }
.countdown-box p { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }
.countdown-btn {
  display: inline-block;
  background: var(--success);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: background .2s, transform .1s;
  cursor: pointer;
}
.countdown-btn:hover { background: #1B5E20; color: #fff; transform: scale(.98); }
.countdown-btn.disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; pointer-events: none; }

/* ============================================
   CATEGORY PAGE HEADER
   ============================================ */
.cat-header {
  background: var(--navy);
  padding: 40px 0;
  border-bottom: 3px solid var(--orange);
}
.cat-header h1 { color: #fff; margin-bottom: 8px; }
.cat-header p { color: rgba(255,255,255,.7); max-width: 700px; }
.cat-header__meta { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.cat-meta-pill {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-bar label { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.filter-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: .85rem;
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
}
.filter-select:focus { outline: 2px solid var(--sky); border-color: var(--sky); }

/* ============================================
   SIDEBAR
   ============================================ */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
@media(max-width:900px){ .layout-with-sidebar { grid-template-columns: 1fr; } }
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}
.widget__title {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.widget__body { padding: 16px; }
.widget-game-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); align-items: center; }
.widget-game-row:last-child { border-bottom: none; padding-bottom: 0; }
.widget-game-thumb { width: 56px; height: 42px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; background: var(--sky-light); }
.widget-game-name { font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.widget-game-name a { color: inherit; }
.widget-game-name a:hover { color: var(--orange); }
.widget-game-meta { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   ADSENSE SLOTS
   ============================================ */
.ad-slot {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  margin: 24px 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot--sidebar { min-height: 250px; }
.ad-slot--in-content { min-height: 280px; }
.ad-slot--leaderboard { min-height: 90px; }
/* AdSense label (required by policy) */
.ad-label {
  font-size: .65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
  margin-bottom: 6px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0; flex-wrap: wrap; }
.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .9rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--navy);
  transition: all .2s;
}
.pagination a:hover { background: var(--sky-light); border-color: var(--sky); color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================
   NOTICE / ALERT BOXES
   ============================================ */
.notice {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: .9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
}
.notice--info { background: #E6F1FB; border-left: 4px solid var(--sky); color: var(--navy); }
.notice--warn { background: #FFF8E1; border-left: 4px solid #F9A825; color: #5D4037; }
.notice--success { background: #E8F5E9; border-left: 4px solid var(--success); color: #1B5E20; }

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-result-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; transition: border-color .2s; }
.search-result-item:hover { border-color: var(--sky); }
.search-result-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; background: var(--sky-light); }
.search-result-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.search-result-title a { color: inherit; }
.search-result-excerpt { font-size: .85rem; color: var(--text-muted); }

/* ============================================
   RELATED GAMES
   ============================================ */
.related-games { margin: 40px 0; }
.related-games h3 { margin-bottom: 16px; }

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media(max-width:768px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .site-logo { font-size: 1.25rem; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: .85rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--sky); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-6 { padding-top: 3rem; padding-bottom: 3rem; }
.hidden { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media(max-width:600px){
  .download-box { padding: 20px; }
  .filter-bar { gap: 8px; }
  .mirror-row { flex-wrap: wrap; gap: 8px; }
  .download-box__info { gap: 10px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  #site-header, #site-footer, .ad-slot, .nav-toggle { display: none; }
}

/* ============================================================
   BLOG CONTENT STYLES
   ============================================================ */
.blog-content h2 { font-size: 1.35rem; color: var(--navy); margin: 2rem 0 .75rem; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.blog-content h3 { font-size: 1.1rem; color: var(--navy); margin: 1.5rem 0 .6rem; }
.blog-content p  { margin-bottom: 1.1rem; }
.blog-content ul, .blog-content ol { margin: .5rem 0 1.25rem 1.5rem; line-height: 2; }
.blog-content a  { color: var(--navy-light); text-decoration: underline; }
.blog-content a:hover { color: var(--orange); }
.blog-content img { border-radius: var(--radius-md); margin: 1.25rem 0; max-width: 100%; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; }
.blog-content table th { background: var(--navy); color: #fff; padding: 10px 14px; text-align: left; font-size: .82rem; text-transform: uppercase; letter-spacing: .4px; }
.blog-content table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.blog-content table tr:nth-child(even) td { background: var(--sky-light); }
.blog-content blockquote { border-left: 4px solid var(--navy-light); margin: 1.5rem 0; padding: 12px 20px; background: var(--sky-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-muted); }
.blog-content code { background: var(--sky-light); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .88em; color: var(--navy); }
.blog-content pre { background: #1e1e1e; color: #d4d4d4; padding: 16px 20px; border-radius: var(--radius-md); overflow-x: auto; font-family: var(--font-mono); font-size: .88rem; line-height: 1.6; margin: 1.25rem 0; }

/* Legal pages */
.legal-content h2 { font-size: 1.2rem; color: var(--navy); margin: 2rem 0 .75rem; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.legal-content h3 { font-size: 1rem; color: var(--navy); font-weight: 700; margin: 1.25rem 0 .5rem; }
.legal-content p  { margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin: .5rem 0 1.25rem 1.5rem; line-height: 2; }
.legal-content a  { color: var(--navy-light); }
.legal-content a:hover { color: var(--orange); }

/* Narrow container */
.container--narrow { max-width: 820px; margin: 0 auto; }

/* Dropdown arrow fix */
.dropdown-menu { animation: fadeInDown .15s ease; }
@keyframes fadeInDown { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
