body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #0e0e0e;
    color: white;
    scroll-behavior: smooth;
}

.hero {
    background: url('img/G&Ps.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-top: 0;
}

.hero h1 {
    font-size: 4em;
    margin: 0;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    padding: 5px 10px;
}

nav a:hover {
    color: #00ff88;
}

.header-auth {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 15px;
}

.auth-btn {
    display: inline-block;
    background-color: #00ff88;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    border: 1px solid #00ff88;
}

.auth-btn:hover {
    background-color: #00e07a;
    color: #fff;
    border-color: #00e07a;
}

.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-icon {
    font-size: 2.5em;
    color: #00ff88;
    cursor: pointer;
    transition: color 0.3s ease;
}

.user-icon:hover {
    color: #00e07a;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a1a1a;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1001;
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
    border: 1px solid #00ff88;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown .welcome-message {
    color: #f0f0f0;
    padding: 8px 15px;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    border-bottom: 1px solid #333;
}

.user-dropdown .dropdown-item {
    color: white;
    padding: 12px 15px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.user-dropdown .dropdown-item:hover {
    background-color: #00ff88;
    color: #111;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

.section.light {
    background-color: #1e1e1e;
    color: white;
}

.section.dark {
    background-color: #111;
    color: white;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff88;
}

.section h4 {
    color: #00ff88;
}

.section p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

#muestras {
    background-color: #1e1e1e;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.galeria {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.muestra {
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 250px;
}

.muestra:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.muestra img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.muestra .info {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    box-sizing: border-box;
}

.muestra p {
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    color: white;
    font-size: 1.1em;
    text-overflow: ellipsis;
    overflow: hidden;
}

.muestra .icono {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 255, 136, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/play.svg');
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.muestra:hover .icono {
    opacity: 1;
    pointer-events: all;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    overflow: hidden;
    padding: 0 50px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: auto;
    position: relative;
}

.carousel-page {
    min-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

.carousel-page.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.carousel-button {
    background-color: rgba(0, 255, 136, 0.7);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-button:hover {
    background-color: #00ff88;
}

#plataformas-musicales {
    background-color: #1e1e1e;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

#plataformas-musicales h2 {
    color: #00ff88;
}

#plataformas-musicales p {
    margin-bottom: 30px;
}

.platform-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.music-platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #00ff88;
    color: #111;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
    border: none;
    cursor: pointer;
}

.music-platform-btn:hover {
    background-color: #00e07a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
}

.music-platform-btn i {
    font-size: 1.2em;
}

.footer {
    background-color: #000;
    padding: 30px 10px;
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
}

.footer a {
    color: #00ff88;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.section ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 700px;
    text-align: left;
}

.section ul li {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #f0f0f0;
}

.section ul li:before {
    content: '•';
    color: #00ff88;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

.section p strong {
    color: #00ff88;
}

.unlocked-content-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.access-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.access-button i {
    font-size: 1.3em;
}

.access-button.unlocked {
    background-color: #00ff88;
    color: #111;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.access-button.unlocked:hover {
    background-color: #00e07a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
}

.access-button.locked {
    background-color: #555;
    color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.access-button.locked:hover {
    transform: none;
    box-shadow: none;
}

.access-hint {
    color: #f0f0f0;
    font-size: 0.95em;
    margin-top: 5px;
}

.full-songs-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #111;
    min-height: 100vh;
}

.full-songs-section h2 {
    color: #00ff88;
    font-size: 2.8em;
    margin-bottom: 40px;
}

.full-songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.full-song-item {
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 250px;
}

.full-song-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.full-song-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.full-song-item .info {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    box-sizing: border-box;
}

.full-song-item p {
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    color: white;
    font-size: 1.1em;
    text-overflow: ellipsis;
    overflow: hidden;
}

.full-song-item .icono {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 255, 136, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/play.svg');
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.full-song-item:hover .icono {
    opacity: 1;
    pointer-events: all;
}

.back-button {
    display: inline-block;
    margin-top: 50px;
    background-color: #00ff88;
    color: #111;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.back-button:hover {
    background-color: #00e07a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8em;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-auth {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-bottom: 20px;
        gap: 10px;
        width: auto;
        top: auto;
        right: auto;
    }

    .hero-content {
        margin-top: 0;
    }

    .carousel-container .carousel-page .muestra {
        width: 100%;
        max-width: 250px;
        height: auto;
    }

    .carousel-container {
        padding: 0 10px;
        flex-direction: column;
    }

    .carousel-wrapper {
        width: 100%;
    }

    .carousel-page {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .carousel-button {
        margin: 15px auto;
        position: static;
        transform: none;
    }

    .user-menu-container {
        width: 100%;
        text-align: right;
        margin-top: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .user-dropdown {
        left: auto;
        right: 10px;
        min-width: unset;
        width: calc(100% - 20px);
    }

    .full-songs-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .full-song-item {
        max-width: 220px;
        width: 180px;
        height: 210px;
    }

    .full-song-item img {
        height: 160px;
    }

    .full-songs-section h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .section {
        padding: 40px 15px;
    }

    .auth-btn {
        padding: 6px 12px;
        font-size: 0.9em;
    }

    .music-platform-btn {
        padding: 12px 20px;
        font-size: 1em;
    }

    .carousel-container .carousel-page .muestra {
        width: 150px;
        height: auto;
    }

    .carousel-container .carousel-page .muestra img {
        height: 150px;
    }

    .muestra .icono {
        width: 50px;
        height: 50px;
        background-size: 35%;
    }

    .full-songs-section {
        padding: 50px 15px;
    }

    .full-songs-grid {
        grid-template-columns: 1fr;
    }

    .full-song-item {
        width: 90%;
        max-width: 300px;
        height: auto;
    }

    .full-song-item img {
        height: 200px;
    }

    .full-song-item .icono {
        width: 50px;
        height: 50px;
        background-size: 35%;
    }
}


