/*
Theme Name: ArcadeRush
Theme URI: https://example.com
Author: Your Name
Description: A fast, lightweight, fully responsive HTML5 game portal theme. Built-in "Game" post type, ad zones for AdSense, mobile-first navigation, SEO-friendly markup, a violet/cyan gradient design, and auto-generated About/Contact/Privacy/Terms/Disclaimer pages.
Version: 1.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: arcaderush
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Deep indigo/violet base — feels premium, easy on the eyes for long play sessions */
  --bg-deep:      #0B0A1A;
  --bg-panel:     #15132B;
  --bg-panel-2:   #1E1B3C;
  --line:         #2E2A54;
  --text-main:    #F5F3FF;
  --text-dim:     #A9A3C9;

  /* Electric violet -> cyan gradient pair = the "beautiful combo".
     Violet reads as playful/premium, cyan reads as energetic/"go". */
  --accent:       #8B5CF6;   /* electric violet - primary CTA / links */
  --accent-2:     #22D3EE;   /* electric cyan - live / hot / secondary */
  --accent-warm:  #FF6B9D;   /* pink-coral - badges, highlights */
  --accent-dim:   #2A2154;

  --gradient-brand: linear-gradient(135deg, #8B5CF6 0%, #22D3EE 100%);
  --gradient-warm:  linear-gradient(135deg, #FF6B9D 0%, #8B5CF6 100%);

  --font-display: 'Rubik', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;

  --gap-xs: 8px;
  --gap-sm: 14px;
  --gap-md: 22px;
  --gap-lg: 40px;
  --gap-xl: 64px;

  --shadow-card: 0 4px 18px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 24px rgba(139, 92, 246, 0.25);
  --max-width: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(34, 211, 238, 0.10), transparent 55%),
    var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 var(--gap-sm);
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap-md);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* =========================================================
   REUSABLE BUTTONS
   ========================================================= */
.btn-primary,
.btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary {
  background: var(--bg-panel);
  color: var(--text-main);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   STATIC PAGE CONTENT (About / Contact / Privacy / Terms etc.)
   ========================================================= */
.page-content h2 { font-size: 1.25rem; margin-top: var(--gap-lg); }
.page-content h3 { font-size: 1.05rem; margin-top: var(--gap-md); }
.page-content p,
.page-content li { color: var(--text-dim); font-size: 0.98rem; }
.page-content ul, .page-content ol { padding-left: 1.2em; margin: 0 0 var(--gap-sm); }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--accent-2); text-decoration: underline; }
.page-content strong { color: var(--text-main); }
.contact-info {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--gap-md);
  margin: var(--gap-md) 0;
}
.contact-info a { color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
