/* RESPONSIVE  */

@media (min-width: 360px) and (max-width: 480px) and (min-height: 740px) and (max-height: 2500px) {
    
    body {
        padding-top: 90px;
        font-size: 16px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
        letter-spacing: 1px;
    }

    #header {
        top: 0;
        padding: 15px 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        height: 90px;
    }
    
    .header-inner {
        padding: 0 25px;
        height: 60px;
    }
    
    .logo-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo-img {
        height: 180px !important;
        width: auto;
        max-width: 200px;
        filter: brightness(0) invert(1);
        transition: all 0.3s ease;
    }
    
    .mobile-nav-toggle-label {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .mobile-nav-toggle-label div {
        height: 4px;
        margin: 4px 0;
        background: #ffffff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-overlay {
        background: rgba(0, 0, 0, 0.98);
        padding-top: 90px;
    }
    
    .mobile-nav {
        gap: 35px;
        width: 100%;
        padding: 0 30px;
    }
    
    .mobile-nav-link {
        font-size: 1.8rem;
        font-weight: 600;
        padding: 20px 0;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        letter-spacing: 2px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link:hover {
        color: #ff6b35;
        transform: translateX(10px);
    }

    #inicio {
        min-height: 100vh;
        margin-top: -90px;
        padding-top: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .video-background video {
        object-fit: cover;
        object-position: center;
    }
    
    .video-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.85) 100%
        );
    }

    .marquee-group {
        top: 18%;
        height: 100px;
        transform: none;
    }
    
    .marquee-track {
        animation: marquee-scroll-mobile 18s linear infinite;
    }
    
    .marquee-item {
        font-size: 4.5rem !important;
        font-weight: 900;
        padding: 0 25px;
        color: rgba(255, 255, 255, 0.25);
        letter-spacing: 0.3em;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    @keyframes marquee-scroll-mobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /
    .cta-buttons {
        position: absolute;
        bottom: 200px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        gap: 25px;
        width: 85%;
        max-width: 320px;
        z-index: 10;
    }
    
    .cta-button {
        padding: 22px 35px;
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: 2px;
        border: 3px solid rgba(255, 255, 255, 0.9);
        border-radius: 0;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        min-height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-button:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        color: #000;
    }
    
    .cta-button i {
        font-size: 1.5rem;
        margin-right: 15px;
    }

    .hero-social-links {
        position: absolute;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 20px;
        z-index: 10;
    }
    
    .hero-social-links .social-link {
        width: 55px;
        height: 55px;
        border: 2px solid rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
    }
    
    .hero-social-links .social-link:hover {
        transform: translateY(-5px) scale(1.1);
        background: rgba(255, 255, 255, 0.9);
        border-color: transparent;
    }
    
    .hero-social-links .social-link:hover i {
        color: #000;
    }

    #bio {
        padding: 100px 0;
    }
    
    .bio-content {
        font-size: 1.1rem;
        line-height: 1.8;
        text-align: justify;
        padding: 0 15px;
    }
    
    .bio-content p {
        margin-bottom: 25px;
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards;
    }
    
    .bio-content p:nth-child(1) { animation-delay: 0.1s; }
    .bio-content p:nth-child(2) { animation-delay: 0.2s; }
    .bio-content p:nth-child(3) { animation-delay: 0.3s; }
    .bio-content p:nth-child(4) { animation-delay: 0.4s; }

    #musica {
        padding: 100px 0;
    }
    
    .tops-container {
        flex-direction: column;
        gap: 35px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .top-card {
        width: 100%;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
        background: rgba(30, 30, 30, 0.9);
        backdrop-filter: blur(10px);
    }
    
    .top-header {
        padding: 25px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .top-header-content {
        justify-content: center;
        gap: 15px;
    }
    
    .top-header i {
        font-size: 2.2rem;
    }
    
    .top-header h3 {
        font-size: 1.6rem;
        font-weight: 700;
    }
    
    .top-list {
        padding: 10px 0;
    }
    
    .top-item {
        padding: 20px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        min-height: 80px;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .top-item:active {
        background: rgba(255, 255, 255, 0.05);
        transform: scale(0.98);
    }
    
    .rank {
        font-size: 1.8rem;
        width: 50px;
        min-width: 50px;
        margin-right: 20px;
        font-weight: 800;
    }
    
    .song-info {
        flex: 1;
    }
    
    .song-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .song-artist {
        font-size: 0.95rem;
        opacity: 0.8;
    }
    
    .play-count {
        font-size: 1rem;
        font-weight: 700;
        min-width: 70px;
        text-align: right;
    }

    #plataformas {
        padding: 100px 0;
    }
    
    #plataformas .section-title {
        font-size: 1.5rem !important;
        letter-spacing: 3px;
        margin-bottom: 50px;
    }
    
    .platforms-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
    }
    
    .platform-image-item {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        transition: all 0.4s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .platform-image-item:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .platform-logo {
        height: 80px;
        width: auto;
        max-width: 160px;
        filter: grayscale(30%) brightness(0.9);
        transition: all 0.3s ease;
    }
    
    .platform-image-item:active .platform-logo {
        filter: grayscale(0%) brightness(1.1);
        transform: scale(1.1);
    }

    footer {
        padding: 40px 20px;
        background: rgba(0, 0, 0, 0.95);
        border-top: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .social-links {
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .social-links .social-link {
        width: 55px;
        height: 55px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
        font-size: 1.3rem;
    }
    
    .social-links .social-link:active {
        transform: scale(0.9);
    }
    
    footer p {
        font-size: 0.95rem;
        opacity: 0.8;
    }

    .back-to-top-btn {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        font-size: 1.3rem;
        transition: all 0.3s ease;
    }
    
    .back-to-top-btn.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .back-to-top-btn:active {
        transform: scale(0.9);
        background: rgba(255, 255, 255, 0.25);
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .fade-in-up {
        animation: fadeInUp 0.8s ease forwards;
    }

    .top-item,
    .platform-image-item,
    .cta-button,
    .social-link {
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        user-select: none;
    }
    
    html {
        scroll-behavior: smooth;
    }
    
    input, select, textarea {
        font-size: 16px !important;
    }
}

@media (min-width: 360px) and (max-width: 480px) and (min-height: 740px) and (max-height: 2500px) and (orientation: landscape) {
    #inicio {
        min-height: 120vh;
    }
    
    .marquee-group {
        top: 12%;
    }
    
    .cta-buttons {
        bottom: 150px;
        flex-direction: row;
        max-width: 400px;
    }
    
    .hero-social-links {
        bottom: 40px;
    }
    
    .platforms-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 600px;
    }
}

@media (prefers-contrast: high) {
    .nav-link,
    .mobile-nav-link,
    .cta-button {
        border-width: 3px;
    }
    
    .section-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
    
    .cta-button:hover,
    .social-link:hover,
    .platform-image-item:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    #header {
        top: 0;
        padding: 10px 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .header-inner {
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .logo-wrapper {
        position: static;
        transform: none;
        margin: 0 auto;
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .logo-img {
        height: 120px !important;
        width: auto;
        margin-top: 0;
        filter: brightness(0) invert(1);
    }
    
    .mobile-nav-toggle-label {
        display: flex;
        order: 1;
        position: static;
        transform: none;
        margin-right: 15px;
    }
    
    .mobile-nav-overlay {
        background: rgba(0, 0, 0, 0.98);
    }
    
    .mobile-nav {
        gap: 25px;
        width: 100%;
        padding: 0 20px;
    }
    
    .mobile-nav-link {
        font-size: 1.3rem;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    #inicio {
        min-height: 100vh;
        margin-top: -80px;
        padding-top: 80px;
    }
    
    .marquee-group {
        top: 15%;
        height: 80px;
    }
    
    .marquee-item {
        font-size: 3rem !important;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        position: absolute;
        bottom: 120px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        gap: 20px;
        width: 90%;
        max-width: 280px;
    }
    
    .cta-button {
        padding: 15px 25px;
        min-width: auto;
        width: 100%;
        font-size: 1rem;
        margin: 0;
    }
    
    .hero-social-links {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 15px;
        width: auto;
    }
    
    .hero-social-links .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .bio-content {
        font-size: 1rem;
        text-align: left;
        padding: 0 10px;
    }
    
    .bio-content p {
        margin-bottom: 15px;
    }


    .tops-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .top-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .top-header {
        padding: 15px;
    }
    
    .top-header h3 {
        font-size: 1.4rem;
    }
    
    .top-item {
        padding: 12px 15px;
    }
    
    .song-title {
        font-size: 0.9rem;
    }
    
    .song-artist {
        font-size: 0.8rem;
    }
    
    .play-count {
        font-size: 0.8rem;
        min-width: 50px;
    }

    .platforms-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .platform-image-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .platform-logo {
        height: 70px;
        width: auto;
        max-width: 140px;
    }

    footer {
        padding: 30px 20px;
    }
    
    .social-links {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .social-links .social-link {
        width: 40px;
        height: 40px;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-left {
        margin-right: 80px;
    }
    
    .nav-right {
        margin-left: 80px;
    }
    
    .logo-img {
        height: 300px;
    }
    
    .marquee-item {
        font-size: 5rem;
    }
    
    .platforms-images {
        gap: 40px;
    }
    
    .platform-logo {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .marquee-item {
        font-size: 2.5rem !important;
    }
    
    .cta-buttons {
        bottom: 110px;
        max-width: 250px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-social-links {
        bottom: 30px;
        gap: 12px;
    }
    
    .hero-social-links .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .platforms-images {
        gap: 20px;
        max-width: 350px;
    }
    
    .platform-logo {
        height: 60px;
    }
    
    .top-header h3 {
        font-size: 1.3rem;
    }
    
    .top-header i {
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .marquee-item {
        font-size: 2rem !important;
    }
    
    .cta-buttons {
        bottom: 100px;
        max-width: 220px;
    }
    
    .hero-social-links {
        bottom: 25px;
        gap: 10px;
    }
    
    .hero-social-links .social-link {
        width: 35px;
        height: 35px;
    }
    
    .platforms-images {
        gap: 15px;
        max-width: 300px;
    }
    
    .platform-logo {
        height: 50px;
    }
}

@media (max-height: 600px) and (max-width: 768px) {
    #inicio {
        min-height: 120vh;
    }
    
    .marquee-group {
        top: 10%;
    }
    
    .cta-buttons {
        bottom: 100px;
    }
    
    .hero-social-links {
        bottom: 30px;
    }
}

@media (max-width: 768px) {
    .top-item {
        padding: 15px;
        min-height: 60px;
    }
    
    .cta-button, 
    .social-link, 
    .platform-image-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    

    .nav-link,
    .mobile-nav-link,
    .cta-button {
        letter-spacing: 1px;
    }
}