Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --secondary-color: #3498db;
+ --background-light: #f5f6fa;
+ --text-dark: #2c3e50;
+ --text-light: #ecf0f1;
+ --spacing: 1rem;
+ --border-radius: 8px;
+ --transition: all 0.3s ease;
+ }
+
+ [data-theme="dark"] {
+ --primary-color: #34495e;
+ --background-light: #1a1a1a;
+ --text-dark: #ecf0f1;
+ --text-light: #2c3e50;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ background: var(--background-light);
+ color: var(--text-dark);
+ line-height: 1.6;
+ transition: var(--transition);
+ }
+
+ header {
+ background: var(--primary-color);
+ color: var(--text-light);
+ padding: var(--spacing) calc(var(--spacing) * 2);
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+
+ .logo h1 {
+ font-size: 1.5rem;
+ font-weight: 700;
+ }
+
+ .tagline {
+ font-size: 0.9rem;
+ opacity: 0.8;
+ }
+
+ .lang-btn, .theme-btn {
+ background: transparent;
+ border: 1px solid var(--text-light);
+ color: var(--text-light);
+ padding: 0.5rem 1rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ margin-left: 1rem;
+ transition: var(--transition);
+ }
+
+ .lang-btn:hover, .theme-btn:hover {
+ background: var(--text-light);
+ color: var(--primary-color);
+ }
+
+ .filters {
+ padding: var(--spacing);
+ display: flex;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ gap: var(--spacing);
+ }
+
+ .filter-btn {
+ background: var(--primary-color);
+ color: var(--text-light);
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ transition: var(--transition);
+ }
+
+ .filter-btn.active {
+ background: var(--secondary-color);
+ }
+
+ .news-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
+ gap: var(--spacing);
+ padding: var(--spacing);
+ }
+
+ .news-card {
+ background: white;
+ border-radius: var(--border-radius);
+ overflow: hidden;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ transition: var(--transition);
+ }
+
+ .news-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 5px 15px rgba(0,0,0,0.2);
+ }
+
+ .news-content {
+ padding: var(--spacing);
+ }
+
+ .news-title {
+ font-size: 1.2rem;
+ margin-bottom: 0.5rem;
+ }
+
+ .news-summary {
+ font-size: 0.9rem;
+ color: #666;
+ }
+
+ .news-link {
+ display: inline-block;
+ margin-top: 1rem;
+ color: var(--secondary-color);
+ text-decoration: none;
+ }
+
+ .load-more {
+ display: block;
+ margin: 2rem auto;
+ padding: 1rem 2rem;
+ background: var(--secondary-color);
+ color: white;
+ border: none;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ transition: var(--transition);
+ }
+
+ .load-more:hover {
+ background: var(--primary-color);
+ }
+
+ footer {
+ background: var(--primary-color);
+ color: var(--text-light);
+ padding: var(--spacing);
+ text-align: center;
+ margin-top: 2rem;
+ }
+
+ .footer-nav a {
+ color: var(--text-light);
+ text-decoration: none;
+ margin: 0 1rem;
+ }
+
+ @media (max-width: 768px) {
+ .filters {
+ flex-direction: column;
+ }
+
+ .filter-group {
+ width: 100%;
+ overflow-x: auto;
+ white-space: nowrap;
+ -webkit-overflow-scrolling: touch;
+ }
+
+ .news-grid {
+ grid-template-columns: 1fr;
+ }
+ }