/* === Project-Nemesis static rozcestník === */
:root {
  --gold: #d4af37;
  --gold-light: #e8c75c;
  --gold-dark: #9c7e1f;
  --emerald: #2a8c5e;
  --emerald-bright: #3fbf80;
  --crimson: #9c2b2b;
  --stone-darkest: #0d0805;
  --stone-dark: #1a0f0a;
  --stone-medium: #2d1f15;
  --stone-light: #4a3826;
  --text: #e8d8a0;
  --text-soft: #b8a878;
  --text-dim: #807050;
  --shadow-deep: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 24px rgba(212,175,55,0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--stone-darkest);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  background-image: url('/assets/img/bg-stone.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,8,5,0.85), rgba(13,8,5,0.95));
  z-index: -1;
}

a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: 'Cinzel', 'Times New Roman', serif; font-weight: 700; line-height: 1.2; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,8,5,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-light);
  padding: 1rem 0;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--stone-darkest);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}
.main-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* === Hero === */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(212,175,55,0.08), transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 24px rgba(212,175,55,0.3);
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 0.5rem;
  font-style: italic;
}
.hero-meta {
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* === Section title === */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.75rem auto 0;
}
.section-subtitle {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 3rem;
  font-style: italic;
}

/* === Servers section === */
.servers { padding: 5rem 0; }

.monuments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.monument {
  background: linear-gradient(180deg, rgba(45,31,21,0.7), rgba(26,15,10,0.9));
  border: 1px solid var(--stone-light);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.monument:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}
.monument-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}
.dot[data-status="online"] {
  background: var(--emerald-bright);
  box-shadow: 0 0 8px var(--emerald-bright);
  animation: pulse 2s ease-in-out infinite;
}
.dot[data-status="offline"] { background: var(--crimson); }
.dot[data-status="loading"] { background: var(--gold-dark); animation: pulse 1s ease-in-out infinite; }
.dot--always-on { background: var(--emerald-bright); box-shadow: 0 0 8px var(--emerald-bright); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.monument-emblem {
  width: 90px; height: 90px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--stone-medium), var(--stone-dark));
  border: 2px solid var(--stone-light);
  color: var(--gold);
  text-shadow: 0 0 16px rgba(212,175,55,0.5);
}
.monument-emblem--gigafun { background: linear-gradient(135deg, #1f4d2c, #0d2614); border-color: var(--emerald); color: var(--emerald-bright); }
.monument-emblem--anathema { background: linear-gradient(135deg, #4d1f1f, #260d0d); border-color: var(--crimson); color: #d65555; }
.monument-emblem--holymord { background: linear-gradient(135deg, #4d3a1f, #261d0d); border-color: var(--gold); color: var(--gold-light); }
.monument-emblem--forum { background: linear-gradient(135deg, #1f3a4d, #0d1d26); border-color: #4a90a8; color: #6dc1d8; }
.monument-name {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  color: var(--gold);
}
.monument-tag {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.monument-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.monument-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  color: var(--stone-darkest);
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: transform .15s, box-shadow .25s;
}
.monument-btn:hover {
  color: var(--stone-darkest);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}

/* === About snippet === */
.about-snippet {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(13,8,5,0) 0%, rgba(45,31,21,0.4) 50%, rgba(13,8,5,0) 100%);
}
.about-snippet .lead {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
  color: var(--text);
}
.about-snippet p {
  max-width: 720px;
  margin: 0 auto 1rem;
  text-align: center;
  color: var(--text-soft);
}
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.btn {
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all .2s;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  color: var(--stone-darkest);
}
.btn-primary:hover { color: var(--stone-darkest); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
}
.btn-ghost:hover { background: rgba(212,175,55,0.1); color: var(--gold-light); }

/* === Quick links === */
.quick-links { padding: 5rem 0; }
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.link-card {
  display: block;
  padding: 1.5rem;
  background: rgba(45,31,21,0.5);
  border: 1px solid var(--stone-light);
  border-radius: 6px;
  text-align: center;
  transition: all .2s;
}
.link-card:hover {
  border-color: var(--gold);
  background: rgba(45,31,21,0.8);
  transform: translateY(-2px);
}
.link-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.link-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* === Footer === */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  padding: 4rem 0 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--stone-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.site-footer h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--gold); }
.copyright { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.5rem; }
.disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--stone-medium);
  line-height: 1.5;
}

/* === Article pages === */
.article-page { padding: 4rem 0; }
.article-page article {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(13,8,5,0.7);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--stone-light);
}
.article-page h1 {
  color: var(--gold);
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.article-page h2 { color: var(--gold-light); margin: 2rem 0 1rem; font-size: 1.6rem; }
.article-page h3 { color: var(--text); margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.article-page p { margin-bottom: 1rem; }
.article-page ul, .article-page ol { margin: 0 0 1rem 1.5rem; }
.article-page li { margin-bottom: 0.4rem; }
.article-page code {
  background: var(--stone-medium);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--gold-light);
}
.article-page .breadcrumb {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* === Mobile === */
@media (max-width: 720px) {
  .site-header .container { flex-direction: column; gap: 1rem; }
  .main-nav { gap: 1rem; font-size: 0.85rem; }
  .hero { padding: 4rem 0 3rem; }
  .servers { padding: 3rem 0; }
  .monument { padding: 1.5rem 1rem; }
  .article-page article { padding: 2rem 1.5rem; }
}
