/* Design System for Safe Blog Page */
:root {
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --primary-color: #0f172a; /* Slate 900 */
    --accent-color: #2563eb; /* Blue */
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Header & Navbar */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
}

.category-tag {
    display: inline-block;
    background-color: #eff6ff;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--accent-color);
}

.hero-content .lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
}

/* Main Content Area */
.main-content {
    padding: 60px 24px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2.2fr 0.8fr;
    gap: 40px;
}

.blog-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.article-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.blog-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 32px;
    margin-bottom: 12px;
}

.blog-card p {
    color: #334155;
    margin-bottom: 16px;
    font-size: 15px;
}

.blog-card ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.blog-card li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #334155;
}

/* Player Feature breakdown inside blog */
.player-feature {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 24px 0;
}

.player-feature h4 {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.player-feature p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.tip-box {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.tip-box h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.tip-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Sidebar Columns */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sidebar-box h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.sidebar-box p {
    font-size: 14px;
    color: var(--text-muted);
}

.sticky-box {
    position: sticky;
    top: 94px;
}

/* Footer style */
.footer-section {
    background-color: var(--primary-color);
    color: #cbd5e1;
    padding: 40px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.disclaimer {
    color: #64748b;
    font-size: 11px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-box {
        position: static;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .nav-links {
        display: none;
    }
}
