:root {
    --bs-body-font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

/* Quote cards */
.quote-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px !important;
}

.quote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.quote-card .card-body p.fst-italic {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

/* Author cards */
.author-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px !important;
}

.author-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Category cards */
.category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px !important;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Blockquote in hero */
.hero-section blockquote p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    line-height: 1.6;
}

/* Navbar */
.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

/* Footer links */
.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #fff;
}

/* Pagination */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
}

/* Tables */
.table th {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Responsive blockquote */
@media (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
    }
    
    .hero-section blockquote p {
        font-size: 1.1rem;
    }
}

/* Badge links */
.badge {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Form focus */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

/* Cards in admin */
.card .card-footer.bg-transparent {
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

/* Alert auto-show fix */
.alert[style*="display:none"] {
    display: none !important;
}
