:root {
    --primary: #FF4D4D;
    --primary-hover: #E53E3E;
    --secondary: #FF6B35;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #FF4D4D 0%, #FF6B35 100%);
    --shadow: 0 4px 15px rgba(255, 77, 77, 0.2);
    --glass: rgba(255, 107, 53, 0.05);
    --text-dark: #cccccc;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    cursor: url('../images/cursor.svg'), auto;
    background: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* Configuración de las partículas */
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: moveParticles 5s infinite;
    opacity: 0.6;
}

.scroll-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Animación para las partículas */
@keyframes moveParticles {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(100vw - 50px), calc(100vh - 50px), 0);
    }
}

/* Poner el contenedor de las partículas */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Para que las partículas no interfieran con el clic en otros elementos */
}


/* Separador visual entre botones */
.nav-links .nav-button + .nav-button {
    margin-left: 0.2rem;
}



/* Hero Section */
.hero-banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, 
        rgba(255, 77, 77, 0.1) 0%, 
        rgba(26, 26, 26, 1) 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(255, 77, 77, 0.3);
    line-height: 1.25; /* Aumenta el alto de línea para evitar recorte de letras */
    padding-bottom: 1.5rem; /* Espacio extra debajo del título */
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    margin-top: 2.5rem;
}

/* Animaciones */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    animation: fade-in 1s ease-out forwards;
}

.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sección Sobre Nosotros */
.about-section {
    padding: 8rem 0;
    background: rgba(40, 40, 40, 0.3);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.highlight-text {
    color: var(--light);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.highlight-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.1);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Sección Beneficios */
/* Sección Sobre Nosotros (Modificada) */
.about-section {
    padding: 8rem 0;
    background: rgba(40, 40, 40, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Mayor espacio para el texto */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-description {
    margin-top: 2rem;
    padding-right: 30px;
}

.benefits-list {
    margin-top: 1.5rem;
    list-style: none;
}

.benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sección Sobre Nosotros - Ajuste específico */
.about-text {
    padding-left: 40px; /* Desplazamiento suave a la derecha */
    margin-left: 20px;  /* Espacio adicional opcional */
}


.about-image {
    order: 1; /* Mueve la imagen a la izquierda */
}

.highlight-text::before {
    left: auto;
    right: 0; /* Barra decorativa a la derecha */
}

/* Tarjetas de Beneficios Mejoradas */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.benefit-card {
    background: rgba(30, 30, 30, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 77, 77, 0.1),
        transparent
    );
    animation: rotate 8s linear infinite;
    z-index: 0;
}

.benefit-content {
    position: relative;
    z-index: 1;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.benefit-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Ajustes Responsivos */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        text-align: center;
        padding-left: 0;
        order: 1;
    }
    
    .about-image {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 700px) {
    /* Sección de reportes */
    .report-container {
        flex-direction: column !important;
        align-items: center !important;
        padding: 1rem 0.5rem !important;
        gap: 1.5rem !important;
    }
    .report-gif, .report-text {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    .report-gif img {
        width: 80vw !important;
        max-width: 220px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .report-title {
        font-size: 1.3rem !important;
    }
    .report-paragraph {
        font-size: 1rem !important;
    }

    /* Sección de redes sociales */
    .social-container {
        flex-direction: column-reverse !important;
        align-items: center !important;
        padding: 1rem 0.5rem !important;
        gap: 1.5rem !important;
    }
    .social-text, .social-image {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    .social-image img {
        width: 80vw !important;
        max-width: 220px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .social-title {
        font-size: 1.3rem !important;
    }
    .social-paragraph {
        font-size: 1rem !important;
    }
    .social-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    .social-button {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        font-size: 1.1rem !important;
    }
}


/* YOUTUBE */
/* Estilo para la sección del canal de YouTube */
.youtube-channel-section {
    background-color: #a71c1c63; /* Color de fondo de YouTube */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.youtube-channel-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.youtube-channel-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.youtube-channel-section .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #a71c1c63; /* Rojo de YouTube */
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.youtube-channel-section .cta-button:hover {
    background-color: #e60000b6; /* Un tono más oscuro de rojo para hover */
}

.youtube-channel-section .youtube-logo {
    width: 40px; /* Tamaño del logo */
    height: 40px;
    margin-right: 10px; /* Espacio entre el logo y el texto */
}


/* DISCORD */

/* Estilo para la sección de Discord */
.discord-server-section {
    background-color: #7289da8f; /* Color de fondo de Discord */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.discord-server-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.discord-server-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.discord-server-section .cta-button {
    background-color: #5865f29c; /* Color azul de Discord */
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.discord-server-section .cta-button:hover {
    background-color: #4e58e656; /* Un tono más oscuro de azul para hover */
}

.discord-server-section .discord-logo {
    margin-top: 20px;
}

.discord-server-section .discord-logo img {
    width: 80px;
    height: 80px;
    margin-top: 10px;
    border-radius: 50%;
}

/* Botones de inicio y reinicio */
#start-button,
#restart-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    background-color: #4caf50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
}

#restart-button {
    font-size: 24px;
    background-color: #f44336;
}

#start-button:hover,
#restart-button:hover {
    background-color: #45a049;
}

#restart-button:hover {
    background-color: #d32f2f;
}

/* Obstáculo */
#obstacle {
    position: absolute;
    bottom: 20px;
    right: -50px;
    width: 50px; /* Ajusta el tamaño según sea necesario */
    height: 50px;
    overflow: hidden;
}

.obstacle-svg {
    width: 100%;
    height: 100%;
    animation: rotateObstacle 2s linear infinite; /* Animación opcional */
}

/* Animación de rotación */
@keyframes rotateObstacle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animación de movimiento del obstáculo */
@keyframes moveObstacle {
    0% {
        right: -50px;
    }
    100% {
        right: 100%;
    }
}

#obstacle.moving {
    animation: moveObstacle 2s linear infinite;
}



/* Estilo para el GIF grande */


/* Sección de reportes */
.report-section {
    border-top: #ff0000 solid 1px; /* Borde rojo para la sección de reportes */
    border-bottom: #ff0000 solid 1px; /* Borde rojo para la sección de reportes */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #fff;
}

.report-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
}

/* GIF a la izquierda */
.report-gif {
    margin-top: 4%;
    margin-right: 3%;
    flex: 1;
    text-align: center;
}

.gif-left {
    margin-top: 3%;
    max-width: 100%;
    height: auto;
    border: 3px solid #ff9800; /* Borde estilo gamer */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

/* Texto explicativo a la derecha */
.report-text {
    flex: 2;
    text-align: justify; /* Justifica el texto */
    font-family: 'Arial', sans-serif;
    line-height: 1.8; /* Mejora la legibilidad */
}

.report-title {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 20px;
    text-transform: uppercase; /* Convierte el título a mayúsculas */
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.8); /* Efecto de brillo */
}

.report-paragraph {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ddd; /* Color más claro para el texto */
}

.report-paragraph strong {
    color: #ff9800; /* Resalta palabras importantes */
}

.report-paragraph .highlight {
    color: #ff9800;
    font-weight: bold;
    text-decoration: underline;
}

.report-link {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.report-link:hover {
    color: #fff; /* Cambia a blanco al pasar el cursor */
    text-decoration: underline;
}

/* Sección de redes sociales */
.social-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #fff;
}

.social-container {
    
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
}

/* Texto explicativo a la izquierda */
.social-text {
    flex: 2;
    text-align: left;
    font-family: 'Arial', sans-serif;
    line-height: 1.8;
}

.social-title {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
}

.social-paragraph {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ddd;
}

.social-buttons {
    display: flex;
    gap: 10px;
}

.social-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-button.youtube {
    background: #ff0000; /* Rojo para YouTube */
}

.social-button.telegram {
    background: #0088cc; /* Azul para Telegram */
}

.social-button.discord {
    background: #5865f2; /* Azul para Discord */
}

.social-button:hover {
    transform: scale(1.1);
    background: #fff;
    color: #000;
}

/* Imagen a la derecha */
.social-image {
    flex: 1;
    text-align: center;
}

.gif-right {
    margin-top: 6%;
    max-width: 100%;
    height: auto;
    border: 3px solid #ff9800;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

/* Sección de estadísticas */
.stats-section {
    border-top: #ff0000 solid 1px; /* Borde rojo para la sección de estadísticas */
    border-bottom: #ff0000 solid 1px; /* Borde rojo para la sección de estadísticas */
    padding: 50px 20px;
    color: #fff;
    text-align: center;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-title {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.stat-item {
    flex: 1 1 calc(50% - 20px); /* Dos columnas en pantallas grandes */
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 152, 0, 0.5);
}

.stat-number {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
}

.stat-label {
    font-size: 1.2rem;
    color: #ddd;
}

.membership-section {
    border-top: 1px solid #ff9d00; /* Borde superior naranja */
    background-image: url('../public/images/banner.gif'); /* Ruta de la imagen de fondo */
    background-size: cover; /* Ajusta la imagen para cubrir toda la sección */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 400px; /* Aumenta la altura de la sección */
    display: flex; /* Habilita el modelo de caja flexible */
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: center; /* Centra el contenido horizontalmente */
    text-align: center; /* Centrar contenido */
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.8); /* Sombra de texto */
    color: #fff; /* Color del texto */
    position: relative; /* Necesario para la superposición */
}

.membership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Superposición negra con opacidad */
    z-index: 1;
}

.membership-container {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté encima de la superposición */
    max-width: 800px; /* Limita el ancho del contenido */
    padding: 1rem; /* Espaciado interno */
}

.membership-title {
    font-size: 2.5rem; /* Tamaño del título */
    margin-bottom: 1rem; /* Espaciado inferior */
    text-transform: uppercase; /* Texto en mayúsculas */
}

.membership-description {
    font-size: 1.2rem; /* Tamaño del texto descriptivo */
    margin-bottom: 1.5rem; /* Espaciado inferior */
    line-height: 1.6; /* Mejora la legibilidad */
}

/* Botones principales: Comenzar Exploración y Hazte PRO */
.cta-button, .membership-button {
    background: linear-gradient(90deg, #ff9800 0%, #ff4d4d 100%);
    color: #fff;
    border: none;
    border-radius: 32px;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 1.1rem 2.8rem;
    box-shadow: 0 4px 24px rgba(255,77,77,0.18);
    letter-spacing: 0.04em;
    transition: background 0.25s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    outline: none;
    margin-top: 1.2rem;
    display: inline-block;
    text-shadow: none;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.cta-button:hover, .membership-button:hover {
    background: linear-gradient(90deg, #ff4d4d 0%, #ffae33 100%);
    color: #23272f;
    box-shadow: 0 6px 32px #ffae33a0;
    transform: translateY(-2px) scale(1.04);
    text-shadow: none;
    text-decoration: none;
}
.cta-button:active, .membership-button:active {
    background: #ff9800;
    color: #fff;
    box-shadow: 0 2px 8px #ff9800a0;
    transform: scale(0.98);
    text-decoration: none;
}