@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-roman.var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --espaco-profundo: #071842;
  --azul-noite: #0e2451;
  --azul-oceano: #1b427e;
  --azul-marca: #276996;
  --azul-claro: #6a9efc;
  --ciano-laser: #69d6fe;
  --roxo-nebulosa: #4c5dba;
  --ouro-cometa: #d59841;
  --creme-estelar: #f0dcb6;
  --texto: #ffffff;
  --texto-sec: rgba(240, 220, 182, 0.9);
  --surface: #0e2451;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(105, 214, 254, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(76, 93, 186, 0.12), transparent 35%),
    linear-gradient(140deg, var(--espaco-profundo), var(--azul-noite));
  color: var(--texto);
  overflow-x: hidden;
  padding: 0 18px 32px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(2.4px 2.4px at 12% 18%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(2px 2px at 28% 32%, rgba(105, 214, 254, 0.9), transparent 60%),
    radial-gradient(2.2px 2.2px at 46% 12%, rgba(240, 220, 182, 0.9), transparent 60%),
    radial-gradient(2.6px 2.6px at 65% 24%, rgba(105, 214, 254, 0.9), transparent 60%),
    radial-gradient(2px 2px at 82% 16%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(2.2px 2.2px at 8% 62%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(2.4px 2.4px at 26% 74%, rgba(240, 220, 182, 0.9), transparent 60%),
    radial-gradient(2px 2px at 44% 82%, rgba(105, 214, 254, 0.9), transparent 60%),
    radial-gradient(2.6px 2.6px at 62% 70%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(2.2px 2.2px at 78% 84%, rgba(105, 214, 254, 0.9), transparent 60%),
    radial-gradient(2px 2px at 92% 68%, rgba(240, 220, 182, 0.9), transparent 60%),
    radial-gradient(2.1px 2.1px at 50% 50%, rgba(255, 255, 255, 0.9), transparent 60%);
  opacity: 0.8;
  animation: twinkle 9s ease-in-out infinite alternate;
  z-index: 0;
}

.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--star-color, #ffffff) 55%, transparent 75%);
  opacity: var(--star-opacity, 0.85);
  filter: drop-shadow(0 0 6px var(--star-glow, rgba(105, 214, 254, 0.45)));
  transform: scale(var(--star-scale, 1));
  animation:
    starTwinkle var(--twinkle, 7s) ease-in-out infinite,
    starDrift var(--drift, 18s) ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: calc(var(--star-opacity, 0.85) * 0.7);
  }
  50% {
    opacity: calc(var(--star-opacity, 0.85) * 1.05);
  }
}

@keyframes starDrift {
  0% { transform: translateX(calc(var(--drift-amp, 10px) * -1)) scale(var(--star-scale, 1)); }
  50% { transform: translateX(0) scale(var(--star-scale, 1)); }
  100% { transform: translateX(var(--drift-amp, 10px)) scale(var(--star-scale, 1)); }
}

.shooting-star {
  position: absolute;
  height: 2px;
  width: 0;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(105, 214, 254, 0),
    rgba(105, 214, 254, 0.85),
    rgba(255, 255, 255, 1)
  );

  filter: drop-shadow(0 0 6px rgba(105, 214, 254, 0.55));
  opacity: 0;
  will-change: transform, width, opacity;

  animation:
    meteorTail var(--dur, 1.6s) ease-in-out forwards,
    meteorFly  var(--dur, 1.6s) ease-in-out forwards;
}

/* brilho na ponta (aquele “X” sutil) */
.shooting-star::before,
.shooting-star::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;

  height: 2px;
  width: 0;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(105, 214, 254, 0),
    rgba(255, 255, 255, 0.95),
    rgba(105, 214, 254, 0)
  );

  transform: translateX(50%) rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(105, 214, 254, 0.8));
  animation: meteorShine var(--dur, 1.6s) ease-in-out forwards;
}

.shooting-star::after {
  transform: translateX(50%) rotate(-45deg);
}

/* cauda crescendo e encolhendo */
@keyframes meteorTail {
  0%   { width: 0; opacity: 0; }
  10%  { opacity: 1; }
  30%  { width: var(--len, 160px); opacity: 1; }
  100% { width: 0; opacity: 0; }
}

/* brilho da ponta */
@keyframes meteorShine {
  0%   { width: 0; }
  50%  { width: 28px; }
  100% { width: 0; }
}

/* deslocamento + rotação alinhados */
@keyframes meteorFly {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--rot, 135deg));
  }
  100% {
    transform: translate3d(var(--dx, -900px), var(--dy, 900px), 0)
      rotate(var(--rot, 135deg));
  }
}

@keyframes shoot {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-20deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--dx, -360px), var(--dy, 220px), 0) rotate(-20deg); }
}

@keyframes tailFade {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 40%, rgba(105, 214, 254, 0.12), transparent 35%),
    radial-gradient(circle at 75% 50%, rgba(213, 152, 65, 0.14), transparent 35%),
    radial-gradient(circle at 60% 80%, rgba(76, 93, 186, 0.12), transparent 35%);
  filter: blur(40px);
  opacity: 0.9;
  z-index: 1;
  animation: glowDrift 18s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-4px); }
  100% { opacity: 0.65; transform: translateY(2px); }
}

@keyframes glowDrift {
  0% {
    background-position: 20% 40%, 75% 50%, 60% 80%;
    background-size: 40% 40%, 45% 45%, 35% 35%;
  }
  50% {
    background-position: 16% 35%, 78% 55%, 65% 76%;
    background-size: 45% 45%, 50% 50%, 38% 38%;
  }
  100% {
    background-position: 24% 42%, 72% 48%, 58% 82%;
    background-size: 38% 38%, 48% 48%, 34% 34%;
  }
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 12px;
  color: var(--texto-sec);
}

.section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto 72px;
  background: rgba(14, 36, 81, 0.55);
  border: 1px solid rgba(213, 152, 65, 0.35);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.section.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section__header {
  margin-bottom: 20px;
}

.bio {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: left;
}

.bio p {
  color: var(--texto-sec);
  line-height: 1.65;
  margin: 0 0 10px;
}

.bio img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(105, 214, 254, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

.portfolio-top h1 { margin: 4px 0; }

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

.category-card {
  background: rgba(27, 66, 126, 0.35);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
}

.category-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}

.category-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.category-meta { display: flex; gap: 8px; align-items: center; }

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

.item-card {
  background: rgba(27, 66, 126, 0.35);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  box-shadow: var(--shadow);
}

.item-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}

.item-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

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

.tags span {
  background: rgba(105, 214, 254, 0.12);
  border: 1px solid rgba(106, 158, 252, 0.4);
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 12px;
}

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

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(106, 158, 252, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel .slide { display: none; }
.carousel .slide.active { display: block; }

.carousel img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 24, 66, 0.7);
  color: var(--texto);
  border: 1px solid rgba(106, 158, 252, 0.5);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.deliverables ul {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--texto-sec);
}

.empty-state {
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--ciano-laser);
  margin-bottom: 8px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
}

.hero__text h1 {
  font-size: clamp(32px, 4vw, 46px);
  background: linear-gradient(90deg, var(--ciano-laser), var(--azul-claro));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  color: var(--texto);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--azul-marca), var(--roxo-nebulosa));
  border-color: rgba(105, 214, 254, 0.6);
  box-shadow: 0 12px 30px rgba(105, 214, 254, 0.25);
}

.btn.ghost {
  background: rgba(39, 105, 150, 0.15);
  border-color: rgba(106, 158, 252, 0.4);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  border-color: var(--ciano-laser);
}

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

.stats div {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(27, 66, 126, 0.3);
  border: 1px solid rgba(105, 214, 254, 0.25);
  color: var(--texto-sec);
  font-weight: 600;
}

.stats span {
  display: block;
  color: var(--texto);
  font-size: 20px;
}

.hero__card {
  background: linear-gradient(160deg, rgba(27, 66, 126, 0.9), rgba(7, 24, 66, 0.95));
  border: 1px solid rgba(213, 152, 65, 0.5);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(105, 214, 254, 0.35), transparent 35%);
  opacity: 0.9;
}

.hero__card h3, .hero__card p { position: relative; z-index: 1; }

.tag {
  display: inline-block;
  background: rgba(105, 214, 254, 0.15);
  color: var(--ciano-laser);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(105, 214, 254, 0.4);
  font-weight: 700;
}

.small { font-size: 14px; color: var(--texto-sec); }

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.schedule strong { color: var(--texto); }

.signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(105, 214, 254, 0.1);
  border: 1px solid rgba(106, 158, 252, 0.5);
  border-radius: 12px;
  font-weight: 700;
  color: var(--texto);
  position: relative;
  z-index: 1;
}

.signal .dot {
  width: 10px;
  height: 10px;
  background: var(--ciano-laser);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--ciano-laser);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

.card {
  background: rgba(27, 66, 126, 0.35);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--ciano-laser);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(213, 152, 65, 0.12);
  color: var(--ouro-cometa);
  border-radius: 10px;
  border: 1px solid rgba(213, 152, 65, 0.5);
  font-weight: 700;
  font-size: 12px;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--texto-sec);
  font-size: 13px;
}

.meta span {
  background: rgba(105, 214, 254, 0.1);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: 8px;
  padding: 4px 8px;
}

.panel {
  background: linear-gradient(135deg, rgba(14, 36, 81, 0.9), rgba(7, 24, 66, 0.92));
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
}

.panel__info .badge {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(39, 105, 150, 0.25);
  border: 1px solid rgba(105, 214, 254, 0.3);
  border-radius: 12px;
  color: var(--ciano-laser);
  font-weight: 700;
  margin-bottom: 10px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.highlights .label {
  font-size: 12px;
  color: var(--texto-sec);
}

.panel__frame {
  background: rgba(14, 36, 81, 0.7);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.frame__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(7, 24, 66, 0.8);
  border-bottom: 1px solid rgba(106, 158, 252, 0.25);
}

.frame__top .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ciano-laser);
  box-shadow: 0 0 12px var(--ciano-laser);
  animation: pulse 1.4s infinite;
}

.frame__screen {
  padding: 16px;
  background: linear-gradient(160deg, rgba(39, 105, 150, 0.3), rgba(12, 35, 80, 0.7));
}

.scene {
  border: 1px solid rgba(213, 152, 65, 0.4);
  border-radius: 12px;
  padding: 14px;
  background: rgba(7, 24, 66, 0.75);
}

.scene__hud {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--texto-sec);
  margin-bottom: 12px;
}

.scene__content {
  background: linear-gradient(120deg, rgba(105, 214, 254, 0.2), rgba(76, 93, 186, 0.2));
  border: 1px dashed rgba(213, 152, 65, 0.35);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  font-weight: 700;
}

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

.link-card {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(27, 66, 126, 0.3);
  border: 1px solid rgba(106, 158, 252, 0.4);
  border-radius: 12px;
  color: var(--texto);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--ciano-laser);
}

.link-card img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

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

.spec {
  background: rgba(27, 66, 126, 0.35);
  border: 1px solid rgba(213, 152, 65, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
}

.spec h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spec h2 img {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.spec ul {
  margin: 0;
  padding-left: 18px;
  color: var(--texto-sec);
  line-height: 1.6;
}

.spec ul .note-li {
  list-style: none;
  padding-left: 0;
  color: var(--texto-sec);
  font-style: italic;
  opacity: 0.9;
}

.about {
  display: grid;
  gap: 18px;
  grid-template-columns: 2fr 1fr;
}

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

.timeline .year {
  color: var(--ouro-cometa);
  font-weight: 800;
}

.about__cta {
  background: rgba(39, 105, 150, 0.25);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: 12px;
  padding: 16px;
  align-self: start;
}

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 4px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--texto-sec);
}

.footer__links { display: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  max-width: 1100px;
  margin: 12px auto 28px;
  background: rgba(7, 24, 66, 0.75);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}

.brand {
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 18px;
}

.brand { color: var(--texto); }

.nav {
  display: flex;
  gap: 12px;
  flex: 1;
}

.nav a {
  color: var(--texto-sec);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(106, 158, 252, 0.35);
  background: rgba(39, 105, 150, 0.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav a:hover, .nav a.active {
  background: linear-gradient(135deg, rgba(39, 105, 150, 0.4), rgba(76, 93, 186, 0.35));
  color: var(--texto);
  border-color: rgba(105, 214, 254, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.cta {
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--azul-marca), var(--roxo-nebulosa));
  color: var(--texto);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(106, 158, 252, 0.5);
  box-shadow: 0 12px 30px rgba(105, 214, 254, 0.25);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: rgba(39, 105, 150, 0.2);
  border: 1px solid rgba(106, 158, 252, 0.4);
  border-radius: 10px;
  position: relative;
}

.nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle::before { top: 12px; }
.nav-toggle::after { bottom: 12px; }

.nav-toggle.open::before { top: 17px; transform: rotate(45deg); }
.nav-toggle.open::after { bottom: 17px; transform: rotate(-45deg); }

.tab-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(106, 158, 252, 0.4);
  background: linear-gradient(135deg, rgba(14, 36, 81, 0.9), rgba(7, 24, 66, 0.85));
  color: var(--texto);
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tab-button:hover {
  transform: translateY(-2px);
  border-color: var(--ciano-laser);
}

.tab-button.active {
  background: linear-gradient(135deg, var(--azul-marca), var(--roxo-nebulosa));
  border-color: rgba(105, 214, 254, 0.65);
  box-shadow: 0 12px 30px rgba(105, 214, 254, 0.25);
}

.tab-button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.tab-panels {
  background: rgba(14, 36, 81, 0.7);
  border: 1px solid rgba(213, 152, 65, 0.35);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.toast-container {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  pointer-events: none;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(7, 24, 66, 0.9);
  border: 1px solid rgba(105, 214, 254, 0.5);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  color: var(--texto);
  font-weight: 700;
  animation: toastIn 0.25s ease, toastOut 0.4s ease 2.8s forwards;
}

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

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

.live-status {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(14, 36, 81, 0.6);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: var(--radius);
}

.live-player {
  position: relative;
  background: rgba(7, 24, 66, 0.9);
  border: 1px solid rgba(213, 152, 65, 0.35);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.live-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(106, 158, 252, 0.4);
}

.status-loading {
  background: rgba(106, 158, 252, 0.2);
  color: var(--texto);
}

.status-offline {
  background: rgba(27, 66, 126, 0.35);
  border-color: rgba(213, 152, 65, 0.4);
  color: var(--texto-sec);
}

.status-online {
  background: rgba(105, 214, 254, 0.15);
  border-color: rgba(105, 214, 254, 0.7);
  color: var(--texto);
  box-shadow: 0 12px 30px rgba(105, 214, 254, 0.2);
}

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

.command-card {
  background: rgba(27, 66, 126, 0.35);
  border: 1px solid rgba(106, 158, 252, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 6px;
}

.command-card .command-title {
  font-weight: 800;
  color: var(--texto);
  display: flex;
  align-items: center;
  gap: 8px;
}

.aliases, .usage, .price {
  font-size: 13px;
  color: var(--texto-sec);
}

.price {
  color: var(--ciano-laser);
  font-weight: 800;
}

.desc {
  margin: 0;
  color: var(--texto-sec);
  line-height: 1.4;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(105, 214, 254, 0.15), rgba(106, 158, 252, 0.18));
  border: 1px solid rgba(105, 214, 254, 0.7);
  color: var(--texto);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(105, 214, 254, 0.2);
  z-index: 0;
}

.badge-new::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(105, 214, 254, 0.25), transparent 50%);
  transform: translateX(-20%);
  opacity: 0.8;
  filter: blur(6px);
  animation: badgeGlow 3.2s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes badgeGlow {
  0% { transform: translateX(-25%); opacity: 0.65; }
  50% { transform: translateX(10%); opacity: 1; }
  100% { transform: translateX(-25%); opacity: 0.65; }
}

.note {
  background: rgba(39, 105, 150, 0.2);
  border: 1px solid rgba(106, 158, 252, 0.4);
  border-radius: 12px;
  padding: 14px;
  color: var(--texto-sec);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .topbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
  }

  .cta {
    order: 3;
    width: 100%;
    text-align: center;
  }

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

  .tab-buttons {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 540px) {
  body { padding: 0 12px 28px; }
  .section { padding: 26px 20px; }
  .topbar { padding: 10px 12px; }
  .portfolio-top { flex-direction: column; align-items: flex-start; }
}
