/* ========================================
   ANXANWOMAN
   Estilos principales
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');


/* ---------- VARIABLES ---------- */

:root {
    --azul: #168cff;
    --azul-claro: #42c8ff;
    --azul-oscuro: #0757c9;

    --amarillo: #ffd429;
    --amarillo-oscuro: #e8a900;

    --morado: #8b5cff;
    --rosa: #ff4fa3;
    --verde: #39d98a;
    --rojo: #ff5252;

    --fondo: #07152e;
    --fondo-secundario: #0d2245;
    --tarjeta: #122c56;

    --blanco: #ffffff;
    --texto-secundario: #b9d5ff;

    --borde: rgba(255, 255, 255, 0.12);

    --sombra:
        0 8px 0 rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.25);
}


/* ---------- RESET ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Fredoka', Arial, sans-serif;

    background:
        radial-gradient(
            circle at top,
            #174a91 0%,
            #0a2855 35%,
            #07152e 75%
        );

    background-attachment: fixed;

    color: var(--blanco);

    min-height: 100vh;

    overflow-x: hidden;
}


/* ---------- FONDO DECORATIVO ---------- */

body::before {
    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.05) 2px,
            transparent 2px
        );

    background-size: 35px 35px;

    pointer-events: none;

    z-index: -1;
}


/* ---------- CONTENEDOR ---------- */

.container {
    width: 92%;
    max-width: 1100px;

    margin: auto;
}


/* ========================================
   HEADER
======================================== */

header {
    width: 100%;

    background:
        linear-gradient(
            135deg,
            #087cff,
            #1755db
        );

    border-bottom: 4px solid rgba(0,0,0,0.25);

    box-shadow:
        0 6px 20px rgba(0,0,0,0.35);

    position: sticky;

    top: 0;

    z-index: 100;
}


.header-content {
    max-width: 1100px;

    margin: auto;

    padding: 14px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.logo {
    font-size: 28px;

    font-weight: 700;

    letter-spacing: 1px;

    text-shadow:
        0 3px 0 rgba(0,0,0,0.25);
}


.logo span {
    color: var(--amarillo);
}


.user-points {
    background: rgba(0,0,0,0.25);

    border: 2px solid rgba(255,255,255,0.2);

    border-radius: 30px;

    padding: 8px 15px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 7px;
}


/* ========================================
   HERO
======================================== */

.hero {
    text-align: center;

    padding: 60px 20px 40px;
}


.hero-badge {
    display: inline-block;

    background: var(--amarillo);

    color: #332400;

    padding: 8px 18px;

    border-radius: 30px;

    font-weight: 700;

    margin-bottom: 20px;

    box-shadow:
        0 5px 0 var(--amarillo-oscuro);

    transform: rotate(-2deg);
}


.hero h1 {
    font-size: clamp(42px, 8vw, 80px);

    line-height: 0.95;

    font-weight: 700;

    text-transform: uppercase;

    text-shadow:
        0 5px 0 #06397d,
        0 10px 20px rgba(0,0,0,0.4);

    margin-bottom: 20px;
}


.hero h1 span {
    color: var(--amarillo);
}


.hero p {
    color: var(--texto-secundario);

    font-size: 20px;

    max-width: 600px;

    margin: auto;

    line-height: 1.5;
}


/* ========================================
   TITULOS
======================================== */

.section-title {
    font-size: 30px;

    margin-bottom: 20px;

    text-transform: uppercase;

    text-shadow:
        0 3px 0 rgba(0,0,0,0.3);
}


/* ========================================
   RETO DEL DIA
======================================== */

.daily-challenge {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #744cff,
            #b04dff
        );

    border: 3px solid rgba(255,255,255,0.2);

    border-radius: 25px;

    padding: 35px;

    margin-bottom: 45px;

    box-shadow: var(--sombra);
}


.daily-challenge::after {
    content: "🔥";

    position: absolute;

    right: -20px;
    bottom: -35px;

    font-size: 150px;

    opacity: 0.12;

    transform: rotate(-15deg);
}


.challenge-label {
    display: inline-block;

    background: var(--amarillo);

    color: #302000;

    padding: 6px 14px;

    border-radius: 20px;

    font-weight: 700;

    margin-bottom: 15px;
}


.daily-challenge h2 {
    font-size: 32px;

    margin-bottom: 10px;
}


.daily-challenge p {
    font-size: 18px;

    opacity: 0.9;

    margin-bottom: 25px;
}


/* ========================================
   BOTONES
======================================== */

.btn {
    display: inline-block;

    border: none;

    text-decoration: none;

    font-family: inherit;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    padding: 14px 25px;

    border-radius: 14px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.btn:hover {
    transform: translateY(-3px);
}


.btn:active {
    transform: translateY(3px);
}


.btn-yellow {
    background: var(--amarillo);

    color: #352700;

    box-shadow:
        0 6px 0 var(--amarillo-oscuro);
}


.btn-yellow:active {
    box-shadow:
        0 2px 0 var(--amarillo-oscuro);
}


/* ========================================
   JUEGOS
======================================== */

.games {
    margin-bottom: 50px;
}


.game-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.game-card {
    position: relative;

    min-height: 190px;

    padding: 25px 20px;

    border-radius: 22px;

    text-align: center;

    border: 3px solid rgba(255,255,255,0.12);

    box-shadow: var(--sombra);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;

    overflow: hidden;
}


.game-card:hover {
    transform:
        translateY(-7px)
        rotate(-1deg);

    filter: brightness(1.08);
}


.game-card:nth-child(1) {
    background:
        linear-gradient(
            145deg,
            #ff9d28,
            #ff5e28
        );
}


.game-card:nth-child(2) {
    background:
        linear-gradient(
            145deg,
            #25b9ff,
            #1266e8
        );
}


.game-card:nth-child(3) {
    background:
        linear-gradient(
            145deg,
            #ec4fa3,
            #a12ce0
        );
}


.game-card:nth-child(4) {
    background:
        linear-gradient(
            145deg,
            #35d69a,
            #139d75
        );
}


.game-icon {
    font-size: 55px;

    display: block;

    margin-bottom: 12px;

    filter:
        drop-shadow(
            0 5px 0 rgba(0,0,0,0.15)
        );
}


.game-card h3 {
    font-size: 23px;

    margin-bottom: 5px;
}


.game-card p {
    font-size: 14px;

    opacity: 0.85;
}


/* ========================================
   PROGRESO
======================================== */

.progress-section {
    margin-bottom: 50px;
}


.progress-card {
    background: var(--tarjeta);

    border: 2px solid var(--borde);

    border-radius: 22px;

    padding: 25px;

    box-shadow: var(--sombra);
}


.stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    text-align: center;
}


.stat {
    background: rgba(0,0,0,0.18);

    padding: 20px;

    border-radius: 16px;
}


.stat-number {
    font-size: 30px;

    font-weight: 700;

    color: var(--amarillo);
}


.stat-name {
    color: var(--texto-secundario);

    margin-top: 5px;
}


/* ========================================
   RANKING
======================================== */

.ranking {
    margin-bottom: 50px;
}


.ranking-card {
    background: var(--tarjeta);

    border-radius: 22px;

    padding: 25px;

    border: 2px solid var(--borde);

    box-shadow: var(--sombra);
}


.ranking-user {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px;

    margin-bottom: 10px;

    background: rgba(0,0,0,0.17);

    border-radius: 14px;
}


.ranking-user:last-child {
    margin-bottom: 0;
}


.position {
    font-size: 20px;

    font-weight: 700;

    width: 45px;
}


.username {
    flex: 1;

    font-weight: 600;
}


.points {
    color: var(--amarillo);

    font-weight: 700;
}


/* ========================================
   PUBLICIDAD
======================================== */

.ad-space {
    min-height: 100px;

    margin: 45px 0;

    border:
        2px dashed
        rgba(255,255,255,0.18);

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: rgba(255,255,255,0.35);

    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ========================================
   EVENTO / ADVIENTO
======================================== */

.event-card {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e73f68,
            #9d31c7
        );

    border-radius: 25px;

    padding: 40px;

    margin-bottom: 60px;

    text-align: center;

    box-shadow: var(--sombra);

    border:
        3px solid
        rgba(255,255,255,0.15);
}


.event-card::before {
    content: "🎁";

    position: absolute;

    left: -25px;

    top: -35px;

    font-size: 150px;

    opacity: 0.1;

    transform: rotate(20deg);
}


.event-card h2 {
    font-size: 36px;

    margin-bottom: 10px;
}


.event-card p {
    opacity: 0.9;

    margin-bottom: 20px;
}


.locked {
    display: inline-block;

    padding: 10px 18px;

    border-radius: 30px;

    background: rgba(0,0,0,0.25);

    font-weight: 700;
}


/* ========================================
   FOOTER
======================================== */

footer {
    text-align: center;

    padding: 35px 20px;

    color: var(--texto-secundario);

    border-top:
        1px solid
        rgba(255,255,255,0.08);
}


footer strong {
    color: var(--blanco);
}


/* ========================================
   ANIMACIONES
======================================== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


.float {
    animation:
        float
        3s ease-in-out
        infinite;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {

    .game-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ========================================
   MOVIL
======================================== */

@media (max-width: 550px) {

    .header-content {
        padding: 12px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .user-points {
        font-size: 14px;

        padding: 7px 11px;
    }

    .hero {
        padding:
            45px 15px
            30px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero p {
        font-size: 17px;
    }

    .section-title {
        font-size: 25px;
    }

    .daily-challenge {
        padding: 25px 20px;
    }

    .daily-challenge h2 {
        font-size: 26px;
    }

    .game-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .game-card {
        min-height: 165px;

        padding:
            20px 12px;
    }

    .game-icon {
        font-size: 45px;
    }

    .game-card h3 {
        font-size: 19px;
    }

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

    .event-card {
        padding:
            30px 20px;
    }

    .event-card h2 {
        font-size: 29px;
    }

}
/* ========================================
   PORTADA MÁS COMPACTA
======================================== */

.hero {
    padding: 35px 20px 30px;
}

.hero h1.hero-title {
    font-size: 55px;
    line-height: 1;
    margin: 12px 0;
}

.hero h1.hero-title span {
    color: var(--amarillo);
}

.hero-slogan {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero > p {
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}


/* REDES SOCIALES */

.social-section {
    margin-top: 25px;
}

.social-title {
    font-size: 13px !important;
    margin-bottom: 12px !important;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    display: inline-block;
    padding: 10px 17px;

    border-radius: 12px;

    color: white;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: transform 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.youtube {
    background: #ff0033;
}

.twitch {
    background: #9146ff;
}

.tiktok {
    background: #151515;
}

.discord {
    background: #5865f2;
}


/* MÓVIL */

@media (max-width: 550px) {

    .hero {
        padding: 25px 15px;
    }

    .hero h1.hero-title {
        font-size: 39px;
    }

    .hero-slogan {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .hero > p {
        font-size: 14px;
    }

    .social-btn {
        font-size: 13px;
        padding: 9px 12px;
    }

}
/* ========================================
   MODAL ANXANWOMAN
======================================== */

.anxan-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(3, 12, 31, 0.82);
    backdrop-filter: blur(6px);

    z-index: 9999;
}


/* Cuando esté abierto */

.anxan-modal.show {
    display: flex;
}


/* TARJETA */

.anxan-modal-card {
    width: 100%;
    max-width: 430px;

    padding: 35px 30px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #7047ff,
            #a943ff
        );

    border: 3px solid rgba(255,255,255,0.25);
    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(139,92,255,0.35);

    animation: modalEntrada 0.3s ease;
}


/* ICONO */

.modal-icon {
    font-size: 55px;
    margin-bottom: 10px;
}


/* TÍTULO */

.anxan-modal-card h2 {
    color: white;

    font-size: 30px;
    line-height: 1.1;

    margin-bottom: 12px;
}


/* TEXTO */

.anxan-modal-card p {
    color: rgba(255,255,255,0.9);

    font-size: 16px;
    line-height: 1.5;

    margin-bottom: 18px;
}


/* PREMIO */

.modal-reward {
    display: inline-block;

    margin-bottom: 22px;
    padding: 10px 22px;

    background: #ffd429;
    color: #302000;

    border-radius: 15px;

    font-size: 27px;
    font-weight: 700;

    box-shadow: 0 5px 0 #dca900;
}


/* ANIMACIÓN */

@keyframes modalEntrada {

    from {
        opacity: 0;
        transform: scale(0.75);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* MÓVIL */

@media (max-width: 550px) {

    .anxan-modal-card {
        max-width: 350px;
        padding: 28px 20px;
        border-radius: 22px;
    }

    .modal-icon {
        font-size: 45px;
    }

    .anxan-modal-card h2 {
        font-size: 25px;
    }

    .anxan-modal-card p {
        font-size: 14px;
    }

    .modal-reward {
        font-size: 23px;
    }

}
/* ========================================
   MENÚ SUPERIOR - ANXANWOMAN
======================================== */

.header-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* BOTONES PROGRESO Y RANKING */

.header-nav-button {
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 14px;

    padding: 9px 16px;

    background: rgba(5, 45, 120, 0.55);
    color: white;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 0 rgba(0,0,0,0.18);

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}


.header-nav-button:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.15);
}


.header-nav-button:active {
    transform: translateY(1px);
}


/* PROGRESO */

#progress-button {
    background: linear-gradient(
        135deg,
        #7047ff,
        #9d42ff
    );
}


/* TOP COMUNIDAD */

#ranking-button {
    background: linear-gradient(
        135deg,
        #087cff,
        #24a7ff
    );
}


/* CONTADOR DE RAYOS */

.header-menu .user-points {
    min-width: 65px;
    justify-content: center;
}


/* ========================================
   AJUSTE DE LA PORTADA
======================================== */

.hero {
    padding-top: 45px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {

    .header-nav-button {
        padding: 8px 11px;
        font-size: 11px;
    }

    .header-menu {
        gap: 6px;
    }

}


/* ========================================
   MÓVIL
======================================== */

@media (max-width: 550px) {

    .header-content {
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .logo {
        font-size: 20px;
    }

    .header-menu {
        width: 100%;
        justify-content: center;
    }

    .header-nav-button {
        font-size: 10px;
        padding: 7px 9px;
        border-radius: 10px;
    }

    .header-menu .user-points {
        min-width: 55px;
        font-size: 12px;
    }

}
/* ========================================
   CABECERA FINAL ANXANWOMAN
======================================== */

header .header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

header .header-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: auto !important;
}


/* BOTONES SUPERIORES */

header .header-nav-button {
    appearance: none;
    -webkit-appearance: none;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    height: 42px;
    padding: 0 18px !important;

    border: 2px solid rgba(255,255,255,0.18) !important;
    border-radius: 14px !important;

    color: white !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;

    cursor: pointer;

    box-shadow: 0 4px 0 rgba(0,0,0,0.18);

    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}


header #progress-button {
    background: linear-gradient(
        135deg,
        #7047ff,
        #a743ff
    ) !important;
}


header #ranking-button {
    background: linear-gradient(
        135deg,
        #0786ff,
        #27b0ff
    ) !important;
}


header .header-nav-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}


/* CONTADOR DE RAYOS */

header .header-menu .user-points {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 75px !important;
    height: 42px;

    padding: 0 15px !important;
    margin: 0 !important;

    border-radius: 14px;
}


/* ========================================
   MÓVIL
======================================== */

@media (max-width: 650px) {

    header .header-content {
        flex-direction: column !important;
        gap: 8px;
    }

    header .header-menu {
        width: 100% !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    header .header-nav-button {
        height: 36px;
        padding: 0 9px !important;
        font-size: 10px !important;
    }

    header .header-menu .user-points {
        height: 36px;
        min-width: 52px !important;
        padding: 0 8px !important;
    }
   
/* ========================================
   RAYITOS - BORDE NEGRO DEFINITIVO
======================================== */

header .header-menu .user-points {
    border: 3px solid #000000 !important;

    box-shadow:
        0 4px 0 #000000,
        0 6px 12px rgba(0, 0, 0, 0.25) !important;

    background: rgba(0, 0, 0, 0.25);

    font-weight: 700;
}
   /* ========================================
   FOOTER - ENLACES LEGALES
======================================== */

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 15px;
}

.legal-links a {
    color: var(--amarillo);

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.legal-links a:hover {
    color: var(--blanco);
    transform: translateY(-1px);
}

.legal-links span {
    color: rgba(255,255,255,0.3);
}

.supercell-disclaimer {
    margin-top: 15px;

    font-size: 12px;

    color: rgba(185,213,255,0.7);
}


/* ========================================
   PÁGINAS LEGALES
======================================== */

.legal-main {
    width: 100%;

    padding: 55px 20px 70px;
}

.legal-container {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;
}

.legal-container > h1 {
    margin-bottom: 12px;

    font-size: clamp(34px, 6vw, 52px);

    line-height: 1;

    text-shadow:
        0 4px 0 rgba(0,0,0,0.25);
}

.legal-badge {
    display: inline-block;

    margin-bottom: 18px;

    padding: 8px 16px;

    background: var(--amarillo);
    color: #302000;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 4px 0 var(--amarillo-oscuro);
}

.legal-intro {
    max-width: 680px;

    margin-bottom: 35px;

    color: var(--texto-secundario);

    font-size: 18px;
    line-height: 1.6;
}


/* TARJETAS */

.legal-card {
    position: relative;

    margin-bottom: 20px;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(18,44,86,0.96),
            rgba(13,34,69,0.96)
        );

    border:
        2px solid
        rgba(255,255,255,0.10);

    border-radius: 22px;

    box-shadow:
        0 7px 0 rgba(0,0,0,0.18),
        0 12px 25px rgba(0,0,0,0.18);
}

.legal-card h2 {
    margin-bottom: 14px;

    color: var(--amarillo);

    font-size: 22px;
}

.legal-card p {
    margin-bottom: 13px;

    color: var(--texto-secundario);

    font-size: 15px;
    line-height: 1.7;
}

.legal-card p:last-child {
    margin-bottom: 0;
}


/* EMAIL */

.legal-email {
    color: var(--amarillo);

    font-weight: 700;

    text-decoration: none;

    overflow-wrap: anywhere;
}

.legal-email:hover {
    text-decoration: underline;
}


/* VOLVER */

.legal-back-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 40px;

    padding: 0 16px;

    background: rgba(0,0,0,0.22);

    border:
        2px solid
        rgba(255,255,255,0.18);

    border-radius: 13px;

    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 4px 0 rgba(0,0,0,0.18);
}

.legal-back-button:hover {
    transform: translateY(-2px);
}


/* FECHA */

.legal-update {
    margin-top: 30px;

    text-align: center;

    color: rgba(185,213,255,0.65);

    font-size: 12px;
}


/* ========================================
   CONTACTO
======================================== */

.legal-contact {
    text-align: center;
}

.legal-contact .legal-card {
    text-align: left;
}

.contact-card {
    text-align: center !important;
}

.contact-icon {
    margin-bottom: 10px;

    font-size: 55px;
}

.contact-email-button {
    display: inline-block;

    max-width: 100%;

    margin-top: 10px;

    padding: 14px 20px;

    background: var(--amarillo);

    color: #352700;

    border-radius: 14px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    overflow-wrap: anywhere;

    box-shadow:
        0 5px 0 var(--amarillo-oscuro);
}

.contact-email-button:hover {
    transform: translateY(-2px);
}


/* ========================================
   PÁGINAS LEGALES - MÓVIL
======================================== */

@media (max-width: 550px) {

    .legal-main {
        padding:
            35px 15px
            50px;
    }

    .legal-header {
        flex-direction: row !important;

        width: 100%;

        gap: 10px !important;
    }

    .legal-container > h1 {
        font-size: 34px;
    }

    .legal-intro {
        font-size: 15px;

        margin-bottom: 25px;
    }

    .legal-card {
        padding: 22px 18px;

        border-radius: 18px;
    }

    .legal-card h2 {
        font-size: 19px;
    }

    .legal-card p {
        font-size: 14px;
    }

    .legal-back-button {
        height: 36px;

        padding: 0 12px;

        font-size: 11px;
    }

    .contact-email-button {
        width: 100%;

        padding: 13px 10px;

        font-size: 12px;
    }

    .legal-links {
        gap: 7px;
    }

    .legal-links a {
        font-size: 12px;
    }

}
/* ========================================
   PÁGINAS LEGALES - ESTILO PROFESIONAL
======================================== */

body.legal-page {
    font-family: Arial, Helvetica, sans-serif;
}


/* CABECERA */

.legal-page .logo {
    font-family: 'Fredoka', Arial, sans-serif;
}


/* CONTENIDO */

.legal-main {
    padding: 55px 20px 70px;
}

.legal-container {
    max-width: 850px;
}


/* TÍTULO PRINCIPAL */

.legal-container > h1 {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;

    margin-bottom: 12px;

    text-transform: none;
    letter-spacing: -0.5px;

    text-shadow: none;
}


/* ETIQUETA SUPERIOR */

.legal-badge {
    background: transparent;

    color: var(--texto-secundario);

    padding: 0;

    margin-bottom: 12px;

    border-radius: 0;

    box-shadow: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* INTRODUCCIÓN */

.legal-intro {
    max-width: 700px;

    margin-bottom: 35px;

    color: var(--texto-secundario);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}


/* TARJETAS */

.legal-card {
    padding: 30px;

    background: rgba(13, 34, 69, 0.85);

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 12px;

    box-shadow: none;
}


/* TÍTULOS DE LAS SECCIONES */

.legal-card h2 {
    margin-bottom: 14px;

    color: var(--blanco);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.3;
}


/* TEXTO */

.legal-card p {
    margin-bottom: 15px;

    color: #d4e3f7;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.75;
}


/* ENLACES */

.legal-email {
    color: #7fc4ff;

    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}


/* BOTÓN VOLVER */

.legal-back-button {
    font-family: Arial, Helvetica, sans-serif;

    background: rgba(0,0,0,0.20);

    border: 1px solid rgba(255,255,255,0.18);

    box-shadow: none;

    border-radius: 8px;

    font-size: 12px;
}


/* CONTACTO */

.contact-icon {
    display: none;
}

.contact-email-button {
    background: var(--azul);

    color: white;

    font-family: Arial, Helvetica, sans-serif;

    border-radius: 8px;

    box-shadow: none;

    font-size: 14px;
}


/* FECHA DE ACTUALIZACIÓN */

.legal-update {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    color: rgba(255,255,255,0.5);
}


/* FOOTER EN PÁGINAS LEGALES */

.legal-page footer {
    font-family: Arial, Helvetica, sans-serif;
}


/* MÓVIL */

@media (max-width: 550px) {

    .legal-main {
        padding: 35px 16px 50px;
    }

    .legal-container > h1 {
        font-size: 29px;
    }

    .legal-intro {
        font-size: 15px;
        line-height: 1.65;
    }

    .legal-card {
        padding: 22px 19px;
        border-radius: 10px;
    }

    .legal-card h2 {
        font-size: 18px;
    }

    .legal-card p {
        font-size: 14px;
        line-height: 1.7;
    }

}
