@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #B76E79; /* Rose Gold */
    --primary-light: #E0BFB8; /* Soft Rose Gold */
    --bg-color: #FAFAFA; /* Off-white */
    --card-bg: #FFFFFF;
    --text-main: #333333; /* Dark Charcoal */
    --text-muted: #666666;
    --accent: #D4AF37; /* Gold accent */
    --border-color: #E8E8E8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #1A1A1A, #333333);
    color: var(--primary-light);
    text-align: center;
    padding: 60px 20px;
    border-bottom: 6px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.2;
    pointer-events: none;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--primary-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #f0f0f0;
}

/* SEARCH BAR */
.search-container {
    text-align: center;
    padding: 30px 20px;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

#searchBar {
    width: 100%;
    max-width: 600px;
    padding: 15px 25px;
    border: 2px solid var(--primary-light);
    border-radius: 30px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: var(--card-bg);
    box-shadow: 0 4px 6px rgba(183, 110, 121, 0.1);
}

#searchBar:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.2);
}

/* QUIZ CONTAINER */
#quiz-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* CATEGORY HEADERS */
.section-header {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 50px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* QUESTION CARDS */
.question-card {
    background: var(--card-bg);
    margin: 20px 0;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.04);
    border-left: 6px solid var(--primary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.question-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.q-text {
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 12px;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}

.a-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    background: #fdfafb;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.a-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #1A1A1A;
    color: #888888;
    margin-top: 60px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .section-header {
        font-size: 1.5rem;
    }
    
    .question-card {
        padding: 20px;
    }
    
    .q-text {
        font-size: 1.1rem;
    }
}