@font-face {
  font-family: "TermiHeadline";
  src: url("/assets/edosz.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #b73cff;
  --bg: #09060d;
  --panel: rgba(20, 8, 28, 0.78);
  --panel-light: rgba(183, 60, 255, 0.08);
  --text: #f7eaff;
  --text-soft: #dcc6ef;
  --border: rgba(183, 60, 255, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(183, 60, 255, 0.2), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.headline,
h1,
h2,
h3,
.nav a,
.brand,
.btn,
button {
  font-family: "TermiHeadline", Impact, "Arial Black", sans-serif !important;
}

.page {
  max-width: 1180px;
  margin: auto;
  padding: 28px 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(9, 6, 13, 0.78);
  border-bottom: 1px solid rgba(183, 60, 255, 0.35);
}

.navwrap {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.brand {
  font-size: 1.3rem;
  color: #f0d5ff;
  text-shadow:
    0 0 10px var(--accent),
    0 0 24px var(--accent);
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  text-decoration: none;
  border: 1px solid rgba(183, 60, 255, 0.55);
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(183, 60, 255, 0.08);
  box-shadow: 0 0 18px rgba(183, 60, 255, 0.14);
  transition: 0.2s ease;
}

.nav a:hover {
  background: rgba(183, 60, 255, 0.18);
  transform: translateY(-2px);
}

.hero {
  min-height: 430px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 55px 24px;
  margin-top: 24px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(rgba(12, 8, 18, 0.72), rgba(12, 8, 18, 0.92)),
    url('/assets/setup-placeholder.svg') center/cover;
  box-shadow:
    0 0 50px rgba(183, 60, 255, 0.22),
    inset 0 0 50px rgba(183, 60, 255, 0.1);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  margin: 0.1em 0;
  color: white;
  text-shadow:
    0 0 12px var(--accent),
    0 0 34px var(--accent);
}

.hero p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: auto;
  color: #eadcff;
  line-height: 1.7;
}

.section {
  margin-top: 30px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      rgba(24, 14, 35, 0.92),
      rgba(9, 6, 13, 0.94)
    );
  box-shadow:
    0 0 30px rgba(183, 60, 255, 0.16),
    inset 0 0 24px rgba(183, 60, 255, 0.05);
  padding: 24px;
  backdrop-filter: blur(8px);
}



.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin: 0 0 22px;
  color: #f3d8ff;
  text-shadow: 0 0 18px var(--accent);
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.btn {
  display: block;
  text-align: center;
  color: white;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 15px;
  background: rgba(183, 60, 255, 0.13);
  box-shadow: 0 0 22px rgba(183, 60, 255, 0.18);
  transition: 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(183, 60, 255, 0.25);
  box-shadow: 0 0 28px rgba(183, 60, 255, 0.35);
}

.setup-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.setup-grid img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.specs {
  display: grid;
  gap: 10px;
}

.spec {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.spec strong {
  color: #dfb2ff;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
}

.day {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: rgba(183, 60, 255, 0.07);
  transition: 0.2s ease;
}

.day:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(183, 60, 255, 0.25);
}

.day h3 {
  margin: 0 0 12px;
  color: white;
}

.day .time {
  color: #dfb2ff;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.facts {
  padding-left: 18px;
  line-height: 1.8;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.friends {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.friend {
  display: block;
  width: 100%;
  min-height: 110px;
  text-align: center;
  text-decoration: none;
  color: white;
  padding: 28px 18px;
  border: 1px solid rgba(187, 61, 255, 0.8);
  border-radius: 16px;
  background: rgba(20, 8, 28, 0.72);
  box-shadow: 0 0 14px rgba(187, 61, 255, 0.22);
  transition: 0.2s ease;
}

.friend:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(187, 61, 255, 0.45);
}

.friend strong {
  display: block;
  font-size: 1.25rem;
  color: #fff;
}

.friend span {
  display: block;
  margin-top: 8px;
  color: #dcc6ef;
}

.footer {
  text-align: center;
  margin: 34px 0;
  color: #ba9bd1;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-shell.wide {
  display: block;
  max-width: 980px;
  margin: auto;
}

.admin-card {
  width: min(100%, 980px);
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

input,
textarea,
button {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(183, 60, 255, 0.55);
  background: #120a1b;
  color: white;
  padding: 12px;
  margin: 6px 0;
  font: inherit;
}

textarea {
  min-height: 96px;
}

button {
  cursor: pointer;
  background: rgba(183, 60, 255, 0.22);
  font-weight: 700;
  transition: 0.2s ease;
}

button:hover {
  background: rgba(183, 60, 255, 0.35);
}

.primary {
  background: var(--accent);
}

.row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
}

.row.three {
  grid-template-columns: 1fr 1fr 2fr;
}

.hint {
  color: #c5a9dc;
}

.error {
  color: #ff8aa8;
}

@media (max-width: 820px) {
  .setup-grid,
  .two {
    grid-template-columns: 1fr;
  }

  .navwrap {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .row,
  .row.three {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 20px;
  }

  .section h2 {
    font-size: 2rem;
  }
}