
/* =================================
   REGLAS FRIKICRAFT
================================= */

.reglas-page {
    position: relative;
    z-index: 1;
    width: min(100% - 36px, 950px);
    margin: 0 auto;
    padding-bottom: 35px;
}

/* HERO */

.reglas-hero {
    text-align: center;
    padding: clamp(55px, 9vw, 100px) 10px 65px;
}

.reglas-tag {
    color: var(--yellow);
    font-family: Rajdhani, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 5px;
}

.reglas-hero h1 {
    font-family: Rajdhani, sans-serif;
    font-size: clamp(45px, 9vw, 82px);
    line-height: 1;
    margin: 18px 0;
    font-weight: 800;
}

.reglas-hero h1 span {
    color: var(--pink);
    text-shadow: 0 0 25px #ed28ff55;
}

.reglas-hero > p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.8;
}

.reglas-mundos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.reglas-mundos > span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px;
    border: 1px solid #ed28ff40;
    border-radius: 30px;
    background: #1c0924;
    color: var(--text);
    font-family: Rajdhani, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mundo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.survival-dot {
    background: var(--pink);
    box-shadow: 0 0 10px var(--pink);
}

.anar-dot {
    background: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
}


/* INTRODUCCIÓN */

.reglas-intro {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 28px;
    margin-bottom: 25px;
    border: 1px solid #ed28ff40;
    border-radius: 14px;
    background: linear-gradient(145deg, #28102fdd, #100016ee);
    box-shadow: 0 0 30px #ed28ff10;
}

.intro-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #ed28ff18;
    border: 1px solid #ed28ff55;
    color: var(--pink);
    font-size: 27px;
}

.reglas-intro h2 {
    margin: 0 0 12px;
    font-family: Rajdhani, sans-serif;
    font-size: 23px;
    color: var(--pink);
}

.reglas-intro p {
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.modos-lista {
    display: flex;
    gap: 25px;
    padding-left: 20px;
    color: var(--text);
    font-size: 14px;
}


/* AVISO DE SANCIONES */

.aviso-sanciones {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 20px 24px;
    margin: 30px 0 70px;
    border: 1px solid #ffe64a65;
    border-radius: 12px;
    background: linear-gradient(100deg, #ffe64a12, #100016cc);
}

.aviso-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffe64a20;
    color: var(--yellow);
    font-family: Rajdhani, sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.aviso-sanciones h3 {
    margin: 0 0 5px;
    color: var(--yellow);
    font-family: Rajdhani, sans-serif;
    letter-spacing: 2px;
    font-size: 16px;
}

.aviso-sanciones p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}


/* SECCIONES */

.reglas-section {
    margin: 70px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.section-number {
    color: var(--pink);
    font-family: Rajdhani, sans-serif;
    font-size: 43px;
    font-weight: 800;
    text-shadow: 0 0 18px #ed28ff60;
}

.section-kicker {
    display: block;
    color: var(--muted);
    font-family: Rajdhani, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.section-heading h2 {
    margin: 3px 0 0;
    color: var(--text);
    font-family: Rajdhani, sans-serif;
    font-size: clamp(25px, 5vw, 36px);
    font-weight: 800;
}


/* TARJETAS */

.reglas-card,
.mundo-card {
    overflow: hidden;
    border: 1px solid #ed28ff40;
    border-radius: 14px;
    background: linear-gradient(145deg, #21102add, #100016ee);
    box-shadow: 0 0 30px #ed28ff0d;
}

.reglas-lista {
    list-style: none;
    padding: 12px 25px;
    margin: 0;
}

.reglas-lista li {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 21px 0;
    border-bottom: 1px solid #ed28ff1c;
}

.reglas-lista li:last-child {
    border-bottom: none;
}

.regla-icon {
    flex-shrink: 0;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #ed28ff45;
    border-radius: 8px;
    background: #ed28ff12;
    color: var(--pink);
    font-family: Rajdhani, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.reglas-lista p {
    margin: 3px 0 0;
    color: #e8d9ed;
    font-size: 14px;
    line-height: 1.8;
}


/* RECOMPENSA */

.recompensa-aviso {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 10px 25px 25px;
    padding: 19px;
    border: 1px solid #ffe64a60;
    border-radius: 10px;
    background: #ffe64a0c;
}

.recompensa-icon {
    color: var(--yellow);
    font-size: 28px;
    text-shadow: 0 0 15px #ffe64a80;
}

.recompensa-aviso strong {
    color: var(--yellow);
    font-family: Rajdhani, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
}

.recompensa-aviso p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}


/* MUNDOS */

.mundo-card-header {
    padding: 25px;
    border-bottom: 1px solid #ed28ff30;
    background: #ed28ff08;
}

.mundo-label {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 5px;
    font-family: Rajdhani, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.survival-label {
    color: var(--pink);
    background: #ed28ff18;
    border: 1px solid #ed28ff55;
}

.anar-label {
    color: var(--yellow);
    background: #ffe64a12;
    border: 1px solid #ffe64a55;
}

.mundo-card-header p {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 14px;
}


/* EXCEPCIONES */

.excepcion-aviso {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 25px 25px;
    padding: 15px;
    border-radius: 9px;
    background: #ffe64a0c;
    border: 1px solid #ffe64a40;
}

.excepcion-aviso span {
    color: var(--yellow);
    font-size: 20px;
    font-weight: 800;
}

.excepcion-aviso p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}


/* TRABAJOS */

.trabajos-info {
    margin: 15px 25px 25px;
    padding: 25px;
    border: 1px solid #ed28ff35;
    border-radius: 12px;
    background: #ed28ff08;
}

.trabajos-info h3 {
    margin: 0 0 14px;
    color: var(--pink);
    font-family: Rajdhani, sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
}

.trabajos-info > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.trabajos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.trabajo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 95px;
    padding: 12px;
    border: 1px solid #ed28ff30;
    border-radius: 9px;
    background: #100016aa;
    transition: transform .25s ease, border-color .25s ease;
}

.trabajo-item:hover {
    transform: translateY(-4px);
    border-color: var(--pink);
}

.trabajo-item span {
    font-size: 25px;
}

.trabajo-item p {
    margin: 0;
    color: var(--text);
    font-family: Rajdhani, sans-serif;
    font-weight: 700;
    font-size: 14px;
}


/* ANÁRQUICO */

.anar-card {
    border-color: #ffe64a40;
}

.anar-card .mundo-card-header {
    background: #ffe64a08;
    border-bottom-color: #ffe64a25;
}

.anar-card .regla-icon {
    color: var(--yellow);
    border-color: #ffe64a45;
    background: #ffe64a12;
}


/* FINAL */

.reglas-final {
    text-align: center;
    margin: 100px auto 75px;
    padding: 40px 15px;
    border-top: 1px solid #ed28ff30;
}

.reglas-final > span {
    color: var(--yellow);
    font-family: Rajdhani, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.reglas-final h2 {
    margin: 15px 0 28px;
    color: var(--text);
    font-family: Rajdhani, sans-serif;
    font-size: clamp(25px, 5vw, 40px);
}

.reglas-final h2 strong {
    color: var(--pink);
    text-shadow: 0 0 20px #ed28ff55;
}

.volver-inicio {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--pink);
    border-radius: 7px;
    color: white;
    background: linear-gradient(100deg, #8c14d9, #ed28ff);
    font-family: Rajdhani, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    box-shadow: 0 0 20px #ed28ff25;
    transition: transform .25s ease, box-shadow .25s ease;
}

.volver-inicio:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 28px #ed28ff65;
}


/* RESPONSIVE */

@media (max-width: 600px) {

    .reglas-page {
        width: calc(100% - 28px);
    }

    .reglas-hero {
        padding: 55px 5px 45px;
    }

    .reglas-tag {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .reglas-intro {
        flex-direction: column;
        padding: 21px;
        gap: 14px;
    }

    .reglas-intro h2 {
        font-size: 20px;
    }

    .aviso-sanciones {
        align-items: flex-start;
        padding: 17px;
        margin-bottom: 55px;
    }

    .section-heading {
        gap: 12px;
    }

    .section-number {
        font-size: 35px;
    }

    .section-kicker {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .reglas-lista {
        padding: 8px 17px;
    }

    .reglas-lista li {
        gap: 12px;
        padding: 17px 0;
    }

    .reglas-lista p {
        font-size: 13px;
    }

    .recompensa-aviso,
    .excepcion-aviso {
        margin-left: 15px;
        margin-right: 15px;
    }

    .mundo-card-header {
        padding: 20px;
    }

    .trabajos-info {
        margin: 12px 15px 17px;
        padding: 17px;
    }

    .trabajos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .trabajo-item {
        min-height: 85px;
    }

    .reglas-section {
        margin: 55px 0;
    }

    .reglas-final {
        margin: 70px auto 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reglas-page *,
    .reglas-page *::before,
    .reglas-page *::after {
        transition: none !important;
    }
}
