/* ========== 1. HERO (INICIO) ========== */
#inicio {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(215, 38, 61, 0.18) 0%, transparent 60%), #000000;
    padding: 6rem 0 4rem;
}

.hero-container {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.hero-phrase {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #dcdfe8;
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.05em;
    border-left: 4px solid var(--accent-red);
    padding-left: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-actions .btn-primary {
    background: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(215, 38, 61, 0.4);
}

.hero-actions .btn-primary:hover {
    background: #ff2e4d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(215, 38, 61, 0.6);
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
    overflow: hidden;
}

.hero-img-biker {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0.40;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.95));
    animation: bikerFloat 6s ease-in-out infinite;
    transform-origin: right bottom;
}

@keyframes bikerFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.02);
    }
}

/* ========== 2. TARJETAS NOVEDADES + MERCH 314MC ========== */
.section-inicio-cards {
    background: var(--bg-alt);
    padding: 5rem 0;
    position: relative;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 950px;
    margin: 0 auto;
}

.modern-card {
    background: rgba(19, 23, 34, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.5rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card-novedades::before {
    background-image: url('../../assets/img/romeral-2024.webp');
}

.card-merch::before {
    background-image: url('../../assets/img/knight-314.webp');
}

.card-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(19, 23, 34, 0.7) 0%, rgba(19, 23, 34, 0.95) 100%);
    z-index: 1;
}

.modern-card .card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.modern-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 3px solid var(--accent-red);
    padding-bottom: 0.5rem;
    display: inline-block;
    align-self: flex-start;
}

.modern-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.btn-card {
    align-self: flex-start;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--accent-red);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(215, 38, 61, 0.2);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(215, 38, 61, 0.25);
    border-color: rgba(215, 38, 61, 0.5);
}

.modern-card:hover::before {
    opacity: 0.3;
}

.modern-card:hover .btn-card {
    background: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(215, 38, 61, 0.5);
}

/* ========== 3. AVENTURAS EN EL INICIO ========== */
.section-inicio-aventuras {
    background: var(--bg-main);
    padding: 0;
}

.aventuras-cover {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.aventuras-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.aventuras-bg-slider .bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 6s ease-in-out;
    transform: scale(1.05);
}

.aventuras-bg-slider .bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

.aventuras-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(5, 6, 10, 0.9) 0%, rgba(5, 6, 10, 0.6) 50%, rgba(5, 6, 10, 0.9) 100%);
    z-index: 1;
}

.aventuras-cover-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.aventuras-cover-content h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.aventuras-cover-content p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #e0e3f0;
    margin-bottom: 2.5rem;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.aventuras-cover-content .btn-primary {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    background: var(--accent-red);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(215, 38, 61, 0.4);
    display: inline-block;
}

.aventuras-cover-content .btn-primary:hover {
    background: #ff2e4d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(215, 38, 61, 0.6);
}

/* Responsive Ajustes */
@media (max-width: 992px) {
    .hero-container {
        min-height: 75vh;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-bottom: 2rem;
        text-align: left;
    }

    .hero-content {
        max-width: 100%;
        position: relative;
        z-index: 10;
    }

    .hero-content h1 {
        font-size: 3.2rem;
        text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    }

    .hero-phrase {
        border-left: 3px solid var(--accent-red);
        padding-left: 1rem;
        border-bottom: none;
        padding-bottom: 0;
        display: block;
        font-size: 1.3rem;
    }

    .hero-actions {
        justify-content: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual {
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .hero-img-biker {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: right center;
        opacity: 0.55;
        mask-image: linear-gradient(to top, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 80%);
        -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 80%);
    }

    .modern-card h3 {
        align-self: flex-start;
    }

    .btn-card {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .cards-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        scrollbar-width: none; 
        
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        scroll-padding-left: 1.5rem;
    }
    
    .cards-container::-webkit-scrollbar {
        display: none;
    }

    .modern-card {
        width: calc(100vw - 3rem);
        min-width: calc(100vw - 3rem);
        scroll-snap-align: center;
        flex-shrink: 0;
        padding: 2.5rem 1.5rem;
    }

    .aventuras-cover {
        min-height: 450px;
    }
}