* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Root Variables ===== */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --surface: #1e1e2e;
  --surface-glass: rgba(30, 30, 46, 0.6);
  --border: #2a2a3e;
  --border-light: #3a3a4e;

  /* Text Colors */
  --text-primary: #e8ecf3;
  --text-secondary: #9aa3b5;
  --text-tertiary: #6b7280;

  /* Brand Colors */
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  --gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #ec4899 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(139, 92, 246, 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(59, 130, 246, 0.3) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(236, 72, 153, 0.2) 0px, transparent 50%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.4);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}


body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}


/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--spacing-3xl) 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/hero-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  animation: meshMove 20s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes meshMove {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  animation: fadeInUp 0.6s ease-out;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.brand-name {
  color: var(--text-primary);
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 720px;
  margin: 0 auto var(--spacing-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-3xl);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: var(--spacing-xl);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}


/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}


/* ===== Section Styling ===== */
section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--spacing-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Features Section ===== */
.features-section {
  background: var(--bg-secondary);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(139, 92, 246, 0.2);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: rotate(-5deg) scale(1.1);
}

.feature-icon svg {
  color: white;
}

.feature-icon.fire {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.feature-icon.code {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.feature-icon.chart {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-icon.donut {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.feature-icon.trophy {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-icon.palette {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.feature-icon.rocket {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Themes Section ===== */
.themes-section {
  background: var(--bg-primary);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-lg);
}

.theme-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-purple);
}

.theme-preview {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dark-theme {
  background: linear-gradient(135deg, #0d1117 0%, #1a1b26 100%);
}

.light-theme {
  background: linear-gradient(135deg, #ffffff 0%, #f6f8fa 100%);
}

.dracula-theme {
  background: linear-gradient(135deg, #282a36 0%, #44475a 100%);
}

.nord-theme {
  background: linear-gradient(135deg, #2e3440 0%, #3b4252 100%);
}

.tokyo-theme {
  background: linear-gradient(135deg, #1a1b26 0%, #24283b 100%);
}

.monokai-theme {
  background: linear-gradient(135deg, #272822 0%, #3e3d32 100%);
}

.gruvbox-theme {
  background: linear-gradient(135deg, #282828 0%, #3c3836 100%);
}

.theme-swatch-group {
  display: flex;
  gap: 0.5rem;
}

.theme-swatch {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.theme-card:hover .theme-swatch {
  transform: scale(1.1);
}

.theme-info {
  padding: var(--spacing-lg);
}

.theme-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.default-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  background: var(--accent-purple);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.theme-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===== Preview Section ===== */
.preview-section {
  background: var(--bg-secondary);
  scroll-margin-top: 2rem;
}

.preview-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
}

.preview-controls {
  margin-bottom: var(--spacing-xl);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.preview-update-row {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.preview-update-row .btn {
  min-width: 200px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.input-group label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.input-group input,
.input-group select {
  padding: 0.875rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.input-group input::placeholder {
  color: var(--text-tertiary);
}

.preview-frame {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.code-section {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.code-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.copy-btn:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
}

.code-block {
  padding: var(--spacing-lg);
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 0.9375rem;
  color: #a6e3a1;
  overflow-x: auto;
  line-height: 1.6;
}

.code-block code {
  color: inherit;
}

/* ===== Usage Section ===== */
.usage-section {
  background: var(--bg-primary);
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.usage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
}

.usage-card:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-lg);
}

.usage-step {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
}

.usage-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.usage-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.usage-card .code-block {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  font-size: 0.8125rem;
  word-break: break-all;
}

.params-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  overflow-x: auto;
}

.params-table table {
  min-width: 720px;
  margin-top: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--bg-tertiary);
}

th {
  padding: var(--spacing-md);
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border);
}

td {
  padding: var(--spacing-md);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

tbody tr:hover {
  background: var(--bg-tertiary);
}

td code {
  padding: 0.125rem 0.375rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.875rem;
  color: var(--accent-cyan);
}

/* ===== Developer Section ===== */
.developer-section {
  background: var(--bg-secondary);
}

.developer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.developer-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.developer-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.developer-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.developer-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.tech-badge {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.tech-badge:hover {
  border-color: var(--accent-purple);
  background: var(--surface-glass);
}

.developer-image {
  position: relative;
}

.profile-container {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-container:hover {
  transform: scale(1.02);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(139, 92, 246, 0.3);
}

.profile-avatar {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  opacity: 0.4;
  pointer-events: none;
}

.cta-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-lg);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

.footer-column {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-base);
}

.footer-column a:hover {
  color: var(--accent-purple);
  transform: translateY(-1px);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
}

.footer-nav a:hover {
  color: var(--accent-purple);
  transform: translateY(-1px);
}

.footer-bottom {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0.25rem 0;
}

.footer-bottom a {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .developer-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--spacing-2xl) 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .stat-divider {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .themes-grid {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .usage-card {
    padding: var(--spacing-lg);
  }

  .usage-step {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .usage-card .code-block {
    font-size: 0.9rem;
    word-break: break-word;
    white-space: pre-wrap;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.875rem;
  }

  th,
  td {
    padding: var(--spacing-sm);
  }


  .params-table table {
    min-width: 520px;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .preview-panel {
    padding: var(--spacing-lg);
  }

  .params-table {
    padding: var(--spacing-xl);
  }

  .params-title {
    font-size: 1.25rem;
  }

  .params-table table {
    min-width: 460px;
  }
}

/* ===== Smooth Scrolling ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* ===== Selection ===== */
::selection {
  background: var(--accent-purple);
  color: white;
}