﻿/* ===========================================================
   GUIDE PAGE - DOTA 2 Inspired (Refined Two-Column Layout)
   =========================================================== */

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #0d0d0d 0%, #1b1b1b 100%);
    color: #e0d8c3;
    font-family: 'Cinzel', serif;
    background-attachment: fixed;
    line-height: 1.6;
}

/* === Container === */
.guide-wrapper {
    max-width: 960px;
    margin: 80px auto;
    background: rgba(18, 18, 18, 0.95);
    padding: 60px 50px;
    border: 1px solid rgba(255, 200, 100, 0.15);
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .guide-wrapper:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 80px rgba(255, 120, 0, 0.15);
    }

/* === Header === */
.guide-header {
    text-align: center;
    margin-bottom: 60px;
}

    .guide-header h1 {
        color: #f15a24;
        font-size: 3rem;
        letter-spacing: 2px;
        text-shadow: 0 0 12px rgba(255, 90, 20, 0.7);
        margin-bottom: 12px;
        font-weight: 700;
    }

.guide-subtitle {
    display: block;
    font-size: 1.2rem;
    font-style: italic;
    color: #d3c7a3;
    opacity: 0.9;
}

/* === Section === */
.guide-section {
    margin-bottom: 50px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #a52b0f;
    border-radius: 4px;
    box-shadow: inset 0 0 15px rgba(165, 43, 15, 0.2);
    transition: background 0.3s ease, border-color 0.3s ease;
}

    .guide-section:hover {
        background: rgba(255, 255, 255, 0.05);
        border-left-color: #ff9b4a;
    }

/* === Titles === */
.guide-title {
    color: #ffb400;
    font-size: 1.6rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 180, 0, 0.5);
}

/* === Content (Text + Media Side by Side) === */
.guide-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* responsive: media pasa abajo en pantallas pequeñas */
}

/* === Description (Texto) === */
.guide-description {
    flex: 1;
    color: #cfc8b2;
    font-size: 1.05rem;
    line-height: 1.9;
    white-space: pre-line;
    padding-left: 5px;
}

/* === Media (Imagen o Video) === */
.guide-media {
    flex-shrink: 0;
    text-align: right;
}

    .guide-media img {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid rgba(255, 180, 0, 0.3);
        box-shadow: 0 0 25px rgba(255, 90, 20, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .guide-media video {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid rgba(255, 180, 0, 0.3);
        box-shadow: 0 0 25px rgba(255, 90, 20, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .guide-media img:hover,
        .guide-media video:hover {
            transform: scale(1.05);
            box-shadow: 0 0 40px rgba(255, 150, 50, 0.5);
        }

/* === Divider line between sections === */
.guide-section:not(:last-child)::after {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 90, 20, 0.3), transparent);
    margin-top: 40px;
}

/* === Scrollbar Styling (Chrome/Edge) === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a52b0f, #ffb400);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

/* === Links === */
.guide-description a {
    color: #ffb400;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.3s ease;
}

    .guide-description a:hover {
        border-bottom: 1px solid #ffb400;
    }
