/*
Theme Name: Geeks & Games – Dark Cyber Redesign 2026
Theme URI: https://geeksandgames.de
Author: Geeks & Games Redaktion
Author URI: https://geeksandgames.de
Description: Modernes, hochperformantes High-Contrast Dark Theme für Geeks & Games mit optimierter Typografie, responsiven Tabellen, Callout-Boxen, Mobile-Drawer und SEO-Architektur.
Version: 2.8.0
Template: smart-mag
Text Domain: geeksandgames-redesign
*/

/* ==========================================================================
   CSS RESET & HIGH-CONTRAST DARK THEME TOKENS
   ========================================================================== */
:root {
  --gg-bg-main: #0a0e17;
  --gg-bg-surface: #111827;
  --gg-bg-header: #0d121f;
  --gg-bg-card: #151f30;
  --gg-bg-card-hover: #1c2a40;
  --gg-border: rgba(255, 255, 255, 0.12);
  --gg-border-hover: rgba(0, 242, 254, 0.5);
  
  --gg-text-primary: #ffffff;
  --gg-text-secondary: #e2e8f0;
  --gg-text-muted: #94a3b8;
  
  --gg-cyan: #00f2fe;
  --gg-blue: #38bdf8;
  --gg-indigo: #6366f1;
  --gg-emerald: #10b981;
  --gg-amber: #f59e0b;
  
  --gg-grad-primary: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --gg-radius-sm: 8px;
  --gg-radius-md: 14px;
  --gg-radius-lg: 20px;
  --gg-radius-full: 9999px;
  
  --gg-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --gg-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --gg-shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
}

body.gg-dark-theme,
.gg-dark-theme {
  background-color: var(--gg-bg-main) !important;
  color: var(--gg-text-secondary) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   HIGH-CONTRAST LEFT-ALIGNED DESKTOP HEADER
   ========================================================================== */
.gg-site-header {
  background: var(--gg-bg-header) !important;
  border-bottom: 1px solid var(--gg-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.gg-header-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gg-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gg-brand-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  text-decoration: none !important;
  flex-shrink: 0;
}
.gg-brand-wordmark .gg-accent {
  color: var(--gg-cyan);
}
.gg-brand-wordmark .gg-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gg-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gg-cyan);
  display: inline-block;
}

.gg-header-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
}
@media (max-width: 1050px) {
  .gg-header-divider { display: none; }
}

/* Clear, High-Contrast Navigation Links */
.gg-nav-clean {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 980px) {
  .gg-nav-clean { display: none !important; }
}

.gg-nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0 !important;
  padding: 8px 14px;
  border-radius: var(--gg-radius-full);
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.gg-nav-link:hover {
  color: #ffffff !important;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  transform: translateY(-1px);
}
.gg-nav-link.active {
  color: #090d16 !important;
  background: var(--gg-grad-primary);
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.35);
}

/* Header Right (Search & Tools) */
.gg-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.gg-search-form {
  display: flex;
  align-items: center;
  background: #151d2c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gg-radius-full);
  padding: 6px 14px;
  transition: all 0.25s ease;
}
.gg-search-form:focus-within {
  border-color: var(--gg-cyan);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.3);
  background: #1a2436;
}
.gg-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  width: 140px;
  transition: width 0.25s ease;
}
.gg-search-input:focus {
  width: 180px;
}
.gg-search-input::placeholder {
  color: #94a3b8;
}
@media (max-width: 600px) {
  .gg-search-form { display: none; }
}

.gg-hamburger-btn {
  display: none;
  background: #151d2c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}
.gg-hamburger-btn:hover {
  border-color: var(--gg-cyan);
  color: var(--gg-cyan);
}
@media (max-width: 980px) {
  .gg-hamburger-btn { display: flex !important; }
}

/* ==========================================================================
   CALLOUT BOXES & HIGHLIGHTS
   ========================================================================== */
.gg-box-tip, .gg-callout-tip {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10b981;
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
  color: #e2e8f0;
}
.gg-box-warning, .gg-callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #f59e0b;
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
  color: #e2e8f0;
}
.gg-box-verdict, .gg-callout-verdict {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  padding: 24px;
  margin: 32px 0;
  color: #f1f5f9;
}
