/* ==========================================================
   Nyimski.net - shared site styles
   ----------------------------------------------------------
   Every page loads this file. Change colours, fonts and the
   common layout here once and the whole site follows.
   Page-specific extras stay in that page's own <style>.
   (The menu's styles live in menu.js.)
   ========================================================== */

:root {
  --bg-dark: #0a0a0a;
  --bg-light: #1a1a1a;
  --primary: #00e1ff;
  --secondary: #ffd700;
  --text: #e0e0e0;
  --text-light: #a0a0a0;
  --accent: #ff4d00;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.4rem 1.4rem 4rem;
}

h1 {
  font-family: 'Oxanium', sans-serif;
  font-size: 2.4rem;
  color: var(--primary);
  margin: 0 0 0.8rem;
  text-shadow: 0 0 10px rgba(0, 225, 255, 0.3);
}

.tagline {
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 0 0 1.4rem;
}

.screenshot {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
  font-family: 'Oxanium', sans-serif;
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 2.2rem 0 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--primary);
}

h3 {
  font-family: 'Oxanium', sans-serif;
  font-size: 1.15rem;
  color: var(--primary);
  margin: 1.4rem 0 0.6rem;
}

h4 {
  font-family: 'Oxanium', sans-serif;
  font-size: 1rem;
  color: var(--secondary);
  margin: 1.1rem 0 0.4rem;
}

.section-box {
  background: rgba(30, 30, 30, 0.5);
  border-left: 3px solid var(--secondary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 4px 4px 0;
}

.section-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section-box li {
  margin-bottom: 0.45rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.4rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--secondary); }

@media (max-width: 768px) {
  .wrap { padding: 2rem 1.2rem 3rem; }
  h1 { font-size: 2rem; }
}

/* Button, used for download links on the tool pages */
.btn {
  display: inline-block;
  border: 1px solid var(--secondary);
  background: var(--secondary);
  color: #111;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
}

.page-actions {
  margin: 0 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* second colour of button (cyan), e.g. Play and AGL Online */
.btn.cyan {
  background: var(--primary);
  border-color: var(--primary);
  color: #111;
}

/* Button hover, the same on every page:
   solid buttons become outlines, outline buttons fill in */
.btn:hover {
  background: transparent;
  color: var(--secondary);
}

.btn.ghost:hover {
  background: var(--secondary);
  color: #111;
}

.btn.cyan:hover {
  background: transparent;
  color: var(--primary);
}
