:root {
  --bg: #02050d;
  --bg-soft: #07111d;
  --surface: rgba(9, 22, 36, 0.72);
  --surface-strong: rgba(9, 29, 47, 0.92);
  --line: rgba(119, 230, 255, 0.18);
  --text: #f3fbff;
  --muted: #a6b8c9;
  --muted-2: #6f8498;
  --aqua: #33dcff;
  --aqua-strong: #00aaff;
  --blue: #1e6fff;
  --white-blue: #e9fbff;
  --danger: #7e8792;
  --shadow: 0 1.5rem 4rem rgba(0, 170, 255, 0.14);
  --radius-sm: 0.85rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --container: 70rem;
  --header-h: 4.75rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 174, 255, 0.22), transparent 22rem),
    radial-gradient(circle at 80% 18%, rgba(51, 220, 255, 0.15), transparent 19rem),
    linear-gradient(180deg, #02050d 0%, #030714 42%, #02050d 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 85%);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding-block: 3.5rem;
}

.page-glow {
  position: fixed;
  width: 16rem;
  height: 16rem;
  top: 10rem;
  right: -7rem;
  z-index: -2;
  border-radius: 999px;
  background: rgba(0, 170, 255, 0.2);
  filter: blur(4rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(119, 230, 255, 0.12);
  background: rgba(2, 5, 13, 0.78);
  backdrop-filter: blur(1.1rem);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 7.7rem;
}

.brand-logo {
  width: 100%;
  aspect-ratio: 3 / 1.7;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-grid;
  place-items: center;
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(8, 22, 38, 0.72);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.18rem;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--white-blue);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(0.41rem) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-0.41rem) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  top: var(--header-h);
  left: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(3, 9, 18, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.7rem);
  transition: 180ms ease;
}

.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(51, 220, 255, 0.08);
  outline: none;
}

.nav-cta {
  border: 1px solid rgba(51, 220, 255, 0.28);
  background: rgba(0, 170, 255, 0.12);
  color: var(--text) !important;
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding-top: 2.6rem;
}

.hero-grid {
  display: grid;
  gap: 2.1rem;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(51, 220, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 170, 255, 0.08);
  color: var(--aqua);
  font-family: "Trebuchet MS", "Arial Narrow", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Trebuchet MS", "Arial Narrow", system-ui, sans-serif;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  font-size: 2.65rem;
  letter-spacing: 0;
}

h2 {
  max-width: 14ch;
  font-size: 2.05rem;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
}

.hero-text {
  max-width: 38rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.btn,
.role-link {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.btn:hover,
.role-link:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  color: #00101d;
  box-shadow: 0 1rem 2.6rem rgba(0, 170, 255, 0.26);
}

.btn-secondary {
  border: 1px solid rgba(233, 251, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-card {
  position: relative;
  width: min(100%, 22.5rem);
  margin-inline: auto;
  padding: 1.15rem;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    radial-gradient(circle at 50% 35%, rgba(51, 220, 255, 0.25), transparent 52%),
    rgba(4, 14, 25, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(51, 220, 255, 0.16);
  border-radius: calc(var(--radius-lg) - 0.65rem);
}

.orbital-ring {
  position: absolute;
  inset: 13% 9% auto;
  aspect-ratio: 1;
  border: 1px solid rgba(51, 220, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-18deg) skew(8deg);
}

.hero-mark {
  width: min(68vw, 16.5rem);
  margin-inline: auto;
  filter: drop-shadow(0 1.2rem 2.2rem rgba(0, 170, 255, 0.25));
}

.hero-card-info {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(51, 220, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(2, 7, 14, 0.7);
}

.hero-card-info span {
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-card-info strong {
  color: var(--white-blue);
  font-size: 1rem;
}

.split-section {
  display: grid;
  gap: 1.4rem;
}

.section-copy p,
.philosophy-card p,
.info-panel p,
.section-description,
.feature-card p,
.role-card p {
  color: var(--muted);
}

.section-copy p:not(.eyebrow),
.philosophy-card p,
.info-panel p,
.section-description {
  font-size: 1rem;
}

.section-copy p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1rem;
}

.info-panel,
.philosophy-card,
.feature-card,
.role-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.2);
}

.info-panel {
  padding: 1.2rem;
}

.wordmark {
  width: min(100%, 19rem);
  margin-inline: auto;
  aspect-ratio: 3 / 1.55;
  object-fit: contain;
}

.panel-line {
  width: 100%;
  height: 1px;
  margin: 1.2rem 0;
  background: linear-gradient(90deg, transparent, rgba(51, 220, 255, 0.55), transparent);
}

.method-section {
  position: relative;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  max-width: 15ch;
}

.section-description {
  max-width: 39rem;
  margin-top: 0.8rem;
}

.cards-grid,
.roles-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 1.15rem;
}

.card-number {
  display: inline-flex;
  margin-bottom: 1.3rem;
  color: rgba(51, 220, 255, 0.58);
  font-family: "Trebuchet MS", "Arial Narrow", system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.feature-card h3 {
  margin-bottom: 0.7rem;
}

.philosophy-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(0, 170, 255, 0.14), transparent 48%),
    rgba(7, 17, 29, 0.86);
}

.availability-counter {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(51, 220, 255, 0.22);
  border-radius: 999px;
  background: rgba(51, 220, 255, 0.08);
  color: var(--white-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.recruitment-empty {
  max-width: 42rem;
}

.recruitment-empty-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(51, 220, 255, 0.12), transparent 56%),
    var(--surface);
  box-shadow: var(--shadow);
}

.recruitment-empty-card h2 {
  max-width: 15ch;
}

.recruitment-empty-card p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
}

.empty-status-pill {
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border: 1px solid rgba(233, 251, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.role-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 0.9rem;
  align-items: center;
  padding: 1rem;
  overflow: hidden;
}

.role-card.open {
  background:
    linear-gradient(135deg, rgba(51, 220, 255, 0.14), transparent 56%),
    var(--surface-strong);
}

.role-card.closed {
  opacity: 0.78;
}

.role-icon {
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(51, 220, 255, 0.18);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 35% 22%, rgba(233, 251, 255, 0.18), transparent 34%),
    rgba(51, 220, 255, 0.06);
}

.role-card.open .role-icon {
  border-color: rgba(51, 220, 255, 0.38);
  background:
    radial-gradient(circle at 35% 22%, rgba(233, 251, 255, 0.24), transparent 34%),
    rgba(51, 220, 255, 0.12);
}

.role-icon-img {
  width: 2.62rem;
  height: 2.62rem;
  object-fit: contain;
  filter: drop-shadow(0 0 0.65rem rgba(51, 220, 255, 0.32));
}

.status-pill {
  width: fit-content;
  grid-column: 1 / -1;
  padding: 0.32rem 0.64rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.role-card.open .status-pill {
  background: rgba(51, 220, 255, 0.12);
  color: var(--aqua);
}

.role-link {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid rgba(51, 220, 255, 0.4);
  background: linear-gradient(135deg, rgba(51, 220, 255, 0.95), rgba(30, 111, 255, 0.95));
  color: #00111c;
  cursor: pointer;
}

.role-link.disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
  cursor: not-allowed;
}

.role-link.disabled:hover {
  transform: none;
}

.site-footer {
  border-top: 1px solid rgba(119, 230, 255, 0.12);
  background: rgba(2, 5, 13, 0.82);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-block: 1.4rem;
  color: var(--muted-2);
  text-align: center;
  font-size: 0.92rem;
}

.footer-logo {
  width: 7.8rem;
  aspect-ratio: 3 / 1.7;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (min-width: 36rem) {
  .section-pad {
    padding-block: 4.25rem;
  }

  .brand {
    width: 8.7rem;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .hero-grid {
    gap: 2.6rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn {
    min-width: 11rem;
    padding-inline: 1.2rem;
  }

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

@media (min-width: 48rem) {
  .container {
    width: min(100% - 3rem, var(--container));
  }

  .section-pad {
    padding-block: 5rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 1.14rem;
  }

  .eyebrow {
    font-size: 0.86rem;
  }

  .hero-text,
  .section-copy p:not(.eyebrow),
  .philosophy-card p,
  .info-panel p,
  .section-description,
  .contact-copy p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .hero-card {
    width: min(100%, 23.5rem);
    padding: 1.55rem;
  }

  .hero-mark {
    width: min(62vw, 17.5rem);
  }

  .info-panel,
  .philosophy-card {
    padding: 1.55rem;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .feature-card,
  .role-card {
    padding: 1.35rem;
  }

  .role-card {
    min-height: 15rem;
    align-content: start;
  }

  .role-link {
    margin-top: auto;
  }
}

@media (min-width: 56rem) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu a {
    padding: 0.65rem 0.9rem;
  }

  .hero-grid,
  .split-section,
  .philosophy-card {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-grid {
    gap: 3.2rem;
  }

  .split-section,
  .philosophy-card {
    align-items: center;
  }

  .info-panel {
    justify-self: end;
  }

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

@media (min-width: 70rem) {
  .section-pad {
    padding-block: 5.8rem;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 3.05rem;
  }

  .hero-card {
    width: min(100%, 24rem);
    padding: 1.8rem;
  }

  .hero-mark {
    width: min(100%, 18rem);
  }

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

  .role-card {
    grid-template-columns: 1fr;
    min-height: 13.5rem;
  }

  .status-pill,
  .role-link {
    grid-column: auto;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Orbital ring refinado */
.orbital-ring {
  inset: 50% auto auto 50%;
  width: min(76%, 18rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-color: rgba(51, 220, 255, 0.28);
  box-shadow: inset 0 0 2rem rgba(51, 220, 255, 0.05), 0 0 2.4rem rgba(51, 220, 255, 0.08);
}

.orbital-dot-track {
  position: absolute;
  inset: -0.5px;
  border-radius: 50%;
  animation: orbitSpin 7s linear infinite;
}

.orbital-dot {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 0.35rem rgba(51, 220, 255, 0.12), 0 0 1.4rem rgba(51, 220, 255, 0.95);
  transform: translate(50%, -50%);
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}


/* Contacto */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  gap: 1.4rem;
  max-width: 58rem;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-copy p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 1rem;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-height: 4.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(51, 220, 255, 0.42);
  background: rgba(51, 220, 255, 0.08);
}

.contact-chip span {
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-chip strong {
  color: var(--white-blue);
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-chip-discord {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.contact-chip-form,
.contact-chip-social {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.15rem 0.85rem;
}

.form-chip-icon,
.social-chip-icon {
  grid-row: 1 / span 2;
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  filter: drop-shadow(0 0 1rem rgba(51, 220, 255, 0.34));
}

.footer-inner a {
  color: var(--aqua);
}

@media (min-width: 48rem) {
  .contact-actions {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
}
