/* ==========================================================================
   REVIEWS.CSS - FEED DE RESEÑAS (COMPLETO)
========================================================================== */

:root {
    --bg-color: #050507;
    --card-bg: rgba(13, 13, 17, 0.8);
    --text-main: #ffffff;
    --accent: #ed7114;
    --border-color: rgba(255, 255, 255, 0.05);
}

/* 1. CONTROL DE PANTALLA TOTAL */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100dvh;
    width: 100dvw;
    overflow: hidden; /* Bloqueo total de scroll en la página */
    position: fixed;
}

body {
    background-color: var(--bg-color);
    background-image: url('/Img/background-atmosphere.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-main);
    font-family: "Oswald", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* 2. ESTRUCTURA DE SECCIÓN */
.community-section {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

.sticky-nav {
    position: sticky;
    top: 0;
    padding: 15px 24px;
    z-index: 100;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-back {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-main);
    text-decoration: none;
    cursor: pointer;
}

/* 3. TIPOGRAFÍA Y CONTENEDORES */
h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(30px, 8vw, 45px);
    color: var(--text-main);
    text-align: center;
    margin: 20px 0;
    text-transform: uppercase;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

/* 4. LISTA DE RESEÑAS (Scroll Interno) */
.reviews-list {
    flex-grow: 1;
    overflow-y: auto; /* Permite scroll solo aquí */
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scrollbar-width: none; /* Oculta scrollbar en Firefox */
}

.reviews-list::-webkit-scrollbar {
    display: none; /* Oculta scrollbar en Chrome/Safari */
}

.review-card {
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
}

.stars {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 10px;
}

.review-card p {
    font-style: italic;
    font-size: 16px;
    color: var(--text-main);
}

.client-name {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: 700;
}

/* 5. BOTÓN CTA FIJO */
.btn-cta {
    background-color: var(--accent);
    display: block;
    margin: 10px 20px;
    padding: 18px;
    text-align: center;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(237, 113, 20, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(237, 113, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(237, 113, 20, 0); }
}