
:root {
    --bg-color: #000000;
    --text-color: #e0e0e0;
    --accent-color: #1a1a2e;
    --red-accent: #FF0000;
    --link-color: #ff6b6b;
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
header {
    background-color: var(--accent-color);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--red-accent);
}
header a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}
nav {
    display: flex;
    flex-wrap: wrap;
    background-color: #111;
    padding: 10px;
    justify-content: center;
    border-bottom: 1px solid #333;
}
nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 5px 15px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav a:hover {
    color: var(--red-accent);
}
main {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.sidebar {
    width: 100%;
    border-bottom: 1px solid #333;
    padding-right: 0;
    margin-bottom: 20px;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar li {
    margin-bottom: 10px;
}
.sidebar a {
    color: var(--link-color);
    text-decoration: none;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.content {
    flex: 1;
    padding-left: 0;
}
h1, h2, h3 {
    color: white;
    font-weight: bold;
}
img {
    max-width: 100%;
    height: auto;
    border: 1px solid #333;
    margin: 20px 0;
}
.toc {
    background-color: #111;
    padding: 20px;
    border: 1px solid #333;
    margin-bottom: 20px;
}
.ad-container {
    margin: 20px 0;
    text-align: center;
    background-color: #222;
    padding: 10px;
    border: 1px dashed #555;
}
footer {
    background-color: var(--accent-color);
    padding: 20px;
    text-align: center;
    border-top: 2px solid var(--red-accent);
    margin-top: 40px;
}
footer a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
}
.expert-byline {
    font-style: italic;
    color: #aaa;
    margin-bottom: 20px;
}
@media (min-width: 769px) {
    main {
        flex-direction: row;
    }
    .sidebar {
        width: 250px;
        padding-right: 20px;
        border-right: 1px solid #333;
        border-bottom: none;
        margin-bottom: 0;
    }
    .content {
        padding-left: 20px;
    }
}

/* ADDITIVE MODULE STYLES */
.ad-top-banner, .ad-mid-article, .ad-sticky-sidebar {
    margin: 24px 0;
    text-align: center;
    background-color: #222;
    padding: 10px;
    border: 1px dashed #555;
}
.sidebar .ad-sticky-sidebar {
    position: sticky;
    top: 24px;
    margin-top: 32px;
}
.store-module {
    margin: 24px 0;
    padding: 24px;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-module:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}
.ai-summary {
    background-color: #111;
    border-left: 4px solid var(--red-accent);
    padding: 16px 24px;
    margin: 24px 0;
    font-weight: 500;
}

/* UNIQUNESS & REALISM ENHANCEMENTS */
body {
    background-image: radial-gradient(circle at top center, #1a1a2e 0%, #000000 100%);
    background-attachment: fixed;
}
header {
    background: linear-gradient(135deg, var(--accent-color), #0f0f1c);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-accent), transparent);
}
nav a {
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}
nav a:hover {
    color: var(--red-accent);
    border-bottom: 2px solid var(--red-accent);
    transform: translateY(-2px);
}
img {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}
img:hover {
    transform: scale(1.02);
}
.ad-top-banner, .ad-mid-article, .ad-sticky-sidebar {
    background: linear-gradient(to right, #111, #1a1a1a);
    border: 1px solid #333;
    border-top: 2px solid var(--red-accent);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.ai-summary {
    background: linear-gradient(to right, #1a1a2e, #111);
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}
.store-module {
    background: linear-gradient(145deg, #161616, #0d0d0d);
    border-top: 3px solid #FFD140; /* Match PayPal gold */
}


/* CLS armor — reserve ad space so layout does not jump (AdSense/Core Web Vitals) */
.ad-top-banner, .ad-mid-article, .ad-container-leaderboard { min-height: 100px; }
.ad-sticky-sidebar { min-height: 250px; }
.ad-top-banner ins.adsbygoogle, .ad-mid-article ins.adsbygoogle,
.ad-sticky-sidebar ins.adsbygoogle, .ad-container-leaderboard ins.adsbygoogle {
  display: block; min-height: 90px; max-width: 100%;
}
