* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Arial', sans-serif;
}

.section-title h2,
.hero-content h1,
.member-info h3,
.album-info h3,
.merch-info h3,
.song-title h3 {
    font-family: 'Poppins', sans-serif;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

nav ul li a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: linear-gradient(135deg, #ff9ec0, #ff6b9c);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/gallery/photo1.jpg') center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: #ff6b9c;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #ff6b9c;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#historia {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
    padding: 80px 0;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 55px -12px rgba(0, 0, 0, 0.2);
}

.history-text {
    padding: 40px 30px 40px 40px;
}

.history-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #2d2d2d;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.history-text p:first-of-type::first-letter {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff6b8b;
    margin-right: 5px;
}

.history-image {
    height: 100%;
    overflow: hidden;
    border-radius: 0 32px 32px 0;
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.history-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .history-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .history-text {
        padding: 30px 25px;
        order: 1;
    }
    .history-image {
        border-radius: 32px 32px 0 0;
        max-height: 280px;
        order: 0;
    }
    .history-image img {
        border-radius: 32px 32px 0 0;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.member-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.member-card:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 10px;
    color: #ff6b9c;
}

.discography {
    background-color: #f0f0f0;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.album-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.album-card:hover {
    transform: scale(1.05);
}

.album-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-info {
    padding: 15px;
    text-align: center;
}

.album-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.album-info p {
    font-size: 14px;
    color: #666;
}

.songs-list {
    max-width: 800px;
    margin: 0 auto;
}

.song-item {
    background-color: white !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.song-title {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.song-title h3 {
    color: #ff6b9c !important;
    margin-right: 15px !important;
    transition: color 0.3s ease !important;
}

.song-album {
    background-color: #ff6b9c !important;
    color: white !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
}

.song-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 156, 0.3) !important;
    border-color: #ff6b9c !important;
    background-color: #fff9fb !important;
}

.song-item:hover .song-title h3 {
    color: #ff4081 !important;
}

.song-item:hover .song-album {
    background-color: #ff4081 !important;
    transform: scale(1.05) !important;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.merch-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.merch-item:hover {
    transform: translateY(-5px);
}

.merch-image {
    height: 250px;
    overflow: hidden;
}

.merch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.merch-info {
    padding: 20px;
    text-align: center;
}

.merch-info h3 {
    margin-bottom: 10px;
}

.merch-price {
    font-weight: bold;
    color: #ff6b9c;
    font-size: 18px;
    margin-bottom: 15px;
}

.buy-btn {
    background-color: #ff6b9c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-btn:hover {
    background-color: #e55a8a;
}

.gallery {
    background-color: #f0f0f0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ff6b9c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b9c;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #ff6b9c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.section-title h2 {
    background: linear-gradient(45deg, #ff6b9c, #ff9ec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 5px rgba(255, 107, 156, 0.5)); }
    to { filter: drop-shadow(0 0 15px rgba(255, 107, 156, 0.8)); }
}

.hero-content h1 {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    animation: typing 3s steps(20), blink-caret 0.8s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white }
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .member-card,
body.dark-mode .album-card,
body.dark-mode .merch-item,
body.dark-mode .song-item {
    background-color: #2d2d2d;
    color: #ffffff;
}

body.dark-mode .discography,
body.dark-mode .gallery {
    background-color: #252525;
}

.fan-counter {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

#fan-count {
    font-size: 24px;
    font-weight: bold;
    color: #ffeb3b;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9c, #ff9ec0);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(255, 107, 156, 0.4);
}

.back-to-top img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    background: #e55a8a;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 156, 0.6);
}

.spotify-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #1DB954;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.spotify-link:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .history-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.member-image img,
.album-cover img,
.merch-image img,
.gallery-item img,
.buy-btn,
.section-title h2 {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-card:hover .member-image img {
    animation: member-glitch-smooth 1.2s ease;
    transform: scale(1.03);
}

@keyframes member-glitch-smooth {
    0%, 100% {
        filter: brightness(1) saturate(1) hue-rotate(0deg);
        transform: scale(1.03);
    }
    25% {
        filter: brightness(1.1) saturate(1.2) hue-rotate(10deg);
        transform: scale(1.035) translateX(-1px);
    }
    50% {
        filter: brightness(1.05) saturate(1.1) hue-rotate(-5deg);
        transform: scale(1.03) translateY(1px);
    }
    75% {
        filter: brightness(1.08) saturate(1.15) hue-rotate(5deg);
        transform: scale(1.035) translateX(1px);
    }
}

.album-card:hover .album-cover img {
    animation: album-glitch-smooth 1.5s ease;
}

@keyframes album-glitch-smooth {
    0%, 100% {
        filter: contrast(1) brightness(1) hue-rotate(0deg);
        transform: scale(1.05);
    }
    33% {
        filter: contrast(1.1) brightness(1.05) hue-rotate(15deg);
        transform: scale(1.06) rotate(0.5deg);
    }
    66% {
        filter: contrast(1.05) brightness(1.03) hue-rotate(-8deg);
        transform: scale(1.055) rotate(-0.3deg);
    }
}

.merch-item:hover .merch-image img {
    animation: merch-glitch-smooth 1.3s ease;
}

@keyframes merch-glitch-smooth {
    0%, 100% {
        filter: sepia(0) saturate(1);
        transform: scale(1.02);
    }
    40% {
        filter: sepia(0.1) saturate(1.1);
        transform: scale(1.025) translateY(-2px);
    }
    80% {
        filter: sepia(0.05) saturate(1.05);
        transform: scale(1.022) translateY(1px);
    }
}

.gallery-item:hover img {
    animation: gallery-glitch-smooth 1.4s ease;
}

@keyframes gallery-glitch-smooth {
    0%, 100% {
        filter: brightness(1) contrast(1);
        transform: scale(1.05);
    }
    25% {
        filter: brightness(1.07) contrast(1.05);
        transform: scale(1.055) translateX(-1px);
    }
    50% {
        filter: brightness(1.04) contrast(1.03);
        transform: scale(1.052) translateY(1px);
    }
    75% {
        filter: brightness(1.06) contrast(1.04);
        transform: scale(1.055) translateX(1px);
    }
}

.section-title h2:hover {
    animation: title-glitch-smooth 2s ease-in-out;
}

@keyframes title-glitch-smooth {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 107, 156, 0.3), 0 0 10px rgba(255, 107, 156, 0.2);
        background-position: 0% 50%;
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 107, 156, 0.5), 0 0 15px rgba(255, 107, 156, 0.3), 0 0 20px rgba(255, 107, 156, 0.1);
        background-position: 100% 50%;
    }
}

.buy-btn:hover {
    animation: button-glitch-smooth 1.8s ease;
}

@keyframes button-glitch-smooth {
    0%, 100% {
        background-color: #ff6b9c;
        transform: translateY(0);
        box-shadow: 0 4px 8px rgba(255, 107, 156, 0.3);
    }
    33% {
        background-color: #ff8ab3;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(255, 107, 156, 0.4);
    }
    66% {
        background-color: #ff9ec0;
        transform: translateY(-1px);
        box-shadow: 0 5px 10px rgba(255, 107, 156, 0.35);
    }
}

.history-image:hover img {
    animation: history-glow-smooth 2s ease-in-out;
}

@keyframes history-glow-smooth {
    0%, 100% {
        filter: brightness(1) saturate(1);
        transform: scale(1.01);
    }
    50% {
        filter: brightness(1.08) saturate(1.05);
        transform: scale(1.015);
    }
}

.logo:hover span {
    animation: logo-pulse-smooth 3s ease-in-out infinite;
}

@keyframes logo-pulse-smooth {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.spotify-link:hover {
    animation: spotify-glitch-smooth 1.6s ease;
}

@keyframes spotify-glitch-smooth {
    0%, 100% {
        transform: scale(1.1);
        background-color: #1DB954;
    }
    33% {
        transform: scale(1.15) rotate(5deg);
        background-color: #1ed760;
    }
    66% {
        transform: scale(1.12) rotate(-3deg);
        background-color: #1ce25c;
    }
}

.member-card:hover,
.album-card:hover,
.merch-item:hover {
    animation: float-card-smooth 3s ease-in-out infinite;
}

@keyframes float-card-smooth {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
}

.hero:hover {
    animation: hero-color-shift-smooth 4s ease-in-out infinite;
}

@keyframes hero-color-shift-smooth {
    0%, 100% {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/gallery/photo1.jpg') center/cover no-repeat;
    }
    50% {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/gallery/photo1.jpg') center/cover no-repeat;
    }
}

nav ul li a:hover {
    animation: nav-link-glow-smooth 1.5s ease;
}

@keyframes nav-link-glow-smooth {
    0%, 100% {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
    }
    50% {
        background-color: rgba(255, 255, 255, 0.3);
        color: #ffe6ee;
    }
}

.fan-counter:hover {
    animation: counter-breathe-smooth 3s ease-in-out infinite;
}

@keyframes counter-breathe-smooth {
    0%, 100% {
        transform: scale(1);
        background: rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.02);
        background: rgba(255, 255, 255, 0.25);
    }
}

.theme-toggle:hover {
    animation: theme-toggle-glitch-smooth 2s ease;
}

@keyframes theme-toggle-glitch-smooth {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        background: rgba(255, 255, 255, 0.2);
    }
    33% {
        transform: rotate(5deg) scale(1.1);
        background: rgba(255, 255, 255, 0.25);
    }
    66% {
        transform: rotate(-3deg) scale(1.05);
        background: rgba(255, 255, 255, 0.23);
    }
}

.back-to-top:hover {
    animation: back-to-top-wave-smooth 2s ease-in-out infinite;
}

@keyframes back-to-top-wave-smooth {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 5px 15px rgba(255, 107, 156, 0.4);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        box-shadow: 0 8px 25px rgba(255, 107, 156, 0.6);
    }
}

.member-card,
.album-card,
.merch-item,
.gallery-item {
    overflow: hidden;
}

.member-card img,
.album-card img,
.merch-item img,
.gallery-item img {
    transition: transform 0.8s ease, filter 0.8s ease;
}

.discography,
.gallery {
    background: linear-gradient(-45deg, #f0f0f0, #f8f8f8, #f0f0f0, #f5f5f5);
    background-size: 400% 400%;
    animation: gradient-bg-smooth 15s ease infinite;
}

@keyframes gradient-bg-smooth {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body.dark-mode .discography,
body.dark-mode .gallery {
    background: linear-gradient(-45deg, #252525, #2a2a2a, #252525, #272727);
    background-size: 400% 400%;
    animation: gradient-bg-smooth 15s ease infinite;
}

.member-card,
.album-card,
.merch-item {
    position: relative;
}

.member-card::after,
.album-card::after,
.merch-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b9c, #ff9ec0, #ff6b9c);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.member-card:hover::after,
.album-card:hover::after,
.merch-item:hover::after {
    opacity: 0.3;
    animation: border-glow-smooth 2s ease-in-out infinite;
}

@keyframes border-glow-smooth {
    0%, 100% {
        opacity: 0.3;
        filter: blur(2px);
    }
    50% {
        opacity: 0.5;
        filter: blur(1px);
    }
}

.member-info h3,
.album-info h3,
.merch-info h3,
.song-title h3,
.logo span,
.section-title h2,
footer h3 {
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

.member-info h3:hover,
.album-info h3:hover,
.merch-info h3:hover {
    color: #ff8ab3;
    text-shadow: 0 0 8px rgba(255, 138, 179, 0.3);
}



<!--NUEVO-->

/* ========== ANIMACIONES DE SCROLL ========== */
/* Estado inicial: oculto y desplazado */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible cuando entra en pantalla */
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes de animación (opcionales) */
.scroll-animate.fade-left {
    transform: translateX(-30px);
}
.scroll-animate.fade-left.visible {
    transform: translateX(0);
}

.scroll-animate.fade-right {
    transform: translateX(30px);
}
.scroll-animate.fade-right.visible {
    transform: translateX(0);
}

.scroll-animate.scale-up {
    transform: scale(0.9);
}
.scroll-animate.scale-up.visible {
    transform: scale(1);
}

/* Retrasos para efectos en cascada */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }