:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.abstract-bg-1 { background: radial-gradient(circle at top left, #222 0%, #050505 100%); }
.abstract-bg-2 { background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); }
.abstract-bg-3 { background: radial-gradient(circle at center, #111 0%, #000 100%); }
.abstract-bg-4 { background: repeating-linear-gradient(45deg, #0a0a0a, #0a0a0a 10px, #111 10px, #111 20px); }

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.article-content {
  color: #d4d4d8;
}

.article-content p {
  color: #d4d4d8;
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.article-content strong {
  color: #fff;
  font-weight: 500;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: -0.02em;
}

.article-content h2 {
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}

.article-content h3 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  color: #d4d4d8;
}

.article-content blockquote {
  border-left: 4px solid #ccff00;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
  background: linear-gradient(to right, rgba(204, 255, 0, 0.05), transparent);
  border-radius: 0 0.75rem 0.75rem 0;
}

.article-content blockquote p {
  color: #fff;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  margin: 2rem 0;
  font-size: 0.875rem;
}

.article-content thead tr {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content th,
.article-content td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.article-content th {
  color: #e4e4e7;
  font-weight: 600;
}

.article-content td {
  color: #a1a1aa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-content img {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  margin: 2rem 0;
}

.article-content a {
  color: #ccff00;
}

.article-tags:empty {
  display: none;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.isometric-card {
  transform: perspective(1200px) rotateX(10deg) rotateY(-15deg) rotateZ(2deg) scale(0.95);
  transform-style: preserve-3d;
  box-shadow: -20px 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}

.isometric-card:hover {
  transform: perspective(1200px) rotateX(5deg) rotateY(-5deg) rotateZ(0deg) scale(1);
  box-shadow: -10px 10px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(204,255,0,0.3);
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}
