/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Player Section */
.player-section {
    background-color: var(--surface-dark);
    border-radius: 10px;
    margin: 0 20px;
}

.player-wrapper {
    background-color: var(--background-dark);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.player-actions {
    margin-top: 1.5rem;
    text-align: center;
}

/* History Section */
.history-section {
    margin: 3rem 20px;
}

.history-wrapper {
    background-color: var(--surface-dark);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Info Section */
.info-section {
    margin: 3rem 20px;
}

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

.info-card {
    background-color: var(--surface-dark);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    font-size: 1.2rem;
}

.info-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.info-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.info-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.info-list strong {
    color: var(--text-primary);
}

.info-actions {
    margin-top: 1.5rem;
    text-align: center;
}

/* Recent Tracks */
.recent-tracks {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.recent-tracks h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.recent-tracks h4 i {
    font-size: 1rem;
}

.recent-tracks .tracks-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recent-tracks .track-item {
    background-color: var(--background-dark);
    border-radius: 8px;
    padding: 0.75rem;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.recent-tracks .track-item:hover {
    background-color: var(--surface-lighter);
    transform: translateX(3px);
}

.recent-tracks .track-info {
    flex: 1;
}

.recent-tracks .track-title {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.recent-tracks .track-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.recent-tracks .track-artist {
    color: var(--text-secondary);
}

.recent-tracks .track-series {
    color: var(--text-muted);
}

.recent-tracks .track-artist::after {
    content: "•";
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.recent-tracks .track-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
    background-color: var(--surface-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .recent-tracks .track-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .recent-tracks .track-date {
        align-self: flex-end;
    }
}

/* Gitea Releases */
.gitea-releases {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.gitea-releases h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.gitea-releases h4 i {
    font-size: 1rem;
}

.releases-list {
    margin-bottom: 1rem;
}

.release-item {
    background-color: var(--background-dark);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.release-item:hover {
    background-color: var(--surface-lighter);
    transform: translateX(3px);
}

.release-item:last-child {
    margin-bottom: 0;
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.release-title {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
}

.release-title:hover {
    color: var(--primary-color);
}

.release-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    white-space: nowrap;
    background-color: var(--surface-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.release-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.gitea-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-gitea {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--surface-lighter), var(--surface-dark));
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-gitea:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-gitea i {
    margin-right: 0.5rem;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item ul {
    list-style: none;
    margin-bottom: 0.75rem;
}

.faq-item ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.faq-item ul li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        height: 300px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .player-wrapper,
    .history-wrapper,
    .info-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .info-grid {
        gap: 1rem;
    }
}