:root { --primary: #667eea; --secondary: #764ba2; --dark: #0f0f0f; --card-bg: #1a1a1a; --text-main: #ffffff; --text-muted: #aaaaaa; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Header & Navigation */
header { text-align: center; padding: 60px 20px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 24px; margin-bottom: 30px; }
.nav-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.lang-toggle button { background: rgba(255,255,255,0.1); border: 1px solid #444; color: white; padding: 6px 15px; cursor: pointer; border-radius: 8px; margin-left: 5px; }
.lang-toggle button.active { background: white; color: var(--primary); font-weight: bold; }

.search-bar { width: 100%; max-width: 500px; padding: 15px; border-radius: 30px; border: 1px solid #333; margin: 20px auto; display: block; background: #1a1a1a; color: white; }
.category-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 30px; justify-content: center; }
.cat-btn { background: #1a1a1a; padding: 10px 22px; border-radius: 25px; cursor: pointer; border: 1px solid #333; color: #ccc; transition: 0.3s; }
.cat-btn.active { background: var(--primary); color: white; }

/* Grid Cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.blog-card { background: var(--card-bg); border-radius: 20px; overflow: hidden; border: 1px solid #222; cursor: pointer; transition: 0.3s; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-excerpt { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Admin & Newsletter */
.admin-panel { background: #fff; color: #333; border-radius: 20px; padding: 40px; display: none; position: fixed; top: 5%; left: 5%; width: 90%; height: 90%; overflow-y: auto; z-index: 8000; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.admin-panel.active { display: block; }
.newsletter-box { background: #1a1a1a; padding: 60px 20px; border-radius: 24px; margin-top: 60px; text-align: center; border: 1px solid #333; }
.newsletter-box input { padding: 15px; width: 300px; border-radius: 10px; border: 1px solid #444; background: #000; color: white; margin-right: 10px; }
.newsletter-box button { padding: 15px 30px; background: var(--primary); color: white; border: none; border-radius: 10px; cursor: pointer; font-weight: bold; }