/* Fendora Quiz v1.0 - Global Theme Stylesheet */
:root {
    --primary-color: #4f46e5;
    --success-color: #10b981;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-main: #334155;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.site-header {
    background-color: var(--dark-bg);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #f1f5f9;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span { color: #38bdf8; }

.main-nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.main-nav a:hover { color: white; }

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Ad Placement Containers */
.ad-slot {
    background: #e2e8f0;
    border: 2px dashed #cbd5e1;
    padding: 10px;
    margin: 20px auto;
    text-align: center;
    max-width: 728px;
    min-height: 90px;
    font-size: 12px;
    color: #94a3b8;
    border-radius: 4px;
}

/* Quiz UI Components */
.quiz-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.quiz-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.option-btn {
    display: block;
    width: 100%;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    padding: 15px 20px;
    margin-bottom: 12px;
    text-align: left;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
}

.next-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    float: right;
}

.footer {
    background: var(--dark-bg);
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    font-size: 14px;
} /* FIXED BRACKET HOOK HERE */

/* PC Desktop Responsive Sidebars Layout Wrapper */
.main-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.pc-sidebar-left, .pc-sidebar-right {
    display: none; /* Hidden by default on mobile phones */
    padding: 15px;
    text-align: center;
}

.sidebar-ad-sticky {
    position: sticky;
    top: 20px;
    background: #e2e8f0;
    border: 2px dashed #cbd5e1;
    min-height: 600px;
    width: 160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* Activate desktop multi-column viewport rule above 1024px screens */
@media (min-width: 1024px) {
    .main-layout-wrapper {
        grid-template-columns: 200px 1fr 200px;
        gap: 20px;
    }
    .pc-sidebar-left, .pc-sidebar-right {
        display: block; /* Visible layout tracks on PC windows */
    }
}
