* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    padding: 20px;
}
.container { max-width: 1200px; margin: 0 auto; background: white; padding: 40px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
header { margin-bottom: 40px; border-bottom: 3px solid #4299e1; padding-bottom: 20px; }
h1 { color: #2d3748; font-size: 2.5em; margin-bottom: 10px; }
h1 .emoji { font-style: normal; }
.subtitle { color: #718096; font-size: 1.1em; }

.info-box {
    background: #ebf8ff;
    border-left: 4px solid #4299e1;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}
.info-box h3 { color: #2c5282; margin-bottom: 10px; }

.warning-box {
    background: #fef5e7;
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.dist-section { margin: 40px 0; }
.dist-section h2 {
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.dist-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}
.dist-card h3 {
    color: #2c5282;
    font-size: 1.5em;
    margin-bottom: 10px;
}
.dist-card h3 a {
    color: #2c5282;
    text-decoration: none;
}
.dist-card h3 a:hover {
    text-decoration: underline;
}
.dist-meta {
    color: #718096;
    font-size: 0.95em;
    margin-bottom: 20px;
}
.dist-desc {
    margin-bottom: 20px;
    color: #4a5568;
}

.command-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-family: "Monaco", "Courier New", monospace;
    font-size: 0.9em;
    overflow-x: auto;
    white-space: pre;
}

.package-list { margin-top: 25px; }
.package-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 12px;
}
.package-item h4 {
    color: #2d3748;
    margin-bottom: 5px;
}
.package-item .version {
    color: #718096;
    font-size: 0.9em;
    font-family: monospace;
}
.package-item .arch-badge {
    display: inline-block;
    background: #4299e1;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-left: 8px;
}
.package-item .description {
    color: #4a5568;
    margin-top: 8px;
    font-size: 0.95em;
}

.install-cmd {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 10px;
    font-family: monospace;
    font-size: 0.9em;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9em;
}
.breadcrumb a {
    color: #4299e1;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #718096;
    font-size: 0.9em;
}

/* Collapsible component sections */
.component-group {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
    background: white;
}
.component-group summary {
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    color: #2c5282;
    background: #f7fafc;
    border-radius: 6px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.component-group summary::-webkit-details-marker { display: none; }
.component-group summary::before {
    content: "▶";
    font-size: 0.7em;
    transition: transform 0.2s;
}
.component-group[open] summary::before {
    transform: rotate(90deg);
}
.component-group[open] summary {
    border-bottom: 1px solid #e2e8f0;
    border-radius: 6px 6px 0 0;
}
.component-group .component-content {
    padding: 15px;
}
.component-group .pkg-count {
    font-weight: normal;
    color: #718096;
    font-size: 0.9em;
}
.component-group .empty-msg {
    color: #718096;
    font-style: italic;
}

/* Collapsible install command section */
.install-section {
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f7fafc;
}
.install-section summary {
    padding: 10px 15px;
    cursor: pointer;
    color: #4a5568;
    font-size: 0.9em;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.install-section summary::-webkit-details-marker { display: none; }
.install-section summary::before {
    content: "▶";
    font-size: 0.65em;
    transition: transform 0.2s;
}
.install-section[open] summary::before {
    transform: rotate(90deg);
}
.install-section[open] summary {
    border-bottom: 1px solid #e2e8f0;
}
.install-section .install-content {
    padding: 15px;
}
.install-section .command-block {
    margin: 0;
}

@media (max-width: 768px) {
    .container { padding: 20px; }
    h1 { font-size: 2em; }
    .command-block { font-size: 0.8em; }
}
