
:root {
  --color-primary: #4B0082;
  --color-secondary: #FFD700;
  --color-tertiary: #00CED1;
  --color-background: #191919;
  --color-text: #EAEAEA;
  --color-accent: #8A2BE2;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Roboto', sans-serif;
  --font-code: 'Courier New', monospace;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(135deg, #191919, #2F4F4F);
  color: var(--color-text);
  line-height: 1.6;
  padding: 20px;
}

header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #4B0082, #8A2BE2);
  color: #FFD700;
  font-family: var(--font-title);
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

section {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h2, h3 {
  font-family: var(--font-title);
  color: var(--color-accent);
}

p {
  font-size: 1rem;
  color: #EAEAEA;
}

pre {
  background: #2C3E50;
  color: #ECF0F1;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}

code {
  font-family: var(--font-code);
  background: #2C3E50;
  color: #ECF0F1;
  padding: 2px 5px;
  border-radius: 3px;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #2F4F4F, #4B0082);
  padding: 15px;
  border-radius: 10px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  border: 1px solid #4B0082;
  padding: 10px;
  text-align: left;
  background: rgba(0, 0, 0, 0.5);
  color: #FFD700;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  main {
    grid-template-columns: 1fr;
  }
  pre {
    font-size: 0.9rem;
  }
}

