﻿/* --- ESTILOS GLOBALES --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0f1021;
    color: #ffffff;
    margin: 0;
    padding-top: 80px; /* Espacio para la barra de navegación fija */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: center;
}

h1, h2 {
    font-weight: bold;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #f0f0f0;
    letter-spacing: 1px;
}

    h1 span, h2 span {
        color: #ff6b00;
    }

p {
    font-size: 18px;
    color: #dcdcdc;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- HERO IMAGE --- */
.lightning-bolt {
    width: 300px;
    filter: drop-shadow(0 0 20px #ff8c00);
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        filter: drop-shadow(0 0 15px #ff8c00) brightness(1);
    }

    20%, 24%, 55% {
        filter: drop-shadow(0 0 25px #ff8c00) brightness(1.5);
    }
}

/* --- BARRA DE NAVEGACIÓN --- */
.navbar {
    background-color: rgba(15, 16, 33, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

    .nav-logo span {
        color: #ff6b00;
    }

.nav-links a {
    color: #dcdcdc;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}

    .nav-links a:hover {
        color: #ff6b00;
    }

/* --- Estilos para el menú hamburguesa (oculto en desktop) --- */
.menu-toggle {
    display: none;
    cursor: pointer;
}

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #fff;
        transition: all 0.3s ease-in-out;
    }

/* --- BOTONES --- */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: linear-gradient(90deg, #ff4d00, #ff8c00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

    .btn-primary:hover {
        box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
    }

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.buttons-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- SECCIÓN HERO (BIENVENIDA) --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 80vh;
    background: radial-gradient(circle at top right, rgba(58, 38, 128, 0.4), transparent 50%), radial-gradient(circle at bottom left, rgba(10, 5, 40, 0.7), transparent 70%), #0a011f;
    padding: 2rem 0;
}


.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 3rem;
}

.row {
    width: 100%;
}

.hero-text {
    max-width: 50%;
}

    .hero-text p {
        margin-left: 0;
    }

    .hero-text .buttons-group {
        justify-content: flex-start;
    }

.panda-icon {
    width: 300px;
    filter: drop-shadow(0 0 25px rgba(255, 131, 0, 0.7));
    animation: float 4s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- SECCIÓN TOKENOMICS --- */
.tokenomics-container {
    background-color: rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.token-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .token-row:last-child {
        border-bottom: none;
    }

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .token-item .label {
        color: #a9a9c4;
    }

    .token-item .value {
        font-weight: 500;
        word-break: break-all;
    }

.token-address {
    grid-column: 1 / -1;
}
/* Ocupa toda la fila */

/* --- SECCIÓN ROADMAP --- */
.roadmap-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: left;
}

.roadmap-phase {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 30%;
}

    .roadmap-phase h3 {
        color: #ff8c00;
        margin-top: 0;
        border-bottom: 2px solid #ff8c00;
        padding-bottom: 10px;
    }

    .roadmap-phase ul {
        list-style: none;
        padding: 0;
    }

    .roadmap-phase li {
        margin-bottom: 10px;
        position: relative;
        padding-left: 25px;
    }

        .roadmap-phase li::before {
            content: '✓';
            color: #ff8c00;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

/* --- FOOTER Y COMUNIDAD --- */
.footer {
    background-color: #0a011f;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    margin: 0 15px;
    display: inline-block;
    transition: transform 0.3s;
}

    .social-links a:hover {
        transform: scale(1.1);
    }

.social-links img {
    width: 32px;
    height: 32px;
}

.footer p {
    margin-top: 20px;
    font-size: 14px;
    color: #a9a9c4;
}

/*
=====================================================
--- AJUSTES RESPONSIVOS PARA MÓVILES ---
=====================================================
*/
@media (max-width: 768px) {

    /* --- Ajustes generales de texto y espaciado --- */
    body {
        padding-top: 70px; /* Reduce el espacio para la barra de navegación más pequeña */
    }

    .container {
        padding: 40px 15px; /* Reduce el padding lateral */
    }

    h1 {
        font-size: 26px !important;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }

    /* --- Barra de navegación móvil (Menú Hamburguesa) --- */
    .navbar {
        justify-content: space-between; /* Logo a la izquierda, menú a la derecha */
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block; /* Muestra el icono de hamburguesa */
    }

        /* Animación del ícono de hamburguesa a "X" */
        .menu-toggle.is-active .bar:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.is-active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .menu-toggle.is-active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

    .nav-links {
        display: flex;
        flex-direction: column; /* Apila los links verticalmente */
        align-items: center;
        position: absolute;
        top: 70px; /* Se posiciona debajo de la navbar */
        left: 0;
        width: 100%;
        background: #0f1021;
        /* Oculta el menú fuera de la pantalla por defecto */
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px 0;
    }

        /* Muestra el menú cuando tiene la clase 'active' */
        .nav-links.active {
            transform: translateX(0);
        }

        .nav-links a {
            margin: 15px 0; /* Aumenta el espaciado vertical para facilitar el toque */
            font-size: 20px;
        }

    /* --- Ajustes de la sección Hero --- */
    .hero-section {
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-content {
        flex-direction: column-reverse; /* Pone la imagen arriba y el texto abajo */
    }

    .hero-text {
        max-width: 100%; /* El texto ocupa todo el ancho */
        margin-top: 40px; /* Espacio entre la imagen y el texto */
    }

        .hero-text p {
            margin-left: auto;
            margin-right: auto;
        }

        .hero-text .buttons-group {
            justify-content: center; /* Centra los botones */
            flex-direction: column; /* Apila los botones si no caben */
            align-items: center;
        }

    .panda-icon {
        width: 200px; /* Imagen más pequeña */
    }

    /* --- Ajustes de Tokenomics --- */
    .tokenomics-container {
        padding: 20px;
    }

    .token-item {
        flex-direction: column; /* Apila etiqueta y valor */
        align-items: flex-start;
        gap: 5px;
    }

        .token-item .value {
            text-align: left;
            padding-left: 0;
        }

    /* --- Ajustes de Roadmap --- */
    .roadmap-container {
        flex-direction: column; /* Apila las fases verticalmente */
        align-items: center;
        gap: 20px;
    }

    .roadmap-phase {
        width: 95%; /* Las fases ocupan casi todo el ancho */
    }

    /* --- Ajustes de Footer --- */
    .social-links a {
        margin: 0 10px;
    }
}