﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap");

:root {
  --bg-0: #07040f;
  --bg-1: #11091f;
  --bg-2: #1a0f31;
  --surface: rgba(12, 8, 24, 0.26);
  --surface-2: rgba(20, 13, 38, 0.2);
  --text: #f8f4ff;
  --muted: #cdbfe6;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff53d5;
  --purple: #7f7dff;
  --purple-2: #b66bff;
  --green: #54d3a4;
  --danger: #ff6f91;
  --shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; }

body {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 15% -20%, rgba(255, 83, 213, 0.14), transparent 58%),
    radial-gradient(1000px 650px at 95% -10%, rgba(127, 125, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(7, 4, 15, 0.82), rgba(7, 4, 15, 0.96));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: url("/img/backgroundVRP-1920.jpg") center/cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: rgba(7, 4, 15, 0.34);
}

.top-gradient {
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  background: radial-gradient(50% 60% at 50% 0%, rgba(182, 107, 255, 0.24), transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: driftGlow 10s ease-in-out infinite alternate;
}

a { color: #f3dbff; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 6, 20, 0.76);
  backdrop-filter: blur(12px);
}

.site-header .row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 16px;
  flex-wrap: nowrap;
}

.site-header .container {
  width: min(1440px, 96%);
}

.mobile-menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f6ecff;
  font-size: 1.2rem;
  line-height: 1;
  padding: 8px 11px;
  cursor: pointer;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.logo span {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(120deg, #8f7dff, #ff53d5, #8f7dff);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 5.5s ease infinite;
  text-shadow: none;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  justify-content: center;
}

.nav-link {
  color: #fff7ff;
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 14px;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease, backdrop-filter 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  cursor: pointer;
  font-family: inherit;
}

.nav-link.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  line-height: 1;
}

.nav-pill {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
}

.nav-link:hover,
.nav-item:hover > .nav-trigger {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #2d1134;
  box-shadow: 0 10px 26px rgba(255, 83, 213, 0.26);
  transform: translateY(-1px);
}

.nav-item {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.caret {
  font-size: 0.78rem;
  opacity: 0.9;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  z-index: 40;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 6, 18, 0.72);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 10px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  display: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #efe5ff;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  font-family: "Sora", "Manrope", sans-serif;
}

.dropdown-menu a:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
}

.nav-item:hover > .dropdown-menu {
  display: block;
}

.auth {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  justify-content: flex-end;
  justify-self: end;
  margin-left: auto;
}
.auth-quick-links {
  display: none;
  align-items: center;
  gap: 8px;
}
.auth-compact-menu-wrap {
  position: relative;
}
.auth-compact-toggle,
.notify-menu-wrap-header .notify-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f6ecff;
  font-size: 0.96rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.auth-compact-toggle:hover,
.notify-menu-wrap-header .notify-toggle:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #2d1134;
}
.auth-compact-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  z-index: 50;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 6, 18, 0.72);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 10px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  display: none;
}
.auth-compact-menu.open {
  display: block;
}
.desktop-only {
  display: block;
}
.auth-compact-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #efe5ff;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  font-family: "Sora", "Manrope", sans-serif;
}
.auth-compact-menu a:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
}
.notify-menu-wrap {
  position: relative;
}
.notify-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #f6ecff;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.notify-toggle:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #2d1134;
}
.notify-bell {
  font-size: 0.88rem;
  line-height: 1;
}
.notify-badge {
  position: absolute;
  top: -3px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.54rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(160, 96, 255, 0.35);
}
.notify-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 84vw);
  z-index: 60;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 6, 18, 0.72);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 9px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  display: none;
}
.notify-menu.open {
  display: block;
}
.notify-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.notify-menu-eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.notify-menu-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f6ecff;
}
.notify-menu-action {
  border: 0;
  background: transparent;
  color: #d7b6ff;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.notify-menu-action:hover {
  color: #fff;
}
.notify-empty-state {
  padding: 18px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.notify-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 340px;
  overflow-y: auto;
  padding-top: 8px;
}
.notify-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: #efe5ff;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.notify-menu-item:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
}
.notify-menu-item.unread {
  background: rgba(127, 125, 255, 0.08);
}
.notify-type-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-top: 6px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.28);
}
.notify-type-dot.info { background: #7f7dff; }
.notify-type-dot.success { background: #54d3a4; }
.notify-type-dot.warning { background: #d4a840; }
.notify-type-dot.danger { background: #ff6f91; }
.notify-menu-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.notify-menu-item-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}
.notify-menu-item-body {
  color: rgba(239, 229, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1.45;
}
.notify-menu-item:hover .notify-menu-item-body {
  color: rgba(45, 17, 52, 0.88);
}
.notify-menu-item-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(239, 229, 255, 0.58);
  font-size: 0.72rem;
  text-transform: capitalize;
}
.notify-menu-item:hover .notify-menu-item-meta {
  color: rgba(45, 17, 52, 0.74);
}
.notify-menu-footer {
  display: block;
  margin-top: 8px;
  padding: 10px 12px 4px;
  color: #d7b6ff;
  text-decoration: none;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}
.notify-menu-footer:hover {
  color: #fff;
}
.mobile-user-menu {
  display: none;
}
.mobile-drawer {
  display: none;
}
.top-auth-btn {
  width: 118px;
  min-width: 118px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 9px;
  white-space: nowrap;
}
.text-link { color: #e7d0ff; text-decoration: none; font-size: 0.9rem; }
.text-link:hover { color: #fff; }
.user-tag { color: var(--muted); font-size: 0.9rem; font-weight: 800; }

.user-menu {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: default;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "Sora", "Manrope", sans-serif;
}

.user-menu:hover .menu-trigger {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
  border-color: transparent;
}

.menu-trigger::after {
  content: "▾";
  font-size: 0.78rem;
  opacity: 0.9;
}

.user-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  min-width: 230px;
  z-index: 45;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 6, 18, 0.72);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 10px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  display: none;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #efe5ff;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  font-family: "Sora", "Manrope", sans-serif;
}

.user-dropdown a:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
}

.dd-icon {
  width: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.95;
}

.dd-icon-discord {
  font-size: 0;
}

.dd-icon-discord .discord-icon {
  width: 18px;
  height: 18px;
}

.dd-icon-cyan { color: #69d7ff; }
.dd-icon-violet { color: #a982ff; }
.dd-icon-green { color: #6be39a; }
.dd-icon-orange { color: #ff9a4d; }
.dd-icon-red { color: #ff7676; }

main { padding: 128px 0 56px; }

.warning-banner {
  margin-bottom: 16px;
  border: 1px solid rgba(255, 111, 145, 0.45);
  background: linear-gradient(120deg, rgba(93, 29, 57, 0.62), rgba(68, 24, 58, 0.58));
  color: #ffdce6;
  border-radius: 12px;
  padding: 12px 14px;
}

.flash-banner {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(120deg, rgba(45, 33, 77, 0.6), rgba(29, 19, 57, 0.6));
}

.flash-success {
  border-color: rgba(91, 221, 157, 0.5);
  color: #dfffea;
  background: linear-gradient(120deg, rgba(19, 74, 52, 0.58), rgba(20, 54, 41, 0.5));
}

.flash-info {
  color: #efe8ff;
}

@supports (content-visibility: auto) {
  .section-card,
  .grid > .card,
  .feature-grid > .subcard,
  .steps > .step,
  .discord-post,
  .panel-card,
  .detail-card,
  .forum-card,
  .stat-card,
  .meta-card,
  .control-card {
    content-visibility: auto;
    contain-intrinsic-size: 1px 280px;
  }
}

.discord-post {
  display: grid;
  gap: 1rem;
}

.discord-post-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.discord-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.discord-embed {
  padding: 1rem;
  border-left: 3px solid rgba(88, 101, 242, 0.8);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.85rem;
}

.discord-media {
  display: block;
  width: min(100%, 42rem);
  border-radius: 1rem;
  margin-top: 0.75rem;
}

.discord-content > :first-child {
  margin-top: 0;
}

.discord-content > :last-child {
  margin-bottom: 0;
}

.discord-content h2,
.discord-content h3,
.discord-content h4 {
  margin: 0.2rem 0 0.75rem;
}

.discord-content ul {
  margin: 0.5rem 0 0.5rem 1.25rem;
}

.hero-landing {
  position: relative;
  min-height: 74vh;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-landing-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-landing-content {
  position: relative;
  text-align: center;
  padding: 28px 16px;
  max-width: 900px;
}

#about.section-card {
  margin-top: 0;
  position: relative;
  z-index: 2;
  border-top-color: var(--line);
}

.landing-logo {
  width: min(250px, 46vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.45));
  transform-origin: center;
  animation: landingLogoFloat 5.9s ease-in-out infinite;
  will-change: transform, filter;
}

.landing-title {
  margin: 8px 0 12px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 5.4vw, 4.1rem);
  line-height: 1.05;
  font-weight: 800;
  background: linear-gradient(120deg, #8f7dff, #ff53d5, #8f7dff);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 5.5s ease infinite;
}

.landing-subtitle {
  margin: 0 0 24px;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  color: #eae3ff;
}

.landing-actions {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-actions .btn {
  width: 156px;
  min-width: 156px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 11px;
  white-space: nowrap;
}

.landing-store-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.tebex-hero-btn {
  width: 156px;
  min-width: 156px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(6, 6, 8, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.tebex-hero-btn:hover {
  background: rgba(6, 6, 8, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(255, 83, 213, 0.32);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.landing-actions .discord-icon {
  width: 18px;
  height: 18px;
}

.hero-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(32, 16, 60, 0.88), rgba(18, 11, 35, 0.85));
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  top: -220px;
  right: -180px;
  background: radial-gradient(circle, rgba(255, 83, 213, 0.35), rgba(127, 125, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: #f2c8ff;
}

.hero-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.1vw, 3.45rem);
  line-height: 1.05;
}

.hero-copy h1 span {
  background: linear-gradient(120deg, #ffd4f4, #baa7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.02rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #e9dcff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
}

.hero-aside {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(20, 13, 38, 0.82);
  padding: 18px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: 0;
}

.hero-aside-meta h3 { margin: 10px 0 5px; }
.hero-aside-meta p { margin: 0; color: var(--muted); }

.hero-stats {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.hero-stats article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.btn {
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  font-family: "Sora", "Manrope", sans-serif;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
  box-shadow: 0 12px 24px rgba(255, 83, 213, 0.32);
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.24s ease, filter 0.2s ease;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn.muted {
  background: linear-gradient(120deg, rgba(127, 125, 255, 0.22), rgba(182, 107, 255, 0.14));
  color: #f5eeff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.muted:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(255, 83, 213, 0.32);
}

.btn.ghost {
  background: transparent;
  color: #eddfff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.btn.ghost:hover {
  background: linear-gradient(115deg, var(--pink), var(--purple));
  color: #2d1134;
  border-color: transparent;
}

.btn.danger { background: linear-gradient(115deg, var(--danger), #ff8b6f); color: #2e1117; }

.connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(120deg, #5fd06e, #4caf63);
  color: #103819;
  box-shadow: 0 10px 24px rgba(95, 208, 110, 0.34);
}

.connect-btn:hover {
  background: linear-gradient(120deg, #70de7d, #59bc6c);
  color: #103819;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(120deg, #5865f2, #6a75ff);
  color: #ffffff;
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.35);
}

.discord-btn:hover {
  background: linear-gradient(120deg, #6471ff, #7480ff);
  color: #ffffff;
}

.discord-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath d='M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.07C2.79 33.03-1.71 57.36.54 81.34a105.73 105.73 0 0 0 32 16.02 77.7 77.7 0 0 0 6.86-11.16 68.42 68.42 0 0 1-10.8-5.18c.91-.67 1.8-1.36 2.66-2.07a75.57 75.57 0 0 0 64.62 0c.87.71 1.76 1.4 2.66 2.07a68.68 68.68 0 0 1-10.82 5.19 77.13 77.13 0 0 0 6.86 11.16A105.25 105.25 0 0 0 126.6 81.34c2.64-27.8-4.51-51.91-18.9-73.27ZM42.45 65.69c-6.29 0-11.45-5.76-11.45-12.85S36.05 40 42.45 40s11.57 5.78 11.45 12.85c0 7.09-5.15 12.85-11.45 12.85Zm42.24 0c-6.29 0-11.45-5.76-11.45-12.85S78.29 40 84.69 40s11.57 5.78 11.45 12.85c0 7.09-5.15 12.85-11.45 12.85Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath d='M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.07C2.79 33.03-1.71 57.36.54 81.34a105.73 105.73 0 0 0 32 16.02 77.7 77.7 0 0 0 6.86-11.16 68.42 68.42 0 0 1-10.8-5.18c.91-.67 1.8-1.36 2.66-2.07a75.57 75.57 0 0 0 64.62 0c.87.71 1.76 1.4 2.66 2.07a68.68 68.68 0 0 1-10.82 5.19 77.13 77.13 0 0 0 6.86 11.16A105.25 105.25 0 0 0 126.6 81.34c2.64-27.8-4.51-51.91-18.9-73.27ZM42.45 65.69c-6.29 0-11.45-5.76-11.45-12.85S36.05 40 42.45 40s11.57 5.78 11.45 12.85c0 7.09-5.15 12.85-11.45 12.85Zm42.24 0c-6.29 0-11.45-5.76-11.45-12.85S78.29 40 84.69 40s11.57 5.78 11.45 12.85c0 7.09-5.15 12.85-11.45 12.85Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.card,
.subcard {
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(12, 8, 24, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card { padding: 20px; margin-top: 18px; }
.subcard { padding: 14px; margin-top: 10px; background: var(--surface-2); }

.section-card h2 { margin-top: 0; }
.dim { color: var(--muted); }
.preline { white-space: pre-line; }
.stack { display: grid; gap: 12px; }

.feature-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.visual-row {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid var(--line);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.visual-card:hover img { transform: scale(1.07); }

.visual-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(11, 7, 20, 0.92), transparent 72%);
}

.visual-overlay h3 { margin: 0; }
.visual-overlay p { margin: 4px 0 0; color: #f0dcff; }

.steps {
  margin-top: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface-2);
}

.step span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(120deg, var(--pink), var(--purple));
  color: #2e1235;
}

.step h3 { margin: 10px 0 8px; }

.drag-handle {
  cursor: grab;
  min-width: 40px;
}

[draggable="true"] {
  cursor: grab;
}

[draggable="true"].dragging {
  opacity: 0.6;
  transform: scale(0.99);
}

.founder-toggle-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
}

.founder-edit-controls {
  display: none;
}

.founder-edit-mode .founder-edit-controls {
  display: inherit;
}

.switch {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.18);
  transition: 0.25s;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  top: 3px;
  background-color: #fff;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.switch input:checked + .slider {
  background: linear-gradient(120deg, #66d69a, #56c98e);
}

.switch input:checked + .slider:before {
  transform: translateX(27px);
}

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

.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cta-band { text-align: center; }

.notice {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  margin-bottom: 14px;
}

.status { font-weight: 800; text-transform: capitalize; }
.status.pending { color: #ffdd8f; }
.status.approved { color: #8ef0c2; }
.status.denied { color: #ff9bad; }
.status.rejected { color: #ff9bad; }
.status.deleted { color: #ffb3c1; }

.review-note {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.review-note-denied {
  color: #ffb1c1;
  border-color: rgba(255, 111, 145, 0.45);
  background: rgba(88, 28, 46, 0.42);
}

.review-note-approved {
  color: #b8ffd8;
  border-color: rgba(91, 221, 157, 0.45);
  background: rgba(22, 76, 53, 0.38);
}

.form { display: grid; gap: 10px; margin-top: 12px; }
input, textarea, select, table { width: 100%; }

input, textarea, select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(10, 7, 20, 0.88);
  color: var(--text);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(255, 83, 213, 0.62);
  box-shadow: 0 0 0 3px rgba(255, 83, 213, 0.12);
}

.inline-review { margin-top: 8px; }

.rich-editor {
  min-height: 240px;
  border-radius: 12px;
  overflow: hidden;
}

.ql-toolbar.ql-snow {
  border: 1px solid var(--line);
  background: rgba(16, 10, 31, 0.82);
  border-radius: 12px 12px 0 0;
}

.ql-container.ql-snow {
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(8, 6, 18, 0.78);
  border-radius: 0 0 12px 12px;
  min-height: 210px;
}

.ql-editor {
  color: var(--text);
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  font-size: 0.98rem;
}

.ql-editor img,
.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.revision-box {
  margin-top: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}

.revision-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.revision-row .btn {
  padding: 5px 10px;
  font-size: 0.78rem;
}

.preview-result {
  margin-top: 6px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(12, 8, 24, 0.35);
}

.preview-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.item-head h2 {
  margin: 0;
}

.inline-edit {
  min-width: 88px;
}

.inline-edit summary {
  list-style: none;
}

.inline-edit summary::-webkit-details-marker {
  display: none;
}

.inline-editor-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(9, 7, 19, 0.56);
}

.quick-create-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, #7f7dff, #ff53d5);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  font-family: "Sora", "Manrope", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(127, 125, 255, 0.28), 0 8px 20px rgba(255, 83, 213, 0.2);
  transition: transform 0.16s ease, filter 0.2s ease;
}

.quick-create-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.quick-create-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.quick-create-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 12, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.quick-create-dialog {
  position: relative;
  width: min(760px, 92vw);
  margin: 8vh auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(8, 6, 18, 0.85);
  box-shadow: var(--shadow);
}

.rich-page h1 { margin-top: 4px; }

.rich-content {
  margin-top: 14px;
  line-height: 1.7;
  color: #f4efff;
}

.rich-content h1, .rich-content h2, .rich-content h3 {
  margin: 0.9em 0 0.4em;
}

.rich-content p {
  margin: 0.6em 0;
}

.rich-content ul, .rich-content ol {
  margin: 0.6em 0 0.6em 1.2em;
}

table { border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 9px; }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 24px 0 16px;
  color: var(--muted);
  background: rgba(8, 5, 18, 0.6);
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.footer-grid h3, .footer-grid h4 { margin: 0 0 8px; color: #ffe9ff; }
.footer-grid p { margin: 5px 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
}

.dashboard-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.dashboard-sidebar h1,
.dashboard-hero h2,
.section-head h2 {
  margin: 0;
}

.dashboard-sidebar-nav {
  margin: 20px 0;
}

.dashboard-nav-item {
  display: grid;
  gap: 4px;
  padding: 14px 15px;
  border-radius: 16px;
  color: #f7e8ff;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-nav-item:hover {
  transform: translateY(-1px);
  border-color: rgba(182, 107, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(127, 125, 255, 0.08));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.dashboard-nav-label {
  font-weight: 800;
  color: #fff8ff;
}

.dashboard-nav-item small {
  color: rgba(223, 213, 241, 0.88);
  font-size: 0.8rem;
  line-height: 1.3;
}

.dashboard-nav-item.active {
  background: linear-gradient(135deg, rgba(255, 83, 213, 0.22), rgba(127, 125, 255, 0.2));
  border-color: rgba(255, 83, 213, 0.34);
  box-shadow: 0 18px 35px rgba(108, 75, 177, 0.24);
}

.dashboard-highlight {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.dashboard-highlight span,
.dashboard-stat-card span,
.dashboard-mini-card span,
.field span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-highlight strong,
.dashboard-stat-card strong,
.dashboard-mini-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
}

.dashboard-main {
  gap: 20px;
}

.dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(600px 300px at right top, rgba(255, 83, 213, 0.18), transparent 58%),
    linear-gradient(145deg, rgba(37, 17, 58, 0.98), rgba(19, 12, 37, 0.94));
}

.dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.dashboard-stat-card,
.dashboard-mini-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.dashboard-stat-card small {
  color: var(--muted);
}

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

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-chip.enabled {
  background: rgba(84, 211, 164, 0.16);
  color: #9ef0be;
}

.status-chip.disabled {
  background: rgba(255, 111, 145, 0.16);
  color: #ffb2b8;
}

.field {
  display: grid;
  gap: 8px;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(10, 7, 20, 0.9);
  color: var(--text);
}

select:focus {
  outline: none;
  border-color: rgba(255, 83, 213, 0.65);
}

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

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

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

.dashboard-rank {
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--pink), var(--purple));
  color: #2b0b2f;
  font-weight: 800;
}

.dashboard-row p {
  margin: 4px 0 0;
}

.dashboard-inline-item,
.dashboard-log-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-inline-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-form-actions {
  display: flex;
  justify-content: flex-end;
}

.dashboard-page-guide {
  background:
    radial-gradient(500px 220px at right top, rgba(255, 83, 213, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(25, 18, 46, 0.98), rgba(16, 12, 31, 0.96));
}

.dashboard-guide-text {
  margin: 0 0 14px;
  max-width: 760px;
}

.dashboard-fold {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.dashboard-fold > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.dashboard-fold > summary::-webkit-details-marker {
  display: none;
}

.dashboard-fold > summary::after {
  content: "+";
  float: right;
  color: #d7bbff;
}

.dashboard-fold[open] > summary::after {
  content: "-";
}

.dashboard-fold > .grid,
.dashboard-fold > .card,
.dashboard-fold > form {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dashboard-fold > .grid,
.dashboard-fold > form,
.dashboard-fold > section {
  padding: 18px;
}

.dashboard-subgrid,
.dashboard-tag-grid,
.dashboard-ticket-form-grid {
  display: grid;
  gap: 12px;
}

.dashboard-subgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.dashboard-tag-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dashboard-ticket-form-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dashboard-builder-card {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(280px 120px at right top, rgba(127, 125, 255, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.dashboard-builder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 34px;
}

.dashboard-builder-head strong {
  display: block;
}

.dashboard-builder-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.dashboard-builder-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 64px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #fff6ff;
  font-weight: 700;
}

.dashboard-builder-chip span {
  line-height: 1;
}

.dashboard-remove-button,
.dashboard-add-button {
  font-weight: 800;
}

.dashboard-remove-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 95, 122, 0.2);
  color: #ffd6de;
  cursor: pointer;
}

.dashboard-add-button {
  min-width: 150px;
}

.dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 20px;
  padding: 18px;
  align-items: start;
}

.dashboard-workspace-premium {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
}

.dashboard-editor-pane,
.dashboard-preview-pane {
  margin: 0;
}

.dashboard-editor-pane,
.dashboard-preview-column > .card {
  background:
    radial-gradient(420px 220px at right top, rgba(127, 125, 255, 0.09), transparent 62%),
    linear-gradient(145deg, rgba(26, 16, 44, 0.98), rgba(14, 10, 28, 0.97));
}

.dashboard-preview-column {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 110px;
}

.dashboard-subgrid-compact {
  margin-bottom: 14px;
}

.dashboard-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-section-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
}

.dashboard-log-list {
  display: grid;
  gap: 12px;
}

.dashboard-log-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
}

.dashboard-log-card p {
  margin: 10px 0 0;
}

.dashboard-log-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.discord-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(34, 39, 43, 0.96), rgba(27, 31, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-preview-separated {
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(33, 37, 41, 0.98), rgba(27, 31, 35, 0.98)),
    radial-gradient(500px 220px at right top, rgba(127, 125, 255, 0.08), transparent 60%);
}

.discord-preview-header {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 14px;
}

.discord-preview-header-embed {
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: start;
}

.discord-preview-body {
  min-width: 0;
}

.discord-preview-header p {
  margin: 6px 0 0;
  color: #d6dde4;
  white-space: pre-wrap;
}

.discord-color-stripe {
  width: 10px;
  min-height: 100%;
  border-radius: 999px;
}

.discord-preview-footer {
  color: #aeb8c2;
  font-size: 0.88rem;
}

.discord-message-preview {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #ecf1f7;
  white-space: pre-wrap;
  word-break: break-word;
}

.discord-preview-field-list {
  display: grid;
  gap: 10px;
}

.discord-preview-field {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.discord-preview-field span {
  display: block;
  color: #97a6b3;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.discord-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discord-button-preview,
.discord-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.discord-button-preview {
  color: #fff;
}

.discord-button-preview.style-primary {
  background: #5865f2;
}

.discord-button-preview.style-secondary {
  background: #4f545c;
}

.discord-button-preview.style-success {
  background: #248046;
}

.discord-button-preview.style-danger {
  background: #da373c;
}

.discord-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ecf1f7;
}

.discord-binding-preview-list {
  display: grid;
  gap: 10px;
}

.discord-binding-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.discord-binding-preview p {
  margin: 4px 0 0;
  color: #aeb8c2;
  font-size: 0.88rem;
}

.discord-binding-emoji {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.2rem;
  overflow: hidden;
}

.emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.emoji-picker-button {
  display: inline-grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.emoji-picker-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.emoji-picker-button span {
  font-size: 1.05rem;
  line-height: 1;
}

.emoji-inline-preview {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.discord-preview-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.discord-preview-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.is-hidden {
  display: none !important;
}

.color-grid {
  align-items: end;
}

.dashboard-row-meta {
  font-weight: 700;
  color: #ffe9ff;
}

.dashboard-ticket-status {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-ticket-status.open {
  background: rgba(255, 211, 109, 0.15);
  color: #ffd36d;
}

.dashboard-ticket-status.closed {
  background: rgba(144, 232, 181, 0.15);
  color: #90e8b5;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes driftGlow {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0.85;
  }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes landingLogoFloat {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.45));
  }
  25% {
    transform: translateY(-6px) scale(1.012);
    filter: drop-shadow(0 18px 42px rgba(127, 125, 255, 0.14)) drop-shadow(0 12px 34px rgba(0, 0, 0, 0.4));
  }
  50% {
    transform: translateY(-10px) scale(1.018);
    filter: drop-shadow(0 22px 48px rgba(255, 83, 213, 0.16)) drop-shadow(0 12px 34px rgba(0, 0, 0, 0.38));
  }
  75% {
    transform: translateY(-5px) scale(1.01);
    filter: drop-shadow(0 18px 42px rgba(127, 125, 255, 0.12)) drop-shadow(0 12px 34px rgba(0, 0, 0, 0.4));
  }
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.45));
  }
}

@media (max-width: 980px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }
  .dashboard-workspace {
    grid-template-columns: 1fr;
  }
  .dashboard-preview-column {
    position: static;
  }
  .dashboard-sidebar {
    position: static;
  }
  .dashboard-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  body {
    background:
      radial-gradient(1200px 700px at 15% -20%, rgba(255, 83, 213, 0.11), transparent 58%),
      radial-gradient(1000px 650px at 95% -10%, rgba(127, 125, 255, 0.14), transparent 60%),
      linear-gradient(180deg, rgba(7, 4, 15, 0.48), rgba(7, 4, 15, 0.7));
  }
  .hero-grid { grid-template-columns: 1fr; }
  .visual-row { grid-template-columns: 1fr; }
  .hero-landing { min-height: 64vh; }
  #about.section-card { margin-top: 0; }
}

@media (max-width: 860px) {
  .dashboard-mini-grid,
  .dashboard-row,
  .dashboard-subgrid,
  .dashboard-log-meta,
  .dashboard-inline-item,
  .dashboard-log-top {
    grid-template-columns: 1fr;
  }
  .dashboard-inline-item,
  .dashboard-log-meta,
  .dashboard-log-top {
    display: grid;
  }
  main { padding-top: 116px; }
  .site-header .container { width: min(1200px, 96%); }
  .site-header .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 0 12px;
  }
  .row { gap: 8px; }
  .logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }
  .logo img { width: 52px; height: 52px; }
  .logo span {
    font-size: 1.28rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    margin-left: auto;
  }
  .auth {
    width: auto;
    min-width: 0;
    margin-left: 0;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
  }
  .auth-quick-links,
  .mobile-user-menu,
  .desktop-only {
    display: none !important;
  }
  .nav {
    display: none;
  }
  .mobile-drawer {
    order: 3;
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
      rgba(8, 6, 18, 0.56);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  }
  body.mobile-menu-open .mobile-drawer {
    display: grid;
    gap: 14px;
  }
  .mobile-drawer-section {
    display: grid;
    gap: 8px;
  }
  .mobile-drawer-section + .mobile-drawer-section {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mobile-drawer-group {
    display: grid;
    gap: 8px;
  }
  .mobile-drawer-label {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4c2f5;
    padding: 4px 4px 0;
  }
  .mobile-drawer-link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f3ebff;
    text-decoration: none;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
  }
  .mobile-drawer-link:hover {
    background: linear-gradient(115deg, var(--pink), var(--purple));
    border-color: transparent;
    color: #2d1134;
  }
  .mobile-drawer-sublink {
    margin-left: 8px;
  }
  .mobile-drawer-account {
    color: var(--muted);
    font-size: 0.86rem;
    padding: 2px 4px 6px;
  }
  .mobile-drawer-account strong {
    color: var(--text);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-landing {
    min-height: 58vh;
  }
  .hero-wrap {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .hero-bg-glow {
    display: none;
  }
  .hero-aside,
  .card,
  .subcard,
  .visual-card {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  }
  .landing-logo {
    animation: none;
    will-change: auto;
  }
  .landing-title {
    animation: none;
    background-size: 100% 100%;
  }
  .landing-actions { margin-top: 28px; gap: 10px; }
  .landing-actions {
    width: min(560px, 100%);
    justify-content: center;
  }
  .landing-actions .btn {
    width: calc((100% - 20px) / 3);
    max-width: 165px;
    min-width: 0;
    height: 42px;
    padding: 7px 8px;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    border-radius: 10px;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
  }
  .landing-actions .discord-icon {
    width: 15px;
    height: 15px;
  }
}

@media (pointer: coarse), (max-width: 860px) {
  body::before,
  body::after,
  .top-gradient {
    position: fixed;
  }

  .top-gradient {
    animation: none;
  }

  .site-header {
    backdrop-filter: blur(8px);
  }

  .hero-wrap,
  .hero-aside,
  .card,
  .subcard,
  .visual-card {
    backdrop-filter: blur(8px) saturate(115%);
    -webkit-backdrop-filter: blur(8px) saturate(115%);
  }

  .nav-link,
  .mobile-drawer,
  .dropdown-menu,
  .auth-compact-menu,
  .user-dropdown {
    backdrop-filter: blur(8px) saturate(118%);
    -webkit-backdrop-filter: blur(8px) saturate(118%);
  }
}

@media (max-width: 640px) {
  .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }
  main { padding-top: 108px; }
  .auth { width: auto; max-width: none; justify-content: flex-end; min-width: 0; }
  .btn { padding: 8px 10px; }
  .auth-compact-menu {
    right: 0;
    left: auto;
    min-width: min(260px, calc(100vw - 24px));
  }
  .user-dropdown { right: auto; left: 0; min-width: 210px; }
  .logo img { width: 48px; height: 48px; }
  .logo span { font-size: 1.18rem; }
  .landing-logo { width: min(210px, 56vw); }
  .landing-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .landing-subtitle { font-size: clamp(0.95rem, 4.6vw, 1.2rem); }
  .landing-actions .btn,
  .tebex-hero-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (min-width: 861px) {
  .auth-quick-links { display: none !important; }
  .auth-compact-menu-wrap { display: block; }
}
