/* =========================================================
   LOS PARIAS - RESEÑAS
   ========================================================= */
 
html,
body {
    background: #05080c !important;
}
 
.lp-reviews {
    width: 100%;
    min-height: 100vh;
    padding: 60px 20px;
    box-sizing: border-box;
    background:
        linear-gradient(rgba(5, 8, 12, .55), rgba(5, 8, 12, .70)),
        url('/assets/img/reseñas.png') center / cover fixed;
    color: #fff;
}
 
.lp-reviews-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
 
 
/* =========================================================
   CABECERA
   ========================================================= */
 
.lp-reviews-header {
    text-align: center;
    margin-bottom: 35px;
}
 
.lp-reviews-header h1 {
    margin: 15px 0 8px;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: .5px;
}
 
.lp-reviews-header p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 17px;
}
 
.lp-reviews-back {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: rgba(0,0,0,.35);
    transition: .2s ease;
}
 
.lp-reviews-back:hover {
    background: rgba(255,255,255,.10);
    transform: translateY(-1px);
}
 
 
/* =========================================================
   RESUMEN
   ========================================================= */
 
.lp-reviews-summary {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 35px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: rgba(0,0,0,.48);
    backdrop-filter: blur(8px);
}
 
.lp-rating-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
 
.lp-rating-main strong {
    font-size: 58px;
    line-height: 1;
}
 
.lp-rating-main span {
    margin-top: 7px;
    color: rgba(255,255,255,.55);
}
 
.lp-rating-stars {
    margin-top: 10px;
    font-size: 25px;
    letter-spacing: 3px;
    color: #ffd700;
}
 
 
/* =========================================================
   BARRAS DE VALORACIÓN
   ========================================================= */
 
.lp-rating-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
 
.lp-rating-row {
    display: grid;
    grid-template-columns: 45px 1fr 30px;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
 
.lp-rating-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,.10);
}
 
.lp-rating-bar div {
    height: 100%;
    border-radius: inherit;
    background: #ffd700;
}
 
 
/* =========================================================
   BOTÓN DEJAR RESEÑA
   ========================================================= */
 
.lp-review-action {
    text-align: center;
    margin: 25px 0;
}
 
.lp-review-action button,
#lp-submit-review {
    border: 0;
    border-radius: 9px;
    padding: 13px 24px;
    cursor: pointer;
    color: #111;
    background: #ffd700;
    font-weight: 800;
    font-size: 15px;
    transition: .2s ease;
}
 
.lp-review-action button:hover,
#lp-submit-review:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
 
 
/* =========================================================
   FORMULARIO
   ========================================================= */
 
.lp-review-form {
    display: none;
    margin-bottom: 35px;
}
 
.lp-review-form.active {
    display: block;
}
 
.lp-review-form-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(0,0,0,.55);
    box-shadow: 0 15px 50px rgba(0,0,0,.30);
}
 
.lp-review-form-inner h2 {
    margin-top: 0;
    margin-bottom: 8px;
}
 
.lp-review-info {
    margin-top: 0;
    color: rgba(255,255,255,.60);
    font-size: 14px;
}
 
 
/* =========================================================
   DATOS DEL JUGADOR
   ========================================================= */
 
.lp-steam-player {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
}
 
.lp-steam-avatar {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    font-weight: 800;
    font-size: 20px;
    overflow: hidden;
}
 
.lp-steam-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
 
.lp-steam-player strong,
.lp-steam-player span {
    display: block;
}
 
.lp-steam-player span {
    margin-top: 4px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}
 
 
/* =========================================================
   ESTRELLAS
   ========================================================= */
 
.lp-star-selector {
    display: flex;
    gap: 4px;
    margin: 8px 0 22px;
}
 
.lp-star-selector button {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.20);
    cursor: pointer;
    font-size: 38px;
    line-height: 1;
    transition: .15s ease;
}
 
.lp-star-selector button.hover,
.lp-star-selector button.selected {
    color: #ffd700;
    transform: scale(1.05);
}
 
 
/* =========================================================
   TEXTAREA
   ========================================================= */
 
.lp-review-form-inner label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}
 
#lp-comment {
    width: 100%;
    min-height: 150px;
    padding: 13px;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 9px;
    outline: none;
    color: #fff;
    background: rgba(0,0,0,.35);
    font-family: inherit;
    font-size: 15px;
}
 
#lp-comment:focus {
    border-color: rgba(255,215,0,.55);
}
 
.lp-review-counter {
    margin-top: 6px;
    text-align: right;
    color: rgba(255,255,255,.40);
    font-size: 12px;
}
 
 
/* =========================================================
   BOTONES DEL FORMULARIO
   ========================================================= */
 
.lp-review-form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
 
#lp-cancel-review {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 9px;
    padding: 12px 20px;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,.06);
}
 
#lp-cancel-review:hover {
    background: rgba(255,255,255,.11);
}
 
 
/* =========================================================
   MENSAJES
   ========================================================= */
 
.lp-review-message {
    margin-top: 15px;
    padding: 11px 13px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
}
 
.lp-review-message.error,
.lp-review-message.info {
    display: block;
}
 
.lp-review-message.error {
    background: rgba(255,70,70,.12);
    border: 1px solid rgba(255,70,70,.25);
    color: #ff9b9b;
}
 
.lp-review-message.info {
    background: rgba(255,215,0,.08);
    border: 1px solid rgba(255,215,0,.20);
    color: #ffe47a;
}
 
 
/* =========================================================
   LISTA DE RESEÑAS
   ========================================================= */
 
.lp-reviews-list {
    margin-top: 40px;
}
 
.lp-reviews-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}
 
.lp-reviews-list-header h2 {
    margin: 0;
    font-size: 26px;
}
 
.lp-reviews-list-header span {
    color: rgba(255,255,255,.50);
    font-size: 14px;
}
 
 
/* =========================================================
   RESEÑAS
   ========================================================= */
 
.lp-review-item {
    padding: 22px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: rgba(0,0,0,.42);
}
 
.lp-review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}
 
.lp-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
 
.lp-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    font-weight: 800;
}
 
.lp-review-user strong {
    display: block;
}
 
.lp-review-user small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.45);
}
 
.lp-review-item-stars {
    color: #ffd700;
    font-size: 18px;
    letter-spacing: 2px;
}
 
.lp-review-text {
    margin: 17px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
    white-space: pre-wrap;
}
 
 
/* =========================================================
   SIN RESEÑAS
   ========================================================= */
 
.lp-reviews-empty {
    padding: 55px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(0,0,0,.35);
}
 
.lp-empty-icon {
    font-size: 40px;
    color: #ffd700;
}
 
.lp-reviews-empty h3 {
    margin: 12px 0 6px;
}
 
.lp-reviews-empty p {
    margin: 0;
    color: rgba(255,255,255,.50);
}
 
 
/* =========================================================
   MÓVIL
   ========================================================= */
 
@media (max-width: 700px) {
 
    .lp-reviews {
        padding: 35px 14px;
    }
 
    .lp-reviews-summary {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 22px;
    }
 
    .lp-review-form-inner {
        padding: 22px;
    }
 
    .lp-review-item-header {
        flex-direction: column;
    }
 
    .lp-reviews-list-header {
        flex-direction: column;
        align-items: flex-start;
    }
 
    .lp-review-form-buttons {
        flex-direction: column-reverse;
    }
 
    #lp-submit-review,
    #lp-cancel-review {
        width: 100%;
    }
 
}
 
 
/* =========================================================
   LOS PARIAS - BARRA DE NAVEGACIÓN
   ========================================================= */
 
.lp-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 30px;
}
 
.lp-nav a {
    display: inline-block;
    padding: 6px 11px;
    background: rgba(5,5,5,.55);
    border: 1px solid rgba(212,165,58,.65);
    border-radius: 0;
    color: #d4a53a;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
    transition: all 0.2s ease;
}
 
.lp-nav a:hover,
.lp-nav a.active {
    background: #d4a53a;
    color: #050505;
}
 
@media (max-width: 700px) {
 
    .lp-nav {
        gap: 4px;
    }
 
    .lp-nav a {
        padding: 5px 8px;
        font-size: 9px;
    }
 
}
 
 
/* SELECTOR DE ESTRELLAS */
 
.lp-star-selector {
    display: flex;
    gap: 8px;
    margin: 10px 0 20px;
}
 
.lp-star-selector button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 36px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}
 
.lp-star-selector button:hover,
.lp-star-selector button.hover,
.lp-star-selector button.selected {
    color: #ffd000;
}
 
.lp-star-selector button:hover {
    transform: scale(1.1);
}
/* SOLO TAMAÑO DEL AVATAR DE LAS RESEÑAS */
.lp-review-avatar {
    width: 21px;
    height: 21px;
    min-width: 21px;
    min-height: 21px;
    overflow: hidden;
    border-radius: 50%;
}
 
.lp-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 