:root {
  --bg: #0c1016;
  --panel: #121924;
  --card: linear-gradient(145deg, #131b27, #101724);
  --accent: #4de4ff;
  --accent-2: #7c6bff;
  --muted: #9fb2c8;
  --border: #1f2a3a;
  --success: #3dd598;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(77, 228, 255, 0.12), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(124, 107, 255, 0.12), transparent 25%),
              radial-gradient(circle at 40% 70%, rgba(61, 213, 152, 0.09), transparent 30%),
              var(--bg);
  color: #e8eef7;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(12, 16, 22, 0.85);
  border-bottom: 1px solid var(--border);
}
.topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: transform 0.15s ease;
}
.logo img {
  height: 34px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 0 8px rgba(77, 228, 255, 0.2);
}
.logo:hover { transform: translateY(-1px); }
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.95rem;
  flex-wrap: wrap;
  flex: 1;
}
nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}
nav a:hover {
  color: #fff;
  background: rgba(77, 228, 255, 0.08);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}
.icon-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.icon-link:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 228, 255, 0.4);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 30;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #e8eef7;
  border-radius: 4px;
}
.menu-backdrop {
  display: none;
}
.card-link { color: inherit; text-decoration: none; display: block; }

main {
  max-width: 1200px;
  margin: 26px auto;
  padding: 0 22px 50px;
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: 0.3px;
}
.section-title:before {
  content: '';
  width: 34px;
  height: 3px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(77, 228, 255, 0.4);
}
.news-list {
  display: grid;
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 228, 255, 0.4);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(77, 228, 255, 0.09);
  color: #b2e9f5;
  letter-spacing: 0.4px;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(77, 228, 255, 0.8);
}
.card h3 {
  margin: 14px 0 8px;
  font-size: 1.3rem;
  line-height: 1.3;
}
.meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card p {
  color: #d4deea;
  line-height: 1.55;
  margin: 12px 0 0;
}
.aside {
  background: rgba(15, 20, 28, 0.8);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  position: sticky;
  top: 90px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 16px;
}
.aside-section {
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.aside-section h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.2px;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list.fade { animation: chipWindowFade 1.1s ease; }
.chip {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(77, 228, 255, 0.07);
  color: #cfeeff;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.chip.active {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0b121c;
  border-color: rgba(77, 228, 255, 0.5);
  box-shadow: 0 8px 20px rgba(77, 228, 255, 0.2);
}
.chip.fade {
  animation: chipFade 0.8s ease;
}
.chip:hover { transform: translateY(-2px); }
.highlight {
  display: grid;
  gap: 10px;
}
.highlight a {
  text-decoration: none;
  color: inherit;
}
.highlight-item {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(77, 228, 255, 0.09), rgba(124, 107, 255, 0.06));
  border: 1px solid rgba(77, 228, 255, 0.18);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.highlight-item:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 228, 255, 0.3);
}
.highlight-item h5 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.newsletter {
  display: grid;
  gap: 10px;
}
.newsletter input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0c121b;
  color: #fff;
}
.newsletter button {
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0b121c;
  font-weight: 700;
  cursor: pointer;
}
.search-box {
  display: grid;
  gap: 10px;
}
.search-box input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0c121b;
  color: #fff;
}
.note {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}
.note.error {
  border-color: rgba(255, 158, 166, 0.6);
  color: #ffb8bf;
  background: rgba(255, 158, 166, 0.12);
}
.note.success {
  border-color: rgba(61, 213, 152, 0.6);
  color: #b4f0d5;
  background: rgba(61, 213, 152, 0.12);
}
.status {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}
.status.error {
  border-color: rgba(255, 158, 166, 0.6);
  color: #ffb8bf;
  background: rgba(255, 158, 166, 0.12);
}
.status.success {
  border-color: rgba(61, 213, 152, 0.6);
  color: #b4f0d5;
  background: rgba(61, 213, 152, 0.12);
}
.card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 10px;
}
@keyframes chipFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes chipWindowFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.footer {
  margin-top: 40px;
  padding: 24px 22px 36px;
  border-top: 1px solid var(--border);
  background: rgba(12, 16, 22, 0.85);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer h4 {
  margin: 0 0 10px;
  color: #fff;
}
.footer .foot-link {
  display: block;
  color: var(--muted);
  margin: 6px 0;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer .foot-link:hover { color: #fff; }
.footer .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.footer .brand img {
  height: 28px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 0 7px rgba(77, 228, 255, 0.18);
}
.footer small { color: var(--muted); }
.card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 10px;
}
@media (max-width: 960px) {
  main { grid-template-columns: 1fr; }
  .aside { position: relative; top: 0; }
  header { position: sticky; }
  .topbar { flex-direction: row; align-items: flex-start; }
}
@media (max-width: 720px) {
  .topbar { gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .logo { flex: 1; }
  nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    max-width: 78%;
    background: rgba(12, 16, 22, 0.95);
    border-right: 1px solid var(--border);
    padding: 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 20;
    height: 100vh;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    display: none;
    justify-content: flex-start;
  }
  nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    display: flex;
  }
  nav .cta-admin,
  nav .back-link {
    order: -1;
    align-self: flex-start;
  }
  nav .social-links {
    order: 0;
  }
  .social-links { margin-top: 6px; }
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 15;
  }
  .menu-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }
  main { padding: 0 16px 40px; }
  .topbar { padding: 14px 16px; }
  .footer { padding: 18px 16px 28px; }
}
