/* ==========================================================================
   GAME GUMZ — brand system
   Single source of truth for typography and colour across gamegumz.com.
   Extracted from the homepage (index.html) on 2026-09-03.

   Loaded LAST in <head> on every page. The !important flags are deliberate:
   several pages ship their own inline <style> block with game-specific fonts
   and palettes (Bangers, Bebas Neue, Fredoka One, blue accents), and this file
   has to win over them so the whole site reads as one brand.
   ========================================================================== */

:root {
  --gg-bg:        #000000;   /* page background */
  --gg-surface:   #1a1a1a;   /* cards, header, raised blocks */
  --gg-surface-2: #222222;   /* hover / nested surface */
  --gg-line:      #333333;   /* borders, dividers */
  --gg-text:      #ffffff;   /* primary text */
  --gg-text-soft: #dddddd;   /* body copy */
  --gg-text-mute: #aaaaaa;   /* meta, captions */
  --gg-accent:    #FFFF00;   /* brand yellow */
  --gg-accent-dk: #CCCC00;   /* yellow, hover */
  --gg-radius:    10px;
  --gg-radius-pill: 25px;
  --gg-font:      'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gg-shadow:    0 4px 8px rgba(0,0,0,.4);
}

/* ==========================================================================
   Palette remap for the game-themed pages
   brawlstars / roblox-mod / minecraft-mod each declare their own :root
   palette. Because this file loads last, redeclaring those same custom
   properties here re-points every rule that uses them at the brand colours —
   no need to fight individual selectors.
   ========================================================================== */

:root {
  /* Brawl Stars */
  --brawl-blue:  #1a1a1a;
  --brawl-yellow:#FFFF00;
  --brawl-pink:  #FFFF00;
  --brawl-cyan:  #FFFF00;
  --text-light:  #ffffff;
  --bg-dark:     #000000;
  --bg-gradient-start: #000000;
  --bg-gradient-end:   #000000;
  --input-bg:    #1a1a1a;
  --border-color:#FFFF00;

  /* Roblox mod */
  --rb-red:   #FFFF00;
  --rb-dark:  #000000;
  --rb-gray:  #1a1a1a;
  --rb-light: #222222;
  --rb-gold:  #FFFF00;
  --rb-blue:  #FFFF00;
  --rb-green: #CCCC00;

  /* Minecraft mod */
  --mc-green: #FFFF00;
  --mc-dark:  #1a1a1a;
  --mc-dirt:  #1a1a1a;
  --mc-stone: #aaaaaa;
  --mc-grass: #CCCC00;
  --mc-gold:  #FFFF00;
}

/* Those pages paint the page with a gradient built from the vars above; once
   the stops are both black the gradient is flat, but kill it anyway so the
   body rule below is the single source of truth. */
body { background-image: none !important; }

/* ===== Base ============================================================== */

html, body {
  background-color: var(--gg-bg) !important;
  background-image: none !important;
  color: var(--gg-text) !important;
  font-family: var(--gg-font) !important;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body, p, li, td, th, dd, dt, figcaption, blockquote, label, input, textarea,
select, button, h1, h2, h3, h4, h5, h6, .gg-card-title, .gg-post-title,
.gg-blog-head h1, .hero h1, .hero h2, .title, .subtitle {
  font-family: var(--gg-font) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gg-text);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: 2rem; margin: 0 0 .75rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; color: var(--gg-accent); }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }

p { color: var(--gg-text-soft); }

a { color: var(--gg-accent); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--gg-accent-dk); }

img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--gg-line); margin: 2rem 0; }

::selection { background: var(--gg-accent); color: #000; }

/* ===== Header / nav ====================================================== */

header, .gg-site-header, .site-header {
  background-color: var(--gg-surface) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--gg-line);
  box-shadow: 0 2px 5px rgba(0,0,0,.5);
  position: sticky;
  top: 0;
  z-index: 100;
}
.gg-site-header .gg-wrap,
header .gg-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gg-logo img, .logo img { height: 56px; width: auto; vertical-align: middle; border-radius: 6px; }

nav a, .gg-nav a {
  color: var(--gg-text) !important;
  font-weight: 500;
  margin-left: 18px;
  opacity: .85;
}
nav a:hover, .gg-nav a:hover,
nav a.active, .gg-nav a.active {
  color: var(--gg-accent) !important;
  opacity: 1;
}

/* ===== Layout ============================================================ */

.gg-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
main.gg-wrap { padding-top: 40px; padding-bottom: 60px; }

/* ===== Buttons =========================================================== */

.gg-btn, .download-button, button.download-button, .btn, .cta-button {
  display: inline-block;
  background: var(--gg-accent) !important;
  background-image: none !important;
  color: #000000 !important;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: .8rem 1.6rem;
  border: none;
  border-radius: var(--gg-radius-pill);
  cursor: pointer;
  transition: background-color .3s ease;
}
.gg-btn:hover, .download-button:hover, button.download-button:hover,
.btn:hover, .cta-button:hover {
  background: var(--gg-accent-dk) !important;
  color: #000000 !important;
}

/* ===== Cards ============================================================= */

.gg-card, .game-item, .card {
  background-color: var(--gg-surface) !important;
  background-image: none !important;
  color: var(--gg-text);
  border: 1px solid var(--gg-accent);
  border-radius: var(--gg-radius);
  box-shadow: var(--gg-shadow);
  overflow: hidden;
  transition: transform .2s ease;
}
.gg-card:hover, .game-item:hover { transform: translateY(-5px); }

.gg-card-title { font-size: 1.25rem; font-weight: 700; margin: 4px 0; line-height: 1.25; }
.gg-card-title a { color: var(--gg-text) !important; }
.gg-card-title a:hover { color: var(--gg-accent) !important; }
.gg-card-cat {
  display: inline-block;
  align-self: flex-start;
  background: var(--gg-accent);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gg-card-excerpt { color: var(--gg-text-mute); font-size: 15px; line-height: 1.55; }
.gg-card-meta    { color: var(--gg-text-mute); font-size: 13px; }

/* ===== Long-form content (blog posts, guides, locker page copy) ========== */

.gg-post, .post, article.entry {
  max-width: 820px;
  margin: 0 auto;
  background-color: var(--gg-surface) !important;
  background-image: none !important;
  color: var(--gg-text) !important;
  border: 1px solid var(--gg-line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--gg-shadow);
}
.gg-post-title { font-size: 2rem; line-height: 1.2; margin: 6px 0 8px; color: var(--gg-text) !important; }
.gg-post-meta  { color: var(--gg-text-mute); font-size: 14px; margin-bottom: 20px; }

.gg-post-body { font-size: 17px; line-height: 1.75; color: var(--gg-text-soft) !important; }
.gg-post-body h2 { color: var(--gg-accent); margin-top: 2rem; }
.gg-post-body h3 { color: var(--gg-text); margin-top: 1.5rem; }
.gg-post-body a  { color: var(--gg-accent) !important; text-decoration: underline; }
.gg-post-body img { border-radius: var(--gg-radius); margin: 14px 0; }
.gg-post-body ul, .gg-post-body ol { padding-left: 1.4rem; }
.gg-post-body li { margin: .4rem 0; }
.gg-post-body pre {
  background: #0d0d0d; color: #e8e8e8; padding: 14px;
  border: 1px solid var(--gg-line); border-radius: var(--gg-radius); overflow: auto;
}
.gg-post-body code { background: #0d0d0d; padding: 2px 6px; border-radius: 4px; color: var(--gg-accent); }
.gg-post-body blockquote {
  border-left: 4px solid var(--gg-accent);
  background: #111111;
  margin: 16px 0; padding: 12px 18px;
  color: var(--gg-text-soft);
}
.gg-post-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.gg-post-body th, .gg-post-body td {
  border: 1px solid var(--gg-line); padding: 10px 12px; text-align: left; font-size: 15px;
}
.gg-post-body th { background: #111111; color: var(--gg-accent); font-weight: 700; }

.gg-blog-head { text-align: center; margin-bottom: 30px; }
.gg-blog-head h1 { font-size: 2.6rem; color: var(--gg-text) !important; margin: 0 0 8px; }
.gg-blog-head p  { color: var(--gg-text-mute); margin: 0; }

.gg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }

.gg-back a { color: var(--gg-accent) !important; font-weight: 700; }

/* ===== Footer ============================================================ */

footer, .gg-site-footer, .site-footer {
  background-color: var(--gg-bg) !important;
  background-image: none !important;
  color: var(--gg-text-mute) !important;
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--gg-line);
  margin-top: 2rem;
  font-size: 14px;
}
footer a, .gg-site-footer a { color: var(--gg-accent) !important; margin: 0 .6rem; }

/* ===== Forms ============================================================= */

input[type=text], input[type=search], input[type=email], input[type=password],
textarea, select {
  background-color: var(--gg-surface) !important;
  color: var(--gg-text) !important;
  border: 2px solid var(--gg-accent);
  border-radius: var(--gg-radius);
  padding: .7rem .9rem;
  font-size: 16px;
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--gg-text-mute); }

/* ===== Responsive ======================================================== */

@media (max-width: 600px) {
  h1, .gg-post-title { font-size: 1.6rem; }
  .gg-post { padding: 22px; border-radius: 12px; }
  .gg-blog-head h1 { font-size: 2rem; }
}
