/* ===== HERO SECTION COOKIES ===== */
.lp-cookies-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    min-height: 60vh !important;
}

.lp-cookies-background-parallax {
    transform: translateZ(0);
    will-change: transform;
}

.lp-cookies-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.6;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.lp-cookies-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.3) 100%);
}

.lp-cookies-hero:hover .lp-cookies-background-image {
    transform: scale(1.05);
}

.lp-cookies-badge .badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.lp-cookies-title {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.lp-text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-cookies-subtitle {
    font-weight: 300;
    opacity: 0.9;
}

/* ===== SECCIONES GENERALES ===== */
.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lp-section-header {
    margin-bottom: 5rem;
}

.lp-section-pre-title {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.lp-section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ===== SECCIÓN INTRODUCCIÓN ===== */
.lp-cookies-intro {
    background: var(--dark-bg);
}

.lp-cookies-content p {
    color: #495057;
    margin-bottom: 1.5rem;
}

/* ===== SECCIÓN DEFINICIÓN ===== */
.lp-cookies-definition {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
}

.lp-cookies-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-cookies-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}

.lp-cookie-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatCookie 6s ease-in-out infinite;
}

@keyframes floatCookie {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -55%) rotate(10deg);
    }
}

.lp-cookie-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

.lp-info-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow-light);
}

.lp-info-card span {
    color: #2c2c2c;
    font-weight: 500;
}

/* ===== SECCIÓN TIPOS DE COOKIES ===== */
.lp-cookies-types {
    background: var(--dark-bg);
}

.lp-cookie-type-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.lp-cookie-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.lp-type-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.lp-type-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.lp-type-icon i {
    font-size: 1.8rem;
    color: var(--gold);
}

.lp-type-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0;
}

.lp-type-desc {
    color: #495057;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.lp-type-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-type-features li {
    color: #495057;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

/* ===== SECCIÓN USO DE COOKIES ===== */
.lp-cookies-usage {
    background: var(--primary-dark);
}

.lp-usage-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lp-usage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(212, 175, 55, 0.2);
}

.lp-usage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.lp-usage-card:hover .lp-usage-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    transform: scale(1.1);
}

.lp-usage-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.lp-usage-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.lp-usage-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== SECCIÓN CONFIGURACIÓN ===== */
.lp-cookies-configuration {
    background: var(--dark-bg);
}

.lp-config-content {
    padding-right: 2rem;
}

.lp-browser-links {
    margin-top: 2rem;
}

.lp-browser-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.lp-browser-link:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.lp-browser-link i {
    color: var(--gold);
}

.lp-browser-link h5 {
    color: #2c2c2c;
    margin-bottom: 0.25rem;
}

.lp-browser-link span {
    color: #6c757d;
    font-size: 0.9rem;
}

.lp-config-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-settings-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}

.lp-setting-card {
    position: absolute;
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    width: 160px;
    height: 160px;
    text-align: center;
}

.lp-setting-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: floatSetting 6s ease-in-out infinite;
}

.lp-setting-card:nth-child(2) {
    top: 50%;
    right: 15%;
    animation: floatSetting 6s ease-in-out infinite 2s;
}

.lp-setting-card:nth-child(3) {
    bottom: 20%;
    left: 25%;
    animation: floatSetting 6s ease-in-out infinite 4s;
}

@keyframes floatSetting {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.lp-setting-card h4 {
    margin-top: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.lp-setting-card:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

/* ===== SECCIÓN DERECHOS ===== */
.lp-cookies-rights {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
}

.lp-right-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.lp-right-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: rgba(212, 175, 55, 0.2);
}

.lp-right-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.lp-right-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.lp-right-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.lp-right-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== CTA COOKIES ===== */
.lp-cookies-cta {
    background: var(--dark-bg);
}

.lp-cta-cookies-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.lp-cta-cookies-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%, rgba(212, 175, 55, 0.05) 100%);
    z-index: 1;
}

.lp-cta-cookies-card .row {
    position: relative;
    z-index: 2;
}

.lp-cta-cookies-card h2 {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-cta-cookies-card p {
    color: #6c757d;
}

/* ===== BOTONES ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--primary-dark);
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-gold:hover::after {
    left: 100%;
}

/* ===== DEGRADADOS ANIMADOS OPTIMIZADOS ===== */
.lp-gradient-bg-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%) !important;
    position: relative;
    overflow: hidden;
}

.lp-gradient-bg-dark::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(212, 186, 60, 0.03) 50%,
            transparent 100%);
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Efectos de partículas optimizados */
.lp-dark-particles {
    position: relative;
    overflow: hidden;
}

.lp-dark-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(212, 186, 60, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(212, 186, 60, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 40% 40%, rgba(212, 186, 60, 0.05) 0%, transparent 30%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-10px) rotate(120deg) scale(1.05);
    }

    66% {
        transform: translateY(5px) rotate(240deg) scale(0.95);
    }
}

/* ===== TARJETAS CON DEGRADADO ANIMADO OPTIMIZADO ===== */
.lp-gradient-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.lp-gradient-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent,
            rgba(212, 186, 60, 0.1),
            rgba(212, 186, 60, 0.05),
            transparent,
            transparent,
            rgba(212, 186, 60, 0.02),
            transparent);
    animation: rotateGradient 8s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.lp-gradient-card>* {
    position: relative;
    z-index: 2;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .lp-cookies-title {
        font-size: 2.5rem;
    }

    .lp-config-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .lp-cookies-visual {
        height: 300px;
    }

    .lp-config-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .lp-cookies-title {
        font-size: 2rem;
    }

    .lp-section-title {
        font-size: 2.5rem;
    }

    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .lp-cookie-element {
        width: 150px;
        height: 150px;
    }

    .lp-setting-card {
        width: 140px;
        height: 140px;
        padding: 1.5rem;
    }

    .lp-setting-card i {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .lp-cookies-title {
        font-size: 1.8rem;
    }

    .lp-section-title {
        font-size: 2rem;
    }

    .lp-cookie-type-card {
        padding: 2rem 1.5rem;
    }

    .lp-type-header {
        flex-direction: column;
        text-align: center;
    }

    .lp-type-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .lp-browser-link {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .lp-browser-link i {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .lp-right-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== MEJORAS DE RENDIMIENTO ===== */
@media (prefers-reduced-motion: reduce) {

    .lp-gradient-bg-dark::after,
    .lp-dark-particles::before,
    .lp-gradient-card::before {
        animation: none !important;
        transition: none !important;
    }
}