@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Playfair+Display:wght@400;700&display=swap');
:root {
  --bg: #0f1116;
  --panel: #151823;
  --panel-alt: #111420;
  --text: #e7e9ee;
  --muted: #a6aec9;
  --brand: #7c5cff;
  --brand-2: #00d4ff;
  --accent: #ff8a5b;
  --success: #2ecc71;
  --danger: #ff5c5c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  background: radial-gradient(1200px 800px at 10% -10%, rgba(124,92,255,.18), transparent),
              radial-gradient(1000px 500px at 110% 10%, rgba(0,212,255,.15), transparent),
              var(--bg);
  color: var(--text);
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.25; margin: 0 0 12px }
p { color: var(--text); opacity: .95; margin: 0 0 14px }
a { color: var(--brand-2); text-decoration: none }
a:hover { text-decoration: underline }
.container { width: min(1120px, 92%); margin: 0 auto }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(17, 20, 32, .7);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600 }
.brand img { border-radius: 50%; box-shadow: var(--shadow); object-fit: cover }
.navbar a { margin: 0 10px; padding: 8px 12px; border-radius: 10px; color: var(--text) }
.navbar a:hover { background: rgba(124,92,255,.12) }
.navbar a.active { background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(0,212,255,.18)); border: 1px solid rgba(255,255,255,.08) }

.hero { padding: 56px 0 }
.hero.slim { padding: 36px 0 }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover }
.actions { display: flex; gap: 12px; margin: 16px 0 8px }
.section { padding: 42px 0 }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent) }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start }
.grid.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.grid.gallery img { width: 100%; height: 290px; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow) }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, filter .2s ease; white-space: nowrap }
.btn:hover { transform: translateY(-1px) }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #0b0d14; font-weight: 600 }
.btn.secondary { background: rgba(255,255,255,.08); color: var(--text); border-color: rgba(255,255,255,.12) }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.16) }
.btn.small { padding: 8px 12px; font-size: 14px }

.card { background: linear-gradient(180deg, var(--panel), var(--panel-alt)); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow) }

.post-card { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; margin-bottom: 22px }
.post-card img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-sm) }
.post-card .post-body { display: flex; flex-direction: column }
.post-card.featured img { height: 360px }
.more-posts .link-list { list-style: none; padding: 0; margin: 0 }
.more-posts .link-list li { padding: 8px 0 }
.more-posts .link-list a { font-weight: 600 }

.post-article { max-width: 860px; }
.post-cover { width: 100%; height: auto; border-radius: var(--radius-sm); margin: 14px 0 10px; box-shadow: var(--shadow) }
.post-article .post-nav { display: flex; gap: 10px; margin-top: 18px }

.site-footer { padding: 30px 0 26px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(15,17,22,.7) }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 14px }
.social { display: flex; gap: 12px; margin-top: 10px }
.social a { color: var(--muted) }
.social a:hover { color: var(--brand-2) }
.social.compact a { color: var(--text) }
.footer-links { display: flex; gap: 16px; margin-top: 8px }
.footer-links a { color: var(--muted) }
.footer-links a:hover { color: var(--brand-2) }
.copyright { margin-top: 8px; color: var(--muted); font-size: 14px }

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px }
.team-card { background: linear-gradient(180deg, var(--panel), var(--panel-alt)); padding: 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.06); text-align: center; box-shadow: var(--shadow) }
.team-card img { width: 100%; height: auto; border-radius: 12px; object-fit: cover; }

.form label { display: grid; gap: 6px; margin-bottom: 10px }
.form input, .form textarea {
  background: #0b0d14; color: var(--text); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 10px 12px; outline: none
}
.form input:focus, .form textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(0,212,255,.15) }

.modal { position: fixed; inset: 0; background: rgba(3,5,10,.6); display: none; align-items: center; justify-content: center; padding: 20px }
.modal[aria-hidden="false"] { display: flex }
.modal-dialog { background: var(--panel); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 20px; width: min(460px, 92%); box-shadow: var(--shadow) }

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 14px; z-index: 60;
  display: none; justify-content: center; pointer-events: none;
}
.cookie-banner .cookie-content {
  pointer-events: auto;
  width: min(980px, 92%); color: var(--text);
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(0,212,255,.25));
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px; box-shadow: var(--shadow)
}
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px }
.cookie-prefs { margin-top: 10px; display: none; gap: 10px }
.cookie-prefs label { margin-right: 12px }
.cookie-save { display: flex; gap: 10px; margin-top: 10px }

.fancy-list { list-style-position: outside; padding-left: 26px }
.fancy-list li { margin: 6px 0 }
.fancy-list li::marker { content: "◉ "; color: var(--accent) }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr }
  .split { grid-template-columns: 1fr }
  .grid.gallery { grid-template-columns: repeat(2, 1fr) }
  .team-grid { grid-template-columns: repeat(2, 1fr) }
  .post-card { grid-template-columns: 1fr }
}
