:root {
  --bg: #101114;
  --panel: #181b20;
  --panel-2: #22262d;
  --text: #f6f2e9;
  --muted: #b9b5aa;
  --line: #333943;
  --accent: #f0b84f;
  --accent-2: #66d1c2;
  --danger: #ff6b6b;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(102, 209, 194, 0.18), transparent 30rem),
    linear-gradient(135deg, #101114 0%, #18130f 48%, #10201f 100%);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background: #101114;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
  animation: pulse 1.2s ease-in-out infinite;
}

.loader h1 {
  margin: 0;
  font-size: clamp(32px, 8vw, 76px);
}

.loader-line {
  width: min(340px, 72vw);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #272a31;
}

.loader-line span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: loadbar 3s ease forwards;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 17, 20, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #15110a;
  font-weight: 900;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-link,
.admin-tab,
.primary-action,
.secondary-action,
.danger-action {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link {
  padding: 0 12px;
}

.nav-link.active,
.admin-tab.active {
  border-color: var(--accent);
  background: rgba(240, 184, 79, 0.16);
  color: #ffe3a7;
}

.admin-link {
  border-color: rgba(102, 209, 194, 0.45);
}

main {
  min-height: calc(100vh - 142px);
}

.view {
  display: none;
  padding: clamp(24px, 5vw, 56px);
}

.view.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: 36px;
  min-height: calc(100vh - 118px);
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 72px);
  line-height: 1.02;
}

.hero p:not(.eyebrow),
.card p,
.item p,
.empty {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions,
.game-controls,
.data-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.game-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.primary-action,
.secondary-action,
.danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  border-color: var(--accent);
  background: var(--accent);
  color: #15110a;
}

.secondary-action {
  border-color: rgba(102, 209, 194, 0.7);
}

.danger-action {
  border-color: rgba(255, 107, 107, 0.55);
  color: #ffd5d5;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.disc {
  position: relative;
  width: min(390px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #101114 0 10%, #f6f2e9 11% 13%, transparent 14%),
    repeating-radial-gradient(circle, #16181c 0 16px, #242931 17px 24px);
  border: 10px solid #2f353f;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.36);
  animation: spin 12s linear infinite;
}

.equalizer {
  position: absolute;
  bottom: 44px;
  display: flex;
  align-items: end;
  gap: 8px;
  height: 88px;
}

.equalizer i {
  width: 16px;
  border-radius: 999px;
  background: var(--accent-2);
  animation: bounce 900ms ease-in-out infinite alternate;
}

.equalizer i:nth-child(2) { animation-delay: 120ms; }
.equalizer i:nth-child(3) { animation-delay: 240ms; }
.equalizer i:nth-child(4) { animation-delay: 80ms; }
.equalizer i:nth-child(5) { animation-delay: 180ms; }

.section-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

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

.songs-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(280px, 980px);
}

.song-stage {
  position: relative;
  display: flex;
  align-items: end;
  gap: 7px;
  width: min(980px, 100%);
  height: 76px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 16px 18px;
  background:
    linear-gradient(90deg, rgba(102, 209, 194, 0.16), rgba(240, 184, 79, 0.16), rgba(255, 107, 107, 0.12)),
    rgba(255, 255, 255, 0.04);
}

.song-stage::before {
  content: "Sarki paneli";
  align-self: center;
  min-width: max-content;
  margin-right: 12px;
  color: #d9fffa;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.song-stage span {
  width: 100%;
  max-width: 74px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9fffa, #66d1c2 48%, #f0b84f);
  animation: songwave 880ms ease-in-out infinite alternate;
}

.song-stage span:nth-child(1) { height: 34px; }
.song-stage span:nth-child(2) { height: 70px; animation-delay: 120ms; }
.song-stage span:nth-child(3) { height: 48px; animation-delay: 240ms; }
.song-stage span:nth-child(4) { height: 82px; animation-delay: 80ms; }
.song-stage span:nth-child(5) { height: 42px; animation-delay: 180ms; }

.card,
.item,
.game-panel,
.profile-card,
.contact-card,
.admin-login,
.admin-shell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(24, 27, 32, 0.86);
}

.card {
  padding: 18px;
}

.song-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 36px);
  overflow: hidden;
  min-height: 390px;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(145deg, rgba(102, 209, 194, 0.16), transparent 38%),
    linear-gradient(320deg, rgba(240, 184, 79, 0.14), rgba(24, 27, 32, 0.94));
}

.song-card::after {
  content: "";
  position: absolute;
  right: -92px;
  bottom: -92px;
  width: 260px;
  height: 260px;
  border: 34px solid rgba(102, 209, 194, 0.12);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}

.song-visual,
.song-info {
  position: relative;
  z-index: 1;
}

.song-visual {
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 28px),
    #11161a;
}

.song-orbit {
  display: grid;
  width: min(220px, 70%);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #101114 0 18%, #f6f2e9 19% 22%, transparent 23%),
    repeating-radial-gradient(circle, #15191f 0 13px, #252b34 14px 20px);
  border: 8px solid rgba(240, 184, 79, 0.78);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  animation: spin 14s linear infinite;
}

.song-orbit span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-2);
  color: #0b1515;
  font-size: 26px;
  font-weight: 900;
  animation: counterspin 14s linear infinite;
}

.mini-mixer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  height: 74px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.mini-mixer i {
  width: 13%;
  max-width: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #66d1c2, #f0b84f);
  animation: songwave 760ms ease-in-out infinite alternate;
}

.mini-mixer i:nth-child(1) { height: 28px; }
.mini-mixer i:nth-child(2) { height: 48px; animation-delay: 140ms; }
.mini-mixer i:nth-child(3) { height: 36px; animation-delay: 280ms; }
.mini-mixer i:nth-child(4) { height: 58px; animation-delay: 80ms; }
.mini-mixer i:nth-child(5) { height: 32px; animation-delay: 210ms; }

.sound-rings span {
  position: absolute;
  inset: 50%;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(102, 209, 194, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: soundring 2.8s ease-out infinite;
}

.sound-rings span:nth-child(2) { animation-delay: 520ms; }
.sound-rings span:nth-child(3) { animation-delay: 1040ms; }

.song-info h3 {
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
}

.song-kicker {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.maker-line {
  color: #ffe3a7;
  font-weight: 900;
}

.song-pulse {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 28px;
  margin: -4px 0 12px;
}

.song-pulse i {
  width: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  animation: bounce 720ms ease-in-out infinite alternate;
}

.song-pulse i:nth-child(1) { height: 12px; }
.song-pulse i:nth-child(2) { height: 26px; animation-delay: 120ms; }
.song-pulse i:nth-child(3) { height: 18px; animation-delay: 240ms; }
.song-pulse i:nth-child(4) { height: 24px; animation-delay: 80ms; }

.cover {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: #101114;
  font-size: 42px;
  font-weight: 900;
}

.cover-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.card h3,
.item h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 12px;
}

audio {
  width: 100%;
  margin-top: 12px;
}

.list {
  display: grid;
  gap: 14px;
}

.item {
  padding: 18px;
}

.podcast-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 22px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(74, 155, 94, 0.24), transparent 34%),
    linear-gradient(315deg, rgba(246, 202, 122, 0.18), rgba(24, 27, 32, 0.94));
}

.podcast-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
}

.podcast-copy p,
.debate-side p,
.sup-page p {
  color: var(--muted);
  line-height: 1.6;
}

.pasta-arena {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 260px;
}

.plate {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #f6f2e9;
  box-shadow: inset 0 0 0 16px rgba(0, 0, 0, 0.08), 0 24px 60px rgba(0, 0, 0, 0.3);
  animation: platefloat 3.2s ease-in-out infinite;
}

.plate span {
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 8px, rgba(40, 30, 16, 0.2) 9px 11px),
    #f2ca7a;
}

.pesto-plate span {
  box-shadow: inset 0 0 0 24px rgba(58, 142, 82, 0.62);
}

.cream-plate {
  animation-delay: 500ms;
}

.cream-plate span {
  box-shadow: inset 0 0 0 24px rgba(238, 226, 194, 0.78);
}

.versus {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--danger);
  color: #160b0b;
  font-weight: 900;
}

.debate-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.debate-side {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.debate-side span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.debate-side h4 {
  margin: 8px 0;
  font-size: 22px;
}

.compact {
  align-content: start;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 20px;
}

.game-panel {
  padding: 14px;
}

canvas {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 7;
  border-radius: var(--radius);
  background: #090a0d;
}

#camoCanvas {
  aspect-ratio: 31 / 18;
}

#scoreLabel {
  color: var(--muted);
  font-weight: 800;
}

#camoStatus {
  color: var(--muted);
  font-weight: 800;
}

.game-controls select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--text);
  background: #101318;
}

.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.map-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.map-card {
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  text-align: left;
}

.map-card strong,
.map-card span {
  display: block;
}

.map-card span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.map-card.active {
  border-color: var(--accent);
  background: rgba(240, 184, 79, 0.16);
}

.color-swatch {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: var(--swatch);
}

.color-swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 184, 79, 0.18);
}

.profile-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.profile-card,
.contact-card {
  padding: 22px;
}

.profile-avatar {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111318;
  font-size: 34px;
  font-weight: 900;
}

.profile-photo {
  display: block;
  width: min(240px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 18px;
  border: 4px solid rgba(240, 184, 79, 0.72);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.sup-page {
  display: grid;
  gap: 22px;
}

.sup-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  align-items: center;
  gap: 28px;
  min-height: calc(100vh - 170px);
}

.sup-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sup-stats span {
  border: 1px solid rgba(102, 209, 194, 0.58);
  border-radius: 999px;
  padding: 8px 12px;
  color: #d9fffa;
  font-weight: 900;
}

.sup-board-scene {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #8fd7ff 0%, #73c8e6 42%, #0b7887 43%, #054a57 100%);
}

.sun {
  position: absolute;
  right: 44px;
  top: 38px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ffd66b;
  box-shadow: 0 0 48px rgba(255, 214, 107, 0.65);
}

.board {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(380px, 72%);
  height: 76px;
  border-radius: 999px 999px 70% 70%;
  background:
    linear-gradient(90deg, #f6f2e9 0 20%, #66d1c2 20% 34%, #f0b84f 34% 66%, #f6f2e9 66% 100%);
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%) rotate(-6deg);
  animation: boardbob 3.4s ease-in-out infinite;
}

.paddle {
  position: absolute;
  left: 54%;
  top: 34%;
  width: 12px;
  height: 230px;
  border-radius: 999px;
  background: #442f24;
  transform: rotate(24deg);
  animation: paddle 3.4s ease-in-out infinite;
}

.paddle::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -28px;
  width: 48px;
  height: 72px;
  border-radius: 50%;
  background: #f0b84f;
}

.wave {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 120px;
  background:
    radial-gradient(circle at 40px 24px, rgba(255, 255, 255, 0.54) 0 18px, transparent 19px) 0 0 / 96px 70px repeat-x,
    linear-gradient(180deg, rgba(102, 209, 194, 0.76), rgba(3, 70, 83, 0.94));
  animation: wavemove 5s linear infinite;
}

.wave-two {
  bottom: 44px;
  opacity: 0.48;
  animation-duration: 7s;
  animation-direction: reverse;
}

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

.sup-card {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(24, 27, 32, 0.86);
}

.sup-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.assistant-card {
  background:
    linear-gradient(135deg, rgba(102, 209, 194, 0.18), rgba(240, 184, 79, 0.08)),
    rgba(24, 27, 32, 0.9);
}

.profile-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-number {
  display: inline-flex;
  margin: 8px 0 18px;
  color: var(--accent);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  text-decoration: none;
}

.contact-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(240, 184, 79, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(102, 209, 194, 0.14), rgba(24, 27, 32, 0.9));
}

.contact-hero-card h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.04;
}

.contact-hero-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 30px solid rgba(102, 209, 194, 0.16);
  border-radius: 50%;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-info-grid {
  display: grid;
  gap: 14px;
}

.contact-info-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.contact-info-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.contact-info-card p {
  margin: 0;
}

.admin-login {
  max-width: 520px;
  padding: 22px;
}

.admin-login form {
  display: grid;
  gap: 12px;
}

.admin-login input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  background: #101318;
}

.admin-login p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.admin-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-tab {
  width: 100%;
  padding: 0 12px;
  text-align: left;
}

.admin-content {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-form .wide {
  grid-column: 1 / -1;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  background: #101318;
}

.admin-form textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.data-box {
  min-height: 260px;
  white-space: pre;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(16px, 4vw, 48px);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes loadbar {
  from { transform: translateX(-100%); }
  to { transform: translateX(230%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes counterspin {
  to { transform: rotate(-360deg); }
}

@keyframes bounce {
  from { height: 24px; }
  to { height: 86px; }
}

@keyframes songwave {
  from { transform: scaleY(0.58); opacity: 0.72; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes soundring {
  from {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.8);
  }
}

@keyframes platefloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

@keyframes boardbob {
  0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); }
  50% { transform: translate(-50%, -62%) rotate(4deg); }
}

@keyframes paddle {
  0%, 100% { transform: rotate(24deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(10px); }
}

@keyframes wavemove {
  from { transform: translateX(0); }
  to { transform: translateX(96px); }
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .song-card,
  .game-layout,
  .podcast-card,
  .profile-layout,
  .contact-layout,
  .sup-hero,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 300px;
  }

  .sup-hero {
    min-height: auto;
  }

  .sup-board-scene {
    min-height: 320px;
  }

  .sup-content,
  .debate-grid {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
}

@media (max-width: 560px) {
  .view {
    padding: 22px 14px;
  }

  .nav-link {
    flex: 1 1 132px;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 34px;
  }
}
