
:root {

  --bg: #09090b;
  --bg-secondary: #111114;

  --card: rgba(255,255,255,0.04);

  --text: #f4f4f5;
  --muted: #a1a1aa;

  --primary: #c084fc;
  --secondary: #818cf8;

  --border: rgba(255,255,255,0.08);

  --radius: 24px;

  --shadow:
    0 20px 60px rgba(0,0,0,0.45);

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  font-family: 'Inter', sans-serif;

  background:
    radial-gradient(
      circle at top left,
      rgba(192,132,252,0.12),
      transparent 30%
    ),

    radial-gradient(
      circle at bottom right,
      rgba(129,140,248,0.10),
      transparent 30%
    ),

    var(--bg);

  color: var(--text);

  line-height: 1.8;
}

img {

  max-width: 100%;

  display: block;
}

a {

  text-decoration: none;

  color: inherit;
}

.container {

  width: min(1240px, 92%);

  margin: auto;
}

/* HEADER */

.site-header {

  position: sticky;

  top: 0;

  z-index: 1000;

  backdrop-filter: blur(18px);

  background: rgba(9,9,11,0.75);

  border-bottom:
    1px solid var(--border);
}

.header-inner {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1.2rem 0;
}

.logo {

  display: flex;

  align-items: center;

  gap: 0.8rem;

  font-weight: 800;

  font-size: 1.2rem;

  color: #e9d5ff;
}

nav {

  display: flex;

  gap: 1.5rem;
}

nav a {

  color: var(--muted);

  transition: 0.25s;
}

nav a:hover {

  color: white;
}

/* ARTICLE PAGE */

.article-page {

  padding: 4rem 0;
}

.article-layout {

  display: grid;

  grid-template-columns: 1fr 320px;

  gap: 3rem;
}

.article-main {

  background: rgba(255,255,255,0.03);

  border: 1px solid var(--border);

  border-radius: 30px;

  overflow: hidden;

  box-shadow: var(--shadow);

  backdrop-filter: blur(12px);
}

.article-image {

  width: 100%;

  height: 520px;

  object-fit: cover;
}

.article-header {

  padding: 3rem 3rem 1rem;
}

.article-topics {

  display: flex;

  gap: 0.7rem;

  flex-wrap: wrap;

  margin-bottom: 1.5rem;
}

.article-topics span {

  background:
    rgba(192,132,252,0.12);

  color: #e9d5ff;

  border:
    1px solid rgba(192,132,252,0.2);

  padding: 0.4rem 0.9rem;

  border-radius: 999px;

  font-size: 0.78rem;

  letter-spacing: 0.5px;
}

.article-header h1 {

  font-family: 'Manrope', sans-serif;

  font-size: clamp(2.5rem, 5vw, 4.8rem);

  line-height: 1.05;

  margin-bottom: 1.5rem;

  letter-spacing: -2px;
}

.article-meta {

  display: flex;

  gap: 1.5rem;

  flex-wrap: wrap;

  color: var(--muted);

  font-size: 0.95rem;
}

.article-meta span {

  display: flex;

  align-items: center;

  gap: 0.5rem;
}

/* NOTICE */

.ethical-notice {

  margin: 2rem 3rem;

  padding: 1.5rem;

  border-radius: 20px;

  display: flex;

  gap: 1rem;

  align-items: flex-start;

  background:
    linear-gradient(
      135deg,
      rgba(192,132,252,0.12),
      rgba(129,140,248,0.08)
    );

  border:
    1px solid rgba(192,132,252,0.15);
}

.ethical-icon {

  width: 52px;
  height: 52px;

  min-width: 52px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    rgba(192,132,252,0.15);

  color: #e9d5ff;

  font-size: 1.2rem;
}

.article-content * {
  color: var(--text) !important;
  background-color: inherit !important;
}

.ethical-notice h3 {

  margin-bottom: 0.4rem;
}

.ethical-notice p {

  color: var(--muted);
}

/* CONTENT */

.article-content {

  padding: 0 3rem 4rem;

  font-size: 1.15rem;

  line-height: 2;

  color: var(--text);
}

.article-content h1,
.article-content h2,
.article-content h3 {

  font-family: 'Manrope', sans-serif;

  margin-top: 3rem;

  margin-bottom: 1rem;

  line-height: 1.2;
}

.article-content h2 {

  font-size: 2rem;
}

.article-content p {

  margin-bottom: 1.8rem;

  color: #e4e4e7;
}

.article-content a {

  color: #c4b5fd;
}

.article-content ul,
.article-content ol {

  padding-left: 1.5rem;

  margin-bottom: 2rem;
}

.article-content blockquote {

  margin: 3rem 0;

  padding: 2rem;

  border-left: 4px solid #c084fc;

  background:
    rgba(255,255,255,0.03);

  border-radius: 0 20px 20px 0;

  color: #ddd6fe;

  font-size: 1.15rem;

  font-style: italic;
}

.article-content pre {

  background: #050505;

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 1.5rem;

  overflow-x: auto;

  margin: 2rem 0;
}

.article-content code {

  color: #c4b5fd;
}

/* SIDEBAR */

.article-sidebar {

  position: sticky;

  top: 100px;

  height: fit-content;
}

.sidebar-box {

  background:
    rgba(255,255,255,0.04);

  border:
    1px solid var(--border);

  border-radius: 24px;

  padding: 1.6rem;

  margin-bottom: 1.5rem;

  backdrop-filter: blur(10px);
}

.sidebar-label {

  display: inline-block;

  margin-bottom: 1rem;

  color: #d8b4fe;

  font-size: 0.75rem;

  letter-spacing: 1px;
}

.sidebar-box ul {

  list-style: none;
}

.sidebar-box li {

  padding: 0.9rem 0;

  border-bottom:
    1px solid rgba(255,255,255,0.05);

  color: var(--muted);
}

.sidebar-box blockquote {

  color: #ddd6fe;

  line-height: 1.8;
}

.research-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 0.7rem;
}

.research-tags span {

  background:
    rgba(255,255,255,0.04);

  border:
    1px solid rgba(255,255,255,0.06);

  padding: 0.45rem 0.8rem;

  border-radius: 999px;

  color: #e4e4e7;

  font-size: 0.85rem;
}

/* FOOTER */

.site-footer {

  margin-top: 4rem;

  border-top:
    1px solid var(--border);

  padding: 3rem 0;

  background:
    rgba(255,255,255,0.02);
}

.footer-inner {

  display: flex;

  justify-content: space-between;

  gap: 2rem;
}

.footer-inner p {

  color: var(--muted);

  margin-top: 1rem;
}

/* MOBILE */

@media (max-width: 980px) {

  .article-layout {

    grid-template-columns: 1fr;
  }

  .article-sidebar {

    position: relative;

    top: auto;
  }

}

@media (max-width: 768px) {

  nav {

    display: none;
  }

  .article-image {

    height: 280px;
  }

  .article-header,
  .article-content {

    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .ethical-notice {

    margin-left: 1.4rem;
    margin-right: 1.4rem;
  }

  .article-header h1 {

    letter-spacing: -1px;
  }

}
