/* Web pública de Alliance Bot: portada, simulador, generador y entrada al panel. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Fuentes del catálogo "Respawn Numbers" (las mismas con las que el bot dibuja la imagen). */
@font-face { font-family: "Cinzel"; font-weight: 900; font-display: swap; src: url("/assets/fonts/Cinzel_900Black.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/assets/fonts/BarlowCondensed_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/BarlowCondensed_700Bold.ttf") format("truetype"); }

:root {
  /* Superficies: negro neutro, de más profunda a más elevada */
  --bg: #09090b; --bg-2: #0e0e11; --panel: #131316; --panel-2: #1a1a1f; --panel-3: #232329;
  --line: #27272e; --line-soft: #1c1c22; --line-strong: #3a3a44;
  /* Texto (todos ≥ 4.5:1 sobre --bg y --panel) */
  --text: #fafafa; --text-2: #c8c8d0; --muted: #9a9aa6;
  /* Acento: oro */
  --gold: #f6bd4b; --gold-strong: #ffd98a; --gold-deep: #e2912a; --gold-dim: #8a6a2a; --gold-ink: #170f02;
  --gold-soft: rgba(246, 189, 75, .10); --gold-glow: rgba(246, 189, 75, .22);
  --grad-gold: linear-gradient(135deg, #ffe29a 0%, #f6bd4b 45%, #e2912a 100%);
  --green: #4ade80; --red: #f87171; --amber: #fbbf24; --blue: #7fb4e6;
  --radius: 16px; --radius-sm: 10px; --wrap: 1180px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -20px rgba(0, 0, 0, .8);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(246, 189, 75, .35); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; color: var(--gold-ink); }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(9, 9, 11, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; display: block; filter: drop-shadow(0 4px 12px rgba(246, 189, 75, .25)); }
.brand b { font-weight: 500; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.site-nav a { color: var(--text-2); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: color .15s, background-color .15s; }
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .08); }
.site-nav a.cta { color: var(--gold-ink); background: var(--grad-gold); font-weight: 650; margin-inline-start: 10px; box-shadow: 0 6px 20px -8px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .45); }
.site-nav a.cta:hover, .site-nav a.cta[aria-current="page"] { color: var(--gold-ink); filter: brightness(1.06); }
.menu-toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .close { display: none; }
.menu-toggle[aria-expanded="true"] .open { display: none; }
.menu-toggle[aria-expanded="true"] .close { display: block; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; min-height: 46px; padding: 11px 22px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--text); text-decoration: none; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background-color .15s, border-color .15s, transform .15s, filter .15s; }
.btn:hover { border-color: #55555f; background: rgba(255, 255, 255, .08); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--grad-gold); border-color: transparent; color: var(--gold-ink); font-weight: 650; box-shadow: 0 10px 30px -10px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.primary:hover { filter: brightness(1.07); color: var(--gold-ink); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.btn.small { min-height: 34px; padding: 6px 13px; font-size: 14px; border-radius: 9px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Portada: cabecera */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(900px 480px at 78% 0%, rgba(246, 189, 75, .16), transparent 68%),
  radial-gradient(700px 380px at 8% 20%, rgba(246, 189, 75, .06), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 75% 70% at 60% 20%, #000 15%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 20%, #000 15%, transparent 78%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-strong); font-size: 13px; font-weight: 600; margin-bottom: 22px; padding: 6px 13px 6px 10px; border: 1px solid rgba(246, 189, 75, .28); border-radius: 999px; background: rgba(246, 189, 75, .08); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.hero h1 { font-size: clamp(38px, 5.3vw, 64px); letter-spacing: -.045em; line-height: 1.04; font-weight: 750; }
.hero h1 em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--text-2); margin: 24px 0 32px; max-width: 33em; line-height: 1.6; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Maqueta del producto en la cabecera (decorativa) */
.showcase { position: relative; padding: 0 0 46px; }
.showcase .glow { position: absolute; inset: 8% -6% 0 -6%; background: radial-gradient(closest-side, rgba(246, 189, 75, .18), transparent 70%); filter: blur(20px); pointer-events: none; }
.win { position: relative; background: #fff; color: #1b1b1b; border-radius: 12px; overflow: hidden; font: 12.5px/1.5 "Segoe UI", Tahoma, Verdana, sans-serif; color-scheme: light;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: linear-gradient(#f7f8fa, #e9ecf0); border-bottom: 1px solid #c9cfd7; font-weight: 600; color: #333; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5d9df; flex: none; }
.win-bar i:first-child { background: #2e9e4f; box-shadow: 0 0 0 3px rgba(46, 158, 79, .18); }
.win-bar span { margin-inline-start: 4px; }
.win-body { padding: 12px 14px 14px; }
.win-body .meta { margin: 0 0 6px; }
.win-body .meta b.on { color: #2e9e44; } .win-body .meta b.all { color: #e01b1b; }
.win-body .legend { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid #c9cfd7; color: #333; }
.win-body h4 { margin: 8px 0 2px; font: 700 13px "Segoe UI", Tahoma, sans-serif; }
.win-body ul { list-style: none; margin: 0; padding: 0; }
.win-body li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body .tm { color: #111; } .win-body .tm.new { color: #e01b1b; font-weight: 700; }
.win-body .nm { color: #1d6fd1; text-decoration: underline; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 3px; vertical-align: 1px; }
.d-ts { background: #2e9e44; } .d-game { background: #f1c40f; } .d-none { background: #95a5a6; }
.up { color: #2e9e44; } .down { color: #e01b1b; }
.float { position: absolute; background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .95); font-size: 13px; color: var(--text-2); }
.float strong { display: block; color: var(--text); font-size: 13.5px; margin-bottom: 4px; }
.float .row { display: flex; justify-content: space-between; gap: 18px; font-variant-numeric: tabular-nums; }
.float .row b { color: var(--text); font-weight: 600; }
.float .row .g { color: var(--green); } .float .row .a { color: var(--amber); }
.float.f-respawn { inset-inline-start: -28px; bottom: 0; width: 250px; }
.float.f-exp { inset-inline-end: -18px; top: 44px; width: 214px; }
.float .medal { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; margin-inline-end: 6px; }
.float .medal.s { background: linear-gradient(135deg, #f4f4f5, #a1a1aa); } .float .medal.b { background: linear-gradient(135deg, #e7a26b, #a35f2c); }

/* Cifras */
.stats { border-block: 1px solid var(--line-soft); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 28px 20px; text-align: center; border-inline-start: 1px solid var(--line-soft); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; direction: ltr; unicode-bidi: isolate; font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* Secciones */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 44em; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: start; }
.section-head .kicker, .kicker { display: inline-block; color: var(--gold); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; }
.section-head p, .section p.intro { color: var(--text-2); font-size: 18px; margin: 16px 0 0; }
.section p.intro { margin: 14px 0 32px; max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s, background-color .2s; }
.grid .card:hover { border-color: rgba(246, 189, 75, .35); transform: translateY(-3px); }
.card h3 { font-size: 18px; margin: 18px 0 8px; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.card .icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(246, 189, 75, .18), rgba(246, 189, 75, .06)); color: var(--gold-strong); box-shadow: inset 0 0 0 1px rgba(246, 189, 75, .28); }
.card .icon svg { width: 22px; height: 22px; }
.card.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: center; }
.card.wide .ts-preview { min-height: 0; max-height: none; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); }
.tag { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); margin-inline-start: 6px; vertical-align: 2px; font-weight: 600; letter-spacing: 0; }
.steps { counter-reset: step; display: grid; gap: 26px; margin-top: 8px; }
.step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: start; }
.step::before { counter-increment: step; content: counter(step); width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(246, 189, 75, .18), rgba(246, 189, 75, .06)); box-shadow: inset 0 0 0 1px rgba(246, 189, 75, .28); color: var(--gold-strong); font-weight: 700; font-size: 17px; }
.step h3 { font-size: 18px; margin: 3px 0 6px; }
.step p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
table.cmds { width: 100%; border-collapse: collapse; font-size: 15px; }
table.cmds th, table.cmds td { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); text-align: start; vertical-align: top; }
table.cmds thead th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; background: var(--panel-2); }
table.cmds tbody tr:hover { background: rgba(255, 255, 255, .02); }
table.cmds tr:last-child td { border-bottom: 0; }
table.cmds td:first-child { white-space: nowrap; }
table.cmds td { color: var(--text-2); }
table.cmds .group th { color: var(--gold); background: transparent; font-size: 12.5px; padding-top: 20px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
code { font-family: var(--mono); color: var(--gold-strong); font-size: .88em; background: rgba(246, 189, 75, .09); padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(246, 189, 75, .14); }
pre code, .ts code, .ts-preview code, .chatmock code { background: none; padding: 0; border: 0; }
.cta-band { padding: 0 0 104px; }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: 72px 28px; border-radius: 28px; border: 1px solid rgba(246, 189, 75, .25); background: linear-gradient(180deg, rgba(246, 189, 75, .10), rgba(246, 189, 75, .02)); }
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 240px at 50% 0%, rgba(246, 189, 75, .22), transparent 70%); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; margin-bottom: 14px; }
.cta-box p { font-size: 18px; max-width: 36em; margin: 0 auto; color: var(--text-2); }
.cta-box .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.site-footer { padding: 48px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: start; }
.site-footer .brand { font-size: 17px; margin-bottom: 8px; }
.site-footer .brand img { width: 26px; height: 26px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 13px; }
.site-footer p { margin: 0; }

.stackmock { display: grid; gap: 18px; }
.stackmock .ts-preview { min-height: 0; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9); border-radius: 12px; }

/* Chat de ejemplo */
.chatmock { background: #fff; color: #1b1b1b; border-radius: 12px; font: 13px/1.5 "Segoe UI", Tahoma, sans-serif; overflow: hidden; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); color-scheme: light; }
.chatmock .bar { background: linear-gradient(#f7f8fa, #e8ebef); border-bottom: 1px solid #c3cad3; padding: 7px 10px; display: flex; gap: 6px; align-items: center; }
.chatmock .bar::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2e9e4f; margin-inline-end: 4px; box-shadow: 0 0 0 3px rgba(46, 158, 79, .18); }
.chatmock .bar span { padding: 2px 10px; border: 1px solid #c3cad3; border-radius: 3px 3px 0 0; background: #fff; }
.chatmock .bar span.dim { background: transparent; border-color: transparent; color: #555; }
.chatmock .log { padding: 12px 14px; display: grid; gap: 7px; }
.chatmock .t { color: #6b6b6b; }
.chatmock .bot { color: #0b57a5; font-weight: 600; }
.chatmock .me { color: #1b6e2a; font-weight: 600; }
.chatmock .line { white-space: pre-wrap; }

/* Páginas de herramienta */
.page-head { padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -.04em; }
.page-head p { color: var(--text-2); margin: 14px 0 0; max-width: 52em; font-size: 17.5px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.toolbar .label { color: var(--muted); font-size: 14px; margin-inline-end: 2px; }
.toolbar .sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }
.toolbar select, .toolbar input[type=text] { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 9px; padding: 6px 10px; font-size: 14px; min-height: 36px; }
.clock { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold); }
.notice { border: 1px solid rgba(246, 189, 75, .3); background: var(--gold-soft); color: #f6e3b4; border-radius: 12px; padding: 12px 16px; font-size: 14.5px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: 13.5px; cursor: pointer; font-family: var(--mono); color: var(--gold-strong); min-height: 32px; }
.chip:hover { border-color: var(--gold-dim); background: rgba(255, 255, 255, .08); }

/* Formularios (generador y entrada) */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.field input[type=text], .field input[type=password], .field textarea, .field select { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 11px; padding: 11px 13px; min-height: 46px; transition: border-color .15s, box-shadow .15s; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #55555f; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246, 189, 75, .22); }
.field input::placeholder, .field textarea::placeholder { color: #6b6b76; }
.field textarea { font-family: var(--mono); font-size: 13.5px; line-height: 1.55; resize: vertical; min-height: 260px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 11px 16px; color: var(--text-2); cursor: pointer; font-weight: 600; margin-bottom: -1px; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.gen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 72px; }
.box { background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; box-shadow: var(--shadow); }
.box h2 { font-size: 18px; margin-bottom: 12px; letter-spacing: -.015em; }
.meter { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); margin: 6px 0 10px; flex-wrap: wrap; }
.meter .over { color: var(--red); font-weight: 600; }
.meter .ok { color: var(--green); }
.bbtools { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.bbtools button { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 13.5px; cursor: pointer; min-height: 32px; }
.bbtools button:hover { border-color: var(--gold-dim); }
.bbtools input[type=color] { width: 36px; height: 32px; padding: 0 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); }
.auth { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: 48px 16px; position: relative; }
.auth::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 320px at 50% 8%, rgba(246, 189, 75, .13), transparent 70%); pointer-events: none; }
.auth .card { position: relative; width: min(440px, 100%); padding: 38px 32px 30px; }
.auth .auth-logo { width: 52px; height: 52px; display: block; margin-bottom: 20px; filter: drop-shadow(0 8px 20px rgba(246, 189, 75, .3)); }
.auth h1, .auth h2.auth-title { font-size: 28px; letter-spacing: -.03em; }
.auth .card > p.muted { margin: 8px 0 24px; font-size: 15px; }
.auth .error { color: var(--red); min-height: 22px; font-size: 14px; margin: 0 0 8px; }
.auth .error:empty { min-height: 0; margin: 0; }
.auth .btn { width: 100%; margin-top: 4px; }
.auth .foot { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); text-align: center; }

/* ---------------------------------------------------------------------------
   Aspecto del cliente de TeamSpeak 3 (tema claro por defecto del cliente).
   --------------------------------------------------------------------------- */
.ts { --ts-border: #9aa4b1; --ts-line: #c9cfd7; --ts-sel: #cce4fb; --ts-sel-border: #7fb2e5; --ts-blue: #0b57a5; --ts-text: #1b1b1b;
  background: #fff; color: var(--ts-text); border: 1px solid var(--ts-border); border-radius: 6px; overflow: hidden;
  font: 12px/1.45 "Segoe UI", Tahoma, Verdana, sans-serif; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); color-scheme: light; position: relative; }
.ts button { font: inherit; color: inherit; }
.ts-title { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; border-bottom: 1px solid #e3e6ea; }
.ts-title .logo { width: 16px; height: 16px; }
.ts-title .name { flex: 1; }
.ts-title .winbtns { display: flex; gap: 14px; color: #444; padding-right: 6px; }
.ts-menu { display: flex; gap: 2px; padding: 2px 6px; border-bottom: 1px solid #e3e6ea; }
.ts-menu span { padding: 2px 7px; }
.ts-menu span::first-letter { text-decoration: underline; }
.ts-toolbar { display: flex; align-items: center; gap: 3px; padding: 4px 8px; border-bottom: 1px solid var(--ts-line); background: linear-gradient(#fbfbfc, #f1f3f6); }
.ts-toolbar .tbtn { width: 30px; height: 26px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 3px; background: none; color: #3d5a80; cursor: pointer; }
.ts-toolbar .tbtn:hover { border-color: var(--ts-line); background: #fff; }
.ts-toolbar .tbtn svg { width: 18px; height: 18px; }
.ts-toolbar .tsep { width: 1px; height: 20px; background: var(--ts-line); margin: 0 4px; }
.ts-conntabs { display: flex; gap: 2px; padding: 4px 8px 0; background: #eef1f4; border-bottom: 1px solid var(--ts-line); overflow-x: auto; }
.ts-conntab { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--ts-line); border-bottom: 0; border-radius: 4px 4px 0 0; background: #e2e6eb; cursor: pointer; white-space: nowrap; color: #333; }
.ts-conntab[aria-selected="true"] { background: #fff; color: #000; }
.ts-conntab .dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa4b1; }
.ts-conntab.online .dot { background: #2e9e4f; }
.ts-conntab .x { color: #888; padding: 0 2px; border-radius: 3px; }
.ts-conntab .x:hover { background: #d0d6dd; color: #000; }
.ts-body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: 430px; border-bottom: 1px solid var(--ts-line); }
.ts-tree { border-right: 1px solid var(--ts-line); padding: 6px 0; overflow: auto; max-height: 520px; }
.ts-row { display: flex; align-items: center; gap: 6px; padding: 1px 8px; min-height: 21px; cursor: default; user-select: none; border: 1px solid transparent; }
.ts-row:hover { background: #eef5fd; }
.ts-row.sel { background: var(--ts-sel); border-color: var(--ts-sel-border); }
.ts-row .ico { width: 16px; height: 16px; flex: none; display: grid; place-items: center; }
.ts-row .ico svg { width: 16px; height: 16px; }
.ts-row .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-row.server .label { font-weight: 600; }
.ts-row.channel .label::before { content: "├─• "; color: #555; }
.ts-row.channel.first .label::before { content: "┌─• "; }
.ts-row.channel.last .label::before { content: "└─• "; }
.ts-row.spacer { justify-content: center; }
.ts-row.spacer .label { flex: 0 1 auto; text-align: center; }
.ts-row.line { padding: 7px 8px; }
.ts-row.line::after { content: ""; flex: 1; height: 2px; background: #111; margin: 0 14px; }
.ts-row.channel.sub { padding-left: 34px; }
.ts-row.channel.sub .label::before { content: "└─• "; }
.ts-row .auto { color: #555; font-size: 11px; }
.ts-row .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; align-self: center; }
.ts-row .dot.st-main { background: #2e9e44; } .ts-row .dot.st-bomb { background: #e67e22; } .ts-row .dot.st-other { background: #2980b9; } .ts-row .dot.st-offline { background: #c0392b; }
.ts-row .gicon, .ts-info .gicon { width: 16px; height: 16px; image-rendering: pixelated; display: block; }
.ts-info .groups li { display: flex; align-items: center; gap: 6px; }
.ts-info .gicon.none { visibility: hidden; }
.ts-conntab .srv { margin-inline-start: 6px; padding: 0 6px; border-radius: 8px; background: #dbe7f6; color: #2a5a8f; font-size: 10px; font-weight: 600; }
.ts-info h3 svg { width: 16px; height: 16px; flex: none; }
.ts-picture { display: block; width: 100%; height: auto; border-radius: 4px; }
.ts-denied { color: #c0392b; }
.ts-row.client { padding-left: 38px; }
.ts-row.client.me .label { font-weight: 700; }
.ts-row .badges { display: flex; gap: 2px; }
.ts-row .badge { width: 14px; height: 14px; border-radius: 3px; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }
.ts-info { padding: 10px 14px; overflow: auto; max-height: 520px; }
.ts-info h3 { font: 600 16px "Segoe UI", Tahoma, sans-serif; color: var(--ts-blue); margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.ts-info dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 1px 12px; margin: 0 0 10px; }
.ts-info dt { font-weight: 600; }
.ts-info dd { margin: 0; }
.ts-info dd a { color: #1d6fd1; }
.ts-info .desc-label { font-weight: 600; margin: 8px 0 4px; }
.ts-info .groups { list-style: none; padding: 0; margin: 2px 0 10px 12px; display: grid; gap: 3px; }
.ts-info .groups li { display: flex; align-items: center; gap: 6px; }
.ts-bb { overflow-wrap: anywhere; }
.ts-bb table { border-collapse: collapse; margin: 2px 0 8px; }
.ts-bb th, .ts-bb td { padding: 1px 10px 1px 0; text-align: left; vertical-align: top; }
.ts-bb ul { margin: 4px 0; padding-left: 20px; }
.ts-bb hr { border: 0; border-top: 1px solid #bbb; }
.ts-bb a { color: #1d6fd1; }
.ts-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 250px; }
.ts-chattabs { display: flex; gap: 2px; padding: 4px 8px 0; background: #eef1f4; border-bottom: 1px solid var(--ts-line); overflow-x: auto; }
.ts-chattab { padding: 3px 10px; border: 1px solid var(--ts-line); border-bottom: 0; border-radius: 4px 4px 0 0; background: #e2e6eb; cursor: pointer; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.ts-chattab[aria-selected="true"] { background: #fff; }
.ts-chattab .n { background: #d9534f; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 10.5px; font-weight: 700; }
.ts-chattab.blink { animation: ts-blink 1s steps(2) infinite; }
@keyframes ts-blink { 50% { background: #ffe9a8; } }
.ts-log { overflow-y: auto; padding: 6px 10px; }
.ts-msg { margin: 1px 0; white-space: normal; overflow-wrap: anywhere; }
.ts-msg .time { color: #888; }
.ts-msg .who { font-weight: 600; color: var(--ts-blue); }
.ts-msg.me .who { color: #1b6e2a; }
.ts-msg.system { color: #2a7a2a; }
.ts-msg.poke { color: #c0392b; }
.ts-msg .text { display: inline; }
.ts-msg .text.block { display: block; padding-left: 14px; }
.ts-input { display: flex; gap: 6px; padding: 6px 8px; border-top: 1px solid var(--ts-line); background: #f6f7f9; }
.ts-input input { flex: 1; min-width: 0; border: 1px solid var(--ts-border); border-radius: 3px; padding: 4px 7px; background: #fff; color: #000; font: inherit; }
.ts-input button { border: 1px solid var(--ts-border); border-radius: 3px; background: linear-gradient(#fff, #eceff3); padding: 3px 12px; cursor: pointer; }
.ts-status { display: flex; justify-content: space-between; gap: 10px; padding: 3px 10px; color: #555; font-size: 11.5px; background: #f6f7f9; }
.ts-modal { position: absolute; inset: 0; background: rgba(0, 0, 0, .18); display: grid; place-items: center; z-index: 5; }
.ts-dialog { width: min(360px, calc(100% - 30px)); background: #fff; border: 1px solid var(--ts-border); border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.ts-dialog .head { padding: 7px 10px; border-bottom: 1px solid #e3e6ea; font-weight: 600; }
.ts-dialog .content { padding: 14px 12px; display: flex; gap: 12px; align-items: flex-start; }
.ts-dialog .content svg { width: 30px; height: 30px; flex: none; color: #d4a017; }
.ts-dialog .foot { padding: 8px 10px; display: flex; justify-content: flex-end; border-top: 1px solid #e3e6ea; }
.ts-dialog .foot button { border: 1px solid var(--ts-border); border-radius: 3px; background: linear-gradient(#fff, #eceff3); padding: 3px 18px; cursor: pointer; }
.ts-loading { display: grid; place-items: center; min-height: 430px; text-align: center; color: #444; padding: 20px; }
.ts-loading .bar { width: 220px; height: 6px; border-radius: 3px; background: #e2e6eb; overflow: hidden; margin: 12px auto 0; }
.ts-loading .bar::after { content: ""; display: block; width: 40%; height: 100%; background: #3399ff; animation: ts-load 1.2s ease-in-out infinite; }
.ts-loading .boot-files { list-style: none; padding: 0; margin: 10px 0; font-family: ui-monospace, monospace; font-size: 13px; }
.ts-loading .btn { margin-top: 10px; }
@keyframes ts-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
/* Vista previa del generador con el aspecto del panel de información de TeamSpeak */
.ts-preview { background: #fff; color: #1b1b1b; border: 1px solid #9aa4b1; border-radius: 6px; padding: 12px 14px; font: 12px/1.45 "Segoe UI", Tahoma, sans-serif; min-height: 200px; max-height: 620px; overflow: auto; color-scheme: light; }
.ts-preview h3 { font: 600 16px "Segoe UI", Tahoma, sans-serif; color: #0b57a5; margin: 0 0 8px; }


/* Colores de BBCode usados en contenido estático (sin atributos style, por la CSP) */
.c-green { color: #1a8f2a; }
.c-amber { color: #b07a00; }
.m0 { margin: 0; }
.ts-note { margin: 10px 0 0; padding: 6px 8px; background: #f3f6fa; border: 1px solid #dbe2ea; border-radius: 3px; color: #445; }
.muted-ts { color: #666; margin-top: 4px; }
.ts-tree:focus-within, .ts-chattab:focus-visible, .ts-conntab:focus-visible { outline: 2px solid #3399ff; outline-offset: -2px; }

/* Árabe (RTL): la ventana simulada de TeamSpeak y el código BBCode siguen en LTR. */
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] code, [dir="rtl"] .clock { direction: ltr; unicode-bidi: isolate; }
/* La marca y las imitaciones del cliente de TeamSpeak (que es LTR) no se invierten. */
[dir="rtl"] .brand, [dir="rtl"] .chatmock, [dir="rtl"] .ts-bb { direction: ltr; }
[dir="rtl"] .chatmock .text, [dir="rtl"] .ts-bb td { unicode-bidi: plaintext; }
.world-block { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; background: var(--bg-2); }
.world-block .btn { margin-top: 6px; }

/* Generador: versión compacta (todo cabe sin apenas desplazarse) */
.gen-page .page-head { padding: 26px 0 14px; }
.gen-page .page-head h1 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.03em; }
.gen-page .page-head p { font-size: 15px; margin-top: 8px; line-height: 1.5; max-width: 68em; }
.gen-page .tabs { margin-bottom: 14px; }
.gen-page .tabs button { padding: 8px 14px; font-size: 14.5px; }
.gen-page .gen { gap: 16px; padding-bottom: 40px; }
.gen-page .box { padding: 16px 18px; }
.gen-page .box h2 { font-size: 16px; margin-bottom: 8px; }
.gen-page .box h3 { font-size: 14px; margin: 12px 0 8px; }
.gen-page .box p.small { font-size: 13px; line-height: 1.45; margin: 0 0 10px; }
.gen-page .field { margin-bottom: 10px; }
.gen-page .field > span { font-size: 13px; margin-bottom: 4px; }
.gen-page .field input[type=text], .gen-page .field textarea, .gen-page .field select { min-height: 38px; padding: 8px 11px; border-radius: 9px; font-size: 14px; }
.gen-page .field textarea { min-height: 200px; font-size: 13px; line-height: 1.5; }
.gen-page .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.gen-page [data-panel="player"] .field textarea { min-height: 62px; }
.gen-page [data-panel="player"] .ts-preview { min-height: 0; margin-top: 4px; }
.gen-page .btn { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.gen-page .btn + p.small { margin-top: 10px; }
.gen-page .meter { font-size: 13px; margin: 2px 0 8px; }
.gen-page .notice { padding: 9px 12px; font-size: 13.5px; margin-bottom: 10px; }
.gen-page .world-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 10px; align-items: start; padding: 10px 12px; margin-bottom: 8px; }
.gen-page .world-block .field { margin-bottom: 0; }
.gen-page .world-block .field textarea { min-height: 38px; }
.gen-page .world-block .btn { margin-top: 23px; }
@media (max-width: 640px) {
  .gen-page .row2, .gen-page .world-block { grid-template-columns: minmax(0, 1fr); }
  .gen-page .world-block .btn { margin-top: 0; justify-self: start; }
}

/* Contacto (comprar) */
.contact { padding-top: 0; scroll-margin-top: 96px; }
.contact-box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); }
.contact-box h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 10px; }
.contact-box p { margin: 0; }
.contact-actions { display: grid; gap: 10px; }
.contact-actions .btn { justify-content: center; gap: 10px; min-height: 48px; }
.contact-actions .btn svg { width: 20px; height: 20px; flex: none; }
.btn.whatsapp { background: #25d366; border-color: #25d366; color: #062d16; font-weight: 700; }
.btn.whatsapp:hover { filter: brightness(1.07); color: #062d16; }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn.discord:hover { filter: brightness(1.08); color: #fff; }
.contact-actions .hint { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .contact-box { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; } }

/* Selector de idioma (cabecera) */
.lang-select { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 14px; margin-inline-start: 8px; cursor: pointer; min-height: 38px; }
.lang-select:hover { border-color: var(--line-strong); }
.lang-select option { background: var(--panel); color: var(--text); }

@media (max-width: 1040px) {
  .hero .wrap, .two, .gen { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 64px 0 56px; }
  .showcase { max-width: 620px; }
  .section { padding: 72px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-body { grid-template-columns: minmax(0, 1fr); }
  .ts-tree { border-right: 0; border-bottom: 1px solid var(--ts-line); max-height: 360px; }
  .ts-menu, .ts-title .winbtns { display: none; }
}
@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 16px; margin: 0; }
  .site-header.open .site-nav { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .site-nav a.cta { margin: 8px 0 0; text-align: center; }
  .lang-select { margin: 8px 0 0; width: 100%; border-radius: 12px; min-height: 44px; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .card.wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 40px; }
  .hero p.lead { font-size: 17px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .auth .card { padding: 28px 20px 24px; }
  table.cmds th, table.cmds td { padding: 12px 14px; }
  table.cmds td:first-child { white-space: normal; }
  .float.f-exp { display: none; }
  .float.f-respawn { position: static; width: auto; margin-top: 12px; }
  .showcase { padding-bottom: 0; }
  .cta-box { padding: 48px 20px; border-radius: 20px; }
  .cta-band { padding-bottom: 56px; }
  .ts-toolbar .tbtn.extra { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .card, .box, .site-nav a[aria-current="page"] { border: 1px solid CanvasText; }
  .hero h1 em, .stat b { color: Highlight; background: none; }
}
/* Árabe (derecha a izquierda): las maquetas del cliente de TeamSpeak siguen de izquierda a derecha. */
[dir="rtl"] .showcase, [dir="rtl"] .win { direction: ltr; }


/* ---------------------------------------------------------------- Dos productos: TeamSpeak 3 y Discord */
:root { --discord: #5865f2; --discord-soft: rgba(88, 101, 242, .14); --discord-text: #aab3ff; }

/* Aviso estilo Discord en la portada */
.float.f-discord { inset-inline-end: -22px; top: 36px; width: 262px; padding: 12px; background: #313338; border-color: #1e1f22; color: #dbdee1; }
.dc-head { display: flex; align-items: center; gap: 7px; font-size: 13px; margin-bottom: 7px; }
.dc-head b { color: #f2f3f5; }
.dc-avatar { width: 22px; height: 22px; border-radius: 50%; background: #1e1f22; display: grid; place-items: center; }
.dc-avatar img { width: 14px; height: 14px; }
.dc-app { font-size: 10px; font-weight: 700; background: var(--discord); color: #fff; border-radius: 4px; padding: 0 4px; line-height: 15px; }
.dc-time { color: #949ba4; font-size: 11px; }
.dc-embed { background: #2b2d31; border-inline-start: 4px solid #e01b1b; border-radius: 4px; padding: 8px 10px; }
.dc-embed strong { color: #f2f3f5; font-size: 13px; margin-bottom: 2px; }
.dc-embed p { margin: 0; font-size: 12px; color: #b5bac1; }
.dc-embed .dc-killers { margin-top: 4px; }
.dc-killers .ally { color: #4ade80; } .dc-killers .neutral { color: #b5bac1; }

/* Etiquetas de estado */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--green); background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3); }
.badge.soon { color: var(--discord-text); background: var(--discord-soft); border: 1px solid rgba(88, 101, 242, .45); }

/* Tarjetas de producto */
.products { padding-top: 88px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; }
.product.ts3::before { background: var(--grad-gold); }
.product.discord::before { background: var(--discord); }
.product.ts3 { box-shadow: 0 30px 80px -50px rgba(246, 189, 75, .5); }
.product.discord { box-shadow: 0 30px 80px -50px rgba(88, 101, 242, .6); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.product-logo svg { width: 26px; height: 26px; }
.ts3 .product-logo, .band-head .product-logo { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(246, 189, 75, .3); }
.discord .product-logo { background: var(--discord-soft); color: var(--discord-text); border: 1px solid rgba(88, 101, 242, .45); }
.product h3 { font-size: 26px; margin: 20px 0 8px; letter-spacing: -.03em; }
.product > p { margin: 0; color: var(--text-2); }
.checks { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 28px; color: var(--text-2); font-size: 15px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6bd4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.discord .checks li::before { background: var(--discord-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.product .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* Franja de cada producto */
.band { padding: 40px 0; }
.band-head { display: flex; align-items: center; gap: 18px; }
.band-head > div { flex: 1; min-width: 0; }
.band-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.band-head p { margin: 6px 0 0; color: var(--text-2); }
.band + .section { padding-top: 80px; }

/* Sección de Discord */
.discord-section { position: relative; background: radial-gradient(900px 420px at 50% 0, rgba(88, 101, 242, .12), transparent 70%); border-top: 1px solid var(--line-soft); }
.section-head .kicker.kicker-discord { color: var(--discord-text); }
.discord-section .card .icon { background: var(--discord-soft); color: var(--discord-text); border-color: rgba(88, 101, 242, .4); }
.discord-section .grid .card:hover { border-color: rgba(88, 101, 242, .5); }
.soon-box { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; border: 1px dashed rgba(88, 101, 242, .5); border-radius: 16px; background: var(--discord-soft); }
.soon-box p { margin: 0; color: var(--text); font-weight: 500; }

/* Entrada: elegir panel */
.chooser { position: relative; width: min(760px, 100%); text-align: center; }
.chooser .auth-logo { margin: 0 auto 18px; }
.chooser h1 { font-size: 32px; }
.chooser > p.muted { margin: 8px 0 28px; font-size: 16px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: start; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; text-align: start; transition: border-color .15s, transform .15s, background-color .15s; }
button.choice { cursor: pointer; }
button.choice:hover { border-color: rgba(246, 189, 75, .55); background: var(--panel-2); transform: translateY(-2px); }
.choice-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.choice-text { color: var(--text-2); font-size: 14.5px; }
.choice-go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--gold); font-size: 14.5px; }
.choice.is-soon { opacity: .8; cursor: not-allowed; }
.choice.is-soon .choice-go { color: var(--discord-text); font-weight: 500; }
.auth .back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); padding: 0; margin: 0 0 18px; cursor: pointer; font-size: 14px; width: auto; }
.auth .back:hover { color: var(--text); }
.auth .back svg { width: 16px; height: 16px; }

@media (max-width: 1040px) {
  .float.f-discord { inset-inline-end: 0; }
}
@media (max-width: 860px) {
  .product-grid, .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .band-head { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .float.f-discord { position: static; width: auto; margin-top: 12px; }
  .product { padding: 24px 20px; }
  .product .actions .btn { flex: 1 1 100%; }
  .soon-box { padding: 18px; }
  .soon-box .btn { width: 100%; }
}
[dir="rtl"] .f-discord { direction: ltr; }

/* ---------------------------------------------------------------- Portada, /teamspeak y /discord */
/* Quiénes somos */
.about .two { align-items: center; }
.about .intro + .intro { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.values .card { padding: 22px; }
.values .card h3 { font-size: 16.5px; margin: 14px 0 6px; }
.values .card p { font-size: 14.5px; }

/* Cabecera de las páginas de cada bot */
.page-hero { padding: 72px 0 64px; }
.page-hero-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.page-hero .ts3-logo { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(246, 189, 75, .3); }
.page-hero .dc-logo { background: var(--discord-soft); color: var(--discord-text); border: 1px solid rgba(88, 101, 242, .45); }
.discord-hero h1 em { background: linear-gradient(135deg, #c7ccff 0%, #8891ff 50%, #5865f2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.discord-hero::before { background: radial-gradient(700px 380px at 75% 20%, rgba(88, 101, 242, .18), transparent 70%); }
.dc-glow { background: radial-gradient(closest-side, rgba(88, 101, 242, .35), transparent) !important; }

/* Ventana estilo Discord */
.dc-window { position: relative; background: #313338; border: 1px solid #1e1f22; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); color: #dbdee1; }
.dc-channel { padding: 10px 14px; border-bottom: 1px solid #1e1f22; font-weight: 700; color: #f2f3f5; font-size: 14px; }
.dc-log { padding: 12px 14px 14px; display: grid; gap: 14px; }
.dc-msg .dc-head { margin-bottom: 6px; }
.dc-embed.green { border-inline-start-color: #2e9e44; }
.dc-embed.amber { border-inline-start-color: #f1c40f; }
.dc-embed.red { border-inline-start-color: #e01b1b; }

/* Planes */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
.plan { padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.plan h3 { font-size: 24px; }
.plan > p { margin: 6px 0 0; }
.plan .checks { margin-bottom: 0; }
.plan.premium { border-color: rgba(88, 101, 242, .55); box-shadow: 0 30px 80px -50px rgba(88, 101, 242, .7); }
.plans-note { text-align: center; margin: 20px 0 0; }

@media (max-width: 1040px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .values { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 44px 0 40px; }
  .plan { padding: 24px 20px; }
}
[dir="rtl"] .dc-window { direction: ltr; }




/* Portada: logo con aro de luz, cristal y tarjetas flotantes */
.home-hero { padding: 80px 0 72px; }
.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; isolation: isolate; }
/* Rejilla en perspectiva que se desvanece */
.hv-floor { position: absolute; left: -20%; right: -20%; bottom: -14%; height: 66%; z-index: -3;
  background-image: linear-gradient(rgba(246, 189, 75, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 189, 75, .16) 1px, transparent 1px);
  background-size: 38px 38px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%; opacity: .8;
  -webkit-mask-image: radial-gradient(ellipse 55% 85% at 50% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 55% 85% at 50% 100%, #000 10%, transparent 70%); }
/* Manchas de color difuminadas */
.hv-blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -2; opacity: .55; }
.hv-blob.b1 { width: 58%; height: 58%; top: 4%; left: 2%; background: #f6bd4b; opacity: .30; }
.hv-blob.b2 { width: 54%; height: 54%; bottom: 6%; right: 0; background: #5865f2; opacity: .34; }
/* Aro de luz que gira */
.hv-aura { position: absolute; inset: 15%; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #ffe29a, #f6bd4b, #e2912a 25%, transparent 38%, #5865f2 55%, #aab3ff 66%, transparent 80%, #ffe29a);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 18px rgba(246, 189, 75, .45)); animation: hv-turn 14s linear infinite; }
@keyframes hv-turn { to { transform: rotate(360deg); } }
/* Disco de cristal */
.hv-disc { position: absolute; inset: 21%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 55%, rgba(0, 0, 0, .25));
  border: 1px solid rgba(255, 255, 255, .10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
/* Escudo, con un reflejo que lo recorre */
.hv-emblem { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -52%); animation: hv-bob 7s ease-in-out infinite; }
.hv-emblem img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 22px 40px rgba(246, 189, 75, .45)) drop-shadow(0 0 2px rgba(255, 226, 154, .6)); }
.hv-shine { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url("/favicon.svg") center / contain no-repeat; mask: url("/favicon.svg") center / contain no-repeat;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .75) 48%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 160% 0; animation: hv-shine 5.5s ease-in-out infinite; }
@keyframes hv-shine { 0%, 55% { background-position: 160% 0; } 85%, 100% { background-position: -60% 0; } }
@keyframes hv-bob { 0%, 100% { transform: translate(-50%, -52%); } 50% { transform: translate(-50%, -56%); } }
/* Tarjetas y píldoras de cristal */
.hv-card, .hv-pill { position: absolute; display: flex; align-items: center; gap: 12px; color: var(--text); white-space: nowrap;
  background: linear-gradient(180deg, rgba(40, 40, 48, .62), rgba(18, 18, 22, .62)); border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.hv-card { padding: 12px 16px 12px 12px; border-radius: 16px; animation: hv-float 8s ease-in-out infinite; }
.hv-card-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.hv-card-text b { font-size: 15px; letter-spacing: -.01em; }
.hv-card .badge { font-size: 11px; padding: 2px 8px; }
.hv-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hv-ico svg { width: 22px; height: 22px; }
.c-ts .hv-ico { background: linear-gradient(135deg, rgba(255, 226, 154, .22), rgba(226, 145, 42, .14)); color: var(--gold-strong); border: 1px solid rgba(246, 189, 75, .35); }
.c-dc .hv-ico { background: linear-gradient(135deg, rgba(170, 179, 255, .22), rgba(88, 101, 242, .18)); color: #c7ccff; border: 1px solid rgba(88, 101, 242, .5); }
.hv-card.c-ts { top: 10%; left: -4%; }
.hv-card.c-dc { bottom: 12%; right: -4%; animation-delay: -4s; }
.hv-pill { padding: 8px 14px; border-radius: 999px; font-size: 13px; gap: 8px; animation: hv-float 9s ease-in-out infinite; }
.hv-pill svg { width: 16px; height: 16px; color: var(--gold); }
.hv-pill b { font-variant-numeric: tabular-nums; }
.hv-pill > span:last-child { color: var(--text-2); }
.hv-pill.p-live { top: 4%; right: 6%; animation-delay: -2s; }
.hv-pill.p-lang { bottom: 4%; left: 4%; animation-delay: -6s; }
@keyframes hv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1040px) {
  .hero-visual { max-width: 460px; margin-top: 16px; }
}
@media (max-width: 640px) {
  .home-hero { padding: 44px 0 40px; }
  .hero-visual { max-width: 340px; }
  .hv-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 13px; }
  .hv-ico { width: 34px; height: 34px; border-radius: 10px; }
  .hv-ico svg { width: 18px; height: 18px; }
  .hv-card-text b { font-size: 13px; }
  .hv-card.c-ts { left: 0; top: 6%; }
  .hv-card.c-dc { right: 0; bottom: 8%; }
  .hv-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-aura, .hv-emblem, .hv-shine, .hv-card, .hv-pill { animation: none; }
}

/* Portada: titular más equilibrado, profundidad en el logo, entrada y movimiento con el ratón */
.home-hero .wrap { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; }
.home-hero h1 { font-size: clamp(36px, 4.5vw, 58px); text-wrap: balance; }
.home-hero h1 em { background: linear-gradient(100deg, #ffe29a 0%, #f6bd4b 45%, #b9a4ff 78%, #8891ff 100%); -webkit-background-clip: text; background-clip: text; }
.home-hero p.lead { text-wrap: pretty; }
/* Aro de marcas, muy lento, por fuera del aro de luz */
.hv-ticks { position: absolute; inset: 8%; border-radius: 50%; z-index: -1; opacity: .5;
  background: repeating-conic-gradient(rgba(255, 255, 255, .5) 0 .6deg, transparent .6deg 6deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)), conic-gradient(#000, transparent 30%, #000 50%, transparent 80%, #000); -webkit-mask-composite: source-in;
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)), conic-gradient(#000, transparent 30%, #000 50%, transparent 80%, #000); mask-composite: intersect;
  animation: hv-turn 80s linear infinite reverse; }
/* Dos destellos que recorren el aro en sentido contrario */
.hv-orbit { position: absolute; inset: 15%; border-radius: 50%; z-index: -1; animation: hv-turn 11s linear infinite reverse; }
.hv-orbit::before, .hv-orbit::after { content: ""; position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; }
.hv-orbit::before { top: -4.5px; background: #fff3cf; box-shadow: 0 0 12px 3px rgba(246, 189, 75, .9), 0 0 30px 8px rgba(246, 189, 75, .35); }
.hv-orbit::after { bottom: -4.5px; background: #e3e6ff; box-shadow: 0 0 12px 3px rgba(136, 145, 255, .95), 0 0 30px 8px rgba(88, 101, 242, .4); }
.hv-floor { opacity: 1; background-image: linear-gradient(rgba(246, 189, 75, .26) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 189, 75, .26) 1px, transparent 1px); }
.hv-disc { background: radial-gradient(circle at 35% 22%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 50%, rgba(0, 0, 0, .3)), radial-gradient(circle at 50% 60%, rgba(246, 189, 75, .16), transparent 62%); }
/* El conjunto sigue un poco al ratón (lo mueve site.ts con --mx / --my, de -1 a 1) */
.hv-card, .hv-pill, .hv-blob, .hv-disc { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.hv-card.c-ts { transform: translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 16px), 0); }
.hv-card.c-dc { transform: translate3d(calc(var(--mx, 0) * 22px), calc(var(--my, 0) * 22px), 0); }
.hv-pill.p-live { transform: translate3d(calc(var(--mx, 0) * 28px), calc(var(--my, 0) * 28px), 0); }
.hv-pill.p-lang { transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 12px), 0); }
.hv-blob { transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -18px), 0); }
.hv-disc { transform: translate3d(calc(var(--mx, 0) * 5px), calc(var(--my, 0) * 5px), 0); }
.hv-emblem { transform: translate(-50%, -52%) translate3d(calc(var(--mx, 0) * 9px), calc(var(--my, 0) * 9px), 0); animation-name: hv-bob2; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes hv-bob2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hv-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .2s; }
/* Entrada al cargar */
@media (prefers-reduced-motion: no-preference) {
  .home-hero .wrap > div:first-child > * { animation: hero-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .home-hero .wrap > div:first-child > :nth-child(2) { animation-delay: .08s; }
  .home-hero .wrap > div:first-child > :nth-child(3) { animation-delay: .16s; }
  .home-hero .wrap > div:first-child > :nth-child(4) { animation-delay: .24s; }
  .home-hero .hero-visual { animation: hero-visual-in 1s cubic-bezier(.2, .7, .2, 1) .1s both; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-visual-in { from { opacity: 0; scale: .92; } }
@media (max-width: 1040px) {
  .home-hero .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hv-orbit::before, .hv-orbit::after { width: 7px; height: 7px; margin-left: -3.5px; }
  .hv-orbit::before { top: -3.5px; }
  .hv-orbit::after { bottom: -3.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-ticks, .hv-orbit { animation: none; }
}

/* Cifras en vivo (portada) */
.live-stats { position: relative; padding: 0 0 24px; margin-top: -24px; }
.live-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 16px; color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
.live-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); overflow: hidden; }
.live-item { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: start; align-content: start; padding: 22px 24px; border-inline-start: 1px solid var(--line-soft); }
.live-item:first-child { border-inline-start: 0; }
.live-ico { grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(246, 189, 75, .25); }
.live-ico svg { width: 20px; height: 20px; }
.live-item:nth-child(2) .live-ico { background: rgba(74, 222, 128, .1); color: var(--green); border-color: rgba(74, 222, 128, .28); }
.live-item:nth-child(3) .live-ico { background: rgba(248, 113, 113, .1); color: var(--red); border-color: rgba(248, 113, 113, .28); }
.live-item:nth-child(4) .live-ico { background: var(--discord-soft); color: var(--discord-text); border-color: rgba(88, 101, 242, .35); }
.live-item b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.live-item > span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.35; }

/* Aparición al bajar (solo con JavaScript y sin "reducir movimiento") */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Hover más vivo */
.grid .card, .product, .plan, .values .card { transition: border-color .2s, transform .2s, box-shadow .2s, background-color .2s; }
.grid .card:hover, .values .card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(246, 189, 75, .12); }
.grid .card:hover .icon, .values .card:hover .icon { transform: scale(1.06); }
.card .icon { transition: transform .2s; }
.product:hover { transform: translateY(-4px); }
.product.ts3:hover { border-color: rgba(246, 189, 75, .45); }
.product.discord:hover { border-color: rgba(88, 101, 242, .6); }
.plan:hover { transform: translateY(-3px); }
.btn { transition: filter .15s, transform .15s, background-color .15s, border-color .15s, box-shadow .2s; }
.btn.primary:hover { box-shadow: 0 10px 30px -10px rgba(246, 189, 75, .6); }
.btn.discord:hover { box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .7); }

@media (max-width: 860px) {
  .live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-item:nth-child(3) { border-inline-start: 0; }
  .live-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 640px) {
  .live-stats { margin-top: 0; }
  .live-item { padding: 16px; column-gap: 10px; }
  .live-ico { width: 36px; height: 36px; }
  .live-item b { font-size: 22px; }
  .live-item > span:last-child { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

/* Capturas del panel (/teamspeak) */
.shots-section { background: radial-gradient(900px 420px at 50% 0, rgba(246, 189, 75, .08), transparent 70%); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shots figure { margin: 0; }
.shots .shot-main { grid-column: 1 / -1; }
.shot-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #0d0d10; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .02); }
.shot-main .shot-frame { box-shadow: 0 50px 120px -50px rgba(246, 189, 75, .35), 0 40px 80px -40px rgba(0, 0, 0, .95); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: #17171b; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a44; }
.shot-bar i:first-child { background: #f87171; } .shot-bar i:nth-child(2) { background: #fbbf24; } .shot-bar i:nth-child(3) { background: #4ade80; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shots figcaption { margin-top: 12px; color: var(--text-2); font-size: 14.5px; }
.shots-note { text-align: center; margin: 22px 0 0; }

/* Pie de página */
.site-footer .wrap.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 32px 48px; align-items: start; }
.footer-brand p { margin: 8px 0 14px; max-width: 26em; }
.footer-status { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-cols { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 9px; }
.footer-cols h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin: 0 0 4px; }
.footer-cols a { color: var(--text-2); text-decoration: none; }
.footer-cols a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap.footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Portada: secciones de abajo (quiénes somos, los dos bots, contacto) */
.about, .products { position: relative; }
.about { padding: 84px 0 76px; }
.products { padding: 76px 0 84px; }
.about h2, .products h2, .contact-box h2 { text-wrap: balance; }
/* Línea de luz entre secciones */
.about::before, .products::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1100px, 86%); height: 1px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(246, 189, 75, .45) 30%, rgba(136, 145, 255, .45) 70%, transparent); }
.products::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(620px 360px at 22% 62%, rgba(246, 189, 75, .07), transparent 70%), radial-gradient(620px 360px at 78% 62%, rgba(88, 101, 242, .10), transparent 70%); }
.products { isolation: isolate; }

/* Quiénes somos: texto con una línea de acento y tarjetas numeradas, cada una con su color */
.about .two { gap: 56px; }
.about .intro { position: relative; padding-inline-start: 20px; font-size: 17.5px; margin-bottom: 0; }
.about .intro::before { content: ""; position: absolute; inset-block: 4px; inset-inline-start: 0; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--gold), rgba(246, 189, 75, .12)); }
.about .intro + .intro { margin-top: 22px; }
.about .intro + .intro::before { background: linear-gradient(180deg, #8891ff, rgba(136, 145, 255, .12)); }
.values { counter-reset: value; gap: 16px; }
.values .card { --tint: 246, 189, 75; counter-increment: value; overflow: hidden; padding: 24px; border-radius: 18px;
  background: radial-gradient(260px 160px at 0% 0%, rgba(var(--tint), .10), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.values .card:nth-child(2) { --tint: 74, 222, 128; }
.values .card:nth-child(3) { --tint: 136, 145, 255; }
.values .card:nth-child(4) { --tint: 127, 180, 230; }
.values .card::before { content: "0" counter(value); position: absolute; top: 16px; inset-inline-end: 20px; font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--tint), .28); pointer-events: none; }
.values .card .icon { background: linear-gradient(180deg, rgba(var(--tint), .22), rgba(var(--tint), .07)); color: rgb(var(--tint)); box-shadow: inset 0 0 0 1px rgba(var(--tint), .32); }
.values .card:hover { border-color: rgba(var(--tint), .45); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .95), 0 18px 50px -30px rgba(var(--tint), .55); }

/* Foco de luz que sigue al ratón en las tarjetas (lo mueve site.ts con --sx / --sy) */
.values .card::after, .product::after, .contact-box::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 0%), rgba(var(--tint, 246, 189, 75), .13), transparent 62%); }
.values .card:hover::after, .product:hover::after, .contact-box:hover::after { opacity: 1; }
.values .card > *, .product > *, .contact-box > * { position: relative; z-index: 1; }

/* Los dos bots: tarjetas con su color de fondo, logo grande y marca de agua */
.product { padding: 34px; border-radius: 24px; isolation: isolate; }
.product.ts3 { --tint: 246, 189, 75; }
.product.discord { --tint: 136, 145, 255; }
.product { background: radial-gradient(520px 300px at 100% 0%, rgba(var(--tint, 246, 189, 75), .13), transparent 68%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); }
.product::before { height: 2px; z-index: 2; }
.product.ts3::before { background: linear-gradient(90deg, transparent, #f6bd4b 20%, #ffe29a 50%, #f6bd4b 80%, transparent); }
.product.discord::before { background: linear-gradient(90deg, transparent, #5865f2 20%, #aab3ff 50%, #5865f2 80%, transparent); }
.product-logo { width: 58px; height: 58px; border-radius: 17px; box-shadow: 0 14px 34px -14px rgba(var(--tint, 246, 189, 75), .8); }
.product-logo svg { width: 30px; height: 30px; }
.product h3 { font-size: 30px; margin-top: 24px; }
.product > p { font-size: 16.5px; line-height: 1.6; }
.product .checks { gap: 0; margin: 22px 0 28px; border-top: 1px solid var(--line-soft); }
.product .checks li { padding-block: 12px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.product .checks li::before { top: 14px; }
.product.discord .checks li::before { background: var(--discord-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Contacto: caja con borde de luz dorado y morado */
.contact-box { --tint: 246, 189, 75; position: relative; overflow: hidden; padding: 44px; border-radius: 26px; border: 1px solid transparent; gap: 40px;
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(246, 189, 75, .13), transparent 70%) padding-box,
    radial-gradient(520px 260px at 100% 100%, rgba(88, 101, 242, .16), transparent 70%) padding-box,
    linear-gradient(180deg, #121216, #0c0c0f) padding-box,
    linear-gradient(120deg, rgba(246, 189, 75, .7), rgba(255, 255, 255, .08) 35%, rgba(255, 255, 255, .08) 65%, rgba(136, 145, 255, .8)) border-box;
  box-shadow: 0 40px 100px -60px rgba(246, 189, 75, .45); }
.contact-box::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000, transparent 75%); }
.contact-box h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; }
.contact-box p.muted { font-size: 16.5px; color: var(--text-2); max-width: 34em; }
.contact-actions .btn { min-height: 54px; border-radius: 14px; font-size: 16px; }

@media (max-width: 1040px) {
  .about { padding: 64px 0 56px; }
  .products { padding: 56px 0 64px; }
  .about .two { gap: 36px; }
}
@media (max-width: 640px) {
  .about { padding: 48px 0 44px; }
  .products { padding: 44px 0 48px; }
  .product { padding: 26px 20px; border-radius: 20px; }
  .product h3 { font-size: 26px; }
  .contact-box { padding: 26px 20px; border-radius: 20px; gap: 24px; }
  .values .card::before { font-size: 36px; }
}

/* Páginas de TeamSpeak 3 y Discord: el mismo estilo que la portada */
main > .section { position: relative; padding: 88px 0; }
main > .section h2, .cta-box h2 { text-wrap: balance; }
/* Línea de luz entre secciones */
main > .section:not(.contact)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1100px, 86%); height: 1px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(246, 189, 75, .45) 30%, rgba(136, 145, 255, .45) 70%, transparent); }
main > .section.alt, main > .discord-section { border-block-color: transparent; }
.about { padding: 84px 0 76px; }
.products { padding: 76px 0 84px; }

/* Rejillas de funciones: tarjetas numeradas, cada una con su color, y foco de luz */
.grid { counter-reset: value; }
.grid .card { --tint: 246, 189, 75; counter-increment: value; overflow: hidden; border-radius: 18px;
  background: radial-gradient(280px 170px at 0% 0%, rgba(var(--tint), .10), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.grid .card:nth-child(4n+2) { --tint: 74, 222, 128; }
.grid .card:nth-child(4n+3) { --tint: 136, 145, 255; }
.grid .card:nth-child(4n+4) { --tint: 127, 180, 230; }
.discord-section .grid .card:nth-child(n) { --tint: 136, 145, 255; }
.grid .card::before { content: "0" counter(value); position: absolute; top: 18px; inset-inline-end: 22px; font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--tint), .28); pointer-events: none; }
.grid .card .icon, .discord-section .grid .card .icon { background: linear-gradient(180deg, rgba(var(--tint), .22), rgba(var(--tint), .07)); color: rgb(var(--tint)); box-shadow: inset 0 0 0 1px rgba(var(--tint), .32); }
.discord-section .grid .card .icon { color: var(--discord-text); }
.grid .card:hover, .discord-section .grid .card:hover { border-color: rgba(var(--tint), .45); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .95), 0 18px 50px -30px rgba(var(--tint), .55); }
.grid .card::after, .plan::after, .cta-box::after, .soon-box::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 0%), rgba(var(--tint, 246, 189, 75), .13), transparent 62%); }
.grid .card:hover::after, .plan:hover::after, .cta-box:hover::after, .soon-box:hover::after { opacity: 1; }
.grid .card > *, .plan > *, .soon-box > * { position: relative; z-index: 1; }

/* Pasos: número con brillo y línea que los une */
.steps { position: relative; }
.step { position: relative; }
.step::before { box-shadow: inset 0 0 0 1px rgba(246, 189, 75, .34), 0 12px 28px -14px rgba(246, 189, 75, .7); }
.step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 22px; top: 52px; bottom: -20px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(246, 189, 75, .4), rgba(246, 189, 75, .04)); }

/* Capturas del panel */
.shot-frame { border-radius: 16px; transition: border-color .2s, transform .25s, box-shadow .25s; }
.shots figure:hover .shot-frame { transform: translateY(-4px); border-color: rgba(246, 189, 75, .45); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 30px 80px -50px rgba(246, 189, 75, .6); }

/* Llamada final (TeamSpeak): borde de luz */
.cta-box { --tint: 246, 189, 75; border: 1px solid transparent;
  background:
    radial-gradient(620px 280px at 50% 0%, rgba(246, 189, 75, .18), transparent 70%) padding-box,
    radial-gradient(520px 260px at 100% 100%, rgba(88, 101, 242, .12), transparent 70%) padding-box,
    linear-gradient(180deg, #121216, #0c0c0f) padding-box,
    linear-gradient(120deg, rgba(246, 189, 75, .75), rgba(255, 255, 255, .08) 35%, rgba(255, 255, 255, .08) 65%, rgba(136, 145, 255, .7)) border-box;
  box-shadow: 0 40px 100px -60px rgba(246, 189, 75, .5); }
.cta-box::before { opacity: .5; background: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%); }
.cta-box > * { z-index: 1; }

/* Planes (Discord) */
.plan { --tint: 255, 255, 255; position: relative; overflow: hidden; padding: 34px; border-radius: 24px;
  background: radial-gradient(420px 240px at 100% 0%, rgba(255, 255, 255, .05), transparent 68%), linear-gradient(180deg, #151519, #101013); }
.plan h3 { font-size: 28px; letter-spacing: -.03em; }
.plan .checks { gap: 0; margin-top: 22px; border-top: 1px solid var(--line-soft); }
.plan .checks li { padding-block: 12px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.plan .checks li:last-child { border-bottom: 0; padding-bottom: 0; }
.plan .checks li::before { top: 14px; }
.plan.premium { --tint: 136, 145, 255; border: 1px solid transparent;
  background:
    radial-gradient(460px 260px at 100% 0%, rgba(88, 101, 242, .22), transparent 68%) padding-box,
    linear-gradient(180deg, #15151c, #0f0f14) padding-box,
    linear-gradient(140deg, #aab3ff, rgba(88, 101, 242, .35) 40%, rgba(88, 101, 242, .2) 60%, #5865f2) border-box;
  box-shadow: 0 40px 100px -55px rgba(88, 101, 242, .85); }
.plan.premium .checks li::before { background: var(--discord-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Caja "quiero probarlo" (Discord): borde de luz morado */
.soon-box { --tint: 136, 145, 255; position: relative; overflow: hidden; margin-top: 36px; padding: 28px 32px; border-radius: 20px; border: 1px solid transparent;
  background:
    radial-gradient(520px 200px at 0% 0%, rgba(88, 101, 242, .22), transparent 70%) padding-box,
    linear-gradient(180deg, #14141b, #0e0e13) padding-box,
    linear-gradient(120deg, #aab3ff, rgba(88, 101, 242, .25) 40%, rgba(255, 255, 255, .08) 65%, rgba(246, 189, 75, .6)) border-box;
  box-shadow: 0 30px 80px -55px rgba(88, 101, 242, .8); }
.soon-box p { font-size: 17px; }

@media (max-width: 1040px) {
  main > .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  main > .section { padding: 48px 0; }
  .about { padding: 48px 0 44px; }
  .products { padding: 44px 0 48px; }
  .grid .card::before { font-size: 36px; }
  .plan { padding: 26px 20px; border-radius: 20px; }
  .soon-box { padding: 22px 20px; }
}

/* Generador: envío de la descripción con el enlace personal de !desc */
.send-banner { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(136, 145, 255, .4); background: rgba(88, 101, 242, .12); color: #dfe2ff; font-size: 14.5px; line-height: 1.5; }
.send-banner.error { border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .1); color: #ffd9d3; }
.send-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.gen-page .notice.ok { border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .1); color: #d6f5df; }
