:root {
    --primary-color: #d4af37;
    --primary-hover: #b8962e;
    --secondary-color: #2c3e50;
    --text-color: #ecf0f1;
    --text-muted: #95a5a6;
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --border-color: #333;
    --success-color: #27ae60;
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-darker);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    flex: 1;
    padding: 4rem 0;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.download-section {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.download-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}


.version-info {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.version-info strong {
    color: var(--success-color);
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffd700 100%);
    color: var(--bg-darker);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #34495e;
    transform: translateY(-2px);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn .icon {
    width: 24px;
    height: 24px;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

.btn-large .icon {
    width: 28px;
    height: 28px;
}

.platform-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.features {
    margin: 4rem 0;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.feature p {
    color: var(--text-muted);
}

.links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #ffd700;
    text-decoration: underline;
}

footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Download Page Styles */
.download-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: border-color 0.3s ease;
}

.download-card:hover {
    border-color: var(--primary-color);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-header svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.platform-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
}

.install-hint {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.install-hint p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.file-details {
    margin-top: 1rem;
}

.file-details summary {
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.2s ease;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-details summary::-webkit-details-marker {
    display: none;
}

.file-details summary::before {
    content: '▶';
    display: inline-block;
    transition: transform 0.2s ease;
}

.file-details[open] summary::before {
    transform: rotate(90deg);
}

.file-details summary:hover {
    background: rgba(212, 175, 55, 0.1);
}

.file-details ul {
    margin: 1rem 0 0 0;
    padding: 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    list-style: none;
}

.file-details li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.file-details strong {
    color: var(--text-color);
}

.steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 1rem 0 1rem 3.5rem;
    margin-bottom: 1rem;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffd700 100%);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.steps li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.channel {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.channel.public {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.channel.patreon {
    background: rgba(255, 66, 77, 0.2);
    color: #ff424d;
    border: 1px solid #ff424d;
}

.channel.testing {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid #3498db;
}

.channel.dev {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    border: 1px solid #9b59b6;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .download-section {
        padding: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .btn-large {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .platform-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .platform-header svg {
        width: 40px;
        height: 40px;
    }

    .platform-header h3 {
        font-size: 1.5rem;
    }

    .steps li {
        padding: 0.75rem 0 0.75rem 3rem;
    }

    .steps li::before {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .features h2 {
        font-size: 2rem;
    }
}
