:root {
    --bg-color: #121212;
    --bg-darker: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --accent-color: #1DB954; /* Spotify Green */
    --accent-hover: #1ed760;
    --border-color: #333333;
    
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title.text-left {
    text-align: left;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
}

/* Header & Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
}

#header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('./hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(18,18,18,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #ddd;
}

.btn-spotify {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
}

.btn-spotify:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.6);
    color: #fff;
}

/* Música Section */
.featured-album {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 15px;
}

.album-cover {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    aspect-ratio: 1 / 1;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.play-overlay i {
    font-size: 4rem;
    color: var(--accent-color);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.album-cover:hover img {
    transform: scale(1.05);
}

.album-cover:hover .play-overlay {
    opacity: 1;
}

.album-cover:hover .play-overlay i {
    transform: scale(1);
}

.badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 15px;
}

.album-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.album-year {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.tracklist {
    margin-bottom: 30px;
}

.tracklist li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

.tracklist li:hover {
    color: var(--accent-color);
}

.track-num {
    color: var(--text-muted);
    width: 30px;
    font-weight: 400;
}

.track-time {
    margin-left: auto;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--text-color);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.music-card {
    text-align: center;
}

.music-cover-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.music-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cover-overlay i {
    font-size: 3rem;
    color: var(--accent-color);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.music-card:hover .music-cover-wrapper img {
    transform: scale(1.05);
}

.music-card:hover .cover-overlay {
    opacity: 1;
}

.music-card:hover .cover-overlay i {
    transform: translateY(0);
}

.music-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.music-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Conciertos Section */
.tour-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tour-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-color);
    padding: 25px 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

.tour-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-left-color: var(--accent-color);
}

.tour-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
}

.tour-date .day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
}

.tour-date .month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tour-location {
    flex-grow: 1;
    padding: 0 30px;
}

.tour-location h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.tour-location p {
    color: var(--text-muted);
    font-size: 1rem;
}

.tour-action {
    min-width: 180px;
    text-align: right;
}

.btn-ticket {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-ticket:hover:not(:disabled) {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-ticket.sold-out {
    border-color: #555;
    color: #555;
    cursor: not-allowed;
}

/* Merch Section */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.merch-card {
    background-color: var(--bg-darker);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.merch-card:hover {
    transform: translateY(-10px);
}

.merch-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.merch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.merch-card:hover .merch-img img {
    transform: scale(1.08);
}

.merch-info {
    padding: 25px;
    text-align: center;
}

.merch-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.btn-cart {
    width: 100%;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.btn-cart i {
    margin-right: 8px;
}

.btn-cart:hover {
    background-color: var(--accent-color);
}

/* Biografía Section */
.bio-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.bio-img {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 15px 15px 0px rgba(29, 185, 84, 0.2);
}

.bio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.bio-text {
    flex: 1;
}

.bio-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #ccc;
    text-align: justify;
}

/* Footer */
footer {
    background-color: #000;
    padding: 60px 0 40px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #1a1a1a;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .featured-album {
        grid-template-columns: 1fr;
    }
    
    .bio-container {
        flex-direction: column;
    }
    
    .bio-img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-darker);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    #nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .tour-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .tour-location {
        padding: 0;
    }

    .tour-action {
        text-align: center;
    }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-darker);
    border-radius: 10px;
    border: 1px dashed var(--text-muted);
}
.empty-state p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}
