* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #edf1f6;
  --surface: #fff;
  --surface-2: #f7f9fc;
  --surface-3: #eef2f7;
  --navy: #0b1220;
  --navy-2: #111b2c;
  --navy-3: #1b2940;
  --red: #ed1c24;
  --red-dark: #c81017;
  --red-soft: #fff0f1;
  --text: #142033;
  --muted: #64748b;
  --line: #d9e0e8;
  --success: #159447;
  --warning: #b77908;
  --danger: #d42b32;
  --shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.12);
  --radius: 14px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    Inter,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(237, 28, 36, 0.035),
      transparent 28%
    ),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(2, 6, 23, 0.16);
  backdrop-filter: blur(14px);
}
.header-inner {
  max-width: 1400px;
  margin: auto;
  min-height: 82px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo-container {
  flex: 0 0 auto;
}
.logo-container a {
  display: flex;
  align-items: center;
  min-height: 58px;
  text-decoration: none;
}
.logo-container img {
  display: block;
  max-width: 250px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-fallback {
  display: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
}
.main-nav {
  margin-left: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-btn,
.nav-menu-toggle {
  border: 1px solid transparent;
  background: transparent;
  color: #e8eef8;
  text-decoration: none;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: 0.18s ease;
}
.nav-btn:hover,
.nav-btn.active,
.nav-menu-toggle:hover,
.nav-menu-toggle.active {
  background: #18243a;
  border-color: #263650;
  color: #fff;
}
.nav-menu-toggle {
  cursor: pointer;
}
.nav-chevron {
  font-size: 0.68rem;
  opacity: 0.7;
  transition: transform 0.18s;
}
.nav-item.open .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 235px;
  background: #101a2c;
  border: 1px solid #263650;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  padding: 7px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.18s;
  z-index: 20;
}
.nav-item.open .nav-dropdown,
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dropdown a,
.nav-dropdown button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: transparent;
  border: 0;
  color: #dbe7f5;
  text-decoration: none;
  text-align: left;
  font-weight: 650;
}
.nav-dropdown a:hover,
.nav-dropdown button:hover {
  background: #1b2940;
  color: #fff;
}
.nav-dropdown .menu-divider {
  height: 1px;
  background: #263650;
  margin: 6px 0;
}
.nav-dropdown .menu-label {
  padding: 8px 12px;
  color: #7f93ad;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mobile-menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid #2b3a52;
  background: #18243a;
  color: #fff;
  width: 44px;
  height: 44px;
}
main {
  flex: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 38px 26px 72px;
}
.hero {
  background: linear-gradient(135deg, #0d1728 0%, #17263d 58%, #243650 100%);
  color: #fff;
  padding: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--red);
  border-radius: 0;
}
.hero:after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -150px;
  top: -190px;
  border: 70px solid rgba(237, 28, 36, 0.12);
  transform: rotate(20deg);
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08),
    transparent 68%
  );
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: #ff6970;
  background: rgba(237, 28, 36, 0.13);
  border-color: rgba(237, 28, 36, 0.25);
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  max-width: 850px;
  margin: 10px 0 16px;
}
.hero p {
  max-width: 780px;
  color: #c9d4e5;
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.eyebrow,
.etiqueta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 6px 9px;
  background: var(--surface-3);
  color: #26364e;
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.eyebrow {
  background: #1b2940;
  color: #fff;
  border-color: #30425f;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 36px 0 15px;
}
.section-head h1,
.section-head h2 {
  line-height: 1.15;
}
.section-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-top: 8px;
}
.section-head h2 {
  font-size: 1.65rem;
}
.section-head p {
  color: var(--muted);
  max-width: 720px;
  margin-top: 5px;
}
.grid-cajones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cajon {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 25px;
  border-radius: 0;
}
.cajon h1,
.cajon h2,
.cajon h3 {
  color: #0e192b;
}
.cajon h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cajon-body,
.texto-grande {
  color: var(--muted);
}
.feature-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
}
.feature-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--red), #ff6b70);
}
.feature-card:after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-soft), transparent 70%);
  pointer-events: none;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--red-soft);
  border: 1px solid #ffd1d4;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.feature-card p {
  font-size: 0.94rem;
}
.card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--red-dark);
  font-weight: 850;
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 17px;
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: 0.18s;
  border-radius: 0;
}
.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}
.btn.secondary {
  background: #17243a;
  border-color: #17243a;
}
.btn.secondary:hover {
  background: #263650;
}
.btn.ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.btn.ghost:hover {
  background: var(--surface-3);
}
.btn.danger {
  background: var(--danger);
  border-color: var(--danger);
}
.btn.small {
  min-height: 36px;
  padding: 0 11px;
  font-size: 0.8rem;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #eef2f7;
  color: #26364e;
  font-size: 1.1rem;
  flex: 0 0 42px;
}
.stat-card strong {
  display: block;
  font-size: 1.35rem;
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}
.download-grid,
.community-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
}
.community-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}
.sidebar {
  align-self: start;
  position: sticky;
  top: 105px;
}
.sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 10px;
}
.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.side-link:hover,
.side-link.active {
  background: var(--surface-3);
  border-color: var(--line);
}
.side-link.active {
  border-left: 4px solid var(--red);
}
.download-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}
.release-card {
  background: linear-gradient(135deg, #0d1728, #1d2d47);
  color: #fff;
  padding: 30px;
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-lg);
  border-radius: 0;
}
.release-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 8px 0;
}
.release-version {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.version-pill {
  display: inline-flex;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: ui-monospace, monospace;
  font-weight: 900;
}
.release-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.release-spec {
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.release-spec small {
  display: block;
  color: #9fb0c7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.64rem;
  font-weight: 900;
}
.release-spec strong {
  display: block;
  margin-top: 2px;
}
.download-feature {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.download-feature .feature-number {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 4.2rem;
  font-weight: 950;
  color: #eef2f7;
  opacity: 0.9;
  line-height: 1;
}
.lista-actualizaciones,
.lista-detalles {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.lista-actualizaciones li,
.lista-detalles li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 0.86rem;
}
.badge-version {
  flex: 0 0 auto;
  padding: 3px 6px;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.05em;
}
.badge-version.nuevo {
  background: #e9f8ef;
  color: #14753b;
}
.badge-version.mejora {
  background: #eaf0ff;
  color: #3155a6;
}
.badge-version.correccion {
  background: #fff2e2;
  color: #8a5b11;
}
.req-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #e9eef6;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 900;
  flex: 0 0 26px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  border-radius: 0;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: #9baac0;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.07);
}
.form-textarea {
  min-height: 150px;
  resize: vertical;
}
.form-group {
  margin: 16px 0;
}
.form-label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
.form-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.form-error,
.form-success {
  padding: 12px 14px;
  margin: 12px 0;
  border: 1px solid;
  border-radius: 0;
}
.form-error {
  background: #fff0f0;
  color: #9e1b21;
  border-color: #ffc9cc;
}
.form-success {
  background: #effaf3;
  color: #166534;
  border-color: #bfe6ca;
}
.status-line {
  font-size: 0.82rem;
  color: var(--muted);
}
.hidden {
  display: none !important;
}
.auth-grid {
  max-width: 920px;
  margin: auto;
}
.auth-card {
  padding: 34px;
}
.auth-card h1 {
  font-size: 2.1rem;
  margin: 10px 0 22px;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.auth-tab {
  border: 0;
  background: transparent;
  padding: 12px 16px;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}
.auth-tab.active {
  color: var(--text);
  border-bottom-color: var(--red);
}
.account-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
.profile-avatar {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 900;
  font-size: 1.45rem;
  background: linear-gradient(135deg, #263650, #0d1728);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  border-radius: 50%;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-avatar.small {
  width: 42px;
  height: 42px;
  font-size: 0.85rem;
  box-shadow: none;
}
.profile-avatar.xsmall {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
}
.user-name {
  font-size: 1.35rem;
  font-weight: 900;
}
.user-tag {
  color: var(--muted);
  font-size: 0.85rem;
}
.supporter-badge,
.role-badge,
.custom-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
}
.supporter-badge {
  background: #fff5cf;
  color: #8a5a00;
  border: 1px solid #f1d982;
}
.role-badge {
  background: #e9eef6;
  color: #3c4e68;
}
.support-badge {
  background: #ffe8e9;
  color: #a31118;
  border-color: #ffc3c6;
}
.custom-label {
  color: #fff;
  border: 0;
}
.user-id {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: var(--surface-3);
  border: 1px solid var(--line);
  padding: 10px 12px;
  word-break: break-all;
  border-radius: 0;
}
.community-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.community-title h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-top: 7px;
}
.community-title p {
  color: var(--muted);
}
.community-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.category-list {
  display: grid;
  gap: 4px;
}
.category-btn {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  padding: 12px;
  text-align: left;
  color: var(--text);
  font-weight: 750;
  border-radius: 0;
}
.category-btn:hover,
.category-btn.active {
  background: var(--surface-3);
  border-color: var(--line);
}
.category-btn.active {
  border-left: 4px solid var(--red);
}
.category-desc {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 2px;
}
.forum-topic-panel {
  background: transparent;
}
.forum-topic-panel > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.04);
  font-weight: 900;
  border-radius: 0;
  margin-bottom: 10px;
}
.forum-topic-panel > summary::-webkit-details-marker {
  display: none;
}
.forum-topic-panel > summary:after {
  content: "⌄";
  color: var(--muted);
}
.forum-topic-panel[open] > summary:after {
  content: "⌃";
}
.topic-list {
  display: grid;
  gap: 10px;
}
.topic-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 17px;
  cursor: pointer;
  transition: 0.18s;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.04);
  border-radius: 0;
}
.topic-card:hover {
  border-color: #b8c3d2;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}
.topic-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.topic-excerpt {
  font-size: 0.86rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.topic-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 8px;
}
.topic-stats {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}
.topic-category {
  color: #3f526e;
  font-weight: 800;
}
.topic-view {
  margin-top: 18px;
}
.topic-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 4px;
}
.topic-head-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.topic-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.2;
  margin: 3px 0 8px;
}
.community-post {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.community-post.nested {
  margin-left: 36px;
  padding-left: 14px;
  border-left: 3px solid #e6ebf2;
}
.community-post-body {
  white-space: pre-wrap;
  color: #253349;
  line-height: 1.7;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-author {
  font-weight: 900;
  text-decoration: none;
}
.post-author:hover {
  text-decoration: underline;
}
.post-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #516176;
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 750;
  border-radius: 0;
}
.icon-btn:hover,
.icon-btn.active {
  background: #f0f3f7;
  color: #17243a;
  border-color: #bac5d3;
}
.reaction-bar {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.reaction-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 8px;
  border-radius: 0;
  font-size: 0.8rem;
}
.reaction-btn.active {
  background: #fff0f1;
  border-color: #ffbfc3;
}
.reply-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 16px;
  margin-top: 20px;
  border-radius: 0;
}
.quote-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}
.empty-state {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #c7d0dc;
  background: var(--surface-2);
  border-radius: 0;
}
.danger-link {
  color: var(--danger);
  font-weight: 800;
}
.server-list {
  display: grid;
  gap: 14px;
}
.server-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.04);
  border-radius: 0;
}
.server-image {
  width: 84px;
  height: 84px;
  border-radius: 0;
  background: #0d1728;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
  overflow: hidden;
}
.server-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.server-card h3 {
  margin-bottom: 3px;
}
.server-address {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #40516a;
  font-size: 0.82rem;
}
.server-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.server-tag {
  background: #eef2f7;
  border: 1px solid var(--line);
  padding: 3px 7px;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 0;
}
.featured-tag {
  background: #fff1f2;
  border-color: #ffd1d4;
  color: #b91c1c;
}
.server-card p {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 8px;
}
.server-submit {
  margin-top: 18px;
}
.commercial-note {
  background: linear-gradient(135deg, #fff7f7, #fff);
  border: 1px solid #ffd6d8;
  padding: 16px;
  border-radius: 0;
}
.commercial-note strong {
  color: #a31118;
}
.server-payment-note {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 8px;
}
.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
}
.admin-sidebar {
  background: #0d1728;
  color: #fff;
  padding: 15px;
  align-self: start;
  position: sticky;
  top: 105px;
  border-radius: 0;
  box-shadow: var(--shadow);
}
.admin-sidebar .admin-nav-btn {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: #cbd6e5;
  text-align: left;
  font-weight: 750;
  border-radius: 0;
}
.admin-sidebar .admin-nav-btn:hover,
.admin-sidebar .admin-nav-btn.active {
  background: #1b2940;
  color: #fff;
  border-left: 3px solid var(--red);
}
.admin-content {
  min-width: 0;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.admin-stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 0;
}
.admin-stat strong {
  display: block;
  font-size: 1.65rem;
}
.admin-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.admin-section {
  margin-top: 18px;
}
.admin-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.82rem;
  vertical-align: middle;
}
.admin-table th {
  background: #f3f6fa;
  color: #526177;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.admin-report {
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 0;
}
.report-open {
  border-left: 4px solid var(--red);
}
.admin-section.is-hidden {
  display: none;
}
.admin-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 0;
  box-shadow: var(--shadow);
}
.news-card .news-cover {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: 0;
  background: #e8edf4;
}
.news-card h2 {
  margin: 8px 0;
}
.news-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.76rem;
}
.news-body {
  white-space: pre-wrap;
  color: #34445b;
  margin-top: 12px;
}
.news-tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 0;
  background: var(--red-soft);
  border: 1px solid #ffd1d4;
  color: #a31118;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}
.site-footer {
  background: #0b1220;
  color: #b8c4d4;
  border-top: 1px solid #1e2b40;
  margin-top: auto;
}
.footer-container {
  max-width: 1400px;
  margin: auto;
  padding: 30px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-info strong {
  color: #fff;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}
.footer-info span {
  font-size: 0.8rem;
}
.footer-info small {
  color: #6f8199;
  font-size: 0.72rem;
}
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem;
  color: #dce6f3;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-slot {
  width: 150px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.footer-logo-slot img {
  max-width: 150px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}
.social-links {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.social-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #2a3a52;
  background: #121c2e;
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  font-weight: 900;
}
.social-link:hover {
  background: #1c2a40;
  border-color: #445b7d;
}
.social-link.disabled {
  opacity: 0.55;
}
.toast-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 3000;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 40px));
}
.toast {
  background: #0d1728;
  color: #fff;
  border-left: 4px solid var(--red);
  padding: 13px 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  animation: toastIn 0.18s ease;
  border-radius: 0;
}
.toast.success {
  border-left-color: #22c55e;
}
.toast.warning {
  border-left-color: #f59e0b;
}
@keyframes toastIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.nav-btn-image {
  max-height: 32px;
  max-width: 150px;
  object-fit: contain;
}
.nav-btn.has-image {
  padding: 4px 10px;
}
@media (max-width: 1050px) {
  .header-inner {
    padding: 0 18px;
  }
  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 82px;
    background: #0b1220;
    border-top: 1px solid #24344c;
    display: none;
    padding: 10px 18px 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 82px);
    overflow: auto;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    display: grid;
    gap: 4px;
  }
  .nav-item {
    width: 100%;
  }
  .nav-btn,
  .nav-menu-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 0 14px;
  }
  .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 3px 0 3px 12px;
    background: #0e1829;
  }
  .nav-item.open .nav-dropdown {
    display: block;
  }
  .mobile-menu-btn {
    display: block;
  }
  .grid-cajones {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-grid,
  .community-layout,
  .download-showcase {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  main {
    padding: 24px 14px 48px;
  }
  .header-inner {
    min-height: 70px;
  }
  .main-nav {
    top: 70px;
    max-height: calc(100vh - 70px);
  }
  .logo-container img {
    max-width: 205px;
    max-height: 48px;
  }
  .hero {
    padding: 30px 20px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero p {
    font-size: 0.96rem;
  }
  .section-head {
    display: block;
  }
  .section-head .btn {
    margin-top: 13px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .community-top {
    display: block;
  }
  .community-top .btn {
    margin-top: 12px;
  }
  .community-toolbar {
    flex-direction: column;
  }
  .topic-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
  }
  .topic-stats {
    grid-column: 2;
    justify-content: flex-start;
  }
  .community-post {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }
  .community-post.nested {
    margin-left: 12px;
    padding-left: 10px;
  }
  .topic-head-row {
    gap: 10px;
  }
  .server-card {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 14px;
  }
  .server-image {
    width: 64px;
    height: 64px;
  }
  .server-card > .btn {
    grid-column: 2;
    justify-self: start;
  }
  .release-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }
  .admin-news-grid {
    grid-template-columns: 1fr;
  }
  .admin-toolbar {
    flex-direction: column;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
  }
  .footer-logos {
    width: 100%;
    justify-content: flex-start;
  }
  .footer-links {
    width: 100%;
  }
  .auth-card {
    padding: 22px;
  }
  .account-summary {
    grid-template-columns: 1fr;
  }
  .profile-avatar {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 480px) {
  .stats-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .hero-actions,
  .form-actions {
    flex-direction: column;
  }
  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }
  .topic-card {
    grid-template-columns: 1fr;
  }
  .topic-card > .profile-avatar {
    margin-bottom: 2px;
  }
  .topic-stats {
    grid-column: 1;
  }
  .server-card {
    grid-template-columns: 1fr;
  }
  .server-card > .btn {
    grid-column: 1;
    width: 100%;
  }
  .server-image {
    width: 76px;
    height: 76px;
  }
  .community-post.nested {
    margin-left: 4px;
  }
  .footer-logos {
    flex-wrap: wrap;
  }
  .footer-logo-slot {
    width: 130px;
  }
}

/* Seal Launcher v7.1: estilo cuadrado, modal propio y mejoras de administración */
:root {
  --radius: 0px;
}
*,
*::before,
*::after {
  border-radius: 0 !important;
}
.profile-avatar {
  border-radius: 50% !important;
}
.admin-sidebar .admin-nav-btn {
  position: relative;
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s;
  padding-left: 14px;
}
.admin-sidebar .admin-nav-btn:hover {
  background: #16243a;
  color: #fff;
  box-shadow: inset 3px 0 0 #ed1c24;
}
.admin-sidebar .admin-nav-btn.active {
  background: #1b2940;
  color: #fff;
  box-shadow: inset 3px 0 0 #ed1c24;
}
.admin-sidebar .admin-nav-btn:hover,
.admin-sidebar .admin-nav-btn.active {
  border-left: 0;
}
.paypal-footer-btn {
  white-space: nowrap;
}
.paypal-link {
  width: auto !important;
  padding: 0 12px !important;
  font-size: 0.72rem !important;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(5, 10, 18, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.16s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid #cfd7e3;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  padding: 26px;
  transform: translateY(8px);
  transition: 0.16s ease;
}
.modal-overlay.show .modal-card {
  transform: none;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}
.modal-head h2 {
  margin-top: 8px;
  line-height: 1.15;
}
.modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #f4f6f9;
  color: #24344c;
  font-size: 1.5rem;
  line-height: 1;
}
.modal-close:hover {
  background: #e8edf4;
}
@media (max-width: 600px) {
  .modal-overlay {
    padding: 12px;
  }
  .modal-card {
    padding: 20px;
  }
  .paypal-footer-btn {
    width: 100%;
  }
}

/* Seal Launcher v7.2 - square interface */
.btn,
.cajon,
.release-card,
.stat-card,
.topic-card,
.forum-topic-panel > summary,
.category-btn,
.form-input,
.form-textarea,
.form-select,
.form-error,
.form-success,
.supporter-badge,
.role-badge,
.custom-label,
.nav-dropdown,
.nav-btn,
.social-link,
.server-card,
.news-card,
.admin-report,
.admin-table-wrap,
.toast,
.modal-card,
.search-box {
  border-radius: 0 !important;
}
.profile-avatar {
  border-radius: 50% !important;
}
.feature-card:after {
  border-radius: 50% !important;
}

/* v7.2 GitHub Releases */
.release-loading {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}
.release-live {
  width: 100%;
}
.release-highlights {
  margin-top: 22px;
}
.release-history {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.release-history-card {
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px;
}
.release-history-card > div:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.release-history-card h3 {
  margin: 10px 0 5px;
}
.release-history-card p {
  color: var(--muted);
  font-size: 0.84rem;
}
@media (max-width: 760px) {
  .download-showcase {
    grid-template-columns: 1fr;
  }
  .release-grid {
    grid-template-columns: 1fr;
  }
  .release-card {
    padding: 22px;
  }
  .release-history-card .form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.discord-home {
  border-left: 3px solid #5865f2 !important;
}
