/* ── Global ───────────────────────────────────── */
::selection {
  background-color: #ccff00;
  color: #0a0a0a;
}

body {
  background-color: #0a0a0a;
  color: #f4f4f5;
  overflow-x: hidden;
}

/* ── Animations ────────────────────────────────── */
@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.anim-fade-in     { animation: fadeIn  1s ease-out forwards; }
.anim-slide-up-1  { opacity:0; animation: slideUp 0.8s ease-out 0.2s forwards; }
.anim-slide-up-2  { opacity:0; animation: slideUp 0.8s ease-out 0.4s forwards; }
.anim-fade-in-d8  { opacity:0; animation: fadeIn  1s ease-out 0.8s forwards; }
.anim-scale-in    { animation: scaleIn 0.5s ease-out 1s forwards; opacity:0; }

/* ── Outline text ───────────────────────────────── */
.text-outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  color: transparent;
}
.text-outline:hover {
  color: #ccff00;
  -webkit-text-stroke: 0px;
  transition: color 0.3s, -webkit-text-stroke 0.3s;
}

/* ── Mobile select ──────────────────────────────── */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media (max-width: 768px) {
  select, select option {
    font-size: 16px !important;
    min-height: 44px !important;
  }
}

/* ── Blog content ───────────────────────────────── */
.blog-content h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
  color: #f4f4f5;
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.blog-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #ccff00;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}
.blog-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.3;
  color: #f4f4f5;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.blog-content h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.4;
  color: #d4d4d8;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.blog-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #d4d4d8;
  margin-bottom: 2rem;
  font-weight: 300;
}
.blog-content a {
  color: #ccff00;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.blog-content a:hover { text-decoration: underline; }
.blog-content strong  { color: #f4f4f5; font-weight: 700; }
.blog-content em      { color: #d4d4d8; font-style: italic; }
.blog-content ul,
.blog-content ol {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #d4d4d8;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  font-weight: 300;
}
.blog-content ul      { list-style-type: disc; }
.blog-content ol      { list-style-type: decimal; }
.blog-content li      { margin-bottom: 0.75rem; padding-left: 0.5rem; }
.blog-content li::marker { color: #ccff00; }
.blog-content code {
  color: #ccff00;
  background-color: rgba(255,255,255,0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.95em;
  font-family: 'Courier New', monospace;
}
.blog-content pre {
  background-color: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}
.blog-content pre code { background-color: transparent; padding: 0; font-size: 0.95rem; }
.blog-content blockquote {
  border-left: 4px solid #ccff00;
  padding: 1rem 2rem;
  font-style: italic;
  color: #a1a1aa;
  font-size: 1.25rem;
  margin: 2rem 0;
  background-color: rgba(255,255,255,0.05);
}
.blog-content hr  { border: none; border-top: 1px solid rgba(255,255,255,0.2); margin: 4rem 0; }
.blog-content img { border-radius: 0.25rem; margin: 3rem 0; max-width: 100%; height: auto; }
.blog-content table { width: 100%; border-collapse: collapse; color: #d4d4d8; margin: 2rem 0; }
.blog-content th,
.blog-content td { border: 1px solid rgba(255,255,255,0.2); padding: 1rem; text-align: left; }
.blog-content th  { background-color: rgba(255,255,255,0.05); font-weight: 700; }

@media (max-width: 768px) {
  .blog-content h1 { font-size: 2.25rem; }
  .blog-content h2 { font-size: 1.875rem; }
  .blog-content h3 { font-size: 1.5rem; }
  .blog-content h4 { font-size: 1.25rem; }
  .blog-content p,
  .blog-content ul,
  .blog-content ol { font-size: 1rem; }
}
