:root {
  --bg-body: #14161c;
  --bg-shell: #1e222b;
  --bg-hero: #181b21;
  --bg-section: #1a1d24;
  --bg-card: #101218;
  --border-soft: #2f3a49;
  --border-strong: #374151;
  --text-main: #f0f4f8;
  --text-muted: #c9d2de;
  --accent: #35e0c6;
  --accent-soft: #62efe4;
  --accent-blue: #7aa6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  padding: 20px;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  background: var(--bg-shell);
  border-radius: 14px;
  box-shadow: 0 0 35px rgba(0,0,0,0.6);
}

/* Header & navigation */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  box-shadow: 0 0 14px rgba(53,224,198,0.9);
}

.site-title {
  margin: 0;
  font-size: 1.4rem;
}

.site-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--accent-soft);
  border-color: var(--border-soft);
}

.main-nav a.active {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
  background: rgba(0,0,0,0.4);
}

/* Hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--bg-hero);
  border-radius: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 18px rgba(0,0,0,0.45);
}

.hero-text {
  flex: 1 1 280px;
}

.hero-text h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: var(--accent-blue);
  text-shadow: 0 0 8px rgba(144,200,255,0.6);
}

.hero-text p {
  margin: 0;
  color: var(--text-muted);
}

.hero-visual {
  flex: 0 0 260px;
}

.hero-visual img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 0 18px rgba(0,0,0,0.55);
}

/* Layout sections */

.sections {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.section {
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-section);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  margin-bottom: 18px;
}

.section h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--accent-soft);
  text-shadow: 0 0 6px rgba(53,224,198,0.5);
}

.section p.section-intro {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Articles list */

.article-list {
  margin-top: 8px;
}

.article-card {
  padding: 10px;
  margin-top: 10px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 14px rgba(0,0,0,0.4);
}

.article-card-thumb {
  width: 110px;
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4b5563, #111827);
  flex-shrink: 0;
}

.article-card-content {
  flex: 1;
}

.article-card-title {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.article-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Single article */

.article-full {
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-section);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.article-full h1 {
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--accent-soft);
}

.article-full-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-full-body {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* AdSense placeholders */

.ads-placeholder {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  border: 1px dashed var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  background: rgba(0,0,0,0.3);
}

/* Footer */

.site-footer {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-soft);
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  background: rgba(15,23,42,0.96);
  color: var(--text-main);
  font-size: 0.8rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.7);
  z-index: 999;
}

.cookie-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1 1 220px;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--bg-section);
  color: var(--text-main);
  font-size: 0.8rem;
  cursor: pointer;
}

.cookie-btn.primary {
  border-color: var(--accent-soft);
  color: #020617;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
}

/* Responsive */

@media (max-width: 900px) {
  body {
    padding: 16px;
  }

  .shell {
    padding: 16px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 14px;
  }
  .section {
    padding: 14px;
  }
  .article-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-card-thumb {
    width: 100%;
  }
}
