/* Variables */
:root {
    --color-primary: #4a9d5f;
    --color-secondary: #5da8cf;
    --color-accent: #f39c12;
    --color-bg: #f5f5f5;
    --color-text: #333;
    --color-light: #fff;
    --color-gray: #666;
    --color-border: #ddd;
    --spacing: 2rem;
    --radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

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

/* Header */
header {
    background: var(--color-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-primary);
    margin: 0;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8d8b8, #d4ff4d);
    color: #333;
    padding: 5rem 0;
    text-align: center;
}

.hero .btn-primary {
    background: #000;
    color: #fff;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-light);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 157, 95, 0.4);
}

.btn-disabled {
    background: var(--color-border);
    color: var(--color-gray);
    cursor: not-allowed;
}

/* Features */
.features {
    padding: 4rem 0;
    background: var(--color-light);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--color-bg);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.feature-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.feature-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* About */
.about {
    padding: 4rem 0;
    background: var(--color-bg);
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.about h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.about ul {
    list-style: none;
    padding-left: 0;
}

.about li {
    padding: 0.3rem 0;
}

/* Download */
.download {
    padding: 4rem 0;
    background: var(--color-light);
}

.download h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary);
}

.download-subtitle {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--color-bg);
    box-shadow: var(--shadow);
}

.download-card.disabled {
    opacity: 0.6;
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.download-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.download-card small {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-gray);
}

.install-instructions {
    max-width: 800px;
    margin: 0 auto;
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: var(--radius);
}

.install-instructions h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.install-instructions h4 {
    color: #a0a0a0;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.install-instructions pre {
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

.install-instructions code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Comments */
.comments {
    padding: 4rem 0;
    background: var(--color-bg);
}

.comments h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.comments > .container > p {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.comment-form-container {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comment-form-container h3 {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.comment-form textarea {
    resize: vertical;
}

.rating {
    margin-bottom: 1rem;
}

.rating label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.3rem;
}

.stars input {
    display: none;
}

.stars label {
    font-size: 2rem;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.2s;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: var(--color-accent);
}

.comments-list {
    max-width: 700px;
    margin: 0 auto;
}

.no-comments {
    text-align: center;
    color: var(--color-gray);
    font-style: italic;
}

/* Footer */
footer {
    background: #333;
    color: var(--color-light);
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
}

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

/* Music Page */
.music-page {
    padding: 4rem 0;
    background: var(--color-bg);
}

.music-page h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.music-subtitle {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.music-card {
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.music-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.music-card p {
    margin-bottom: 1rem;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.music-card audio {
    width: 100%;
    margin-top: 0.5rem;
}

.music-info {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.music-info h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.music-info a {
    color: var(--color-accent);
    text-decoration: none;
}

.music-info a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

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