:root {
  --bg-0: #0a0908;
  --bg-1: #14110f;
  --bg-2: #1f1a16;
  --bg-3: #2a231d;
  --rust-red: #cf3414;
  --rust-orange: #f0792b;
  --rust-yellow: #f4c430;
  --rust-tan: #c89b6c;
  --text-primary: #f4e8d8;
  --text-secondary: #a8987f;
  --border: #3a2f25;
  --shadow: rgba(0, 0, 0, 0.6);
  --bronze: #cd7f32;
  --silver: #c0c0c0;
  --gold: #ffd700;
}

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

html, body {
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(207, 52, 20, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(240, 121, 43, 0.06) 0%, transparent 50%),
    var(--bg-0);
}

a { color: var(--rust-orange); text-decoration: none; transition: color .15s; }
a:hover { color: var(--rust-yellow); }

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

/* === Header / Nav === */
header.site-header {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border-bottom: 2px solid var(--rust-red);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--rust-yellow);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand .crown { font-size: 1.7rem; }

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-primary);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all .15s;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav a:hover, nav a.active {
  background: var(--rust-red);
  color: #fff;
}

/* === Hero === */
.hero {
  position: relative;
  padding: 64px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(207, 52, 20, 0.05) 100%);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, var(--rust-yellow) 0%, var(--rust-orange) 60%, var(--rust-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 16px rgba(207, 52, 20, 0.3);
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--rust-orange) 0%, var(--rust-red) 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--rust-red);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(207, 52, 20, 0.3);
  transition: transform .15s, box-shadow .15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(207, 52, 20, 0.5);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
}

.btn.secondary:hover {
  background: var(--bg-2);
  color: var(--text-primary);
}

.btn-group {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* === Sections === */
section {
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  text-align: center;
  color: var(--rust-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

section h2 + .section-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* === VIP Tiers Grid === */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.tier-card {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tier-color, var(--rust-red));
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--tier-color, var(--rust-red));
}

.tier-card.bronze { --tier-color: var(--bronze); }
.tier-card.prata { --tier-color: var(--silver); }
.tier-card.ouro { --tier-color: var(--gold); }

.tier-icon { font-size: 3rem; margin-bottom: 12px; }
.tier-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--tier-color, var(--text-primary));
  letter-spacing: 1px;
}
.tier-name-en {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}

.tier-price {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 16px 0 4px;
  color: var(--text-primary);
}
.tier-price-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tier-perks {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}
.tier-perks li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
  color: var(--text-primary);
}
.tier-perks li::before {
  content: '✓ ';
  color: var(--tier-color, var(--rust-orange));
  font-weight: 800;
  margin-right: 6px;
}

.tier-card .btn { width: 100%; margin-top: 8px; }

.tier-toggle-lang {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-align: center;
  display: block;
}

/* === Screenshots gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.gallery .shot {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

.gallery .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.gallery .shot:hover img { transform: scale(1.05); }

.gallery .shot .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  padding: 20px 16px 12px;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.gallery .shot.placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-2) 0px,
      var(--bg-2) 12px,
      var(--bg-3) 12px,
      var(--bg-3) 24px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

/* === Cameras live === */
.cameras-status {
  background: var(--bg-2);
  border: 1px solid var(--rust-orange);
  border-radius: 8px;
  padding: 32px 24px;
  margin: 24px 0;
  text-align: center;
}

.cameras-status .badge {
  display: inline-block;
  background: var(--rust-orange);
  color: var(--bg-0);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cameras-status h3 {
  font-size: 1.6rem;
  color: var(--rust-yellow);
  margin-bottom: 16px;
}

.cameras-status p { color: var(--text-secondary); margin-bottom: 12px; }

.tech-info {
  background: var(--bg-3);
  border-radius: 6px;
  padding: 20px;
  margin-top: 24px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
}

.tech-info code {
  color: var(--rust-yellow);
  background: var(--bg-1);
  padding: 2px 6px;
  border-radius: 3px;
}

/* === Stats card === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
}

.stat-card .val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--rust-orange);
  margin-bottom: 4px;
}
.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === Connect box === */
.connect-box {
  background: var(--bg-2);
  border: 2px solid var(--rust-red);
  border-radius: 12px;
  padding: 32px 24px;
  margin: 40px 0;
  text-align: center;
}

.connect-cmd {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: var(--rust-yellow);
  margin: 16px 0;
  user-select: all;
  cursor: pointer;
  display: inline-block;
}

/* === Footer === */
footer.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 64px;
}

footer .links {
  margin-top: 12px;
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* === Utility === */
.lang-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
@media (max-width: 600px) {
  .lang-row { grid-template-columns: 1fr; }
}

.lang-col {
  background: var(--bg-2);
  border-left: 3px solid var(--rust-orange);
  padding: 16px;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
}
.lang-col strong { color: var(--rust-yellow); display: block; margin-bottom: 6px; font-size: 0.85rem; letter-spacing: 1px; }

/* === MADKING Growth Pack — 2026-05-13 === */

/* Live banner (player count + AO VIVO dot) */
.live-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2, #1a1a1a);
  border: 2px solid #444;
  border-radius: 999px;
  padding: 10px 22px;
  margin: 18px 0;
  font-size: 1.0rem;
  letter-spacing: 0.5px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.live-banner.online {
  border-color: #4ade80;
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}
.live-banner .lb-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #777;
  flex-shrink: 0;
}
.live-banner .lb-dot.on {
  background: #4ade80;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);   }
}
.live-banner .lb-label { font-weight: 700; color: #ccc; }
.live-banner .lb-count { color: #fff; font-weight: 600; }
.live-banner .lb-players { color: #4ade80; font-size: 1.2rem; }

/* Steam 1-click connect block */
.connect-block {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  margin: 22px auto;
  max-width: 520px;
}
.connect-block.lg .btn-connect {
  font-size: 1.15rem; padding: 14px 28px;
}
.connect-block .connect-cmd {
  background: #111;
  color: #ffaa00;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: all;
  border: 1px dashed #444;
  transition: all 0.15s;
}
.connect-block .connect-cmd:hover { border-color: #ffaa00; }
.connect-block .connect-cmd.copied {
  background: #143a14; color: #4ade80; border-color: #4ade80;
}
.connect-block .connect-cmd.copied::after { content: " ✓ copiado!"; }
.connect-block .connect-hint { color: #888; font-size: 0.85rem; }
.btn-primary { background: #ff6600; color: #fff; }
.btn-primary:hover { background: #ff8833; }

/* Killfeed */
.killfeed {
  background: #0f0f0f;
  border-radius: 8px;
  padding: 14px 18px;
  min-height: 80px;
  max-height: 420px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  border: 1px solid #2a2a2a;
}
.killfeed-empty { color: #555; text-align: center; padding: 18px; font-style: italic; }
.kf-row {
  padding: 4px 0;
  border-bottom: 1px dotted #1a1a1a;
}
.kf-row:last-child { border-bottom: 0; }
.kf-killer { color: #4ade80; font-weight: 700; }
.kf-verb { color: #777; }
.kf-victim { color: #ef4444; font-weight: 700; }
.kf-wpn { color: #ffaa00; }
.kf-dist { color: #93c5fd; font-size: 0.85rem; }
.kf-ago { color: #555; font-size: 0.82rem; }

/* Map preview */
.map-preview {
  margin: 18px 0;
  text-align: center;
}
.map-preview img {
  max-width: 100%;
  max-height: 520px;
  border-radius: 10px;
  border: 2px solid #333;
  display: inline-block;
}
.map-placeholder {
  background: #1a1a1a;
  border: 2px dashed #444;
  border-radius: 10px;
  padding: 40px 20px;
  color: #888;
}

/* Footer wipe countdown */
.wipe-countdown {
  margin: 10px 0;
  font-size: 0.95rem;
  color: #ddd;
}
.wipe-countdown .time {
  color: #ffaa00;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

/* Dois client.connect lado a lado (IP + domínio) */
.connect-cmd-pair {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.connect-cmd.alt {
  background: #0f1f0f;
  color: #4ade80;
  border-color: #1e4d1e;
}
.connect-cmd.alt:hover { border-color: #4ade80; }

/* Livemap */
.livemap-wrap {
  background: #0f0f0f;
  border: 2px solid #333;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.livemap-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.livemap-stats {
  display: flex; flex-wrap: wrap; gap: 12px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.92rem;
}
.lm-stat { color: #ddd; }
.lm-stat.lm-players strong { color: #4ade80; }
.lm-stat.lm-npcs strong { color: #ef4444; }
.lm-stat.lm-animals strong { color: #a16207; }
.lm-stat.lm-vehicles strong { color: #3b82f6; }
.lm-stat.lm-age strong { color: #ffaa00; font-family: monospace; }

/* === Checkout modal — overlay centralizado === */
.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ck-fade 0.2s ease-out;
}
.checkout-modal[style*="flex"] { display: flex !important; }
@keyframes ck-fade { from { opacity: 0; } to { opacity: 1; } }

.checkout-box {
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 2px solid #ff6600;
  border-radius: 14px;
  padding: 32px 28px 24px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(255, 102, 0, 0.25), 0 0 0 1px rgba(255, 102, 0, 0.1);
  animation: ck-slide 0.25s ease-out;
}
@keyframes ck-slide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.checkout-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  color: #888;
  font-size: 26px;
  cursor: pointer;
  width: 32px; height: 32px;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.15s;
}
.checkout-close:hover { background: #2a2a2a; color: #ff6600; }

.checkout-box h3 {
  margin: 0 0 8px;
  color: #ffaa00;
  font-size: 1.4rem;
  font-weight: 700;
}
.ck-sub {
  color: #aaa;
  font-size: 0.92rem;
  margin: 0 0 18px;
  line-height: 1.5;
}
#ck-steamid {
  width: 100%;
  padding: 14px 16px;
  background: #0a0a0a;
  border: 2px solid #2a2a2a;
  border-radius: 8px;
  color: #4ade80;
  font-size: 1.05rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  text-align: center;
}
#ck-steamid::placeholder { color: #444; }
#ck-steamid:focus {
  outline: none;
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}
.ck-hint {
  display: block;
  color: #666;
  font-size: 0.8rem;
  margin: 8px 0 18px;
  line-height: 1.5;
}
.ck-hint a { color: #4ade80; text-decoration: none; }
.ck-hint a:hover { text-decoration: underline; }
.ck-actions {
  display: flex;
  gap: 10px;
}
.ck-actions .btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 1.0rem;
  font-weight: 700;
}
.ck-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.2em;
  font-weight: 600;
}

/* Botão buy/free dos tiers */
.btn-buy {
  background: linear-gradient(135deg, #ff6600 0%, #ff8833 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
  border: 0;
  cursor: pointer;
  padding: 12px 22px;
  font-size: 1.0rem;
  border-radius: 8px;
  transition: transform 0.1s, box-shadow 0.15s;
}
.btn-buy:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5); }
.btn-buy:active { transform: translateY(0); }

.btn-free {
  background: #1a1a1a;
  color: #4ade80;
  border: 2px dashed #4ade80;
  cursor: default;
  padding: 12px 22px;
  font-weight: 700;
  border-radius: 8px;
}

.tier-card.is-free { opacity: 0.85; }
