:root {
  --bg: radial-gradient(circle at top, #040814 0%, #0d1630 66%, #090e1f 100%);
  --primary: #00d8ff;
  --secondary: #6b5cff;
  --text: #e8f3ff;
  --surface: rgba(10, 18, 38, 0.96);
  --muted: #8ca4c6;
  --accent: #62ffe1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

h1,
h2,
h3,
p,
a,
button,
strong,
em,
li {
  overflow-wrap: anywhere;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
  padding: 2rem 0;
}

.site-header {
  background: #111827;
  color: white;
  padding: 4rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 45%);
  pointer-events: none;
}


.site-header h1 {
  margin: 0 0 1.5rem;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  text-shadow: 0 8px 32px rgba(0,0,0,0.4);
  line-height: 1.1;
}

.site-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

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

.hero-discord-mockup {
  display: grid;
  grid-template-columns: 72px 1fr;
  width: min(820px, 100%);
  min-height: 260px;
  margin: 2.5rem auto 0;
  overflow: hidden;
  background: #313338;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  text-align: left;
}

.mockup-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  background: #1e1f22;
}

.mockup-sidebar span {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 8px;
}

.mockup-channel {
  min-width: 0;
  background: #2b2d31;
}

.mockup-channel-header {
  padding: 0.85rem 1rem;
  color: #f2f3f5;
  background: #313338;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  font-weight: 800;
}

.mockup-message {
  margin: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 8px;
}

.mockup-message strong {
  color: #ffffff;
}

.mockup-message p {
  max-width: none;
  margin: 0.35rem 0 0;
  color: #dbdee1;
  font-size: 0.98rem;
}

.bot-message {
  border-left: 4px solid #57d68d;
}

.discord-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  border-left: 0;
}

.discord-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 999px;
  font-weight: 900;
}

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

.discord-message-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: #dbdee1;
  font-size: 0.92rem;
}

.bot-tag {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 0.25rem;
  color: #ffffff;
  background: #5865f2;
  border-radius: 3px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.discord-message-meta time {
  color: #949ba4;
  font-size: 0.76rem;
}

.discord-embed {
  max-width: 520px;
  padding: 0.9rem 1rem 0.9rem 1.15rem;
  background: #2b2d31;
  border-left: 4px solid #57d68d;
  border-radius: 4px;
}

.discord-embed-author {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #f2f3f5;
  font-size: 0.82rem;
  font-weight: 800;
}

.mockup-progress {
  height: 9px;
  margin-top: 0.8rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.mockup-progress span {
  display: block;
  width: 74%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.spin-embed {
  display: grid;
  gap: 0.75rem;
  color: #f2f3f5;
}

.spin-embed-title {
  display: grid;
  gap: 0.15rem;
}

.spin-embed-title strong,
.spin-embed-title span {
  display: block;
}

.spin-embed-title strong {
  color: #f2f3f5;
  font-size: 1.06rem;
  line-height: 1.2;
}

.spin-embed-title span {
  color: #b5bac1;
  font-size: 0.86rem;
  font-weight: 700;
}

.spin-orb {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #d9b6ff 0 18%, #8d6cff 19% 48%, #57d68d 49% 60%, transparent 61%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(141, 108, 255, 0.55);
}

.spin-divider {
  width: min(240px, 100%);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(242, 243, 245, 0.8) 0 10px, transparent 10px 14px);
}

.spin-summary {
  margin: 0;
  padding-left: 0;
  color: #dbdee1 !important;
  border-left: 0;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

.spin-summary strong {
  color: #ffffff;
}

.spin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.spin-stats div {
  min-width: 0;
}

.spin-stats strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
  font-size: 0.96rem;
}

.spin-stats p {
  margin: 0.25rem 0 0;
  color: #d9dde7;
  font-size: 0.92rem;
  line-height: 1.35;
}

.stat-gem {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 0.45rem;
  background: #58b8ff;
  border-radius: 3px;
  transform: rotate(45deg);
  vertical-align: -1px;
}

.stat-gem.gold {
  background: #ff9f1c;
}

.stat-gem.white {
  background: #f5f7ff;
}

.stat-gem.premium {
  background: linear-gradient(135deg, #58b8ff 0 45%, #d9f7ff 46% 55%, #58b8ff 56% 100%);
}

.spin-wheel {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(87, 214, 141, 0.95), rgba(68, 190, 153, 0.92));
  border-radius: 6px;
}

.wheel-lane {
  display: grid;
  grid-template-columns: 86px repeat(4, 1fr) 86px;
  align-items: center;
  min-height: 110px;
  padding: 0 1rem;
  background: #0d1323;
  border: 2px solid rgba(245, 247, 255, 0.92);
  box-shadow: inset 0 0 0 2px rgba(13, 19, 35, 0.95), 0 0 0 5px rgba(196, 255, 231, 0.45);
}

.wheel-prize {
  justify-self: center;
  width: 14px;
  height: 14px;
  background: #f5f7ff;
  border-radius: 3px;
  transform: rotate(45deg);
}

.wheel-prize.large {
  width: 64px;
  height: 64px;
  background: #57d68d;
}

.wheel-prize.white {
  width: 46px;
  height: 46px;
  background: #f5f7ff;
}

.wheel-ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 58%;
  margin: 0.55rem auto 0;
}

.wheel-ticks span {
  justify-self: center;
  width: 11px;
  height: 11px;
  background: #f5f7ff;
  border-radius: 3px;
  transform: rotate(45deg);
}

.spin-footer {
  color: #949ba4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

main section {
  background: rgba(10, 18, 38, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(66, 93, 184, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main section:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

main h2 {
  margin-top: 0;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

main ul {
  list-style: none;
  padding: 0;
}

main li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  padding-left: 2rem;
  color: #dce7ff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

main p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.2px;
  color: rgba(232, 243, 255, 0.95);
}

button {
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #040814;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 216, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 216, 255, 0.35);
  opacity: 1;
}

.site-footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--muted);
  background: rgba(4, 8, 20, 0.92);
  backdrop-filter: blur(5px);
}


.links-section {
  text-align: center;
}

.link-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-buttons {
  margin-top: 1.25rem;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.discord-cta::before,
.discord-login-button::before {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 245 185' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M196.5 23.5A181.7 181.7 0 0 0 150.9 9l-2.2 4.3a168 168 0 0 1 40.3 15.3 135.7 135.7 0 0 0-120.5 0 168 168 0 0 1 40.3-15.3L106.6 9a181.7 181.7 0 0 0-45.6 14.5C32.2 66.3 24.4 108 28.3 149.1a183.4 183.4 0 0 0 56 28.5l6.8-22.3a116.7 116.7 0 0 1-18-8.7l4.3-3.3a130.5 130.5 0 0 0 90 0l4.3 3.3a116.7 116.7 0 0 1-18 8.7l6.8 22.3a183.4 183.4 0 0 0 56-28.5c4.6-47.7-7.8-89-20-125.6ZM89.6 123.7c-11.1 0-20.2-10.3-20.2-22.9s8.9-22.9 20.2-22.9c11.4 0 20.5 10.4 20.2 22.9 0 12.6-8.9 22.9-20.2 22.9Zm66.8 0c-11.1 0-20.2-10.3-20.2-22.9s8.9-22.9 20.2-22.9c11.4 0 20.5 10.4 20.2 22.9 0 12.6-8.9 22.9-20.2 22.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 245 185' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M196.5 23.5A181.7 181.7 0 0 0 150.9 9l-2.2 4.3a168 168 0 0 1 40.3 15.3 135.7 135.7 0 0 0-120.5 0 168 168 0 0 1 40.3-15.3L106.6 9a181.7 181.7 0 0 0-45.6 14.5C32.2 66.3 24.4 108 28.3 149.1a183.4 183.4 0 0 0 56 28.5l6.8-22.3a116.7 116.7 0 0 1-18-8.7l4.3-3.3a130.5 130.5 0 0 0 90 0l4.3 3.3a116.7 116.7 0 0 1-18 8.7l6.8 22.3a183.4 183.4 0 0 0 56-28.5c4.6-47.7-7.8-89-20-125.6ZM89.6 123.7c-11.1 0-20.2-10.3-20.2-22.9s8.9-22.9 20.2-22.9c11.4 0 20.5 10.4 20.2 22.9 0 12.6-8.9 22.9-20.2 22.9Zm66.8 0c-11.1 0-20.2-10.3-20.2-22.9s8.9-22.9 20.2-22.9c11.4 0 20.5 10.4 20.2 22.9 0 12.6-8.9 22.9-20.2 22.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.server-link {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #040814;
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.24);
}

.server-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 216, 255, 0.35);
}

.youtube-link {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #140404;
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.24);
}

.youtube-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 216, 255, 0.35);
}

.tiktok-link {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #040e14;
  box-shadow: 0 8px 30px rgba(0, 216, 255, 0.25);
}

.tiktok-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 216, 255, 0.35);
}

.bot-link {
  background: linear-gradient(135deg, var(--secondary), #9f7aea);
  color: white;
  box-shadow: 0 8px 30px rgba(107, 92, 255, 0.25);
}

.bot-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(107, 92, 255, 0.35);
}

.primary-start-cta {
  min-width: min(100%, 320px);
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 16px 46px rgba(98, 255, 225, 0.28);
}

.secondary-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.secondary-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.secondary-links a:hover {
  color: var(--accent);
}

.social-icon-links {
  gap: 0.75rem;
}

.social-icon-links a {
  justify-content: center;
  width: 48px;
  min-height: 48px;
  color: #040814;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.social-icon-links a:first-child {
  background: #ff0033;
  color: #ffffff;
}

.social-icon-links a:last-child {
  background: linear-gradient(135deg, #25f4ee 0 30%, #ffffff 31% 55%, #fe2c55 56% 100%);
  color: #050505;
}

.social-icon-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-icon-links a:hover {
  color: currentColor;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 216, 255, 0.24);
}

.toast-viewport {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  display: grid;
  gap: 0.6rem;
  width: min(360px, calc(100vw - 2rem));
}

.toast {
  padding: 0.85rem 1rem;
  color: #dce7ff;
  background: rgba(4, 8, 20, 0.96);
  border: 1px solid rgba(98, 255, 225, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  font-size: 0.9rem;
  font-weight: 800;
  animation: toastIn 0.22s ease-out;
}

.toast-success {
  border-color: rgba(87, 214, 141, 0.34);
}

.toast-error {
  border-color: rgba(255, 86, 117, 0.36);
  color: #ffdce3;
}

.toast.is-hiding {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

main section {
  animation: fadeInUp 0.6s ease-out forwards;
}

main section:nth-child(1) { animation-delay: 0.1s; }
main section:nth-child(2) { animation-delay: 0.2s; }
main section:nth-child(3) { animation-delay: 0.3s; }
main section:nth-child(4) { animation-delay: 0.4s; }
main section:nth-child(5) { animation-delay: 0.5s; }
main section:nth-child(6) { animation-delay: 0.6s; }
main section:nth-child(7) { animation-delay: 0.7s; }
main section:nth-child(8) { animation-delay: 0.8s; }
main section:nth-child(9) { animation-delay: 0.9s; }
main section:nth-child(10) { animation-delay: 1s; }
main section:nth-child(11) { animation-delay: 1.1s; }

/* Sticky Navigation */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(4, 8, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
  animation: slideDown 0.4s ease-out;
  border-bottom: 1px solid rgba(0, 216, 255, 0.1);
}

.nav-container {
  width: min(1120px, 90%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Poppins', Arial, sans-serif;
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand span {
  overflow-wrap: normal;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(98, 255, 225, 0.22);
  font-size: 1rem;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nav-menu a,
.nav-dropdown > button {
  display: inline-block;
  padding: 0.6rem 1rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
}

.nav-menu a:hover,
.nav-dropdown:hover > button,
.nav-dropdown > button:focus-visible {
  color: var(--primary);
  background: rgba(0, 216, 255, 0.1);
}

.nav-menu a.is-active,
.nav-dropdown > button.is-active {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 8px 24px rgba(0, 216, 255, 0.22);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  min-width: 170px;
  padding: 0.45rem;
  background: rgba(4, 8, 20, 0.98);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-menu {
  position: relative;
  min-width: 0;
}

.discord-login-button.is-logged-in {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  min-width: 180px;
  padding: 0.45rem;
  background: rgba(4, 8, 20, 0.98);
  border: 1px solid rgba(98, 255, 225, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  z-index: 1100;
}

.user-menu-dropdown[hidden] {
  display: none;
}

.user-menu-dropdown a,
.user-menu-dropdown button {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover,
.user-menu-dropdown a:focus-visible,
.user-menu-dropdown button:focus-visible {
  color: var(--accent);
  background: rgba(98, 255, 225, 0.1);
  transform: none;
}

.discord-login-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  max-width: 210px;
  padding: 0.55rem 0.9rem;
  overflow: hidden;
  color: #ffffff;
  background: #5865f2;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.discord-login-button:hover {
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.34);
}

.discord-login-button.is-logged-in {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.discord-login-button.has-avatar::before {
  width: 22px;
  height: 22px;
  background: var(--discord-avatar) center / cover no-repeat;
  border: 2px solid rgba(4, 8, 20, 0.22);
  border-radius: 999px;
  mask: none;
  -webkit-mask: none;
}

.plan-button.is-saving {
  cursor: wait;
  opacity: 0.82;
}

.plan-button.is-saved {
  color: #040814;
  background: linear-gradient(135deg, #57d68d, var(--accent));
  box-shadow: 0 12px 34px rgba(87, 214, 141, 0.28);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 0.3rem;
  }

  .nav-menu a {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(4, 8, 20, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(0, 216, 255, 0.1);
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-menu a {
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 216, 255, 0.05);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > button {
    width: 100%;
    min-height: 44px;
    border-radius: 0;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0;
    background: rgba(98, 255, 225, 0.04);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .nav-container {
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .nav-actions {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .bot-status {
    display: none;
  }

  .discord-login-button {
    min-height: 34px;
    max-width: 150px;
    padding: 0.48rem 0.7rem;
    font-size: 0.72rem;
    text-align: center;
  }
}

.bot-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(98, 255, 225, 0.15);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.bot-status::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  background: #52ff91;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(82, 255, 145, 0.65);
}

.bot-status.is-offline::before {
  background: #ffc857;
  box-shadow: 0 0 12px rgba(255, 200, 87, 0.55);
}

body {
  padding-top: 70px;
}

/* Stats Section */
.stats-section {
  margin-top: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(98, 255, 225, 0.08);
  border: 1px solid rgba(98, 255, 225, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(98, 255, 225, 0.4);
  box-shadow: 0 0 30px rgba(98, 255, 225, 0.1);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

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

.feature-card {
  min-height: 100%;
  padding: 1.25rem;
  background: rgba(98, 255, 225, 0.06);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 8px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.z-feature-stack {
  display: grid;
  gap: 1.25rem;
}

.z-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: rgba(98, 255, 225, 0.05);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.z-feature.is-reversed {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.z-feature.is-reversed .z-feature-copy {
  order: 2;
}

.z-feature-copy h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.35rem;
}

.z-feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.feature-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: -0.55rem;
}

.feature-stepper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.feature-stepper .is-active {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-color: transparent;
}

.bot-visual {
  min-height: 230px;
  padding: 1rem;
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.visual-window-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.visual-window-bar span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.leaderboard-line,
.shop-line,
.battle-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  margin-top: 0.65rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.leaderboard-line strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #040814;
  background: var(--accent);
  border-radius: 8px;
}

.leaderboard-line em,
.shop-line strong,
.battle-row strong {
  color: var(--accent);
  font-style: normal;
}

.leaderboard-line.is-first {
  border-color: rgba(255, 200, 87, 0.32);
}

.shop-line {
  grid-template-columns: 1fr auto;
}

.battle-row {
  grid-template-columns: 1fr auto;
}

.battle-meter {
  height: 12px;
  margin: 1rem 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.battle-meter span {
  display: block;
  width: 82%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.battle-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.battle-stats span {
  padding: 0.7rem;
  color: #dce7ff;
  background: rgba(88, 101, 242, 0.16);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

/* Commands Section */
.commands-section {
  margin-top: 4rem;
}

.commands-section > h2 {
  display: none;
}

.command-search {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.command-search::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 1rem;
  width: 18px;
  height: 18px;
  background: var(--muted);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m21 19.6-5.2-5.2a7.4 7.4 0 1 0-1.4 1.4l5.2 5.2 1.4-1.4ZM4 10a6 6 0 1 1 12 0 6 6 0 0 1-12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m21 19.6-5.2-5.2a7.4 7.4 0 1 0-1.4 1.4l5.2 5.2 1.4-1.4ZM4 10a6 6 0 1 1 12 0 6 6 0 0 1-12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.command-search input {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  color: var(--text);
  background: rgba(4, 8, 20, 0.62);
  border: 1px solid rgba(98, 255, 225, 0.2);
  border-radius: 8px;
  font: inherit;
}

.command-search input:focus {
  outline: 2px solid rgba(98, 255, 225, 0.35);
  outline-offset: 2px;
}

.command-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.command-filter {
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}

.command-filter.is-active {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.command-list {
  grid-template-columns: 1fr;
}

.command-card {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
  min-height: 88px;
  background: rgba(107, 92, 255, 0.08);
  border: 1px solid rgba(107, 92, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
  transition: all 0.3s ease;
}

.command-card:hover {
  border-color: rgba(107, 92, 255, 0.5);
  box-shadow: 0 0 30px rgba(107, 92, 255, 0.15);
  transform: translateY(-5px);
}

.command-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #040814;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 0;
}

.command-icon {
  font-size: 0;
}

.command-icon::before {
  content: '';
  width: 28px;
  height: 28px;
  background: #040814;
  mask: var(--command-icon) center / contain no-repeat;
  -webkit-mask: var(--command-icon) center / contain no-repeat;
}

.command-card:nth-child(1) .command-icon {
  --command-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 18h16M6 15l4-4 3 3 5-7M15 7h3v3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.command-card:nth-child(2) .command-icon {
  --command-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4h8v3a4 4 0 0 1-8 0V4ZM6 5H4v2a3 3 0 0 0 4 2M18 5h2v2a3 3 0 0 1-4 2M12 11v5M9 20h6M10 16h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.command-card:nth-child(3) .command-icon {
  --command-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 18 18 6M14 6h4v4M18 18 6 6M6 6h4v4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.command-card:nth-child(4) .command-icon {
  --command-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM17 12a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM3 20a6 6 0 0 1 12 0M14 16a5 5 0 0 1 7 4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.command-card:nth-child(5) .command-icon {
  --command-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7h14l-1 12H6L5 7ZM8 7a4 4 0 0 1 8 0M9 12h6M9 16h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.command-card:nth-child(n+6) .command-icon {
  font-size: 0.78rem;
}

.command-card:nth-child(n+6) .command-icon::before {
  display: none;
}

.command-result-card .command-icon {
  font-size: 0.78rem;
}

.command-result-card .command-icon::before {
  display: none;
}

.command-card h3 {
  flex: 0 0 180px;
  color: var(--accent);
  margin: 0;
  font-size: 1.05rem;
}

.command-card h3 span {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
  color: var(--muted);
  font-size: 0.95rem;
}

.command-card h3 .command-subcommands {
  margin-top: 0.18rem;
  color: #b7c8e4;
}

.command-args {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.38rem;
}

.command-arg {
  display: inline-flex !important;
  width: fit-content;
  padding: 0.15rem 0.38rem;
  border-radius: 6px;
  font-size: 0.78rem !important;
  font-weight: 900;
  line-height: 1.25 !important;
}

.command-arg-required {
  color: #040814 !important;
  background: var(--accent);
}

.command-arg-optional {
  color: #dce7ff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.command-card p {
  flex: 1;
  color: var(--muted);
  margin: 0;
}

.command-meta {
  display: inline-flex;
  flex: 0 0 auto;
  width: fit-content;
  margin-top: 0;
  padding: 0.3rem 0.55rem;
  color: #dce7ff;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.command-empty {
  margin: 1rem 0 0;
  color: var(--muted);
}

/* Leaderboard */
.leaderboard-preview {
  margin-top: 4rem;
}

.public-leaderboard-page {
  width: min(1120px, 90%);
  margin: 0 auto;
  padding: 5.25rem 0 3rem;
}

.public-leaderboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding: 2rem;
  background: rgba(10, 18, 38, 0.72);
  border: 1px solid rgba(66, 93, 184, 0.24);
  border-radius: 8px;
}

.public-leaderboard-hero h1 {
  margin: 0.35rem 0 0.8rem;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
}

.public-leaderboard-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.public-leaderboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 0.75rem;
}

.public-leaderboard-stats div {
  padding: 1rem;
  background: rgba(4, 8, 20, 0.62);
  border: 1px solid rgba(98, 255, 225, 0.18);
  border-radius: 8px;
}

.public-leaderboard-stats strong {
  display: block;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1.2;
}

.public-leaderboard-stats span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.public-leaderboard-panel {
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
  background: rgba(10, 18, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.public-leaderboard-page > section {
  box-shadow: none;
  transform: none;
}

.public-leaderboard-page > section:hover {
  box-shadow: none;
  transform: none;
}

.public-leaderboard-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.public-leaderboard-toolbar h2 {
  margin: 0;
  font-size: 1rem;
}

.public-leaderboard-toolbar span {
  color: var(--muted);
  font-size: 0.85rem;
}

.public-leaderboard-controls {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.public-leaderboard-controls label {
  display: grid;
  gap: 0.45rem;
  color: #dce7ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.public-leaderboard-controls input {
  min-height: 44px;
  width: min(100%, 420px);
  padding: 0.75rem 0.85rem;
  color: var(--text);
  background: rgba(4, 8, 20, 0.86);
  border: 1px solid rgba(0, 216, 255, 0.2);
  border-radius: 8px;
  font: inherit;
}

.public-leaderboard-controls input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 255, 225, 0.12);
}

.public-leaderboard-list {
  display: grid;
}

.public-leaderboard-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(120px, auto);
  gap: 1rem;
  align-items: center;
  min-height: 64px;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.public-leaderboard-row:last-child {
  border-bottom: 0;
}

.public-leaderboard-row strong {
  color: var(--accent);
  font-size: 1rem;
}

.public-leaderboard-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.public-leaderboard-row em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.public-leaderboard-empty {
  padding: 1.5rem;
  color: var(--muted);
}

.public-leaderboard-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.public-leaderboard-pagination button {
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.public-leaderboard-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.public-leaderboard-pagination span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

@media (max-width: 720px) {
  .public-leaderboard-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .public-leaderboard-stats {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .public-leaderboard-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .public-leaderboard-row em {
    grid-column: 2;
    text-align: left;
  }

  .public-leaderboard-pagination {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .public-leaderboard-pagination button {
    flex: 1 1 110px;
  }
}

.web-leaderboard-section {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(98, 255, 225, 0.08), rgba(88, 101, 242, 0.08));
}

.web-leaderboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
}

.leaderboard-browser {
  padding: 1rem;
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.leaderboard-url {
  padding: 0.7rem 0.85rem;
  color: var(--accent);
  background: rgba(4, 8, 20, 0.64);
  border: 1px solid rgba(98, 255, 225, 0.16);
  border-radius: 8px;
  font-weight: 900;
}

.leaderboard-table {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.leaderboard-table div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 52px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.leaderboard-table strong,
.leaderboard-table em {
  color: var(--accent);
  font-style: normal;
}

.leaderboard-copy h3 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.35rem;
}

.leaderboard-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.leaderboard {
  margin-top: 2rem;
}

.leaderboard-item {
  display: grid;
  grid-template-columns: 60px 1fr 200px;
  align-items: center;
  padding: 1.5rem;
  background: rgba(0, 216, 255, 0.05);
  border: 1px solid rgba(0, 216, 255, 0.1);
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.leaderboard-item:hover {
  background: rgba(0, 216, 255, 0.1);
  border-color: rgba(0, 216, 255, 0.3);
  transform: translateX(10px);
}

.rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.player-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.aura-count {
  text-align: right;
  color: var(--accent);
  font-weight: 600;
}

/* Testimonials */
.testimonials-section {
  margin-top: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: rgba(10, 18, 38, 0.92);
  border: 1px solid rgba(98, 255, 225, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(98, 255, 225, 0.4);
  box-shadow: 0 0 30px rgba(98, 255, 225, 0.1);
  transform: translateY(-5px);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin: 0 0 1rem;
}

.testimonial-author {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Guide Section */
.guide-section {
  margin-top: 4rem;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.guide-step {
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #040814;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 50px;
  margin-bottom: 1rem;
}

.guide-step h3 {
  color: var(--accent);
  margin: 1rem 0;
}

.guide-step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.guide-step-cta {
  width: 100%;
  margin-top: 1rem;
}

.discord-preview {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #313338;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.discord-preview-header {
  margin-bottom: 0.8rem;
  color: #b5bac1;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.discord-message {
  padding-left: 0.9rem;
  border-left: 4px solid #5865f2;
}

.start-command-embed {
  display: grid;
  gap: 0.7rem;
  max-width: 640px;
  padding: 1rem 1rem 0.7rem;
  color: #f2f3f5;
  background: #111214;
  border-left-color: #f0c75e;
  border-radius: 0 4px 4px 0;
}

.discord-message strong {
  color: #ffffff;
}

.discord-message p {
  margin: 0.25rem 0 0;
  color: #dbdee1;
  font-size: 0.95rem;
}

.start-command-embed strong {
  font-size: 1rem;
  font-weight: 600;
}

.start-embed-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e8eaee;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.1;
}

.start-embed-line span {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
}

.start-embed-line span::before,
.start-embed-line span::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: #f4efbc;
  border-radius: 2px;
}

.start-embed-line span::before {
  left: 1px;
  top: 1px;
}

.start-embed-line span::after {
  right: 1px;
  bottom: 1px;
}

.start-embed-divider {
  color: #e8eaee;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

/* Pricing */
.pricing-section {
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(0, 216, 255, 0.08), rgba(107, 92, 255, 0.1));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0 0 1.5rem 0;
}

.eyebrow {
  color: var(--accent) !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  margin-bottom: 0.75rem !important;
  text-transform: uppercase;
}

.pricing-login-note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.75rem 1rem;
  color: #dce7ff !important;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.28);
  border-radius: 8px;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.premium-summary-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.premium-summary-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  color: var(--muted);
  background: rgba(4, 8, 20, 0.42);
  border: 1px solid rgba(98, 255, 225, 0.13);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.premium-summary-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(98, 255, 225, 0.12);
  border-radius: 8px;
}

.premium-summary-list strong {
  color: var(--text);
}

.pricing-compliance-note {
  color: var(--muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-top: -0.4rem !important;
}

.pricing-toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 0 1.5rem;
  background: rgba(4, 8, 20, 0.64);
  border: 1px solid rgba(98, 255, 225, 0.18);
  border-radius: 8px;
}

.store-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 0 1.25rem;
  background: rgba(4, 8, 20, 0.74);
  border: 1px solid rgba(98, 255, 225, 0.18);
  border-radius: 8px;
}

.store-tab {
  min-height: 44px;
  padding: 0.7rem 1rem;
  color: var(--text);
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.store-tab.is-active {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.pricing-toggle-button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  color: var(--text);
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.pricing-toggle-button span {
  color: var(--accent);
  font-weight: 900;
}

.pricing-toggle-button.is-active {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.pricing-toggle-button.is-active span {
  color: #040814;
}

.pricing-trust-strip {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}

.pricing-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  color: #dce7ff;
  background: rgba(98, 255, 225, 0.08);
  border: 1px solid rgba(98, 255, 225, 0.18);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-grid-compact {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  background: rgba(10, 18, 38, 0.94);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 0.8rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(98, 255, 225, 0.38);
  box-shadow: 0 26px 70px rgba(0, 216, 255, 0.13);
}

.featured-plan {
  border-color: rgba(98, 255, 225, 0.48);
  box-shadow: 0 24px 80px rgba(98, 255, 225, 0.12);
}

.pricing-card.featured-plan {
  z-index: 1;
  transform: none;
  background: linear-gradient(180deg, rgba(20, 41, 68, 0.98), rgba(10, 18, 38, 0.96));
}

.pricing-card.featured-plan:hover {
  transform: translateY(-5px);
}

.premium-toggle-card {
  border-color: rgba(98, 255, 225, 0.65);
  box-shadow: 0 30px 90px rgba(98, 255, 225, 0.16);
}

.lifetime-card {
  background: rgba(10, 18, 38, 0.82);
}

.plan-badge {
  align-self: flex-start;
  padding: 0.35rem 0.7rem;
  margin-bottom: 1rem;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-header {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-header h3 {
  color: var(--text);
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.4rem;
  margin: 0;
}

.plan-type {
  width: fit-content;
  margin: 0;
  padding: 0.3rem 0.55rem;
  color: var(--accent);
  background: rgba(98, 255, 225, 0.08);
  border: 1px solid rgba(98, 255, 225, 0.2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
}

.plan-price span {
  color: var(--accent);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.plan-price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding-bottom: 0.2rem;
}

.plan-anchor {
  min-height: 2.6rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.plan-roi {
  width: fit-content;
  margin: -0.35rem 0 0;
  padding: 0.35rem 0.6rem;
  color: #ffd978;
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.24);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.3;
}

.plan-benefits {
  flex: 1;
  margin: 1.25rem 0;
}

.plan-benefits-compact {
  display: grid;
  gap: 0.35rem;
}

.plan-benefits li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #dce7ff;
  font-size: 0.96rem;
  line-height: 1.45;
  padding: 0.55rem 0 0.55rem 1.6rem;
}

.plan-benefits li::before {
  content: '+';
  color: var(--accent);
  font-weight: 800;
}

.plan-delivery {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0.85rem 1rem;
  color: #040814;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 216, 255, 0.22);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.plan-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 216, 255, 0.35);
}

.secondary-plan-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(98, 255, 225, 0.35);
  box-shadow: none;
}

.payment-methods {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.payment-methods span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  color: #dce7ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 900;
}

.pricing-faq {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(10, 18, 38, 0.72);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.pricing-faq h3 {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-size: 1.15rem;
}

.pricing-faq-items {
  display: grid;
  gap: 0.6rem;
}

.pricing-faq details {
  background: rgba(4, 8, 20, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.pricing-faq summary {
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.pricing-faq summary::-webkit-details-marker {
  display: none;
}

.pricing-faq p {
  margin: 0;
  padding: 0 0.9rem 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.microshop-section {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(98, 255, 225, 0.08), rgba(255, 200, 87, 0.08));
}

.microshop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.microshop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  background: rgba(10, 18, 38, 0.94);
  border: 1px solid rgba(255, 200, 87, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.microshop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 200, 87, 0.42);
  box-shadow: 0 26px 70px rgba(255, 200, 87, 0.12);
}

.microshop-art {
  display: block;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  overflow: hidden;
  background: rgba(4, 8, 20, 0.58);
  border: 1px solid rgba(255, 200, 87, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(255, 200, 87, 0.18);
}

.microshop-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.microshop-header {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.microshop-header h3 {
  color: var(--text);
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0;
}

.microshop-price {
  color: var(--accent);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
}

.microshop-benefits {
  margin: 1rem 0;
}

.microshop-benefits li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0;
}

.microshop-benefits li::before {
  content: none;
}

.drop-icon {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #040814;
  font-size: 0.78rem;
  font-weight: 900;
}

.rarity-text {
  font-weight: 800;
}

.rarity-common {
  background: #d6deea;
}

.rarity-rare {
  background: #45b7ff;
  box-shadow: 0 0 18px rgba(69, 183, 255, 0.24);
}

.rarity-epic {
  background: #b875ff;
  box-shadow: 0 0 18px rgba(184, 117, 255, 0.26);
}

.rarity-legendary {
  background: #ffc857;
  box-shadow: 0 0 22px rgba(255, 200, 87, 0.3);
}

.rarity-aura {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(98, 255, 225, 0.24);
}

.rarity-common-text {
  color: #d6deea;
}

.rarity-rare-text {
  color: #70c8ff;
}

.rarity-epic-text {
  color: #c99cff;
}

.rarity-legendary-text {
  color: #ffd978;
}

.rarity-aura-text {
  color: var(--accent);
}

.role-dashboard-section {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.08), rgba(98, 255, 225, 0.08));
}

.dashboard-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.dashboard-breadcrumbs a,
.dashboard-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}

.dashboard-breadcrumbs a {
  color: var(--accent);
}

.dashboard-breadcrumbs span::before {
  content: '>';
  margin-right: 0.45rem;
  color: rgba(220, 231, 255, 0.45);
}

.dashboard-breadcrumbs [aria-current="page"] {
  color: var(--text);
}

.dashboard-shell {
  display: grid;
  gap: 1.25rem;
}

.server-selection-panel,
.dashboard-overview-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  background: rgba(10, 18, 38, 0.72);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.server-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.15rem 0.75rem;
  min-height: 78px;
  padding: 0.8rem;
  color: var(--text);
  background: rgba(4, 8, 20, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: none;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.server-card img,
.server-card > span {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.server-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  font-weight: 900;
}

.server-card strong,
.server-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.server-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 255, 225, 0.12);
}

.dashboard-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.dashboard-overview-grid article {
  padding: 1rem;
  background: rgba(4, 8, 20, 0.62);
  border: 1px solid rgba(98, 255, 225, 0.16);
  border-radius: 8px;
}

.dashboard-overview-grid strong {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.2;
}

.dashboard-overview-grid span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-login-button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-login-button.is-logged-in {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.dashboard-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.dashboard-status.is-error {
  color: #ff9bb0;
}

.dashboard-validation-banner {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.dashboard-validation-banner.is-ok {
  color: #b8fff0;
  background: rgba(98, 255, 225, 0.1);
  border: 1px solid rgba(98, 255, 225, 0.24);
}

.dashboard-validation-banner.is-warning {
  color: #ffdce3;
  background: rgba(255, 86, 117, 0.12);
  border: 1px solid rgba(255, 86, 117, 0.28);
}

.role-listing-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(10, 18, 38, 0.72);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.role-listing-form label {
  display: grid;
  gap: 0.45rem;
  color: #dce7ff;
  font-size: 0.9rem;
  font-weight: 800;
}

.server-select-field {
  display: none !important;
}

.role-listing-form input,
.role-listing-form textarea,
.role-listing-form select {
  min-height: 44px;
  width: 100%;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  background: rgba(4, 8, 20, 0.86);
  border: 1px solid rgba(0, 216, 255, 0.2);
  border-radius: 8px;
  font: inherit;
}

.role-listing-form textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.role-listing-form input:focus,
.role-listing-form textarea:focus,
.role-listing-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 255, 225, 0.12);
}

.dashboard-checkbox {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.dashboard-checkbox input {
  width: 20px;
  min-height: 20px;
}

.toggle-field {
  grid-template-columns: auto 1fr !important;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.toggle-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #dce7ff;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.toggle-field input:checked + .toggle-track {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-color: transparent;
}

.toggle-field input:checked + .toggle-track::after {
  transform: translateX(20px);
  background: #040814;
}

.role-listing-list {
  display: grid;
  gap: 0.75rem;
}

.role-inventory-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  background: rgba(10, 18, 38, 0.72);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.role-inventory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.role-inventory-heading h3 {
  margin: 0.15rem 0 0;
  color: var(--text);
  font-size: 1.05rem;
}

.role-inventory-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.role-listing-table {
  display: grid;
  overflow: hidden;
  background: rgba(10, 18, 38, 0.62);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.role-listing-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) minmax(110px, 0.7fr) minmax(100px, 0.55fr) minmax(86px, 0.45fr) minmax(260px, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.role-listing-head {
  min-height: 46px;
  padding-block: 0.7rem;
  color: var(--muted);
  background: rgba(4, 8, 20, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-listing-item {
  background: transparent;
  border-top: 1px solid rgba(98, 255, 225, 0.1);
}

.role-listing-item strong,
.role-listing-item span,
.role-listing-item small,
.role-listing-item code {
  display: block;
}

.role-listing-item strong {
  color: var(--accent);
}

.role-listing-item > span {
  color: #dce7ff;
  font-weight: 800;
}

.role-listing-item small,
.role-listing-item code,
.dashboard-empty {
  color: var(--muted);
}

.dashboard-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 2rem 1rem;
  color: var(--muted);
  background: rgba(10, 18, 38, 0.62);
  border: 1px dashed rgba(98, 255, 225, 0.22);
  border-radius: 8px;
  text-align: center;
}

.role-table-empty {
  border: 0;
  border-top: 1px solid rgba(98, 255, 225, 0.1);
  border-radius: 0;
}

.empty-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 8px;
  font-weight: 900;
}

.dashboard-empty-state h3 {
  margin: 0;
  color: var(--text);
}

.dashboard-empty-state p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.role-listing-item code {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  word-break: break-all;
}

.role-listing-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.role-listing-actions button {
  min-width: 74px;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.role-listing-actions button[data-listing-action="delete"] {
  color: #ffdce3;
  background: rgba(255, 86, 117, 0.14);
  border: 1px solid rgba(255, 86, 117, 0.28);
  box-shadow: none;
}

.listing-status {
  display: inline-flex !important;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.listing-status.is-enabled {
  color: #040814;
  background: var(--accent);
}

.listing-status.is-disabled {
  color: #dce7ff;
  background: rgba(255, 255, 255, 0.12);
}

/* Roadmap */
.roadmap-section {
  margin-top: 4rem;
}

.roadmap-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.5rem;
}

.submit-idea-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.roadmap-items {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.compact-roadmap {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.roadmap-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 0.65rem 0.8rem;
  min-height: 112px;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.roadmap-item.completed {
  background: rgba(98, 255, 225, 0.08);
  border-color: var(--accent);
}

.roadmap-item.in-progress {
  background: rgba(0, 216, 255, 0.08);
  border-color: var(--primary);
}

.roadmap-item.upcoming {
  background: rgba(107, 92, 255, 0.08);
  border-color: var(--secondary);
}

.roadmap-item:hover {
  transform: translateX(10px);
  box-shadow: 0 0 20px rgba(98, 255, 225, 0.1);
}

.roadmap-status {
  display: inline-block;
  grid-column: 1;
  grid-row: 1;
  flex: 0 0 auto;
  width: fit-content;
  padding: 0.3rem 0.55rem;
  background: rgba(98, 255, 225, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.roadmap-item h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  margin: 0;
  align-self: end;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.roadmap-vote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
  gap: 0.35rem;
  min-width: 58px;
  min-height: 34px;
  padding: 0.45rem 0.62rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(98, 255, 225, 0.18);
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  justify-self: end;
  white-space: nowrap;
}

.roadmap-vote-icon {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.roadmap-vote-count {
  min-width: 1ch;
  font-weight: 900;
  line-height: 1;
}

.roadmap-vote.has-voted {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.roadmap-vote.has-voted .roadmap-vote-icon {
  color: #040814;
}

/* FAQ Section */
.faq-section {
  margin-top: 4rem;
}

.faq-items {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.faq-item {
  background: rgba(10, 18, 38, 0.92);
  border: 1px solid rgba(98, 255, 225, 0.1);
  border-radius: 8px;
  padding: 0;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(98, 255, 225, 0.3);
  box-shadow: 0 0 20px rgba(98, 255, 225, 0.08);
}

.faq-item summary {
  min-height: 48px;
  padding: 0.85rem 1rem;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Legal Policies */
.legal-section {
  scroll-margin-top: 6rem;
}

.legal-intro {
  max-width: 820px;
  color: var(--muted);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.policy-card {
  background: rgba(10, 18, 38, 0.92);
  border: 1px solid rgba(98, 255, 225, 0.12);
  border-radius: 0.8rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  scroll-margin-top: 6rem;
}

.policy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  color: #040814 !important;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.policy-card h3 {
  color: var(--accent);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin: 0 0 1rem;
}

.policy-card h4 {
  color: var(--text);
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.policy-card p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0.75rem 0 0;
}

.policy-card ul {
  margin: 0.75rem 0 0;
}

.policy-card li {
  border-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  padding-bottom: 0.35rem;
  padding-top: 0.35rem;
}

.support-section {
  margin-top: 4rem;
}

.support-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: rgba(98, 255, 225, 0.06);
  border: 1px solid rgba(98, 255, 225, 0.12);
  border-radius: 8px;
}

.support-compact p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  width: min(1080px, 100% - 2rem);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.legal-document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  background: rgba(10, 18, 38, 0.86);
  border: 1px solid rgba(98, 255, 225, 0.14);
  border-radius: 8px;
}

.legal-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.legal-sidebar a:hover,
.legal-sidebar a.is-active {
  color: #040814;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.legal-document {
  min-width: 0;
}

.legal-page h1 {
  margin: 0 0 0.35rem;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.2rem;
}

.legal-page h1,
.legal-page h2 {
  color: var(--text);
}

.legal-page h2 {
  margin: 1.5rem 0 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(98, 255, 225, 0.12);
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: #dce7ff;
  line-height: 1.58;
}

.legal-page p {
  margin: 0.6rem 0;
}

.legal-page ul {
  margin: 0.5rem 0 1rem;
}

.legal-page li {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.legal-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(98, 255, 225, 0.12);
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  background: rgba(98, 255, 225, 0.08);
  border: 1px solid rgba(98, 255, 225, 0.16);
  border-radius: 8px;
  text-decoration: none;
}

.legal-page a,
.support-section a,
.pricing-compliance-note a,
.legal-intro a,
.policy-card a {
  color: var(--accent);
}

/* Newsletter Section */
.newsletter-section {
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(0, 216, 255, 0.08), rgba(98, 255, 225, 0.08));
  border: 1px solid rgba(0, 216, 255, 0.15);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
}

.newsletter-section p {
  color: var(--muted);
  margin: 1rem 0 2rem;
  font-size: 1.05rem;
}

.newsletter-form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(4, 8, 20, 0.96);
  border: 1px solid rgba(98, 255, 225, 0.42);
  border-radius: 50px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(98, 255, 225, 0.18);
}

.newsletter-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  text-align: left;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.newsletter-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--accent);
}

.newsletter-form button {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #040814;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 216, 255, 0.25);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 216, 255, 0.35);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-section h4 {
  color: var(--accent);
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-credit {
  text-align: center;
  color: var(--muted);
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(98, 255, 225, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
    line-height: 1.5;
  }

  .sticky-nav {
    padding: 0.65rem 0;
  }

  .nav-brand {
    font-size: 1.35rem;
  }

  .nav-toggle {
    min-width: 38px;
    min-height: 38px;
    border-radius: 8px;
    box-shadow: none;
    text-transform: none;
  }

  .container,
  .nav-container {
    width: min(100% - 1.5rem, 1120px);
  }

  .nav-container {
    min-width: 0;
  }

  .bot-status {
    display: none;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
  }

  .container {
    padding: 0.7rem 0;
  }

  .site-header {
    padding: 1.65rem 0 1.35rem;
  }

  .site-header h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.4rem, 16vw, 3.6rem);
    letter-spacing: 0;
  }

  .site-header p {
    max-width: 31rem;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .hero-discord-mockup {
    grid-template-columns: 48px 1fr;
    min-height: 230px;
    margin-top: 1rem;
  }

  .mockup-channel,
  .mockup-message,
  .discord-message-body,
  .discord-embed,
  .start-command-embed,
  .discord-preview {
    min-width: 0;
    max-width: 100%;
  }

  .discord-message-meta {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }

  .spin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wheel-lane {
    grid-template-columns: 60px repeat(4, 1fr) 60px;
    min-height: 84px;
    padding: 0 0.55rem;
  }

  .wheel-prize.large {
    width: 44px;
    height: 44px;
  }

  .wheel-prize.white {
    width: 34px;
    height: 34px;
  }

  .mockup-sidebar span {
    width: 30px;
    height: 30px;
  }

  main section {
    padding: 1rem 0.85rem;
    margin-bottom: 0.7rem;
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  }

  main section:hover,
  .command-card:hover,
  .pricing-card:hover,
  .microshop-card:hover,
  .roadmap-item:hover,
  .faq-item:hover,
  .social-links a:hover,
  button:hover,
  .link-button:hover,
  .plan-button:hover {
    transform: none;
  }

  main h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.35rem, 8vw, 1.8rem);
    letter-spacing: 0;
  }

  main p {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  main li {
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    padding-left: 0;
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .plan-benefits li {
    padding-left: 1.35rem;
  }

  .stats-grid,
  .feature-grid,
  .z-feature,
  .z-feature.is-reversed,
  .web-leaderboard-layout,
  .legal-document-layout,
  .commands-grid,
  .testimonials-grid,
  .guide-steps,
  .pricing-grid,
  .pricing-grid-compact,
  .microshop-grid {
    grid-template-columns: 1fr;
  }

  .z-feature.is-reversed .z-feature-copy {
    order: 0;
  }

  .bot-visual {
    min-height: 190px;
  }

  .battle-stats {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

  .commands-section,
  .guide-section,
  .pricing-section,
  .microshop-section,
  .role-dashboard-section,
  .roadmap-section,
  .faq-section,
  .newsletter-section,
  .support-section,
  .site-footer {
    margin-top: 0.65rem;
  }

  .commands-grid,
  .guide-steps,
  .pricing-grid,
  .microshop-grid,
  .role-listing-form,
  .faq-items,
  .roadmap-items,
  .policy-grid {
    gap: 0.55rem;
    margin-top: 0.7rem;
  }

  .feature-card,
  .command-card,
  .guide-step,
  .pricing-card,
  .microshop-card,
  .policy-card,
  .server-selection-panel,
  .dashboard-overview-panel,
  .role-inventory-panel,
  .role-listing-form,
  .leaderboard-browser,
  .discord-preview {
    min-width: 0;
  }

  .command-card,
  .feature-card,
  .faq-item,
  .pricing-card,
  .microshop-card,
  .role-listing-form,
  .policy-card {
    border-radius: 8px;
    padding: 0.85rem;
  }

  .role-listing-table {
    gap: 0;
    background: transparent;
    border: 0;
  }

  .role-listing-head {
    display: none;
  }

  .role-listing-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    background: rgba(10, 18, 38, 0.72);
    border: 1px solid rgba(98, 255, 225, 0.14);
    border-radius: 8px;
  }

  .role-listing-actions {
    justify-content: stretch;
  }

  .role-listing-actions button {
    flex: 1 1 96px;
  }

  .command-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .command-card h3 {
    flex-basis: calc(100% - 56px);
  }

  .command-card p,
  .command-meta {
    margin-left: 56px;
  }

  .hero-actions,
  .command-tabs,
  .store-tabs,
  .pricing-toggle,
  .pricing-trust-strip,
  .secondary-links {
    gap: 0.45rem;
  }

  .hero-actions .link-button,
  .command-filter,
  .store-tab,
  .pricing-toggle-button {
    width: 100%;
  }

  .pricing-toggle {
    display: grid;
    width: 100%;
  }

  .store-tabs {
    display: grid;
    width: 100%;
  }

  .pricing-trust-strip span,
  .secondary-links a {
    width: 100%;
    justify-content: center;
  }

  .support-compact {
    display: grid;
    text-align: left;
  }

  .legal-nav {
    display: grid;
  }

  .pricing-card.featured-plan {
    transform: none;
  }

  .command-icon {
    margin-bottom: 0.35rem;
    font-size: 0.86rem;
  }

  .command-card h3,
  .guide-step h3 {
    margin: 0.3rem 0;
  }

  .command-card p,
  .guide-step p,
  .faq-item p,
  .policy-card p,
  .policy-card li {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .guide-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.2rem 0.85rem;
    padding: 0.9rem 0;
    text-align: left;
  }

  .step-number {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    margin: 0.1rem 0 0;
    font-size: 1.15rem;
    line-height: 38px;
    text-align: center;
  }

  .section-heading {
    margin-bottom: 0.75rem;
  }

  .section-heading p {
    margin-bottom: 0.6rem;
  }

  .pricing-compliance-note {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }

  .pricing-login-note {
    display: block;
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem !important;
  }

  .plan-header {
    min-height: auto;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
  }

  .plan-price span {
    font-size: 2.15rem;
  }

  .plan-benefits {
    max-height: 170px;
    margin: 0.65rem 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding-right: 0.25rem;
  }

  .plan-benefits li {
    font-size: 0.9rem;
    line-height: 1.35;
    padding: 0.4rem 0 0.4rem 1.35rem;
  }

  .plan-delivery {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .plan-button,
  .link-button,
  .newsletter-form button,
  button {
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 0;
  }

  .dashboard-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .role-listing-actions button {
    width: 100%;
  }

  .roadmap-item {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 96px;
    gap: 0.55rem;
    padding: 0.85rem;
    border-radius: 8px;
  }

  .roadmap-item h3 {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .roadmap-vote {
    width: auto;
    grid-column: 2;
    grid-row: 1;
  }

  .roadmap-status {
    width: fit-content;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .policy-card {
    scroll-margin-top: 4.5rem;
  }

  .policy-link {
    min-height: 38px;
    margin-top: 0.7rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.86rem;
  }

  .newsletter-section {
    padding: 1rem 0.85rem;
    border-radius: 8px;
  }

  .newsletter-section p {
    margin: 0.5rem 0 1rem;
  }

  .link-buttons {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .link-button {
    width: 100%;
  }

  .leaderboard-item {
    grid-template-columns: 50px 1fr;
  }

  .leaderboard-table div {
    grid-template-columns: 1fr;
  }

  .leaderboard-url {
    display: block;
    overflow-wrap: anywhere;
  }

  .aura-count {
    grid-column: 2;
    text-align: left;
    margin-top: 0.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .newsletter-form input {
    min-width: 100%;
    min-height: 44px;
    border-radius: 8px;
    padding: 0.75rem 1rem;
  }

  .social-links {
    justify-content: center;
    gap: 0.75rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .footer-section p {
    max-width: none;
  }

  .site-footer {
    background: rgba(4, 8, 20, 0.96);
  }
}

@media (max-width: 420px) {
  .discord-login-button {
    max-width: 126px;
  }

  .site-header {
    padding-top: 1.35rem;
  }

  main section {
    padding-inline: 0.75rem;
  }

  .plan-benefits {
    max-height: 145px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .sticky-nav {
    padding: 0.5rem 0;
  }

  .nav-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.45rem;
  }

  .nav-brand {
    min-width: 0;
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-toggle {
    justify-self: center;
    min-width: 36px;
    min-height: 36px;
    padding: 0.45rem;
  }

  .nav-actions {
    min-width: 0;
    justify-self: end;
  }

  .discord-login-button {
    max-width: 168px;
    min-height: 36px;
    padding: 0.45rem 0.6rem;
    font-size: 0.72rem;
  }

  .discord-login-button::before {
    width: 17px;
    height: 14px;
  }

  .user-menu-dropdown {
    position: fixed;
    top: 58px;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .nav-menu {
    top: 52px;
  }

  .site-header {
    padding-top: 1.1rem;
  }

  .hero-discord-mockup {
    display: block;
    min-height: 0;
    margin-top: 1rem;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-channel-header {
    padding: 0.7rem 0.8rem;
    font-size: 0.84rem;
  }

  .mockup-message {
    margin: 0.75rem;
  }

  .discord-message {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.55rem;
    padding-left: 0;
    border-left: 0;
  }

  .discord-avatar {
    width: 34px;
    height: 34px;
  }

  .discord-embed {
    padding: 0.75rem;
  }

  .start-command-embed.discord-message {
    display: grid;
    padding-left: 0.75rem;
    border-left: 4px solid #f0c75e;
  }

  .spin-stats {
    grid-template-columns: 1fr;
  }

  .spin-wheel {
    display: none;
  }

  .premium-summary-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
  }

  .premium-summary-list strong {
    display: block;
  }

  .premium-summary-list li span {
    grid-row: span 2;
  }

  .z-feature,
  .z-feature.is-reversed {
    gap: 0.9rem;
    padding: 0.9rem;
  }

  .z-feature-copy h3 {
    font-size: 1.12rem;
  }

  .bot-visual {
    min-height: 0;
    padding: 0.8rem;
  }

  .leaderboard-line,
  .shop-line,
  .battle-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .leaderboard-line em,
  .shop-line strong,
  .battle-row strong {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .command-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.45rem 0.75rem;
    min-height: 0;
  }

  .command-card h3 {
    flex: none;
    min-width: 0;
    margin: 0;
    font-size: 0.98rem;
  }

  .command-card p,
  .command-meta {
    grid-column: 2;
    margin-left: 0;
  }

  .command-meta {
    justify-self: start;
  }

  .command-search input {
    font-size: 0.92rem;
  }

  .pricing-card {
    min-height: 0;
  }

  .plan-benefits {
    max-height: none;
    overflow: visible;
  }

  .plan-price span {
    font-size: 1.9rem;
  }

  .server-selection-panel,
  .dashboard-overview-panel,
  .role-inventory-panel,
  .role-listing-form {
    padding: 0.85rem;
  }

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

  .server-card {
    min-height: 68px;
  }

  .role-listing-row {
    padding: 0.85rem;
  }

  .role-listing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-content {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .nav-brand span:last-child {
    display: none;
  }

  .discord-login-button {
    max-width: 168px;
  }

  .site-header h1 {
    font-size: 2.25rem;
  }
}
