/* ================================
   RetroSuit — Unified Guide CSS
   ================================ */

/* --------- Variables --------- */
:root {
    --bg-dark: #0e0e12;
    --bg-card: #121212;
    --bg-accent: #1f1f27;
    --primary: #4f8cff;
    --secondary: #00d1b2;
    --text-main: #ffffff;
    --text-soft: #d5d5d5;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0,0,0,0.35);
    --shadow-light: 0 4px 14px rgba(0,0,0,0.25);
    --transition: 0.25s ease;
    --font-base: "Poppins", sans-serif;
}

/* --------- Base --------- */
body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-base);
    margin: 0;
    line-height: 1.75;
}

/* PAGE LAYOUT WRAPPER */
.guide-layout {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

/* ================================
   SIDEBAR
   ================================ */
.sidebar {
    width: 260px;
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 0.7rem;
}

.sidebar a {
    text-decoration: none;
    color: var(--text-soft);
    font-size: 1rem;
    display: block;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
}

.sidebar a:hover {
    background: var(--bg-accent);
    color: var(--primary);
}

.sidebar a.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(79,140,255,0.3);
}

/* ================================
   CONTENT AREA
   ================================ */
.guide-content {
    flex: 1;
    max-width: 900px;
}

.guide-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.guide-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

/* ================================
   HERO SECTION (UNCHANGED)
   ================================ */
.guide-hero {
    text-align: center;
    padding: 4.5rem 1.5rem 3.5rem;
    background: linear-gradient(180deg, #4f8cff26, transparent 75%);
    border-radius: 32px;
    margin: 1.5rem auto 2rem;
    max-width: 1100px;
}

.guide-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
}

.guide-hero .sub {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   GUIDE STEP (UNCHANGED)
   ================================ */
.guide-step {
    background: var(--bg-card);
    padding: 2rem 2rem 2.5rem;
    margin: 2rem 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    transition: background var(--transition), transform var(--transition);
}

.guide-step:hover {
    transform: translateY(-3px);
}

.guide-step h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.55rem;
}

.guide-step p {
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.guide-step ul {
    margin: 1rem 0 1.2rem;
    padding-left: 1.2rem;
}

.guide-step ul li {
    margin-bottom: 0.6rem;
    color: var(--text-soft);
}

/* ================================
   SCREENSHOT PLACEHOLDER (UNCHANGED)
   ================================ */
/* Base screenshot styling */
.screenshot {
    width: 100%;
    height: 470px;
    object-fit: contain; /* show full image */
    border-radius: var(--radius);
    margin-top: 1.2rem;
    background: #000; /* optional: clean letterbox look */
}

/* Only placeholders keep the dashed background */
.screenshot.placeholder {
    background: #1b1b23;
    border: 2px dashed #2f2f3a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #787878;
    font-size: 0.9rem;
}


/* ================================
   TROUBLESHOOTING (UNCHANGED)
   ================================ */
.guide-troubleshooting {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
}

.guide-troubleshooting h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.guide-troubleshooting details {
    margin-bottom: 1.1rem;
    background: var(--bg-card);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.guide-troubleshooting summary {
    font-weight: 600;
    color: var(--text-main);
}

.guide-troubleshooting p {
    margin-top: 0.6rem;
    color: var(--text-soft);
}

/* ================================
   PDF DOWNLOAD BUTTON (UNCHANGED)
   ================================ */
.guide-download {
    text-align: center;
    margin-top: 3rem;
}

.guide-download .btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: var(--primary);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.guide-download .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(79,140,255,0.55);
}

/* ================================
   MOBILE RESPONSIVE
   ================================ */
@media (max-width: 950px) {
    .guide-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}
