/* NoGame.ro — Minecraft section styles (self-contained). */
:root {
  --bg: #0e1116;
  --bg-alt: #131924;
  --panel: #171f2b;
  --fg: #e6edf3;
  --muted: #93a1b1;
  --border: #26303d;
  --accent: #57c84d;
  --accent-2: #7fd4ff;
  --green: #2e8b3d;
  --green-hover: #3aa84c;
  --danger: #c0392b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 17, 22, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px;
}
.brand img { display: block; }
.site-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav-link {
  color: var(--muted); padding: 8px 12px; border-radius: 6px; font-weight: 500;
}
.nav-link:hover { color: #fff; background: var(--bg-alt); text-decoration: none; }
.nav-link.is-active { color: #fff; background: var(--panel); }
.header-side { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-opt { padding: 5px 9px; font-size: 13px; color: var(--muted); }
.lang-opt.is-active { background: var(--accent); color: #08210a; font-weight: 600; }
.lang-opt:hover { text-decoration: none; }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.account-link { color: var(--muted); font-size: 14px; }
.account-link:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 8px;
  font-weight: 600; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 6px 12px; font-size: 14px; }
.btn-lg { padding: 13px 24px; font-size: 17px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-secondary { background: var(--accent-2); color: #06202b; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-discord { background: #5865f2; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 50% -120px, rgba(87, 200, 77, .25), transparent 70%),
    linear-gradient(180deg, #101823, #0e1116);
  border-bottom: 1px solid var(--border);
}
.hero-inner { text-align: center; padding: 72px 20px 56px; }
.hero-title {
  margin: 0 0 8px; font-size: 56px; letter-spacing: 2px;
  text-shadow: 0 2px 0 #1d3b1f;
}
.hero-tagline { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border);
}
.status-pill.is-online { color: #b6f0c9; border-color: #2a8f4f; }
.status-pill.is-offline { color: #f3b6b6; border-color: #a33; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot-on { background: #4cd964; box-shadow: 0 0 8px #4cd964; }
.dot-off { background: #c0392b; }
.hero-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Status strip ---------- */
.status-strip-wrap { margin-top: -26px; position: relative; z-index: 5; }
.panel {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px;
}
.status-strip { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.status-item {
  flex: 1; min-width: 160px; padding: 6px 14px; border-right: 1px solid var(--border);
}
.status-item:last-child { border-right: 0; }
.status-k { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.status-v { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 26px; margin: 0 0 22px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.feature-title { margin: 0 0 8px; font-size: 17px; }
.feature-text { margin: 0; color: var(--muted); }

.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 10px; }

/* ---------- Download strip / page ---------- */
.download-strip { text-align: center; }
.strip-title { margin: 0 0 6px; font-size: 20px; }
.page { padding: 40px 20px 56px; }
.page-title { font-size: 34px; margin: 0 0 8px; }
.lead { color: var(--muted); margin-top: 0; }
.panel-title { margin: 0 0 10px; font-size: 20px; }
.muted, .note { color: var(--muted); }
.note { font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 8px 0 18px; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: "✔"; color: var(--accent); position: absolute; left: 4px; }
.note-panel { margin-top: 18px; }

.info-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.info-table th, .info-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.info-table th { color: var(--muted); font-weight: 600; width: 200px; }
code {
  background: #0b0f14; border: 1px solid var(--border); border-radius: 5px;
  padding: 2px 6px; font-family: ui-monospace, Consolas, monospace; font-size: 14px;
}

.rules-list { padding-left: 22px; }
.rules-list li { margin-bottom: 16px; }
.rules-list li p { margin: 4px 0 0; color: var(--muted); }

.faq-item { border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; background: var(--panel); }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px 0; }
.footer-inner { text-align: center; }
.footer-legal, .footer-copy { color: var(--muted); font-size: 13px; }
.footer-legal-links a { margin: 0 6px; }
.footer-social { margin: 0 0 14px; }

/* ---------- Responsive: header ---------- */
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; row-gap: 8px; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: center; }
  .header-side { margin-left: auto; }
}

/* ---------- Responsive: phone ---------- */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 10px 0;
  }
  .brand { order: 1; }
  .brand img { width: 132px; }
  .header-side {
    order: 2;
    width: 100%;
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .site-nav { order: 3; flex: none; width: 100%; justify-content: center; }

  .hero-inner { padding: 46px 20px 40px; }
  .hero-title { font-size: 36px; letter-spacing: 1px; }
  .hero-tagline { font-size: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 36px 0; }
  .section-title { font-size: 22px; }
  .page { padding: 28px 20px 40px; }
  .page-title { font-size: 26px; }
  .panel { padding: 16px; }

  .status-item {
    flex-basis: 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .status-item:last-child { border-bottom: 0; }

  .info-table th,
  .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 0; border-bottom: 0; }
  .info-table td { padding-top: 4px; }
}
