/* Paginas legales de sinnersrp.vip (las genera generar_legal.py). Cabecera y pie como el resto de la web. */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --lado: clamp(20px, 5vw, 88px);
    --suave: cubic-bezier(0.16, 1, 0.3, 1);
    --borde: rgba(255, 255, 255, 0.09);
    --tenue: rgba(255, 255, 255, 0.6);
}

html, body {
    min-height: 100%;
    background: #000;
    color: #fff;
    font-family: 'Figtree', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    background: radial-gradient(60% 45% at 30% 0%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%), #000;
}

/* ------------------------------------------------ barra */
.barra {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px var(--lado);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 0) 100%);
}
.logo { justify-self: start; display: block; line-height: 0; }
.logo img { height: 46px; width: auto; transition: transform 0.4s var(--suave), filter 0.4s; }
.logo:hover img { transform: scale(1.04); filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.35)); }

.menu { display: flex; gap: 40px; }
.menu a {
    position: relative;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.25s;
}
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.45s var(--suave);
}
.menu a:hover { color: #fff; }
.menu a:hover::after { transform: scaleX(1); }
.menu a.monedas {
    color: transparent;
    background: linear-gradient(100deg, #9a9a9a 0%, #ffffff 22%, #a8a8a8 40%, #a8a8a8 60%, #ffffff 78%, #9a9a9a 100%) 0 0 / 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.08em;
    animation: brillo 4.5s linear infinite;
}

.iconos { justify-self: end; display: flex; gap: 10px; }
.iconos a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    transition: transform 0.35s var(--suave), box-shadow 0.35s;
}
.iconos a:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 255, 255, 0.22); }
.iconos svg { width: 19px; height: 19px; }

/* ------------------------------------------------ documento */
.legal {
    max-width: 1240px;
    margin: 0 auto;
    padding: 130px var(--lado) 64px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.indice {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.indice a {
    padding: 10px 14px;
    border-left: 2px solid var(--borde);
    color: var(--tenue);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.indice a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.indice a[aria-current="page"] { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.04); }

.documento { max-width: 780px; animation: aparece 0.9s var(--suave) both; }
.documento h1 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.documento .fecha { margin: 12px 0 34px; color: var(--tenue); font-size: 14px; }
.documento h2 { margin: 38px 0 12px; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.documento p, .documento li {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}
.documento p + p { margin-top: 12px; }
.documento ul { padding-left: 22px; }
.documento li + li { margin-top: 8px; }
.documento strong { color: #fff; font-weight: 600; }
.documento a { color: #fff; text-underline-offset: 3px; }
.formulario {
    margin-top: 14px;
    padding: 22px 24px;
    border: 1px solid var(--borde);
    border-radius: 10px;
    background: #0d0d0e;
}
.formulario p + p { margin-top: 10px; }
.pendiente { color: #fff; background: rgba(255, 255, 255, 0.1); padding: 0 6px; border-radius: 4px; }

/* ------------------------------------------------ pie */
.pie {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px var(--lado) 36px;
    border-top: 1px solid var(--borde);
    text-align: center;
}
.pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.pie a { color: var(--tenue); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.pie a:hover { color: #fff; }
.pie p { margin-top: 12px; color: rgba(255, 255, 255, 0.38); font-size: 13px; }

@keyframes brillo { to { background-position: -250% 0; } }
@keyframes aparece { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
    .menu { display: none; }
    .barra { grid-template-columns: 1fr auto; padding: 18px 20px; }
    .logo img { height: 38px; }
    .iconos a { width: 40px; height: 40px; }
    .legal { grid-template-columns: 1fr; gap: 28px; padding: 104px 20px 48px; }
    .indice { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .indice a { border: 1px solid var(--borde); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
    .indice a[aria-current="page"] { border-color: #fff; }
}
