/* spinwinpkr.com — layout inspired by clean gaming-info sites */
:root {
  --bg: #0f1419;
  --surface: #1a222d;
  --surface2: #232d3b;
  --text: #e8eef4;
  --muted: #9fb0c3;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --gold: #fbbf24;
  --border: #2d3a4d;
  --maxw: 920px;
  --font: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #052e16;
  font-weight: 700;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--gold);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav-main a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-main a:hover {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #052e16;
}

.btn-primary:hover {
  background: var(--accent-dim);
  text-decoration: none;
  color: #052e16;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 65ch;
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 960px) {
  .layout.with-sidebar {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }
}

main.article-body {
  min-width: 0;
}

main.article-body > p:first-of-type {
  font-size: 1.12rem;
  color: var(--muted);
}

h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  letter-spacing: -0.02em;
}

h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

ul,
ol {
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.35rem;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.toc strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold);
}

.toc ul {
  margin: 0;
  list-style: none;
  padding: 0;
}

.toc li {
  margin-bottom: 0.4rem;
}

.toc a {
  color: var(--muted);
}

.toc a:hover {
  color: var(--accent);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.98rem;
}

.info-table th,
.info-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.info-table th {
  background: var(--surface2);
  color: var(--gold);
  font-weight: 700;
}

.info-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.figure-block {
  margin: 1.5rem 0;
  text-align: center;
}

.figure-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.figure-block figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.sidebar {
  position: sticky;
  top: 5rem;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.sidebar-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--gold);
}

.sidebar-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.sidebar-card li {
  margin-bottom: 0.45rem;
}

.callout {
  background: rgba(34, 197, 94, 0.08);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.98rem;
}

.disclaimer {
  font-size: 0.88rem;
  color: var(--muted);
  border: 1px dashed var(--border);
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 40ch;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.faq-item {
  margin-bottom: 1.25rem;
}

.faq-item strong {
  display: block;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.download-strip {
  margin: 0 0 1.25rem;
}

.download-strip .btn {
  text-align: center;
}
