:root {
    --primary-color: #800000;
    --secondary-color: #b30000;
    --text-color: #333333;
    --background-light: #ffffff;
    --background-dark: #f5f5f5;
    --highlight-color: #ff4d4d;
    --control-bg: #e6e6e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    color: white;
}

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

.logo img {
    height: 50px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

nav a:hover {
    color: #ffcccc;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(rgba(128, 0, 0, 0.7), rgba(179, 0, 0, 0.7)), url('assets/pup-campus.jpg') center/cover;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.cta-button {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

/* About Section Styles */
.about-section {
    background-color: var(--background-light);
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.about-text {
    line-height: 1.8;
}

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

/* Player Section Styles */
.player-section {
    background-color: var(--background-dark);
    padding: 3rem 2rem;
}

.player-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.player-title {
    text-align: center;
    margin-bottom: 2rem;
}

.player-title h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.player-interface {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.album-and-controls {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 auto;
}

.album-cover {
    width: 100%;
}

.album-cover img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.player-info {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.song-details {
    margin-bottom: 1.5rem;
}

.song-details .hd-tag {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.song-details h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.song-details h4 {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 1rem;
}

.lyrics-container {
    height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
}

.lyrics-container::-webkit-scrollbar {
    width: 8px;
}

.lyrics-container::-webkit-scrollbar-track {
    background: #d9d9d9;
    border-radius: 10px;
}

.lyrics-container::-webkit-scrollbar-thumb {
    background: #b3b3b3;
    border-radius: 10px;
}

.lyrics-line {
    margin-bottom: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    overflow: hidden;
    transition: opacity 0.5s, visibility 0.5s, height 0.5s, margin 0.5s;
}

.visible {
    opacity: 1;
    visibility: visible;
    height: auto;
    margin-bottom: 1rem;
    transition: opacity 0.5s, visibility 0.5s;
}

.highlighted {
    color: var(--highlight-color);
    font-weight: 500;
    transform: scale(1.05);
    transform-origin: left;
}

/* Player Controls Styles */
.player-controls {
    background-color: var(--control-bg);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.2s;
}

.control-btn:active {
    transform: scale(0.95);
}

.play-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 50px;
    height: 50px;
    color: white;
}

.progress-container {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #cccccc;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    position: relative;
    transition: width 0.1s linear;
}

.progress-handle {
    position: absolute;
    right: -6px;
    top: -4px;
    width: 14px;
    height: 14px;
    background-color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: none;
}

.progress-bar.active .progress-handle {
    display: block;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666666;
    margin-top: 0.5rem;
}

/* Footer Styles */
.footer {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    text-align: center;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer h3 {
    margin-bottom: 1rem;
}

.footer p {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.disclaimer {
    font-size: 0.8rem;
    color: #ffcccc;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .player-interface {
        flex-direction: column;
    }
    
    .album-and-controls {
        max-width: 100%;
    }
    
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .control-buttons {
        gap: 1rem;
    }
    
    header {
        flex-direction: column;
        padding: 1rem 0.5rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
}