/* ==========================================================================
   MC STADT — Stylesheet
   Schriften: Anton (Display/Überschriften, fett/kondensiert),
              Rajdhani (Fließtext/UI, modern/technisch)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg: #131110;
  --bg-alt: #1a1715;
  --panel: #201c19;
  --panel-line: #332c26;
  --gold: #ffcc00;
  --gold-light: #ffe066;
  --orange: #ff8a1e;
  --ink: #0c0a09;
  --text: #f3ede1;
  --text-dim: #bdb3a1;
  --red: #ff5252;
  --green: #6bdf7e;
  --blue: #4fc3ff;
  --gap: clamp(1rem, 3vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, .display {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.container {
  width: min(1180px, 100% - 2 * var(--gap));
  margin-inline: auto;
}

/* --------------------------------------------------------------------
   Baustellen-Streifen (Diagonalstreifen-Divider)
   -------------------------------------------------------------------- */
.stripe-divider {
  height: 12px;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--gold) 0 22px,
    var(--ink) 22px 44px
  );
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4) inset;
}

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 8, 7, 0.94);
  border-bottom: 3px solid var(--gold);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand span {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  background: var(--gold-light);
  transform: translate(-2px, -2px);
  box-shadow: 5px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 1px 2px 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 3px 4px 0 rgba(255, 204, 0, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 204, 0, 0.1);
  color: var(--gold-light);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: 6px;
  cursor: pointer;
}

.burger span {
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--gold);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 7rem 1.5rem 3.5rem;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.55) 0%, rgba(8, 6, 5, 0.05) 22%, rgba(8, 6, 5, 0.1) 55%, var(--bg) 96%);
  pointer-events: none;
}

.hero p {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--text-dim);
  position: relative;
  z-index: 2;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------
   Fotogalerie + Leaks (nebeneinander)
   -------------------------------------------------------------------- */
.gallery {
  background: var(--bg-alt);
}

.gallery-social-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.col-divider {
  width: 2px;
  background: var(--panel-line);
}

.section-head.is-left {
  text-align: left;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 130px;
  gap: 0.8rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--panel-line);
  position: relative;
}

.gallery-item.is-cover {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  border-style: dashed;
  background: var(--panel);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.6rem;
}

.gallery-item.is-placeholder .plus {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: var(--panel-line);
}

.gallery-photo {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------
   Lightbox (Fotogalerie)
   -------------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background: rgba(6, 5, 4, 0.94);
  padding: 3rem 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.15);
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 204, 0, 0.3);
}

.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

.lightbox-caption {
  position: absolute;
  bottom: 1.3rem;
  left: 1rem;
  right: 1rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------
   Leaks
   -------------------------------------------------------------------- */
.leaks-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.leak-item {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 8px;
  padding: 1rem;
}

.leak-badge {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.2rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.7rem;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.leak-item.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-style: dashed;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 2.2rem 1rem;
}

.leak-item.is-placeholder .plus {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: var(--panel-line);
}

/* --------------------------------------------------------------------
   Social Media
   -------------------------------------------------------------------- */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.social-card {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 8px;
  padding: 0.9rem 1.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social-card svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
  flex-shrink: 0;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------- */
section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eyebrow {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--ink);
}

/* --------------------------------------------------------------------
   Über uns
   -------------------------------------------------------------------- */
.about {
  background: var(--bg-alt);
}

.about-card {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  background: var(--panel);
  border: 3px solid var(--gold);
  border-radius: 12px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.45);
}

.about-card p {
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-card p + p {
  margin-top: 1rem;
}

.about-card .lede {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.about-card .lede strong {
  color: var(--gold);
}

/* --------------------------------------------------------------------
   Projekte
   -------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.project-card {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.project-card.is-live {
  border-color: var(--gold);
  background: linear-gradient(160deg, #241f18 0%, var(--panel) 55%);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 190px;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}

.project-card h3 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.project-card p {
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.project-card.is-soon {
  opacity: 0.7;
  border-style: dashed;
}

.soon-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px dashed var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 2.2rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.tag-soon {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--text-dim);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------
   Team
   -------------------------------------------------------------------- */
.team {
  background: var(--bg-alt);
}

.team-group + .team-group {
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
}

.team-group-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--panel-line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap);
}

.team-card {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 8px;
  padding: 1.5rem 1.2rem 1.3rem;
  text-align: center;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.4);
}

.team-role {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
}

.role-lead { color: var(--gold); }
.role-admin { color: var(--red); }
.role-mod { color: var(--green); }
.role-support { color: var(--blue); }
.role-trial { color: var(--orange); }
.role-empty { color: var(--text-dim); }

.team-avatar {
  width: 80px;
  height: 80px;
  margin-inline: auto;
  margin-bottom: 0.9rem;
  border-radius: 6px;
  border: 2px solid var(--ink);
  image-rendering: pixelated;
  background: #2c2621;
}

.team-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.15rem;
  color: var(--text);
}

.team-skills {
  list-style: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 0.4rem;
}

.team-card.is-open,
.team-card.is-vacant {
  border-style: dashed;
  opacity: 0.75;
}

.team-card.is-open .team-avatar,
.team-card.is-vacant .team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: var(--text-dim);
}

.team-card.is-open h3,
.team-card.is-vacant h3 {
  color: var(--text-dim);
}

/* --------------------------------------------------------------------
   Rechtstext- / Info-Seiten (Datenschutz, Impressum, Regelwerk)
   -------------------------------------------------------------------- */
.legal-hero {
  padding: 8.5rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, #17130f 0%, var(--bg) 100%);
}

.legal-hero .eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--ink);
}

.legal-hero p {
  color: var(--text-dim);
  margin-top: 0.8rem;
}

.legal {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.legal-card {
  max-width: 820px;
  margin-inline: auto;
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 10px;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.legal-card section + section {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--panel-line);
}

.legal-card h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.legal-card p {
  color: var(--text-dim);
  line-height: 1.75;
}

.legal-card p + p {
  margin-top: 0.9rem;
}

.legal-card ul {
  margin: 0.9rem 0 0.9rem 1.3rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.legal-card a {
  color: var(--gold-light);
}

.legal-card a.btn {
  color: var(--ink);
}

.placeholder-field {
  color: var(--text-dim);
  font-style: italic;
  opacity: 0.75;
}

.legal-placeholder {
  text-align: center;
  color: var(--text-dim);
  padding: 2rem 0;
}

/* --------------------------------------------------------------------
   Login / Verifizierung
   -------------------------------------------------------------------- */
.login-wrap {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
}

.login-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap);
  max-width: 1000px;
  margin-inline: auto;
  align-items: start;
}

.tutorial-card,
.login-card {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 10px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
}

.tutorial-card h2,
.login-card h2 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.tutorial-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tutorial-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.tutorial-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  border-radius: 6px;
}

.tutorial-steps strong {
  color: var(--text);
}

.tutorial-note {
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 138, 30, 0.08);
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 2px solid var(--panel-line);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
}

.login-card .btn {
  width: 100%;
  margin-top: 0.4rem;
}

.form-error {
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 82, 82, 0.12);
  border: 1px solid var(--red);
  color: #ffb3b3;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

/* --------------------------------------------------------------------
   Modpack-Dashboard (geschützter Bereich)
   -------------------------------------------------------------------- */
.dashboard {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.dashboard-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold);
}

.dashboard-head .who {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
  max-width: 1000px;
  margin-inline: auto;
  align-items: start;
}

.stats-card,
.download-card {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 10px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
}

.stats-card h2,
.download-card h2 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--panel-line);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row .label {
  color: var(--text-dim);
  font-weight: 600;
}

.stat-row .value {
  font-family: 'Anton', sans-serif;
  color: var(--text);
  font-size: 1.2rem;
}

.download-card {
  text-align: center;
}

.download-card p {
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.download-card .btn {
  width: 100%;
}

.logout-link {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--gold);
}

.footer-inner {
  padding: 2.4rem var(--gap) 1.4rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.footer-brand img {
  height: 34px;
}

.footer-brand span {
  font-family: 'Anton', sans-serif;
  color: var(--gold);
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.footer-nav .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.92rem;
}

.footer-fine {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-fine a {
  color: var(--gold);
  text-decoration: underline;
}

/* --------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------- */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    background: rgba(10, 8, 7, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav a {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.03em;
  }

  .burger {
    display: flex;
  }

  .header-actions .btn span.long {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .gallery-social-grid {
    grid-template-columns: 1fr;
  }

  .col-divider {
    width: 100%;
    height: 2px;
  }

  .gallery-grid {
    grid-auto-rows: 140px;
  }

  .login-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }
}
