:root {
  --black: #0a0a0f;
  --deep: #120c1a;
  --purple: #8b3dff;
  --neon: #2af2ff;
  --blue: #2d7bff;
  --white: #f7f7fb;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(5, 5, 16, 0.8);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--white);
  background: radial-gradient(circle at top, #1b1233, var(--black) 70%);
  min-height: 100vh;
  overflow-x: hidden;
  top: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

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

.nav-lang {
  margin-left: 8px;
  border: 1px solid var(--border);
  background: rgba(8, 8, 16, 0.6);
  border-radius: 999px;
  width: 40px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nav-lang:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-lang:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.nav-lang .flag {
  display: none;
  width: 22px;
  height: 16px;
  background-size: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.nav-lang .flag-br {
  display: block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'><rect width='22' height='16' fill='%2300953b'/><polygon points='11,1 21,8 11,15 1,8' fill='%23ffdf00'/><circle cx='11' cy='8' r='4.2' fill='%2300216c'/></svg>");
}

.nav-lang.is-en .flag-br {
  display: none;
}

.nav-lang.is-en .flag-us {
  display: block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'><rect width='22' height='16' fill='%23fff'/><rect y='0' width='22' height='2' fill='%23b22234'/><rect y='4' width='22' height='2' fill='%23b22234'/><rect y='8' width='22' height='2' fill='%23b22234'/><rect y='12' width='22' height='2' fill='%23b22234'/><rect width='9' height='8' fill='%23003f87'/></svg>");
}

.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget {
  display: none !important;
}

iframe.goog-te-banner-frame {
  display: none !important;
}

body > .skiptranslate {
  display: none !important;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(transparent 97%, rgba(255, 255, 255, 0.04) 98%),
    linear-gradient(90deg, transparent 97%, rgba(255, 255, 255, 0.04) 98%);
  background-size: 40px 40px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
}

.bg-glow-1 {
  top: -80px;
  right: 10%;
  background: rgba(139, 61, 255, 0.35);
  animation: floatGlow 8s ease-in-out infinite;
}

.bg-glow-2 {
  bottom: -120px;
  left: 8%;
  background: rgba(42, 242, 255, 0.25);
  animation: floatGlow 10s ease-in-out infinite reverse;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6vw;
  background: rgba(7, 7, 16, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.brand-nova {
  color: var(--white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.brand-x {
  color: var(--neon);
  text-shadow: 0 0 18px rgba(42, 242, 255, 0.8), 0 0 38px rgba(139, 61, 255, 0.6);
  animation: glitch 2.6s infinite;
}

.brand-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 4px;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.site-nav a,
.nav-dropdown-toggle {
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a.active {
  background: rgba(42, 242, 255, 0.2);
  color: var(--neon);
}

.site-nav a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  background: rgba(42, 242, 255, 0.12);
  color: var(--neon);
}

.nav-ai {
  background: linear-gradient(120deg, rgba(255, 86, 120, 0.95), rgba(255, 178, 71, 0.9));
  color: #1a0d0f;
  font-weight: 700;
  border: 1px solid rgba(255, 140, 96, 0.7);
  box-shadow: 0 10px 22px rgba(255, 120, 90, 0.35);
}

.nav-ai:hover {
  background: linear-gradient(120deg, rgba(255, 110, 140, 1), rgba(255, 200, 90, 0.95));
  color: #140708;
}

.nav-cursos {
  background: linear-gradient(120deg, rgba(120, 255, 214, 0.95), rgba(64, 170, 255, 0.95));
  color: #021318;
  font-weight: 700;
  border: 1px solid rgba(120, 255, 214, 0.6);
  box-shadow: 0 10px 24px rgba(64, 170, 255, 0.3);
}

.nav-cursos:hover {
  background: linear-gradient(120deg, rgba(140, 255, 224, 1), rgba(90, 190, 255, 1));
  color: #011016;
}

.particle-cta {
  position: relative;
  overflow: hidden;
}

.particle-cta::before,
.particle-cta::after {
  content: "";
  position: absolute;
  inset: -40%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(42, 242, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 130, 90, 0.6) 0 2px, transparent 3px);
  background-size: 24px 24px, 30px 30px, 36px 36px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20%);
}

.particle-cta::before {
  animation: particleDrift 4s linear infinite;
}

.particle-cta::after {
  animation: particleDrift 6s linear infinite reverse;
}

.particle-cta:hover::before,
.particle-cta:hover::after {
  opacity: 0.75;
}

@keyframes particleDrift {
  0% {
    transform: translateY(20%) translateX(-10%);
  }
  50% {
    transform: translateY(-10%) translateX(10%);
  }
  100% {
    transform: translateY(-30%) translateX(20%);
  }
}

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

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-dropdown-toggle {
  border: 1px solid rgba(42, 123, 255, 0.6);
  background: linear-gradient(120deg, rgba(42, 123, 255, 0.92), rgba(42, 242, 255, 0.85));
  color: #0a0b14;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.nav-packages {
  padding: 8px 16px;
  box-shadow: 0 10px 24px rgba(42, 123, 255, 0.35);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(7, 7, 16, 0.98);
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  z-index: 20;
}

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

.nav-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 10px;
}

.hero-cta {
  margin: 12px 0 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--white);
  display: block;
  border-radius: 999px;
}
.cta {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 242, 255, 0.2);
}

.cta.primary {
  background: linear-gradient(120deg, var(--purple), var(--neon));
  border-color: transparent;
  color: var(--black);
}

.cta.ghost {
  background: transparent;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 80px 6vw 40px;
  align-items: center;
}

.hero-content h1 {
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 12px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  margin: 26px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.hero-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.2));
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.hero-card ul {
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.pulse-ring {
  position: absolute;
  inset: -12px;
  border-radius: 30px;
  border: 1px solid rgba(42, 242, 255, 0.4);
  animation: pulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

.section {
  padding: 60px 6vw;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
}

.featured-work .section-header p {
  max-width: 720px;
}

.featured-carousel {
  position: relative;
}

.featured-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.featured-grid::-webkit-scrollbar {
  display: none;
}

.featured-item {
  display: grid;
  gap: 16px;
  min-width: 92vw;
  scroll-snap-align: start;
}

.featured-work .hero-actions .cta {
  padding: 10px 18px;
  font-size: 0.95rem;
  line-height: 1.1;
}

.featured-work .hero-actions {
  margin: 10px 0 0;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(42, 242, 255, 0.5);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.carousel-control:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(42, 242, 255, 0.8);
}

.carousel-control.prev {
  left: -10px;
}

.carousel-control.next {
  right: -10px;
}

@media (min-width: 1100px) {
  .featured-media {
    border-radius: 30px;
  }
}

@media (min-width: 760px) {
  .featured-item {
    min-width: min(78vw, 980px);
  }
}

@media (max-width: 900px) {
  .carousel-control {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .carousel-control.prev {
    left: -6px;
  }

  .carousel-control.next {
    right: -6px;
  }
}

.featured-status {
  background: rgba(255, 193, 7, 0.18);
  border-color: rgba(255, 193, 7, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: default;
}

.featured-media {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(42, 242, 255, 0.08), rgba(0, 0, 0, 0.4));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.featured-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 731;
  object-fit: cover;
}

.featured-media figcaption {
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

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

.card {
  padding: 20px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 242, 255, 0.5);
}

.card .cta {
  margin-top: 16px;
}

.portfolio-card {
  display: grid;
  gap: 14px;
}

.portfolio-card img {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease;
}

.portfolio-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card h3 {
  margin: 0;
}

.vps-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.vps-perk {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.vps-perk-title {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.vps-perk-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(42, 242, 255, 0.2);
  color: var(--neon);
}

.highlight {
  background: linear-gradient(180deg, rgba(139, 61, 255, 0.16), rgba(0, 0, 0, 0.1));
  border-top: 1px solid rgba(139, 61, 255, 0.4);
  border-bottom: 1px solid rgba(42, 242, 255, 0.3);
}

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

.about-stack {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.about-stack strong {
  color: var(--neon);
}

.about-card {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(42, 242, 255, 0.2);
  background: rgba(7, 7, 16, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.about-card h3 {
  margin: 0 0 8px;
  color: var(--neon);
}

.about-card p {
  margin: 0;
}

.checklist {
  padding-left: 0;
  list-style: none;
}

.checklist li {
  padding: 8px 0 8px 26px;
  position: relative;
}

.checklist li::before {
  content: "v";
  position: absolute;
  left: 0;
  color: var(--neon);
}

.price-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(42, 242, 255, 0.12);
  border: 1px solid rgba(42, 242, 255, 0.4);
}

.price {
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
}

.price-note {
  display: block;
  margin: 6px 0 16px;
  color: rgba(255, 255, 255, 0.7);
}

.highlight-card {
  background: linear-gradient(120deg, rgba(42, 242, 255, 0.2), rgba(139, 61, 255, 0.15));
  border-color: rgba(42, 242, 255, 0.5);
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  font-family: inherit;
}

.contact-form button {
  border: none;
}

.contact-status {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(42, 242, 255, 0.9);
  min-height: 20px;
}

.contact-status.error {
  color: #ff9bb2;
}
.site-footer {
  padding: 30px 6vw 60px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
}

.footer-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(140deg, var(--neon), var(--purple));
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 20;
}

.chat-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.chat-dot {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3366;
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.8);
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: min(320px, 90vw);
  max-height: 70vh;
  background: rgba(10, 10, 18, 0.95);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  z-index: 1200;
}

.chat-panel.active {
  display: flex;
}

.whatsapp-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  padding: 20px;
}

.whatsapp-modal.show {
  display: flex;
  animation: modalFade 0.3s ease-out;
}

.whatsapp-card {
  position: relative;
  border: none;
  background: linear-gradient(135deg, rgba(36, 255, 201, 0.95), rgba(60, 160, 255, 0.95));
  color: #081018;
  padding: 24px 24px 18px;
  border-radius: 20px;
  box-shadow: 0 22px 44px rgba(8, 20, 30, 0.5);
  display: grid;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  animation: popIn 0.45s ease-out;
  max-width: 420px;
  width: min(420px, 90vw);
}

.whatsapp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(8, 16, 24, 0.35);
  background: rgba(255, 255, 255, 0.2);
  color: #081018;
  font-weight: 700;
  cursor: pointer;
}

.whatsapp-cta-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  background: rgba(8, 16, 24, 0.85);
  color: #f2f7ff;
  font-weight: 700;
  cursor: pointer;
}

.whatsapp-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.whatsapp-cta {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.pulse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  border: 1px solid rgba(60, 160, 255, 0.45);
  opacity: 0.6;
  animation: ringPulse 2.8s ease-in-out infinite;
}

@keyframes ringPulse {
  0% {
    transform: scale(0.98);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.98);
    opacity: 0.55;
  }
}

@keyframes floatPulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.94);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .whatsapp-card {
    width: min(360px, 92vw);
  }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.chat-header button {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(42, 242, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.chat-header button:hover {
  border-color: rgba(42, 242, 255, 0.7);
}

.chat-body {
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  scrollbar-color: rgba(42, 242, 255, 0.55) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.chat-body::-webkit-scrollbar {
  width: 8px;
}

.chat-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: rgba(42, 242, 255, 0.55);
  border-radius: 999px;
  border: 2px solid rgba(10, 10, 18, 0.6);
}

.chat-body::-webkit-scrollbar-thumb:hover {
  background: rgba(42, 242, 255, 0.8);
}

.chat-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.chat-form {
  display: grid;
  gap: 10px;
}

.chat-form input {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.chat-form button {
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: var(--neon);
  color: var(--black);
  font-weight: 600;
}

.chat-input {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.chat-input input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.chat-input button {
  border: none;
  border-radius: 10px;
  background: var(--purple);
  color: var(--white);
  padding: 0 16px;
}

.chat-message {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 0.9rem;
}

.chat-message.client {
  align-self: flex-end;
  background: rgba(42, 242, 255, 0.2);
  border: 1px solid rgba(42, 242, 255, 0.4);
}

.chat-message.admin {
  align-self: flex-start;
  background: rgba(139, 61, 255, 0.2);
  border: 1px solid rgba(139, 61, 255, 0.4);
}

.chat-message .chat-links {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.chat-message .chat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
  background: var(--neon);
}

.chat-message .chat-link-discord {
  background: linear-gradient(135deg, #5865f2, #a65cff);
  color: var(--white);
}

.chat-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

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

@keyframes glitch {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(42, 242, 255, 0.9);
  }
  50% {
    text-shadow: 0 0 8px rgba(139, 61, 255, 0.9), 0 0 24px rgba(42, 242, 255, 0.7);
  }
}

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

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 40px;
  }

  .site-header {
    position: static;
  }

  .site-header {
    align-items: stretch;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-end;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(7, 7, 16, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-menu {
    position: static;
    display: flex;
    min-width: auto;
    padding: 8px 6px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
