:root {
  /* Eigenes Discord-Theme, abgeleitet vom Eventservice-Style */
  --bg: #0f141a;
  --card: #151b23;
  --border: #263142;
  --text: #e6edf3;
  --text-soft: #9fb0c3;
  --accent: #81d742;
  --accent-soft: rgba(129, 215, 66, 0.16);
  --accent-strong: #a0f15f;
  --danger: #d86a6a;
  --bg-elevated: var(--card);
  --bg-elevated-alt: #111827;
  --border-subtle: #263142;
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.6);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top, #1b2738 0, #0f141a 45%, #05070b 100%);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

body.light-mode {
  background: #f4f7fb;
  color: #0b1020;
}

body.light-mode::before,
body.light-mode::after {
  opacity: 0.08;
}

body.light-mode .site-header {
  background: linear-gradient(to bottom, rgba(244, 247, 251, 0.95), rgba(244, 247, 251, 0.9));
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .hero-text,
body.light-mode .section-header p,
body.light-mode .service-card p,
body.light-mode .timeline-text {
  color: #4a5668;
}

body.light-mode .card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

body.light-mode .card-section {
  background: #f9fbff;
  border-color: rgba(15, 23, 42, 0.05);
}

body.light-mode .hero-card {
  background:
    radial-gradient(circle at top left, rgba(129, 215, 66, 0.20), transparent 60%),
    #ffffff;
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-mode .contact-form {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-mode .section-alt {
  background: linear-gradient(to bottom, #f2f6ff, #e4ecff);
}

body.light-mode .site-footer {
  background: #e5e9f2;
  border-top-color: rgba(15, 23, 42, 0.12);
}

body.light-mode .theme-toggle {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0b1020;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: radial-gradient(circle, var(--accent-strong), transparent 65%);
  top: -80px;
  right: -120px;
}

body::after {
  background: radial-gradient(circle, #646cff, transparent 65%);
  bottom: -140px;
  left: -160px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 7, 18, 0.95), rgba(5, 7, 18, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 30;
}

.scroll-progress-inner {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform-origin: left;
  transition: width 0.06s ease-out;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: auto;
  height: 100px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-kicker {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.9rem;
}

.theme-toggle {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 10, 18, 0.9);
  color: var(--text-soft);
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle-icon {
  font-size: 0.9rem;
}

.main-nav a {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  position: relative;
  transition: background 0.16s ease-out, color 0.16s ease-out;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: translateX(-50%);
  transition: width 0.2s ease-out;
}

.main-nav a:hover {
  color: var(--text);
}

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

body.light-mode .main-nav a {
  color: #4b5563;
}

body.light-mode .main-nav a:hover {
  color: #111827;
}

.main-nav a.is-current {
  color: var(--text);
  background: rgba(21, 27, 35, 0.85);
}

body.light-mode .main-nav a.is-current {
  color: #111827;
  background: #9dee5c;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 10, 18, 0.9);
  color: var(--text-soft);
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

body.light-mode .lang-toggle {
  background: #e5f9d3;
  color: #14532d;
  border-color: rgba(148, 226, 108, 0.8);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 28px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 80px 0 52px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 2.6vw + 1.4rem, 2.9rem);
  margin: 0 0 12px;
  background: linear-gradient(120deg, #ffffff, #e5ffbf, var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.light-mode .hero-copy h1 {
  background: linear-gradient(120deg, #494c51, #95e855);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  margin: 0 0 18px;
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s ease-out, border-color 0.16s ease-out, transform 0.08s ease-out, box-shadow 0.16s;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(129, 215, 66, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(129, 215, 66, 0.6);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 20, 35, 0.7);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  background: rgba(18, 26, 46, 0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-meta span {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(15, 20, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

body.light-mode .hero-meta span {
  background: rgba(243, 250, 238, 0.9);
  border-color: rgba(129, 215, 66, 0.35);
  color: #14532d;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top left, rgba(129, 215, 66, 0.25), transparent 60%),
    radial-gradient(circle at bottom right, rgba(100, 108, 255, 0.18), transparent 60%),
    rgba(11, 15, 27, 0.98);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 18px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 215, 66, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill-green {
  background: rgba(129, 215, 66, 0.18);
  border-color: rgba(129, 215, 66, 0.6);
}

.pill-dark {
  background: rgba(8, 11, 22, 0.9);
}

body.light-mode .pill-dark {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.25);
  color: #111827;
}

.hero-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.timeline-item {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
}

.dot-green {
  background: var(--accent);
}

.dot-yellow {
  background: #ffd86b;
}

.dot-blue {
  background: #7aa6ff;
}

.dot-gray {
  background: #5b6476;
}

.timeline-label {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
}

.timeline-text {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(129, 215, 66, 0.08), transparent 55%), rgba(6, 9, 20, 0.96);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 55%), rgba(11, 15, 27, 0.98);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 20px;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out, background 0.18s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 215, 66, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  background:
    radial-gradient(circle at top, rgba(129, 215, 66, 0.12), transparent 55%),
    rgba(11, 15, 27, 0.98);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.card-body {
  display: grid;
  gap: 8px;
}

.card-section {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 12px 10px;
}

.stats-updated {
  margin-top: 6px;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .server-stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.service-card li + li {
  margin-top: 2px;
}

.server-facts-list {
  margin: 0 0 10px;
  padding-left: 18px;
}

.server-facts-list li {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.server-rules-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.server-rules-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.card-pager {
  margin: 0 0 10px;
}

.card-pager-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.card-pager-track::-webkit-scrollbar {
  height: 0;
}

.card-pager-track::-webkit-scrollbar-thumb { background: transparent; }

.card-pager-page {
  scroll-snap-align: start;
  padding: 12px 12px 6px;
}

.card-pager-page p:last-child {
  margin-bottom: 0;
}

.card-pager-media {
  display: grid;
  place-items: center;
  padding: 10px;
}

.image-lightbox-trigger {
  border: none;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  width: 100%;
}

.image-lightbox-trigger:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 12px;
}

.card-pager-media img {
  width: 100%;
  max-width: 520px;
  height: 220px;
  object-fit: contain;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 50;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-dialog {
  width: min(980px, 100%);
  border-radius: 16px;
  background: rgba(11, 15, 27, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.image-lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 10px 10px 0;
}

.image-lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.10);
}

.image-lightbox-content {
  padding: 10px 12px 14px;
  display: grid;
  place-items: center;
}

.image-lightbox-content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.card-pager-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.card-pager-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
}

.card-pager-dot.is-active {
  background: var(--accent-strong);
}

.server-stats-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.server-stats-avatar {
  width: 44px;
  height: 44px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 2px solid var(--accent-strong);
  background: rgba(0, 0, 0, 0.42);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.server-stats-letter {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-stats-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.server-stats-avatar.has-image .server-stats-letter {
  display: none;
}

.server-stats-avatar.has-image img {
  display: block;
}

.server-stats-meta h3 {
  margin: 0 0 2px;
}

.server-stats-subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.server-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: flex-start;
}

.server-stat {
  display: grid;
  gap: 2px;
}

.server-stat-label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.server-stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-pager-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.card-pager-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
}

.card-pager-dot.is-active {
  background: var(--accent-strong);
}

.service-card a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.service-card a:hover {
  color: #b0f5d1;
}

.service-card .btn-primary {
  color: #ffffff;
  text-decoration: none;
}

.service-card .btn-primary:hover {
  color: #ffffff;
}

.supporter-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
}

.supporter-logo {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  display: grid;
  place-items: center;
  gap: 6px;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out, background 0.16s ease-out;
}

.supporter-logo img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.supporter-logo span {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-align: center;
}

@media (max-width: 880px) {
  .supporter-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .supporter-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .supporter-logo img {
    max-height: 40px;
  }
}

.supporter-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 215, 66, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.26);
}

.section-faq .section-header {
  margin-bottom: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 24px;
  align-items: flex-start;
}

.contact-form {
  border-radius: var(--radius-lg);
  background: rgba(5, 8, 18, 0.96);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.contact-form:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 215, 66, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.field {
  margin-bottom: 10px;
}

.field-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 11, 22, 0.98);
  color: var(--text);
  padding: 7px 9px;
  font-size: 0.9rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(129, 215, 66, 0.4);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-hint {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--text-soft);
}

.form-footer {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.form-status--success {
  color: var(--accent-strong);
}

.form-status--error {
  color: var(--danger);
}

.contact-info h3 {
  margin: 0 0 6px;
}

.contact-info p {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 4px;
}

.contact-list span {
  display: inline-block;
  min-width: 72px;
  color: var(--text-soft);
}

.contact-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0 18px;
  background: rgba(2, 4, 9, 0.96);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.appeal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 70;
}

.appeal-modal[hidden] {
  display: none;
}

.appeal-modal-dialog {
  width: min(720px, 100%);
  max-height: 82vh;
  border-radius: 18px;
  background: rgba(5, 8, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.appeal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(120deg, rgba(129, 215, 66, 0.16), transparent);
}

.appeal-modal-header h2 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.appeal-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.appeal-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.appeal-modal-body {
  padding: 10px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.appeal-modal-body {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-strong) rgba(255, 255, 255, 0.04);
}

.appeal-modal-body::-webkit-scrollbar {
  width: 8px;
}

.appeal-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
}

.appeal-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
}

.appeal-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-strong);
}

.appeal-modal-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.appeal-form {
  display: grid;
  gap: 10px;
}

.appeal-form-row {
  display: grid;
  gap: 4px;
}

.appeal-form-row label {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.appeal-form-row input,
.appeal-form-row textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 8, 20, 0.9);
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
  resize: vertical;
}

.appeal-form-row input:focus,
.appeal-form-row textarea:focus {
  outline: 2px solid var(--accent-strong);
  outline-offset: 1px;
}

.appeal-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.appeal-status {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.appeal-status.is-success {
  color: #8bdc7b;
}

.appeal-status.is-error {
  color: #ff8080;
}

[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="100"] {
  transition-delay: 0.08s;
}

[data-animate][data-delay="200"] {
  transition-delay: 0.16s;
}

[data-animate][data-delay="300"] {
  transition-delay: 0.24s;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    justify-content: flex-start;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav {
    position: fixed;
    inset: 60px 16px auto 16px;
    background: rgba(4, 6, 14, 0.98);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

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

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 44px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

