/* HERMANITO CORRE */
body {
    /* fade radial: rojo oscuro al centro → negro en los bordes, como la referencia.
       100% CSS, sin imagen. Si algún día quieres las estrellas de vuelta, se puede
       layerear: background-image: radial-gradient(...), url('../assets/images/stars-bg.jpg'); */
    background-color: #0a0000;
    background-image: radial-gradient(ellipse 90% 70% at 50% 38%, #2e070c 0%, #18030a 50%, #0a0000 100%);
    background-attachment: fixed;
}

/* HERO BG */
#hc-hero {
    position: relative;
    width: 100%;
}

#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    image-rendering: pixelated; /* escala el canvas low-res sin suavizado = pixel art */
}

.hc-hero-bg {
    width: 100%;
    height: 70vh;
    margin-top: 80px; /* compensa la navbar fija para que no tape la imagen */
    background-image: url('../assets/images/hc-hero-bg.jpg');
    background-size: cover;
    background-position: center top; /* el recorte de cover se va hacia abajo, no arriba */
    position: relative;
    overflow: hidden;
}

.hc-logo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hc-logo {
    width: 700px;
    max-width: 90vw;
}

/* CHAT + STORY */
.hc-chat-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 60px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.live-chat {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 8px;
    padding: 15px;
    font-family: var(--font-game);
    font-size: 1rem;
}

.chat-header {
    color: #e63946;
    font-weight: 400;
    margin-bottom: 12px;
    font-size: 1rem;
    font-family: var(--font-game);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow: hidden;
    font-family: var(--font-game);
}

.chat-msg {
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    font-family: var(--font-game);
}

.chat-msg .username {
    color: #e63946;
    font-family: var(--font-game);
}

.story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    font-family: var(--font-game);
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.story-highlight {
    font-size: 2rem !important;
    color: #e63946;
    font-family: var(--font-game);
    opacity: 1 !important;
}

/* ROTATING PHRASE */
.rotating-phrase-section {
    text-align: center;
    padding: 20px 0 50px;
}

.rotating-phrase {
    font-size: 4rem;
    color: #e63946;
    letter-spacing: 6px;
    font-family: var(--font-game);
    text-shadow: 0 0 30px rgba(230, 57, 70, 0.4);
    transition: opacity 0.3s;
}

/* SECTION TITLES — con línea punteada que se extiende, como en la referencia */
.section-title {
    color: #e63946;
    font-size: 2.4rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-family: var(--font-game);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 25px;
}

.section-title::after {
    content: '';
    flex: 1;
    border-bottom: 5px dotted rgba(230, 57, 70, 0.6);
}

/* THE GAME */
#the-game {
    padding: 80px 60px;
    border-top: 1px solid rgba(230, 57, 70, 0.2);
}

#the-game .section-title,
.game-content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.game-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; /* el párrafo se centra verticalmente contra el recuadro */
}

.game-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 3px dotted rgba(230, 57, 70, 0.55);
    padding: 30px;
    border-radius: 4px;
    font-family: var(--font-game);
}

.game-details li {
    font-size: 1.2rem;
    display: flex;
    gap: 15px;
    align-items: baseline;
}

.game-details li::before {
    content: '▪';
    color: #e63946;
    font-size: 0.85rem;
    margin-right: -5px;
}

.game-details li span {
    color: #e63946;
    min-width: 110px;
    font-family: var(--font-game);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.game-right {
    display: flex;
    align-items: center;
}

.game-right p {
    font-size: 1.3rem;
    line-height: 1.9;
    opacity: 0.85;
    font-family: var(--font-game);
}

/* FIRST LOOK */
#first-look {
    padding: 80px 60px;
}

#first-look .section-title {
    flex-direction: row-reverse; /* texto a la derecha, línea punteada a la izquierda */
    margin-bottom: 40px;
}

/* SCREENSHOTS SLIDER */
.screenshots-slider {
    max-width: 900px;
    margin: 0 auto;
}

.ss-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.ss-dot {
    width: 10px;
    height: 10px;
    background: rgba(230, 57, 70, 0.35);
    cursor: pointer;
    transition: background 0.3s;
    /* cuadrados, sin border-radius — como la referencia */
}

.ss-dot.active,
.ss-dot:hover {
    background: #e63946;
}

.ss-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ss-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.ss-slide.active {
    opacity: 1;
}

/* ============ HERMANITO RESPONSIVE ============ */

@media (max-width: 768px) {

    /* la navbar mobile es más baja que la de desktop;
       el margen de compensación se reduce a juego */
    .hc-hero-bg {
        margin-top: 60px;
    }

    .hc-chat-story {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 25px;
    }

    .game-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #the-game,
    #first-look {
        padding: 50px 25px;
    }

    .rotating-phrase {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}