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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
  color: #333;
  background: #f8f9fa;
}

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.header-content p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section {
  background: white;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 3px solid #667eea;
  padding-bottom: 0.5rem;
}

.section-description {
  color: #495057;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.tag-section {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.tag-section h3 {
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.tag-section div,
.tag-section p {
  color: #495057;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  white-space: pre-wrap;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.constants-note {
  margin-bottom: 0.75rem;
  color: #495057;
}

.constants-table th {
  background: #667eea;
  color: white;
  padding: 0.6rem 1rem;
  text-align: left;
}

.constants-table td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.constants-table tr:nth-child(even) td {
  background: #f8f9fa;
}

code {
  background: #e9ecef;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

pre {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1rem 0;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.25rem;
}

.footer {
  background: #343a40;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer p {
  margin: 0;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .main {
    padding: 1rem;
  }

  .header-content h1 {
    font-size: 2rem;
  }
}
