@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --bg-color: #0f111a;
  --text-color: #e2e8f0;
  --heading-color: #f8fafc;
  --accent-color: #ec4899;
  --accent-hover: #f472b6;
  --container-bg: rgba(30, 33, 43, 0.7);
  --border-color: rgba(255, 255, 255, 0.1);
  --code-bg: rgba(0, 0, 0, 0.5);
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f111a 0%, #1e1b4b 100%);
  background-attachment: fixed;
  color: var(--text-color);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  font-size: 16px;
}

/* Glassmorphism Container */
body > h1:first-of-type, body > ul, body > p, body > h2, body > h3, body > div.nav {
  position: relative;
  z-index: 1;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 15% 50%, rgba(236, 72, 153, 0.15), transparent 25%),
              radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.15), transparent 25%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 {
  color: var(--heading-color);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
  margin-top: 0;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  width: 100%;
}

h2 {
  font-size: 1.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

h3 {
  font-size: 1.3rem;
  color: #a78bfa;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 8px rgba(236, 72, 153, 0.4);
}

ul {
  padding-left: 20px;
  list-style-type: none;
}

li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-size: 0.8em;
  top: 4px;
}

.desc {
  color: #94a3b8;
  font-size: 0.9em;
  margin-left: 6px;
  font-weight: 300;
}

code {
  background: var(--code-bg);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
  color: #38bdf8;
  border: 1px solid rgba(255,255,255,0.05);
}

.nav {
  margin-bottom: 30px;
}

.nav a {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

strong {
  color: #fff;
  font-weight: 600;
}

p {
  margin-bottom: 1.2em;
}

/* Base structural wrapper for pages that don't have one */
body {
  box-sizing: border-box;
  background-color: var(--bg-color);
}

.docs-tutorial-content {
  padding-top: 8px;
}

.docs-tutorial-content .tutorial-step-card,
.docs-tutorial-content .tutorial-details-section {
  background: var(--container-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.docs-tutorial-content .tutorial-step-card {
  margin-bottom: 16px;
}

.docs-tutorial-content .tutorial-details-section {
  margin-top: 32px;
}

.docs-tutorial-content p {
  color: var(--text-color);
}

.docs-tutorial-content .tutorial-details-section p {
  color: #cbd5e1;
}
