:root {
    /* Main Colors */
    --primary-color: #0066cc;
    --secondary-color: #ef4444;
    --accent-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    
    /* Category Colors */
    --politics-color: #3b82f6;
    --business-color: #f59e0b;
    --tech-color: #10b981;
    --sport-color: #ef4444;
    --health-color: #8b5cf6;
    --lifestyle-color: #ec4899;
    
    /* Text Colors */
    --text-dark: #111827;
    --text-medium: #4b5563;
    --text-light: #9ca3af;
    
    /* Background Colors */
    --bg-light: #ffffff;
    --bg-gray: #f3f4f6;
    --bg-dark: #1f2937;
    
    /* Border Colors */
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container Widths */
    --container-max-width: 1280px;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-4xl);
}

h2 {
    font-size: var(--font-3xl);
}

h3 {
    font-size: var(--font-2xl);
}

h4 {
    font-size: var(--font-xl);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

p {
    margin-bottom: var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    border: none;
    background: none;
    outline: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Background Ad Container */
.bg-ad-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.bg-ad-left, .bg-ad-right {
    width: calc((100% - var(--container-max-width)) / 2 - var(--spacing-md));
    height: 100%;
    pointer-events: auto;
}

.bg-ad-left {
    margin-right: auto;
}

.bg-ad-right {
    margin-left: auto;
}

/* Site Container */
.site-container {
    position: relative;
    background-color: var(--bg-light);
    box-shadow: var(--shadow-xl);
    max-width: var(--container-max-width);
    margin: 0 auto;
    overflow: hidden;
}

/* Ad Styles */
.ad-horizontal {
    background-color: var(--bg-gray);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
}

.ad-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    font-size: var(--font-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 0 var(--radius-md) 0 var(--radius-sm);
}

.ad-content img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.d-flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    :root {
        --container-max-width: 960px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-max-width: 720px;
    }
    
    h1 {
        font-size: var(--font-3xl);
    }
    
    h2 {
        font-size: var(--font-2xl);
    }
    
    h3 {
        font-size: var(--font-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --container-max-width: 540px;
    }
    
    .bg-ad-left, .bg-ad-right {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}