:root {
  --bg: #0e0f13;
  --bg-soft: #151823;
  --card: #1f2430;
  --accent: #4fc3f7;
  --accent-2: #7c4dff;
  --text: #e9eef6;
  --muted: #a3afc4;
  --ok: #00c853;
  --warn: #ffb300;
  --error: #ef5350;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: radial-gradient(1200px 600px at 20% -10%, rgba(127,90,240,.25), transparent), linear-gradient(180deg, #0b0c10 0%, #0e0f13 100%); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: .2s ease; }
a:hover { color: #9fe6ff; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(10,12,18,.7); backdrop-filter: blur(10px); border-bottom: 1px solid #232939; }
.navbar { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand span { font-weight: 700; letter-spacing: .4px; }
.navlinks { display: flex; gap: 12px; flex-wrap: wrap; }
.navlinks a { padding: 10px 14px; color: var(--text); background: linear-gradient(180deg, #1a1f2b 0%, #141a24 100%); border: 1px solid #2b3447; border-radius: 10px; }
.navlinks a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 40px 0; }
.hero-card { background: linear-gradient(180deg, #1a2030 0%, #171c29 100%); border: 1px solid #2b3347; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(28px, 3.8vw, 44px); margin: 0 0 10px; }
.hero p { color: var(--muted); margin: 0 0 18px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-weight: 600; background: linear-gradient(180deg, #25a6e0 0%, #1976d2 100%); color: white; border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(25,118,210,.35); }
.btn.alt { background: linear-gradient(180deg, #7c4dff 0%, #5e35b1 100%); box-shadow: 0 10px 24px rgba(94,53,177,.35); }
.section { padding: 36px 0; }
.grid { display: grid; gap: 22px; }
.grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } .grid.cards-3, .grid.cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .navlinks { overflow-x: auto; } .grid.cards-3, .grid.cards-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid #2a3246; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin: 10px 0; }
.muted { color: var(--muted); }
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .4px; font-size: 12px; background: rgba(79,195,247,.15); color: #9fe6ff; border: 1px solid rgba(79,195,247,.35); }
.post-thumb { border-radius: 12px; border: 1px solid #2b3347; overflow: hidden; aspect-ratio: 16 / 9; background: #121621; }
.post-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.footer { margin-top: 40px; border-top: 1px solid #273047; background: #0b0f18; }
.footer .inner { display: grid; gap: 16px; grid-template-columns: 1fr auto; padding: 26px 0; }
.footer .links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer .links a { color: #cfe6ff; background: #152037; padding: 8px 12px; border-radius: 8px; border: 1px solid #203056; }
.footer .social { display: flex; gap: 10px; }
.footer .social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: #151c2b; border: 1px solid #23314e; border-radius: 10px; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #0d1220; border-top: 1px solid #203056; padding: 16px; z-index: 100; display: none; }
.cookie-wrap { display: grid; gap: 12px; grid-template-columns: 1fr auto; align-items: center; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer; }
.cookie-accept { background: linear-gradient(180deg, #2ecc71 0%, #00c853 100%); color: white; }
.cookie-decline { background: #1d2536; color: #e7f3ff; border: 1px solid #2b3856; }
.cookie-settings { background: linear-gradient(180deg, #ffd54f 0%, #ffb300 100%); color: #141821; }
.toolbar { display: grid; gap: 16px; grid-template-columns: 1fr auto; align-items: flex-start; }
.spellbox { background: #121827; border: 1px solid #26334f; border-radius: 12px; padding: 14px; min-height: 140px; color: var(--text); }
.spellbox[contenteditable="true"] { outline: none; }
.spell-result { font-size: 14px; color: var(--muted); }
.mark-bad { background: rgba(239,83,80,.2); border-bottom: 2px solid var(--error); }
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.6); z-index: 200; }
.modal .dialog { width: min(520px, 92%); background: #141a27; border: 1px solid #2a3553; border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--shadow); }
.form { display: grid; gap: 12px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #2b3347; background: #111726; color: var(--text); }
.form button { justify-self: start; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: #93a7c7; font-size: 12px; }
.tablelike { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-image { border-radius: 16px; overflow: hidden; border: 1px solid #2b3347; box-shadow: var(--shadow); }
.small { font-size: 13px; color: var(--muted); }
