:root {
    --bg-color: #1a1a1a;
    --header-bg: #333;
    --text-color: #fff;
    --secondary-text: #ccc;
    --accent-color: #007bff;
    --link-color: #fff;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
}

header {
    background-color: var(--header-bg);
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ad-banner {
    background: #fff;
    color: #333;
    display: flex;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ad-image {
    width: 45%;
    height: 300px;
    object-fit: cover;
}

.ad-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ad-content p {
    color: #666;
    margin-bottom: 2rem;
}

.ad-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.ad-footer span {
    color: #999;
    font-size: 0.9rem;
}

.btn-open {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.articles {
    background-color: #f4f4f4;
    color: #333;
    padding: 2rem;
    border-radius: 8px 8px 0 0;
}

.article-item {
    margin-bottom: 2.5rem;
}

.article-item .article-placeholder {
    width: 60px;
    height: 60px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    color: #888;
}

.article-item .article-placeholder svg {
    width: 30px;
    height: 30px;
}

.article-item h3 {
    font-size: 1.5rem;
    color: #4b0082;
    margin-bottom: 0.5rem;
}

.article-item h3 a {
    color: inherit;
    text-decoration: underline;
}

.article-item p {
    font-size: 1rem;
    color: #333;
}

footer {
    background-color: #333;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #fff;
}

.footer-ad {
    background: #fff;
    margin: 0 auto;
    max-width: 800px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    margin-top: -1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer-ad img {
    height: 60px;
    border-radius: 4px;
}

.footer-ad .ad-text {
    flex: 1;
    margin: 0 1rem;
    text-align: left;
}

.footer-ad h4 {
    color: #333;
    margin: 0;
}

.btn-footer {
    background: #666;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
}