:root {
  /* New Modern Dark Theme */
  --ch-black: #141414;
  --eer-black: #1b1b1b;
  --night-rider: #2e2e2e;
  
  --bg-900: #0a0a0a;
  --bg-800: #141414;
  --bg-700: #1b1b1b;
  --panel: #161616;
  --panel-strong: #1f1f1f;
  --text-strong: #f5f5f7;
  --text: #d1d1d6;
  --muted: #86868b;
  --blue: #5bb4fa;
  --blue-rgb: 91, 180, 250;
  --blue-strong: #3f9ee8;
  --pink: #f08cda;
  --pink-rgb: 240, 140, 218;
  --pink-strong: #e071c4;
  --border: #2e2e2e;
  --gold: #ffd166;
  --gold-rgb: 255, 209, 102;
  --purple: #9b59b6;
  --purple-rgb: 155, 89, 182;
  --green: #10b981;
  --green-rgb: 16, 185, 129;
  --nav-height: 96px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 25px 80px rgba(0, 0, 0, 0.6);
  --shadow-halo: 0 0 40px rgba(91, 180, 250, 0.15), 0 0 80px rgba(240, 140, 218, 0.1);
  --shadow-glow: 0 0 20px rgba(91, 180, 250, 0.3), 0 0 40px rgba(240, 140, 218, 0.2);
  --gradient: linear-gradient(135deg, var(--blue), var(--pink));
  --gradient-subtle: linear-gradient(135deg, rgba(91, 180, 250, 0.1), rgba(240, 140, 218, 0.1));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Mukta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ch-black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Gradient Orbs */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(800px circle at 20% 10%, rgba(91, 180, 250, 0.05), transparent),
    radial-gradient(600px circle at 80% 20%, rgba(240, 140, 218, 0.04), transparent),
    radial-gradient(1000px circle at 50% 50%, rgba(91, 180, 250, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Ensure content is above background */
.site-header, main, footer, .container {
  position: relative;
  z-index: 1;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: "Archivo Black", "Mukta", "Inter", "Segoe UI", sans-serif;
}

h4,
h5,
h6 {
  font-family: "Rubik Mono One", "Mukta", "Inter", "Segoe UI", sans-serif;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

main {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(15, 17, 23, 0.55);
  border-bottom: none;
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.logo img {
  display: block;
  height: 90px;
  width: auto;
}

.logo-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient);
  font-weight: 800;
  color: #0f1117;
  box-shadow: var(--shadow-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-links a {
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.nav-links a,
.nav-dropdown button {
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown button {
  font-weight: 500;
}

.nav-dropdown button::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.25rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown button[aria-expanded="true"]::after,
.nav-dropdown.open > button::after {
  transform: translateY(1px) rotate(-135deg);
}

.nav-links a:hover {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.nav-links a.active {
  color: #ffffff;
  background: transparent;
  border-color: transparent;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown button[aria-expanded="true"],
.nav-dropdown.open > button {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.nav-dropdown.active > button {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
  position: relative;
}

.nav-dropdown.active > button::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient);
}

.nav-dropdown button:hover,
.nav-dropdown button:focus-visible {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.dropdown-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  margin-top: 0;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.62);
  padding: 0.8rem 1.25rem 0.75rem;
  z-index: 110;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.home .dropdown-menu {
  background: transparent;
}

.dropdown-menu a {
  position: relative;
  padding: 0.6rem 0.85rem 0.55rem;
  border-radius: 12px;
  color: var(--text);
  border: none;
  background: transparent;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.dropdown-menu a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient);
  opacity: 0;
  transform: scaleX(0.7);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease, height 0.2s ease;
}

.dropdown-menu a:hover {
  color: #ffffff;
  background: transparent;
  transform: translateY(-1px);
}

.dropdown-menu a:hover::after {
  opacity: 0.75;
  transform: scaleX(1);
}

.dropdown-menu a.active {
  color: #ffffff;
  background: transparent;
}

.dropdown-menu a.active::after {
  opacity: 1;
  transform: scaleX(1);
  height: 3px;
}

.nav-dropdown.open .dropdown-menu {
  display: flex;
}

body.mobile-nav-open {
  overflow: hidden;
}

.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 180, 250, 0.14), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(240, 140, 218, 0.12), transparent 60%),
    rgba(6, 9, 16, 0.72);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.site-header.mobile-open .mobile-nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

.site-header.mobile-open nav.md\:hidden {
  z-index: 130 !important;
}

.site-header .mobile-dropdown a.active,
.site-header nav > .container > a.active {
  color: #ffffff;
  background: rgba(91, 180, 250, 0.16);
  border: 1px solid rgba(91, 180, 250, 0.38);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  --nav-action-height: 46px;
}

.nav-actions .btn {
  padding: 0.65rem 1rem;
}

@media (max-width: 900px) {
  .nav-actions {
    --nav-action-height: 42px;
  }
}


.nav-social {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-social .nav-social-trigger {
  --nav-action-height: 42px;
  padding: 0;
  width: var(--nav-action-height, 40px);
  height: var(--nav-action-height, 40px);
  background: transparent;
  color: #ffffff;
  border: 2px solid transparent;
  border-image: var(--gradient) 1;
  border-radius: 0;
}

.nav-social-trigger svg {
  width: 20px;
  height: 20px;
}

.nav-social-trigger svg path {
  stroke-width: 2.5;
}

.nav-social-menu {
    position: absolute;
    top: 100%;
    left: 50%;
  display: grid;
  grid-auto-flow: row;
  gap: 0.65rem;
  padding: 0.5rem 0.4rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-social.open .nav-social-menu {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-social .nav-social-trigger svg path {
  stroke: url(#icon-gradient);
}

.nav-social.open .nav-social-trigger {
  background: var(--gradient);
  color: #0f1117;
  border: 2px solid transparent;
  border-image: var(--gradient) 1;
}

.nav-social.open .nav-social-trigger svg path {
  stroke: #0f1117;
}

.nav-social-menu .social-icon {
  width: 36px;
  height: 36px;
  --social-icon-bg: transparent;
  background: transparent;
  border-radius: 0;
  border: none;
  border-image: none;
  box-shadow: none;
  padding: 0;
  line-height: 0;
  overflow: visible;
}

.nav-social-menu .social-icon:first-child {
  margin-top: 0.4rem;
}

.nav-social-menu .social-icon::before {
  display: none;
}

.nav-social-menu .social-icon:hover {
  --social-icon-bg: transparent;
  background: transparent;
  box-shadow: none;
  border: none;
  border-color: transparent;
  transform: translateY(-2px);
}

.nav-social-menu .social-icon:hover::before {
  display: none;
}

.nav-social-menu .social-icon[aria-label]::after {
  display: none;
}
  .social-icon-text {
    font-weight: 800;
    font-size: 0.9rem;
    color: #f5f5f7;
  }

  .social-icon .social-letter {
  font-weight: 800;
  font-size: 0.9rem;
  color: #f5f5f7;
}

.social-icon {
  position: relative;
  width: var(--nav-action-height, 40px);
  height: var(--nav-action-height, 40px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  --social-icon-bg: rgba(16, 22, 36, 0.94);
  background: var(--social-icon-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  overflow: visible;
  color: #f5f5f7;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91, 180, 250, 0.7), rgba(240, 140, 218, 0.65));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.social-icon[aria-label]::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  padding: 0.35rem 0.6rem;
  background: rgba(10, 14, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.nav-social-menu .social-icon[aria-label]::after {
  display: none;
}

.social-icon[aria-label]:hover::after,
.social-icon[aria-label]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-social-menu .social-icon[aria-label]:hover::after,
.nav-social-menu .social-icon[aria-label]:focus-visible::after {
  display: none;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.nav-social-menu .social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icon svg path {
  fill: currentColor;
}

.social-icon svg .yt-play {
  fill: var(--social-icon-bg);
}

.social-icon[aria-label="YouTube"] {
  color: #ffffff;
}

.social-icon[aria-label="YouTube"]:hover {
  color: #ffffff;
}


.social-icon:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.social-icon:hover::before {
  opacity: 0.85;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: #ffffff;
  color: #0f1117;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn-primary {
  background: var(--gradient);
  color: #0f1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6bc1ff, #f5a4e4);
  color: #0f1117;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gradient);
  background: var(--pink);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.fancy {
  background-color: transparent;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #5bb4fa, #f08cda) 1;
  border-radius: 0;
  box-sizing: border-box;
  color: transparent;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  outline: none;
  overflow: visible;
  padding: 1.25em 2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: all 0.3s ease-in-out;
  user-select: none;
  font-size: 13px;
}

.tebex-btn.fancy {
  padding: 0.9em 1.6em;
  font-size: 12px;
  background: transparent;
  color: #ffffff;
  border: 2px solid transparent;
  border-image: var(--gradient) 1;
  border-radius: 0;
}

.tebex-btn.fancy::before {
  display: none;
}

.tebex-btn.fancy .top-key,
.tebex-btn.fancy .bottom-key-1,
.tebex-btn.fancy .bottom-key-2 {
  display: none;
}

.tebex-btn.fancy .text {
  font-size: 1em;
  padding-left: 0;
  text-align: center;
}

.tebex-btn.fancy:hover .text {
  padding-left: 0;
  color: #0f1117;
  -webkit-text-fill-color: #0f1117;
}

.tebex-btn.fancy:hover {
  background: var(--gradient);
  color: #0f1117;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.fancy.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid transparent;
  border-image: var(--gradient) 1;
  border-radius: 0;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.fancy.pill-btn::before {
  display: none;
}

.fancy.pill-btn .top-key,
.fancy.pill-btn .bottom-key-1,
.fancy.pill-btn .bottom-key-2 {
  display: none;
}

.fancy.pill-btn .text {
  padding-left: 0;
  text-align: center;
  font-size: 1em;
}

.fancy.pill-btn svg {
  width: 16px;
  height: 16px;
}

.fancy.pill-btn svg path {
  fill: currentColor;
}

.fancy.pill-btn svg line,
.fancy.pill-btn svg polyline {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.fancy.pill-btn:hover {
  background: var(--gradient);
  color: #0f1117;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.fancy.pill-btn:hover .text {
  color: #0f1117;
  -webkit-text-fill-color: #0f1117;
  padding-left: 0;
  background: transparent;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.fancy::before {
  content: " ";
  width: 1.5625rem;
  height: 2px;
  background: var(--gradient);
  top: 50%;
  left: 1.5em;
  position: absolute;
  transform: translateY(-50%);
  transform-origin: center;
  transition: background 0.3s linear, width 0.3s linear;
}

.fancy .text {
  font-size: 1.125em;
  line-height: 1.33333em;
  padding-left: 2em;
  display: block;
  text-align: left;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  text-decoration: none;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fancy .top-key {
  height: 2px;
  width: 1.5625rem;
  top: -2px;
  left: 0.625rem;
  position: absolute;
  background: var(--blue);
  transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
  height: 2px;
  width: 1.5625rem;
  right: 1.875rem;
  bottom: -2px;
  position: absolute;
  background: var(--pink);
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
  height: 2px;
  width: 0.625rem;
  right: 0.625rem;
  bottom: -2px;
  position: absolute;
  background: var(--pink);
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
  color: #ffffff;
  background: var(--gradient);
}

.fancy:hover::before {
  width: 0.9375rem;
  background: #000000;
}

.role-overview-page .role-grid .fancy:hover::before {
  background: #000000;
}

.fancy:hover .text {
  color: #000000;
  -webkit-text-fill-color: #000000;
  background: transparent;
  -webkit-background-clip: unset;
  background-clip: unset;
  padding-left: 1.5em;
}

.fancy:hover .top-key {
  left: -2px;
  width: 0px;
}

.fancy:hover .bottom-key-1,
.fancy:hover .bottom-key-2 {
  right: 0;
  width: 0;
}

.hero-banner {
  position: relative;
  padding: 3.5rem 0 3rem;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(15, 17, 23, 0.85)),
    url("assets/night_sky.jpg");
  background-size: cover;
  background-position: center 35%;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 24, 38, 0.9), rgba(18, 24, 38, 0.5), rgba(63, 158, 232, 0.15));
  z-index: 0;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.2), rgba(240, 140, 218, 0.16) 35%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-grid-center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 380px;
  width: 100%;
}

.hero-wordmark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "BBH Bartle", "Archivo Black", "Mukta", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(3.5rem, 14vw, 11rem);
  font-weight: 900;
  letter-spacing: 0.6rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.08);
  text-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(91, 180, 250, 0.2);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}

.hero-duo {
  position: relative;
  width: min(420px, 78vw);
}

.hero-duo::before {
  content: "";
  position: absolute;
  inset: 16% 8% 0;
  background: radial-gradient(circle at 50% 85%, rgba(var(--blue-rgb), 0.5), rgba(var(--pink-rgb), 0.35) 45%, transparent 72%);
  filter: blur(38px);
  transform: translateY(14%);
  z-index: 1;
}

.hero-duo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.85) 82%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.85) 82%, rgba(0, 0, 0, 0) 100%);
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.45));
}

.hero-grid-center .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-grid-center .hero-actions {
  justify-content: center;
}

.applications-hero {
  padding-top: 4rem;
}

.city-rules-hero {
  padding-top: 3.5rem;
}

.city-rules-hero .hero-title {
  font-size: clamp(1.75rem, 3vw + 0.25rem, 2.8rem);
  white-space: nowrap;
  display: inline-block;
}

.rules-page h1,
.rules-page h2,
.rules-page h3,
.rules-page h4,
.rules-page h5,
.rules-page h6 {
  font-family: "Mukta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rules-page .hero-title {
  font-family: "Archivo Black", "Mukta", "Inter", "Segoe UI", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
}

.rules-page .page-hero .hero-grid {
  justify-items: center;
}

.rules-page .page-hero .hero-grid > div {
  text-align: center;
}

.rules-page .page-hero .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.rules-page .page-hero .hero-actions {
  justify-content: center;
}

.rules-page .page-hero .hero-title {
  margin-bottom: 1.4rem;
}

.rules-page .page-hero .hero-divider {
  margin-bottom: 1.5rem;
}

.rules-page .page-hero {
  padding-bottom: 2.15rem;
}

.rules-page main .section {
  padding-top: 2.9rem;
}

.rules-page main .section:first-of-type {
  padding-top: 2.45rem;
}

/* Remove styling from the outer card that holds all rule sections */
.card:has(.rules-heading) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.accordion-item.card {
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.95), rgba(18, 24, 38, 0.9)) !important;
  border-radius: var(--radius-lg) !important;
  padding: 1.4rem 1.5rem !important;
  box-shadow: var(--shadow-card) !important;
  overflow: hidden;
  position: relative;
}

.rules-control-bar {
  position: sticky;
  top: calc(var(--nav-height) + 0.6rem);
  z-index: 40;
  margin: 0 0 1rem;
  padding: 1.1rem 1.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.96), rgba(12, 16, 30, 0.94)),
    radial-gradient(circle at 10% 10%, rgba(91, 180, 250, 0.14), transparent 60%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.rules-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.rules-heading > div:first-child {
  display: grid;
  gap: 0.25rem;
}

.rules-title {
  margin: 0;
  font-family: "Archivo Black", "Mukta", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.98rem;
  color: #ffffff;
}

.rules-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rules-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.rules-search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 16, 28, 0.9);
  color: var(--text);
  min-width: 220px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rules-search svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.rules-search input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rules-search input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.rules-search:focus-within {
  border-color: rgba(91, 180, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(91, 180, 250, 0.16);
  background: rgba(14, 20, 36, 0.95);
}

.rules-toggle-btn {
  padding: 0.55rem 0.9rem;
  border-radius: 0;
  border: 2px solid transparent;
  border-image: var(--gradient) 1;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rules-toggle-btn:hover {
  background: var(--gradient);
  color: #0f1117;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.rules-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.jump-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 32, 0.9);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jump-chip strong {
  color: #ffffff;
}

.jump-chip:hover {
  color: #ffffff;
  border-color: rgba(91, 180, 250, 0.5);
  background: rgba(16, 24, 42, 0.96);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.jump-chip.active {
  border-color: rgba(91, 180, 250, 0.7);
  background:
    linear-gradient(120deg, rgba(91, 180, 250, 0.2), rgba(240, 140, 218, 0.18)),
    rgba(16, 24, 42, 0.98);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.rules-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0 0 1.35rem;
}

.rules-callout {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1.2rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(12, 18, 32, 0.96), rgba(14, 22, 40, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(91, 180, 250, 0.16), transparent 60%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.rules-callout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.7;
}

.rules-callout-title {
  margin: 0 0 0.45rem;
  font-family: "Archivo Black", "Mukta", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #ffffff;
}

.rules-callout-lead {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-weight: 600;
}

.rules-callout-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.rules-callout-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.rules-callout-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  margin-top: 0.45rem;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.accordion-item.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0.4;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.1rem 0;
  color: #ffffff;
}

.accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 0;
  background: var(--gradient);
  color: #0f1117;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 8px rgba(91, 180, 250, 0.1), 0 2px 6px rgba(240, 140, 218, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-chip.section-chip-plain {
  gap: 0;
}

.accordion-title-wrap {
  display: grid;
  gap: 0.08rem;
}

.accordion-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.accordion-subtitle {
  color: var(--muted);
  font-size: 0.93rem;
}

.accordion-chevron {
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 6px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.accordion-trigger:hover .accordion-chevron {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.accordion-item.card.is-open {
  border-color: rgba(91, 180, 250, 0.45) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62) !important;
}

.accordion-trigger:hover .section-chip,
.accordion-trigger.is-open .section-chip {
  box-shadow: 0 6px 16px rgba(91, 180, 250, 0.15);
}

.accordion-trigger.is-open .accordion-chevron {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.accordion-trigger.is-open .accordion-title {
  color: #ffffff;
}

.accordion-trigger.is-open .accordion-subtitle {
  color: #dbeafe;
}

.rule-body-lines {
  margin-top: 1rem;
  padding: 1.2rem 1.15rem 1.25rem;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.rule-line {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 0.95rem 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  margin-left: var(--indent, 0);
  overflow: hidden;
  --line-opacity: 0;
}

.rule-line,
.rule-line p,
.rule-line li {
  font-family: "Mukta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.rule-content {
  max-width: 80ch;
}

.rules-page .accordion-item.card {
  border-radius: 0 !important;
}

.rules-page .accordion-item.card::before {
  height: 3px;
  opacity: 0.65;
}

.rules-page .rule-line {
  border-radius: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
}

.rules-page .rule-line::before {
  display: none;
}

.rules-page .rule-line::after {
  top: 0;
  bottom: 0;
  border-radius: 0;
}

.rule-line.rule-sub,
.rule-line.rule-sub-sub {
  background: transparent;
  border: none;
  box-shadow: none;
}

.rule-line::before {
  content: "";
  position: absolute;
  left: calc(0.75rem);
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(91, 180, 250, 0.28), rgba(240, 140, 218, 0.28));
  opacity: var(--line-opacity);
  border-radius: 999px;
}

.rule-line::after {
  content: "";
  position: absolute;
  left: calc(0.75rem);
  top: 22px;
  width: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  opacity: var(--line-opacity);
}

.rule-line.rule-sub::after,
.rule-line.rule-sub-sub::after {
  display: none;
}

.rule-line.rule-section-header {
  background: linear-gradient(135deg, rgba(91, 180, 250, 0.18), rgba(240, 140, 218, 0.15));
  border-color: rgba(91, 180, 250, 0.4);
  box-shadow: var(--shadow-halo);
  --line-opacity: 0;
}

.rule-line.rule-single {
  align-items: flex-start;
}

.rule-line.rule-with-list,
.rule-line.rule-multiline {
  align-items: flex-start;
}

.rule-line.rule-section-header .rule-text {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.05px;
  color: #ffffff;
}

.rule-line.rule-main {
  background: linear-gradient(145deg, rgba(91, 180, 250, 0.12), rgba(240, 140, 218, 0.08));
  border-color: rgba(91, 180, 250, 0.22);
}

.rule-line.rule-sub {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  --line-opacity: 1;
  padding-left: 1.65rem;
}

.rule-line.rule-sub-sub {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  --line-opacity: 1;
  padding-left: 1.65rem;
}

.rule-note {
  grid-template-columns: 1fr;
  margin-left: 0;
  padding-left: 1rem;
  align-items: flex-start;
}

.rule-note::before,
.rule-note::after {
  display: none;
}

.rule-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 0.45rem 0.75rem;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.15px;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rule-section-header .rule-badge,
.rule-main .rule-badge {
  background: var(--gradient);
  color: #0f1117;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 18px rgba(91, 180, 250, 0.16), 0 6px 14px rgba(240, 140, 218, 0.12);
}

.rule-sub .rule-badge {
  background: rgba(91, 180, 250, 0.14);
  color: #dbeafe;
  border-color: rgba(91, 180, 250, 0.45);
}

.rule-sub-sub .rule-badge {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.12);
  min-width: 40px;
  padding: 0.35rem 0.55rem;
  font-weight: 700;
}


.rule-section-header .rule-badge {
  min-width: 54px;
  padding: 0.55rem 0.9rem;
  font-size: 1.02rem;
}

.rule-main .rule-badge {
  min-width: 48px;
  font-size: 0.96rem;
}

.rule-sub .rule-badge {
  min-width: 42px;
  font-size: 0.92rem;
}

.rule-content {
  color: #e5e7eb;
  line-height: 1.68;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rule-bullets {
  margin: 0.35rem 0 0.05rem;
  padding-left: 1.2rem;
  color: #dbeafe;
  line-height: 1.6;
  list-style: none;
}

.rule-bullets li {
  margin: 0.15rem 0;
  position: relative;
  padding-left: 0.85rem;
}

.rule-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
  transform: translateY(-50%);
}

.rule-text {
  font-size: 1.02rem;
  letter-spacing: 0.08px;
}


.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw + 0.5rem, 4rem);
  margin: 0.35rem 0 0;
  color: #ffffff;
  letter-spacing: -0.8px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.05;
}

.hero-pretitle {
  display: block;
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0;
  color: #ffffff;
  text-transform: none;
  font-family: "Mukta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-bottom: 0.1rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  line-height: 1;
}

.hero-brand-word {
  font-family: "Allison", "BBH Bartle", "Archivo Black", "Mukta", "Inter", "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #f5a4e4;
  margin-right: 0;
  display: inline-block;
  font-size: 1.6em;
  line-height: 0.9;
  transform: translate(-0.15rem, 0.08rem);
}

.hero-pretitle-upper {
  text-transform: none;
  letter-spacing: 0.18em;
  display: inline-block;
  font-size: 0.65em;
  transform: translateX(0.1rem);
}

.hero-brand {
  font-family: "Allison", "BBH Bartle", "Archivo Black", "Mukta", "Inter", "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: clamp(1.8em, 6vw, 3.8em);
  line-height: 1;
  display: inline-block;
  color: #f5a4e4;
  text-shadow: 0 4px 16px rgba(91, 180, 250, 0.3);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-brand {
    color: transparent;
    background: linear-gradient(120deg, #5bb4fa 0%, #f08cda 45%, #ffffff 55%, #f08cda 70%, #5bb4fa 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: mantraShine 4.5s ease-in-out infinite;
  }
}

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

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin: 0 0 1.3rem;
  max-width: 620px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-divider {
  width: min(220px, 70%);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91, 180, 250, 0.7), rgba(240, 140, 218, 0.7), transparent);
  position: relative;
  margin: 0.2rem auto 0.6rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--gradient);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(91, 180, 250, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-actions.hero-actions-inline {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.hero-actions .hero-icon {
  padding: 0.8rem;
}

.hero-actions .hero-icon svg {
  width: 26px;
  height: 26px;
}

.hero-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff;
  border: 2px solid transparent;
  border-image: var(--gradient) 1;
  border-radius: 0;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-link-btn svg path {
  fill: url(#icon-gradient);
}

.hero-link-btn:hover {
  background: var(--gradient);
  color: #0f1117;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.hero-link-btn:hover svg path {
  fill: #0f1117;
}

.hero-link-btn.with-label {
  padding: 0.55rem 0.8rem;
  gap: 0.45rem;
  border-radius: 12px;
  border-image: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 14, 26, 0.78);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero-link-btn.with-label svg {
  width: 18px;
  height: 18px;
}

.hero-link-btn.with-label:hover {
  background: rgba(14, 20, 36, 0.95);
  color: #ffffff;
  border-color: rgba(91, 180, 250, 0.5);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.hero-link-btn.with-label:hover svg path {
  fill: url(#icon-gradient);
}

.card.feature-card,
.card.highlight-card,
.card.about-card,
.start-card {
  border-radius: 0 !important;
}

/* How-Tos redesign */
.howtos-page {
  --howto-cyan: #43f5d1;
  --howto-cyan-rgb: 67, 245, 209;
  --howto-amber: #ffb35d;
  --howto-amber-rgb: 255, 179, 93;
  --howto-ink: #0b0f14;
  --howto-surface: rgba(10, 16, 24, 0.78);
  --howto-surface-strong: rgba(16, 24, 34, 0.9);
  --howto-border: rgba(255, 255, 255, 0.08);
  --howto-gradient: linear-gradient(135deg, rgba(67, 245, 209, 0.95), rgba(255, 179, 93, 0.95));
  --howto-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --howto-glow: 0 0 20px rgba(67, 245, 209, 0.22), 0 0 45px rgba(255, 179, 93, 0.2);
}

.howtos-hero {
  position: relative;
  padding: 4.8rem 0 3.8rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(var(--howto-cyan-rgb), 0.16), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(var(--howto-amber-rgb), 0.14), transparent 48%),
    linear-gradient(140deg, rgba(9, 13, 18, 0.96), rgba(4, 6, 9, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  isolation: isolate;
}

.howtos-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0;
  background:
    radial-gradient(circle at 40% 30%, rgba(67, 245, 209, 0.2), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(255, 179, 93, 0.18), transparent 50%);
  filter: blur(10px);
  opacity: 0.9;
  animation: howtoGlow 16s ease-in-out infinite;
  z-index: 0;
}

.howtos-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.howtos-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.howtos-hero-copy {
  max-width: 560px;
  display: grid;
  gap: 1.1rem;
  animation: howtoReveal 0.8s ease both;
}

.howtos-hero .hero-title {
  text-align: left;
  align-items: flex-start;
  display: block;
}

.howtos-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--howto-cyan-rgb), 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7ff;
  font-family: "Rubik Mono One", "Mukta", "Inter", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.howtos-kicker-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--howto-gradient);
  box-shadow: var(--howto-glow);
}

.howtos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.howtos-hero-btn {
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--howto-cyan-rgb), 0.6);
  background: var(--howto-gradient);
  color: #0a0f12;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.howtos-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--howto-glow);
}

.howtos-hero-link {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.howtos-hero-link:hover {
  border-color: rgba(var(--howto-amber-rgb), 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.howtos-hero-link.is-secondary {
  border-color: rgba(var(--howto-cyan-rgb), 0.4);
  color: #d8fff5;
}

.howtos-hero-panel {
  display: grid;
  gap: 1rem;
  animation: howtoReveal 0.9s ease both;
  animation-delay: 0.1s;
}

.howtos-panel-card {
  padding: 1.3rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--howto-border);
  background: var(--howto-surface);
  box-shadow: var(--howto-shadow);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 0.65rem;
}

.howtos-panel-highlight {
  background: linear-gradient(135deg, rgba(67, 245, 209, 0.15), rgba(255, 179, 93, 0.12));
  border-color: rgba(var(--howto-amber-rgb), 0.4);
}

.howtos-panel-title {
  margin: 0;
  font-family: "Archivo Black", "Mukta", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: #f8fafc;
}

.howtos-panel-card p {
  margin: 0;
  color: #cbd5e1;
}

.howtos-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.howtos-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--howto-cyan-rgb), 0.4);
  color: #e2fff7;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
}

.howtos-panel-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #f8fafc;
  display: grid;
  gap: 0.35rem;
}

.howtos-panel-note {
  margin: 0;
  font-size: 0.9rem;
  color: #d8fff5;
}

.howtos-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

.howtos-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.howtos-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Rubik Mono One", "Mukta", "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.howtos-section-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-family: "Archivo Black", "Mukta", "Inter", sans-serif;
}

.howtos-section-note {
  margin: 0;
  color: #cbd5e1;
  max-width: 280px;
}

.howtos-grid {
  display: grid;
  gap: 1.4rem;
}

.howto-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(91, 180, 250, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.howto-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.howto-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.howto-card.is-open {
  border-color: rgba(91, 180, 250, 0.6);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.22);
}

.howto-card-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.howto-card-trigger:focus-visible {
  outline: 2px solid rgba(var(--howto-cyan-rgb), 0.7);
  outline-offset: 3px;
  border-radius: 18px;
}

.howto-card-title h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.35rem;
  font-family: "Archivo Black", "Mukta", "Inter", sans-serif;
}

.howto-card-summary {
  margin: 0;
  color: #d6dee8;
  line-height: 1.6;
}

.howto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.howto-tag {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(var(--howto-cyan-rgb), 0.16);
  border: 1px solid rgba(var(--howto-cyan-rgb), 0.4);
  color: #d4fff3;
}

.howto-tag-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.howto-tag-video {
  background: rgba(255, 85, 85, 0.16);
  border-color: rgba(255, 85, 85, 0.5);
  color: #ffd6d6;
}

.howto-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}

.howto-card-chevron {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.howto-card.is-open .howto-card-chevron {
  transform: rotate(180deg);
  border-color: rgba(var(--howto-amber-rgb), 0.6);
  color: #ffffff;
}

.howto-card-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.howtos-page .howto-inner {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.howtos-page .howto-inner.has-media {
  align-items: center;
}

.howtos-page .howto-steps {
  gap: 0.75rem;
}

.howtos-page .howto-step {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 24, 0.7);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  padding: 0.85rem 1rem;
}

.howtos-page .howto-step-num {
  border-radius: 12px;
  background: var(--howto-gradient);
  box-shadow: var(--howto-glow);
}

.howtos-page .howto-desc {
  text-align: left;
  padding: 0;
  border: none;
  background: transparent;
  color: #d9e2f1;
}

.howtos-page .howto-actions {
  justify-content: flex-start;
}

.howtos-page .howto-link {
  border-radius: 999px;
}

.howtos-page .howto-media {
  border-radius: 18px;
  max-width: 260px;
  width: 100%;
  justify-self: center;
}

@media (min-width: 900px) {
  .howtos-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }

  .howtos-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .howtos-grid {
    grid-template-columns: 1fr;
  }

  .howtos-page .howto-inner.has-media {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  }
}

.howtos-page .howto-card.is-featured .howto-step-num {
  background: var(--gradient);
  color: #0f1117;
}

@media (max-width: 720px) {
  .howtos-hero {
    padding: 4rem 0 3.2rem;
  }

  .howto-card-trigger {
    grid-template-columns: 1fr;
  }

  .howto-card-cta {
    justify-content: flex-start;
  }
}

@keyframes howtoGlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .howtos-hero::before,
  .howtos-hero-copy,
  .howtos-hero-panel {
    animation: none;
  }
}

.badge-group {
  margin-top: 0.75rem;
}

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

.stat-card {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-value {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

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

.section {
  padding: 3.25rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.section-header.center {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section-header.center .section-title,
.section-header.center .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin: 0;
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.section-title-large {
  font-size: 1.9rem;
}

.section-lead {
  margin: 0;
  color: #cbd5e1;
  max-width: 620px;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

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

@media (max-width: 720px) {
  .application-grid {
    grid-template-columns: 1fr;
  }
}

.application-label {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1rem;
  font-weight: 700;
  padding-left: 0.75rem;
  margin-bottom: 0.9rem;
  position: relative;
  color: transparent;
  background-image: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.application-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 3px;
  background: var(--gradient);
}

.application-subhead {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.application-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0)
  );
  margin: 0.9rem 0 0.9rem;
}

.requirements-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 1rem;
}

.requirement-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 32, 0.9);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-jump-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.hero-jump-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 32, 0.92);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-jump-chip:hover {
  color: #ffffff;
  border-color: rgba(91, 180, 250, 0.55);
  background: rgba(16, 24, 42, 0.96);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.decision-card {
  position: relative;
  overflow: hidden;
  padding: 1.3rem 1.4rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(12, 18, 32, 0.96), rgba(14, 22, 40, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(91, 180, 250, 0.16), transparent 60%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.decision-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.75;
}

.decision-title {
  margin: 0 0 0.35rem;
  font-family: "Archivo Black", "Mukta", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.decision-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.decision-step {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 28, 0.86);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.35rem;
}

.decision-step h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-step p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.decision-actions {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}



.role-grid {
  grid-template-columns: 1fr;
  gap: 2.2rem;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  padding-left: 2.25rem;
}

.role-grid .card,
.role-section-card {
  color: #ffffff;
}

.role-grid .card p,
.role-grid .card li,
.role-section-card p,
.role-section-card li {
  color: #ffffff;
}

.role-overview-page .role-grid .card p[style*="color:var(--muted)"],
.role-overview-page .role-grid .card p[style*="color: var(--muted)"] {
  color: #d6dee8 !important;
}

.role-overview-page .role-grid .list-check,
.role-overview-page .role-grid .list-check span {
  color: #d6dee8;
}

.role-overview-page .application-subhead {
  color: #ffffff;
  text-shadow: none;
}

.role-overview-page .role-grid .fancy {
  border-image: none;
  border-color: currentColor;
}

.role-overview-page .role-grid .fancy .text {
  color: currentColor;
  -webkit-text-fill-color: currentColor;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.role-overview-page .role-grid .fancy:hover .text {
  color: #000000;
  -webkit-text-fill-color: #000000;
}

.role-overview-page .role-grid .fancy::before,
.role-overview-page .role-grid .fancy .top-key,
.role-overview-page .role-grid .fancy .bottom-key-1,
.role-overview-page .role-grid .fancy .bottom-key-2 {
  background: currentColor;
}

.role-overview-page .role-government .fancy {
  color: #ffd166;
}

.role-overview-page .role-state .fancy {
  color: #5bb4fa;
}

.role-overview-page .role-civilian .fancy {
  color: #c9a0ff;
}

.role-overview-page .role-civilian .fancy:hover {
  background: currentColor;
}

.role-overview-page .role-government .application-subhead {
  color: #ffd166;
}

.role-overview-page .role-state .application-subhead {
  color: #5bb4fa;
}

.role-overview-page .role-civilian .application-subhead {
  color: #c9a0ff;
}

.role-grid::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  bottom: 0.9rem;
  left: 1.75rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
  opacity: 0.7;
}

.role-grid .card {
  position: relative;
  padding-left: 2.6rem;
}

.role-grid .card::before {
  content: attr(data-step);
  position: absolute;
  left: -1.4rem;
  top: 1.4rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.role-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.7rem;
  margin-bottom: 0.85rem;
}

.role-tier::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gradient);
}

.role-glance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.55rem 0 1.05rem;
}

.role-glance-item {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 32, 0.9);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-government .role-glance-item {
  border-color: rgba(255, 209, 102, 0.45);
  background: rgba(255, 209, 102, 0.12);
  color: #fff3d0;
}

.role-state .role-glance-item {
  border-color: rgba(91, 180, 250, 0.5);
  background: rgba(91, 180, 250, 0.14);
  color: #dbeafe;
}

.role-civilian .role-glance-item {
  border-color: rgba(155, 89, 182, 0.5);
  background: rgba(155, 89, 182, 0.14);
  color: #f0e5ff;
}

.role-card-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.role-grid .role-government {
  --gradient: linear-gradient(135deg, #ffd166, #f5a623);
}

.role-grid .role-state {
  --gradient: linear-gradient(135deg, #5bb4fa, #3f9ee8);
}

.role-grid .role-civilian {
  --gradient: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.role-grid .highlight-card.role-government {
  border-color: rgba(var(--gold-rgb), 0.55);
  background: linear-gradient(150deg, rgba(var(--gold-rgb), 0.45), rgba(var(--gold-rgb), 0.22));
  box-shadow: 0 24px 60px rgba(var(--gold-rgb), 0.18);
}

.role-grid .highlight-card.role-state {
  border-color: rgba(var(--blue-rgb), 0.45);
  background: linear-gradient(150deg, rgba(var(--blue-rgb), 0.42), rgba(var(--blue-rgb), 0.2));
  box-shadow: 0 24px 60px rgba(var(--blue-rgb), 0.18);
}

.role-grid .highlight-card.role-civilian {
  border-color: rgba(var(--purple-rgb), 0.45);
  background: linear-gradient(150deg, rgba(var(--purple-rgb), 0.45), rgba(var(--purple-rgb), 0.22));
  box-shadow: 0 24px 60px rgba(var(--purple-rgb), 0.18);
}

.role-grid .highlight-card.role-government:hover {
  border-color: rgba(var(--gold-rgb), 0.65);
  box-shadow: 0 28px 70px rgba(var(--gold-rgb), 0.22);
}

.role-grid .highlight-card.role-state:hover {
  border-color: rgba(var(--blue-rgb), 0.6);
  box-shadow: 0 28px 70px rgba(var(--blue-rgb), 0.22);
}

.role-grid .highlight-card.role-civilian:hover {
  border-color: rgba(var(--purple-rgb), 0.6);
  box-shadow: 0 28px 70px rgba(var(--purple-rgb), 0.22);
}

.card {
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.card h3 {
  margin: 0 0 0.4rem;
  color: #ffffff;
}

.card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.card-title-lg {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card-title-lg + .list-check {
  margin-top: 1.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 0.9rem;
}

.pill-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}


.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gradient);
}

.feature-card {
  display: grid;
  gap: 0.55rem;
}

.feature-card h3 {
  font-family: "Mukta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}


.howto-accordion {
  display: grid;
  gap: 0.9rem;
  max-width: 900px;
  margin: 0 auto;
}

.howto-accordion-item.card {
  padding: 0;
  border-radius: 0;
}

.howto-accordion-item.card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
  background: linear-gradient(150deg, rgba(18, 24, 38, 0.94), rgba(18, 24, 38, 0.9));
}

.howto-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
}

.howto-accordion-trigger:hover {
  background: transparent;
}

.howto-accordion-content {
  padding: 0 1.15rem 1.1rem 2.4rem;
  display: grid;
  gap: 0.75rem;
}

.howto-chevron {
  width: 28px;
  height: 28px;
  color: #ffffff;
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 5px;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.howto-inner {
  display: grid;
  gap: 1rem;
  padding: 0.5rem 0;
  justify-items: center;
}

.howto-steps {
  display: grid;
  gap: 0.6rem;
  width: 100%;
  justify-items: start;
}

.howto-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  color: #e5e7eb;
  line-height: 1.5;
  width: 100%;
}

.howto-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 0;
  background: var(--gradient);
  color: #0f1117;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.howto-step kbd {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: rgba(91, 180, 250, 0.15);
  border: 1px solid rgba(91, 180, 250, 0.35);
  border-radius: 6px;
  color: #dbeafe;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
}

.howto-desc {
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.howto-desc strong {
  color: #ffffff;
}

.howto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.howto-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 0, 0, 0.08));
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.howto-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #ff4444;
}

.howto-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: 0 12px 32px rgba(255, 0, 0, 0.2);
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.22), rgba(255, 0, 0, 0.12));
}

.howto-link:focus-visible {
  outline: 2px solid rgba(91, 180, 250, 0.6);
  outline-offset: 2px;
}

.howto-accordion-trigger:hover .howto-chevron {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.howto-accordion-trigger.is-open .howto-chevron {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.howto-accordion-trigger.is-open .howto-chevron.rotate-180 {
  transform: rotate(180deg);
}

.howto-media {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  max-width: 200px;
  margin: 0 auto;
}

.howto-media:hover {
  border-color: rgba(91, 180, 250, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.howto-media .howto-img-link {
  display: block;
  width: 100%;
  cursor: zoom-in;
  background: transparent;
  border: none;
  padding: 0;
}

.howto-media .howto-img-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.howto-media .howto-img-link:hover img {
  transform: scale(1.02);
}

.howto-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.howto-lightbox.open {
  display: flex;
}

.howto-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.howto-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  display: grid;
  gap: 0.5rem;
  align-items: start;
}

.howto-lightbox-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: contain;
  background: #0f1117;
}

.howto-lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.howto-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.role-grid .feature-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.role-grid .feature-card:hover {
  border-color: rgba(91, 180, 250, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.role-grid .feature-card h3 {
  margin: 0 0 0.15rem;
}

.role-grid .list-check {
  margin-top: 0.6rem;
  gap: 0.35rem;
}

/* Role Overview Page Styles */
.role-section-card {
  background: linear-gradient(145deg, rgba(22, 30, 46, 0.98), rgba(28, 38, 58, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 2rem 2.2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.role-section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0.6;
}

.role-section-card.role-government::before {
  background: linear-gradient(90deg, #ffd166, #f5a623);
}

.role-section-card.role-state::before {
  background: linear-gradient(90deg, #5bb4fa, #3f9ee8);
}

.role-section-card.role-civilian::before {
  background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

.role-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.role-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.role-government .role-section-title {
  background: linear-gradient(135deg, #ffd166, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(-1px 0 4px rgba(91, 180, 250, 0.25)) drop-shadow(1px 0 4px rgba(240, 140, 218, 0.25));
}

.role-state .role-section-title {
  background: linear-gradient(135deg, #5bb4fa, #3f9ee8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(-1px 0 4px rgba(91, 180, 250, 0.25)) drop-shadow(1px 0 4px rgba(240, 140, 218, 0.25));
}

.role-civilian .role-section-title {
  background: linear-gradient(135deg, #c27ae6, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(-1px 0 4px rgba(91, 180, 250, 0.25)) drop-shadow(1px 0 4px rgba(240, 140, 218, 0.25));
}

.role-section-intro {
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
}

.role-subsection {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}

.role-subsection:last-child {
  margin-bottom: 0;
}

.role-subsection-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0;
}

.role-subsection-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 0;
  background: var(--gradient);
  color: #0f1117;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.role-subsection-body {
  flex: 1;
}

.role-government .role-subsection-number {
  background: linear-gradient(135deg, #ffd166, #f5a623);
}

.role-state .role-subsection-number {
  background: linear-gradient(135deg, #5bb4fa, #3f9ee8);
}

.role-civilian .role-subsection-number {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.role-subsection-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.65rem;
  padding-top: 0.35rem;
  letter-spacing: 0.3px;
}

.role-government .role-subsection-title {
  color: #ffe599;
}

.role-state .role-subsection-title {
  color: #a8d8ff;
}

.role-civilian .role-subsection-title {
  color: #e0b3ff;
}

.role-subsection-content {
  color: #d1d5db;
  line-height: 1.7;
  padding-top: 0;
}

.role-subsection-content p {
  margin: 0 0 0.5rem;
}

.role-subsection-content p:last-child {
  margin-bottom: 0;
}

.role-bullet-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.role-bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #d1d5db;
  line-height: 1.6;
}

.role-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gradient);
}

.role-government .role-bullet-list li::before {
  background: linear-gradient(135deg, #ffd166, #f5a623);
}

.role-state .role-bullet-list li::before {
  background: linear-gradient(135deg, #5bb4fa, #3f9ee8);
}

.role-civilian .role-bullet-list li::before {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.role-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0;
}

.role-inline-list .role-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.role-inline-list .role-tag:hover {
  transform: translateY(-2px);
}

.role-government .role-inline-list .role-tag {
  background: rgba(255, 209, 102, 0.1);
  border-color: rgba(255, 209, 102, 0.35);
  color: #fff3d0;
  box-shadow: 0 4px 12px rgba(255, 209, 102, 0.1);
}

.role-government .role-inline-list .role-tag:hover {
  border-color: rgba(255, 209, 102, 0.5);
  box-shadow: 0 8px 20px rgba(255, 209, 102, 0.15);
}

.role-state .role-inline-list .role-tag {
  background: rgba(91, 180, 250, 0.1);
  border-color: rgba(91, 180, 250, 0.35);
  color: #dbeafe;
  box-shadow: 0 4px 12px rgba(91, 180, 250, 0.1);
}

.role-state .role-inline-list .role-tag:hover {
  border-color: rgba(91, 180, 250, 0.5);
  box-shadow: 0 8px 20px rgba(91, 180, 250, 0.15);
}

.role-civilian .role-inline-list .role-tag {
  background: rgba(155, 89, 182, 0.1);
  border-color: rgba(155, 89, 182, 0.35);
  color: #f0e5ff;
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.1);
}

.role-civilian .role-inline-list .role-tag:hover {
  border-color: rgba(155, 89, 182, 0.5);
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.15);
}

.role-note {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0;
  background: rgba(91, 180, 250, 0.08);
  border-left: 3px solid var(--blue);
  color: #dbeafe;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.role-government .role-note {
  background: rgba(255, 209, 102, 0.1);
  border-left-color: #ffd166;
  color: #fff3d0;
}

.role-state .role-note {
  background: rgba(91, 180, 250, 0.1);
  border-left-color: #5bb4fa;
  color: #dbeafe;
}

.role-civilian .role-note {
  background: rgba(155, 89, 182, 0.1);
  border-left-color: #9b59b6;
  color: #f0e5ff;
}

@media (max-width: 640px) {
  .role-section-card {
    padding: 1.5rem 1.25rem;
  }

  .role-section-title {
    font-size: 1.15rem;
  }

  .role-subsection {
    padding: 1rem 1.1rem;
  }
}

@media (max-width: 720px) {
  .role-grid {
    padding-left: 0;
  }

  .role-grid::before {
    display: none;
  }

  .role-grid .card {
    padding-left: 1.5rem;
  }

  .role-grid .card::before {
    display: none;
  }
}

/* FAQ Page Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  position: relative;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(91, 180, 250, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.faq-item:hover {
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.faq-item.is-open {
  border-color: rgba(91, 180, 250, 0.6);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.22);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.faq-chevron {
  width: 24px;
  height: 24px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  color: var(--blue);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 640px) {
  .faq-trigger {
    padding: 1rem 1.25rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }
}

.feature-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.rules-list {
  display: grid;
  gap: 0.9rem;
}

.rule-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.rule-item h4 {
  margin: 0 0 0.35rem;
  color: #ffffff;
}

.rule-item p {
  margin: 0;
  color: var(--muted);
}

.list-check {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.list-check span {
  position: relative;
  padding-left: 1.3rem;
}

.list-check span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.terminology-search {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid transparent;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
}

.terminology-search:hover,
.terminology-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 7px rgba(var(--blue-rgb), 0.2);
  background-color: rgba(255, 255, 255, 0.06);
}

.terminology-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1rem;
}

.terminology-search input::placeholder {
  color: var(--muted);
}

.terminology-search .search-icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

.terminology-search .search-clear {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.terminology-search .search-clear:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.hero-kicker {
  margin: 0 auto 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.terminology-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
  justify-items: center;
}

.terminology-page .card-grid .card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 180, 250, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
}

.terminology-page .card-grid .card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.terminology-page .card-grid .card:hover {
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.store-guide-page .card-grid .card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 180, 250, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
}

.store-guide-page .card-grid .card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.store-guide-page .card-grid .card:hover {
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.store-guide-page .card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 180, 250, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
}

.store-guide-page .card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.store-guide-page .card:hover {
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.terminology-panel {
  padding: 1.6rem;
  width: 100%;
  max-width: 980px;
}

.terminology-panel.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 180, 250, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
}

.terminology-panel.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.terminology-panel:hover {
  transform: none;
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.terminology-panel .terminology-search {
  padding: 0.8rem 0.9rem;
}

.terminology-hint {
  margin: 0.65rem 0 0;
  padding-left: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.terminology-aside {
  display: grid;
  gap: 1.25rem;
}

.terminology-clarification {
  margin: 1.6rem auto 0;
  max-width: 980px;
  width: 100%;
}

.terminology-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.glossary-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.1rem 0 0.85rem;
}

.glossary-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.glossary-filter {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.6);
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.glossary-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.glossary-filter.active {
  color: #0f1117;
  background: var(--gradient);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-glow);
}

.glossary-filter:focus-visible {
  outline: 2px solid rgba(var(--blue-rgb), 0.6);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .terminology-search {
    gap: 0.5rem;
  }

  .terminology-search .search-clear {
    padding: 0.3rem 0.55rem;
    white-space: nowrap;
  }
}

.glossary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.85rem;
}

.glossary-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) auto 1.4fr;
  align-items: start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(91, 180, 250, 0.12);
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.glossary-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.glossary-item:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.glossary-term {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.glossary-term-text {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.15px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glossary-tag {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.glossary-sep {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glossary-definition {
  color: #e2e8f0;
  line-height: 1.65;
}

.glossary-empty {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: center;
}

.glossary-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.glossary-count {
  color: #ffffff;
  font-weight: 700;
}

.glossary-label {
  color: var(--muted);
}

.glossary-dot {
  opacity: 0.6;
}

.glossary-example {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(15, 17, 23, 0.6);
}

.glossary-example-line {
  display: grid;
  gap: 0.35rem;
}

.glossary-example-label {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.glossary-example-text {
  color: #e2e8f0;
  font-weight: 600;
}

.glossary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-weight: 700;
  margin-top: 0.6rem;
}

.glossary-link::after {
  content: "->";
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .glossary-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .glossary-sep {
    display: none;
  }

  .terminology-layout {
    grid-template-columns: 1fr;
  }

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

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

  .terminology-aside {
    grid-template-columns: 1fr;
  }
}

.highlight-card {
  background: linear-gradient(135deg, rgba(63, 158, 232, 0.16), rgba(240, 140, 218, 0.08));
  border: 1px solid rgba(91, 180, 250, 0.35);
}

.applications-page .highlight-card {
  background: linear-gradient(135deg, rgba(63, 158, 232, 0.3), rgba(240, 140, 218, 0.18));
  border-color: rgba(91, 180, 250, 0.5);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

.applications-page .application-dark-card {
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 180, 250, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.applications-page .application-dark-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.applications-page .application-dark-card:hover {
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}


.applications-page .application-info-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.applications-page .application-info-card::before {
  content: none;
}

.applications-page .application-grid .highlight-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 180, 250, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.applications-page .application-grid .highlight-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.applications-page .application-grid .highlight-card:hover {
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}

.applications-page .business-logo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(14, 20, 34, 0.85), rgba(18, 26, 42, 0.85));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(91, 180, 250, 0.12);
  margin-bottom: 0.9rem;
}

.applications-page .business-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.applications-page .business-card-header .application-label {
  margin-bottom: 0;
  padding-left: 0.55rem;
}

.applications-page .business-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.applications-page .business-owner {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-left: 0.55rem;
}

.applications-page .business-actions .fancy {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.applications-page .business-actions .hero-icon {
  padding: 0.6rem;
}

.applications-page .business-actions .hero-icon svg {
  width: 20px;
  height: 20px;
}

.applications-page .business-actions .business-discord {
  border: none;
  border-image: none;
  background: transparent;
  box-shadow: none;
}

.applications-page .business-actions .business-discord svg path {
  fill: #ffffff;
}

.applications-page .business-actions .business-discord svg {
  width: 30px;
  height: 30px;
}

.applications-page .business-actions .business-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.applications-page .business-actions .business-icon-btn img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.applications-page .business-actions .business-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.applications-page .application-button {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.72rem;
  transition: transform 0.15s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.applications-page .application-button .app-docs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
}

.applications-page .application-button .app-docs svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.applications-page .application-button:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.applications-page .requirement-chip {
  background: var(--gradient);
  color: #0b0f14;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.applications-page .requirement-chip.is-hiring {
  background: linear-gradient(135deg, #34d399, #16a34a);
  color: #1f2937;
}

.applications-page .requirement-chip.is-closed {
  background: linear-gradient(135deg, #ff6b6b, #d64545);
  color: #0b0f14;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, rgba(18, 24, 38, 0.92), rgba(18, 24, 38, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 1.8rem 2.4rem;
}

.about-card .pill {
  margin: 0 auto 0.8rem;
}

.about-card .section-title {
  margin: 0 0 0.4rem;
}

.about-card .section-lead {
  text-align: center;
  color: #dbe7ff;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.about-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #dbe7ff;
}

.highlight-text {
  color: #f5a4e4;
}

.beta-grid .card {
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.95), rgba(12, 16, 28, 0.9));
}

.beta-grid .card,
.beta-grid .card h3,
.beta-grid .card p,
.beta-grid .feature-card .card-label {
  font-family: "Mukta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.beta-grid .feature-card {
  position: relative;
  padding-top: 3rem;
}

.beta-grid .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.85;
}

.beta-grid .feature-card .card-label {
  position: absolute;
  top: 1.2rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  line-height: 1;
  background: rgba(10, 12, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  background-image: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.start-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.start-card h3 {
  font-family: "Mukta", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.start-card .btn {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.start-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: rgba(10, 10, 10, 0.6);
  border: 2px solid transparent;
  border-image: var(--gradient) 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0f1117;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.contact-grid,
.staff-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.contact-card,
.staff-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.contact-card h3,
.staff-card h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
}

.contact-card p,
.staff-card p {
  margin: 0;
  color: var(--muted);
}

.staff-tier-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
}

.executive-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
}

.executive-grid .tier-card {
  flex: 1 1 170px;
  max-width: 210px;
  width: auto;
}

.tier-section {
  margin-bottom: 3rem;
  padding-top: 0.5rem;
}

.tier-section::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(var(--gold-rgb), 0.35),
    rgba(var(--purple-rgb), 0.35),
    rgba(var(--blue-rgb), 0.35),
    rgba(var(--green-rgb), 0.35)
  );
  border-radius: 999px;
  margin-bottom: 3.0rem;
}

.tier-section + .tier-section {
  margin-top: 0.75rem;
  padding-top: 1.4rem;
}

.tier-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

.tier-title {
  margin: 0.1rem 0 0.25rem;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.tier-subtitle {
  margin: 0;
  color: #b0bac8;
}

.tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.tier-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 240px;
}

.tier-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 180, 250, 0.35);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
}

.tier-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.tier-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.pill-wide {
  min-width: 180px;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  justify-content: center;
  text-align: center;
}

.open-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #e5e7eb;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.role-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tier-label.role-info-wrap {
  padding-right: 0.5rem;
}

.role-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  padding: 0;
  line-height: 1;
}

.role-info-btn:hover {
  background: rgba(91, 180, 250, 0.2);
  border-color: rgba(91, 180, 250, 0.5);
  color: #ffffff;
}

.role-info-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  padding: 0.65rem 0.8rem;
  padding-bottom: calc(0.65rem + 12px);
  margin-bottom: 0;
  border-radius: 8px;
  background: rgba(10, 14, 24, 0.96);
  border: 1px solid rgba(91, 180, 250, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  color: #d6dee8;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 20;
}

.role-info-wrap:hover .role-info-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.tier-card h3 {
  margin: 0 0 0.2rem;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.tier-card p {
  margin: 0;
  color: #d1d5db;
}

.staff-photo {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-photo.placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  position: relative;
}

.staff-photo.placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.5;
}

.tier-card.tier-executive {
  border-color: rgba(var(--gold-rgb), 0.45);
  background: linear-gradient(150deg, rgba(var(--gold-rgb), 0.15), rgba(255, 255, 255, 0.02));
  box-shadow: 0 22px 60px rgba(var(--gold-rgb), 0.18);
}

.tier-chip.tier-executive,
.tier-label.tier-executive {
  background: rgba(var(--gold-rgb), 0.15);
  border-color: rgba(var(--gold-rgb), 0.55);
  color: #fff7d0;
}

.tier-card.tier-3 {
  border-color: rgba(var(--purple-rgb), 0.45);
  background: linear-gradient(150deg, rgba(var(--purple-rgb), 0.16), rgba(255, 255, 255, 0.02));
  box-shadow: 0 22px 60px rgba(var(--purple-rgb), 0.2);
}

.tier-chip.tier-3,
.tier-label.tier-3 {
  background: rgba(var(--purple-rgb), 0.16);
  border-color: rgba(var(--purple-rgb), 0.55);
  color: #f0e5ff;
}

.tier-card.tier-2 {
  border-color: rgba(var(--blue-rgb), 0.5);
  background: linear-gradient(150deg, rgba(var(--blue-rgb), 0.16), rgba(255, 255, 255, 0.02));
  box-shadow: 0 22px 60px rgba(var(--blue-rgb), 0.2);
}

.tier-chip.tier-2,
.tier-label.tier-2 {
  background: rgba(var(--blue-rgb), 0.16);
  border-color: rgba(var(--blue-rgb), 0.55);
  color: #e5f2ff;
}

.tier-card.tier-1 {
  border-color: rgba(var(--green-rgb), 0.5);
  background: linear-gradient(150deg, rgba(var(--green-rgb), 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 22px 60px rgba(var(--green-rgb), 0.22);
}

.tier-chip.tier-1,
.tier-label.tier-1 {
  background: rgba(var(--green-rgb), 0.18);
  border-color: rgba(var(--green-rgb), 0.55);
  color: #e0fff3;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.social-links a {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
}

.gallery-card {
  position: relative;
  min-height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(236, 72, 153, 0.14));
  display: flex;
  align-items: flex-end;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
}

.gallery-info {
  position: relative;
  padding: 1rem;
  width: 100%;
  color: #ffffff;
  z-index: 1;
}

.store-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(140deg, rgba(91, 180, 250, 0.08), rgba(240, 140, 218, 0.06)), rgba(15, 17, 23, 0.92);
  border-bottom: 1px solid var(--border);
}

.store-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.store-hero-card {
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.95), rgba(18, 24, 38, 0.9));
}

.store-input {
  margin: 1.2rem 0 0.4rem;
  display: grid;
  gap: 0.35rem;
}

.store-input label {
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.98rem;
}

.store-input input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-input input:focus {
  border-color: rgba(91, 180, 250, 0.6);
  box-shadow: 0 0 0 4px rgba(91, 180, 250, 0.2);
}

.store-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.store-card {
  background: rgba(18, 24, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
}

.store-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(91, 180, 250, 0.12), rgba(240, 140, 218, 0.12));
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.store-card:hover::after {
  opacity: 1;
}

.store-card h3 {
  margin: 0;
  color: #ffffff;
}

.store-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.store-card.coming-soon {
  opacity: 0.75;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.25px;
  width: fit-content;
}

.store-price {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.store-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.store-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  border-top: none;
  padding: 2rem 0 3rem;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.15);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  --nav-action-height: 40px;
}

.footer-social .tebex-btn:not(.fancy) {
  height: var(--nav-action-height);
  padding: 0 0.9rem;
}

.footer-social .tebex-btn.fancy {
  height: var(--nav-action-height);
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social .social-icon {
  width: 36px;
  height: 36px;
  --social-icon-bg: transparent;
  background: transparent;
  border: none;
  border-image: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  line-height: 0;
  overflow: visible;
}

.footer-social .social-icon::before {
  display: none;
}

.footer-social .social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-social .social-icon:hover {
  --social-icon-bg: transparent;
  background: transparent;
  border: none;
  transform: translateY(-2px);
  box-shadow: none;
}

.footer-social .social-icon:hover::before {
  display: none;
}

/* Footer social dropdown (opens upward) */
.footer-social-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.footer-social-dropdown .nav-social-menu {
  top: auto;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
}

.footer-social-dropdown.open .nav-social-menu {
  transform: translate(-50%, 0);
}

.footer-social-dropdown .nav-social-menu .social-icon:first-child {
  margin-top: 0;
}

.footer-social-dropdown .nav-social-menu .social-icon:last-child {
  margin-bottom: 0.4rem;
}

.requirements {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.inline-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .section {
    padding: 2.6rem 0;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 280px;
  }

  .accordion-trigger {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .rules-control-bar {
    position: static;
    top: auto;
    padding: 1rem;
  }

  .rules-heading {
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-start;
  }

  .rules-tools {
    width: 100%;
  }

  .rules-search {
    flex: 1 1 240px;
  }

  .rules-toggle-btn {
    order: 2;
  }

  .store-hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  main {
    padding-top: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions.hero-actions-inline {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-banner {
    min-height: 360px;
    padding: 3rem 0;
    align-items: center;
  }

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

  .hero-duo {
    width: min(280px, 84vw);
  }

  .hero-wordmark {
    letter-spacing: 0.3rem;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .btn {
    width: auto;
  }

  .rules-control-bar {
    padding: 0.95rem 0.95rem 1rem;
  }

  .rules-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .rules-tools {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .rules-search {
    width: 100%;
    min-width: 0;
  }

  .rules-toggle-btn {
    width: 100%;
    text-align: center;
    order: 1;
  }

  .rule-body-lines {
    padding: 0.9rem 0.85rem 1rem;
    gap: 0.6rem;
  }

  .rule-line {
    gap: 0.65rem;
    padding: 0.8rem 0.8rem 0.8rem 0.95rem;
  }

  .rule-line.rule-sub,
  .rule-line.rule-sub-sub {
    padding-left: 1.1rem;
  }

  .rule-badge {
    min-width: 38px;
    padding: 0.35rem 0.55rem;
    font-size: 0.9rem;
  }

  .rule-section-header .rule-badge {
    min-width: 46px;
    padding: 0.45rem 0.75rem;
    font-size: 0.96rem;
  }

  .rule-main .rule-badge {
    min-width: 42px;
    font-size: 0.9rem;
  }

  .rule-sub .rule-badge {
    min-width: 38px;
    font-size: 0.88rem;
  }

  .rule-text {
    font-size: 0.98rem;
  }

  .rule-bullets {
    padding-left: 1rem;
  }

  .store-card {
    padding: 1rem;
  }

  .store-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-actions .btn {
    width: 100%;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 46px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 17, 23, 0.85);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.back-to-top::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top.near-footer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.back-to-top:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 180, 250, 0.35);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.55);
}

.back-to-top:hover::before {
  opacity: 1;
}

.back-to-top > div,
.back-to-top > svg {
  position: relative;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
}

.back-to-top .clone {
  display: none;
}

.back-to-top .text {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
}

.back-to-top .text > * {
  margin: 0;
  font-size: 0.78rem;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    height: 42px;
    padding: 0 0.75rem;
  }
}

/* ================================================
   MODERN INTERACTIVE ENHANCEMENTS
   Apple-inspired tech aesthetic
   ================================================ */

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Staggered Children Animation */
.stagger-children > * {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:hover { transition-delay: 0s; }

/* Modern Glassmorphism Card */
.glass-card {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.glass-card:hover {
  background: rgba(40, 40, 40, 0.7);
  border-color: rgba(91, 180, 250, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* Interactive Card with Glow Border */
.glow-card {
  position: relative;
  background: var(--eer-black);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91, 180, 250, 0.2), rgba(240, 140, 218, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.glow-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--blue), var(--pink));
}

.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Animated Gradient Border */
.gradient-border {
  position: relative;
  background: var(--eer-black);
  border-radius: var(--radius-lg);
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--blue), var(--pink), var(--blue));
  z-index: -1;
  animation: rotateBorder 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

@keyframes rotateBorder {
  100% { transform: rotate(360deg); }
}

/* Interactive Rule Cards */
.rule-line {
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rule-line:hover {
  transform: translateX(8px);
  background: rgba(91, 180, 250, 0.05);
  border-color: rgba(91, 180, 250, 0.3);
}

.rule-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 3px;
  background: var(--gradient);
  border-radius: 12px;
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rule-line:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

/* Enhanced Accordion Animation */
.accordion-item.card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.accordion-item.card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 180, 250, 0.25);
}

.accordion-item.card.is-open {
  border-color: rgba(91, 180, 250, 0.5);
  box-shadow: 0 0 40px rgba(91, 180, 250, 0.15), var(--shadow-card);
}

/* Pulse Animation for Important Elements */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 180, 250, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(91, 180, 250, 0); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Shimmer Effect for Loading States */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0.05) 50%, 
    rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Interactive Buttons with Ripple */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.btn:active::after {
  transform: scale(2);
  opacity: 1;
  transition: transform 0s, opacity 0s;
}

/* Neon Glow Text */
.neon-text {
  text-shadow: 
    0 0 10px rgba(91, 180, 250, 0.5),
    0 0 20px rgba(91, 180, 250, 0.3),
    0 0 40px rgba(240, 140, 218, 0.2);
}

/* Card Tilt Effect (requires JS) */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
}

/* Progress Indicator for Rules */
.progress-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 100;
  transition: transform 0.1s linear;
}

/* Smooth Underline Animation for Links */
.animated-link {
  position: relative;
  display: inline-block;
}

.animated-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Tooltip Styles */
.tooltip {
  position: relative;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 0.5rem 1rem;
  background: var(--night-rider);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-strong);
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tooltip:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Interactive Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(91, 180, 250, 0.3) 20%, 
    rgba(240, 140, 218, 0.3) 80%, 
    transparent);
  margin: 3rem 0;
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--ch-black);
  border: 1px solid var(--border);
  border-radius: 50%;
}

/* Cursor Glow (follows cursor) */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 180, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Enhanced Header Blur */
.site-header {
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
}

.home .site-header {
  position: fixed;
  width: 100%;
  background: rgba(15, 17, 23, 0.25);
}

.home {
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.45) 0%, rgba(7, 9, 14, 0.6) 45%, rgba(5, 6, 9, 0.75) 100%),
    url("assets/night_sky.jpg");
  background-size: cover;
  background-position: center top, center top;
  background-attachment: scroll, fixed;
}

.rules-page:not(.terminology-page):not(.howtos-page) {
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.6) 0%, rgba(7, 9, 14, 0.8) 45%, rgba(5, 6, 9, 0.98) 100%),
    url("assets/background_car.jpg");
  background-size: cover;
  background-position: center top, center top;
  background-attachment: scroll, fixed;
}

.rules-page:not(.terminology-page):not(.howtos-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 14, 0.45) 0%, rgba(6, 8, 14, 0.65) 100%),
    radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.14), rgba(240, 140, 218, 0.12) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.home::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.14), rgba(240, 140, 218, 0.12) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.guides-page {
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(7, 9, 14, 0.7) 45%, rgba(5, 6, 9, 0.85) 100%),
    url("assets/ocean.jpg");
  background-size: cover;
  background-position: center top, center top;
  background-attachment: scroll, fixed;
}

.guides-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.12), rgba(240, 140, 218, 0.1) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.task-status-page {
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(7, 9, 14, 0.7) 45%, rgba(5, 6, 9, 0.85) 100%),
    url("assets/computer.jpg");
  background-size: cover;
  background-position: center top, center top;
  background-attachment: scroll, fixed;
}

.task-status-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.12), rgba(240, 140, 218, 0.1) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.faq-page {
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(7, 9, 14, 0.7) 45%, rgba(5, 6, 9, 0.85) 100%),
    url("assets/marketplace.jpg");
  background-size: cover;
  background-position: center top, center top;
  background-attachment: scroll, fixed;
}

.faq-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.12), rgba(240, 140, 218, 0.1) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.applications-page {
  --muted: #a7b0bd;
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(7, 9, 14, 0.7) 45%, rgba(5, 6, 9, 0.85) 100%),
    url("assets/bayside.jpg");
  background-size: cover;
  background-position: center top, center top;
  background-attachment: scroll, fixed;
}

.applications-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.12), rgba(240, 140, 218, 0.1) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.team-page {
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(7, 9, 14, 0.7) 45%, rgba(5, 6, 9, 0.85) 100%),
    url("assets/office.jpg");
  background-size: cover;
  background-position: center top, center top;
  background-attachment: scroll, fixed;
}

.team-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(91, 180, 250, 0.12), rgba(240, 140, 218, 0.1) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.home main {
  padding-top: var(--nav-height);
}

.home .hero-banner {
  margin-top: calc(-1 * var(--nav-height));
  padding-top: calc(3.5rem + var(--nav-height));
  border-bottom: none;
  background-image: none;
}

.home .hero-banner::before,
.home .hero-banner::after {
  display: none;
}

@media (max-width: 900px) {
  .home {
    background-attachment: scroll, scroll;
  }
}

.home-hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.home-hero-grid .hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero-grid .hero-title {
  text-align: center;
  align-items: center;
  margin-bottom: 0.85rem;
}

.home-hero-grid .hero-actions {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.home-hero-grid .hero-actions.hero-actions-inline {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.home-hero-grid .hero-divider {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.9rem;
}

.home main .card,
.home .start-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(9, 14, 24, 0.84), rgba(10, 16, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 180, 250, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
}

.home main .card::before,
.home .start-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 180, 250, 0), rgba(91, 180, 250, 0.6), rgba(240, 140, 218, 0.55), rgba(240, 140, 218, 0));
  opacity: 0.9;
}

.home main .card:hover,
.home .start-card:hover {
  border-color: rgba(91, 180, 250, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 26px rgba(91, 180, 250, 0.2);
}



.hero-pill {
  display: flex;
  width: max-content;
  margin: 0 0 1rem;
  justify-content: center;
  align-self: center;
}

.hero-value-prop {
  margin: 0.25rem 0 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #dbeafe;
}

.hero-actions-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.hero-primary-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 16px;
  height: 16px;
}

.scroll-cue:hover {
  color: #ffffff;
}

.start-here {
  position: relative;
}

.start-here::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(91, 180, 250, 0.12), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(240, 140, 218, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(15, 17, 23, 0.65), rgba(15, 17, 23, 0.9));
  pointer-events: none;
}

.start-here .container {
  position: relative;
  z-index: 1;
}

.start-here .start-card {
  background: linear-gradient(150deg, rgba(18, 24, 38, 0.95), rgba(18, 24, 38, 0.85));
  border-color: rgba(255, 255, 255, 0.1);
}

.start-here .icon-circle {
  background: rgba(12, 15, 22, 0.9);
}

.home .start-card .icon-circle {
  color: #ffffff;
}

.home .start-here::before,
.home .home-story::before {
  display: none;
}

.home-story {
  position: relative;
}

.home-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(91, 180, 250, 0.1), transparent 58%),
    radial-gradient(circle at 15% 80%, rgba(240, 140, 218, 0.12), transparent 60%);
  pointer-events: none;
}

.home-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.home-story .about-card {
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(10, 16, 28, 0.9), rgba(12, 18, 34, 0.84));
  border-color: rgba(91, 180, 250, 0.32);
  backdrop-filter: blur(16px) saturate(145%);
}

.home-story .about-card .section-title {
  text-align: center;
}

.home-story-panel .section-header {
  margin-bottom: 1.3rem;
}

.home-cta-card {
  padding: 2rem 2.4rem;
  background:
    linear-gradient(135deg, rgba(10, 16, 30, 0.95), rgba(12, 20, 38, 0.92)),
    radial-gradient(circle at 15% 20%, rgba(91, 180, 250, 0.16), transparent 60%);
  border: 1px solid rgba(91, 180, 250, 0.48);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(18px) saturate(150%);
}

.home-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-cta-actions {
  align-items: center;
}



@media (max-width: 720px) {
  .home-cta-card {
    padding: 1.6rem 1.4rem;
  }
}

/* Enhanced Hero Section */
.hero-banner {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(15, 17, 23, 0.9)),
    url("assets/night_sky.jpg");
}

.hero-banner::before {
  background: linear-gradient(120deg, rgba(18, 24, 38, 0.92), rgba(18, 24, 38, 0.55), rgba(91, 180, 250, 0.14));
}

/* Typing Animation */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.typing-effect {
  overflow: hidden;
  border-right: 2px solid var(--blue);
  white-space: nowrap;
  animation: typing 3s steps(40) 1s forwards, blink 0.75s step-end infinite;
}

/* Interactive Counter Animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.counter {
  animation: countUp 0.6s ease-out forwards;
}

/* Card Spotlight Effect */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(91, 180, 250, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Interactive Navigation Pills */
.nav-pill {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.nav-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-pill:hover::before,
.nav-pill.active::before {
  opacity: 1;
}

.nav-pill:hover,
.nav-pill.active {
  color: var(--ch-black);
}

/* Magnetic Button Effect */
.magnetic {
  transition: transform 0.2s ease;
}

/* Reading Progress for Rules Pages */
.reading-progress {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 100;
  width: 0%;
  transition: width 0.1s linear;
}

/* Interactive Badge */
.interactive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(91, 180, 250, 0.1);
  border: 1px solid rgba(91, 180, 250, 0.3);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.interactive-badge:hover {
  background: rgba(91, 180, 250, 0.2);
  border-color: rgba(91, 180, 250, 0.5);
  transform: scale(1.05);
}

/* Animated Icon */
.animated-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, 
    var(--eer-black) 25%, 
    var(--night-rider) 50%, 
    var(--eer-black) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* Tighter corners for cards and buttons */
.btn,
.nav-dropdown button,
.rules-toggle-btn,
.social-icon,
.nav-social-trigger,
.back-to-top {
  border-radius: var(--radius-sm);
}

.nav-social-trigger {
  border-radius: 0;
}

.card,
.feature-card,
.stat-card,
.terminology-card,
.start-card,
.role-section-card,
.store-card,
.store-hero-card,
.gallery-card,
.highlight-card,
.about-card,
.contact-card,
.staff-card,
.tier-card,
.glass-card,
.glow-card,
.spotlight-card,
.howto-accordion-item.card,
.accordion-item.card {
  border-radius: var(--radius-md) !important;
}

.start-card {
  border-radius: 0 !important;
}



