/* Variables globales */
:root {
    --bg-color: #0a0a12;
    --text-color: #ffffff;
    --primary-color: #8a2be2; /* Morado */
    --secondary-color: #6a0dad; /* Morado oscuro */
    --accent-color: #00ffff; /* Cian neón */
    --glow-color: rgba(138, 43, 226, 0.6);
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Efecto de estrellas en el fondo */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(10, 10, 18, 0.8) 0%, rgba(10, 10, 18, 1) 70%);
    overflow: hidden;
}

.stars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(white, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: twinkle 15s ease infinite alternate;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-tagline {
    color: var(--text-color);
    font-size: 16px;
    font-style: italic;
    margin: 0;
    opacity: 0.9;
}

/* News Sidebar */
.news-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: rgba(10, 10, 18, 0.9);
    border-left: 1px solid var(--primary-color);
    padding: 1rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.news-item h3 {
    font-family: var(--font-primary);
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
}

.toggle-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.toggle-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.discord-button {
    display: inline-block;
    background-color: #7289da; /* Discord blue */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.discord-button:hover {
    background-color: #677bc4;
}

.news-sidebar.hidden {
    transform: translateY(-50%) translateX(100%);
}

.news-item p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
    text-align: center;
}

.news-item .preorder-message {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Responsive adjustments for Navbar */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .nav-left {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 1rem;
    }

    .nav-tagline {
        font-size: 14px;
        text-align: center;
    }

    .logo {
        width: 180px;
    }

    .nav-right {
        flex-direction: column;
        gap: 0.5rem;
    }

    .news-sidebar {
        width: 100%;
        top: auto;
        bottom: 0;
        left: 0;
        transform: translateY(0) translateX(0);
        border-left: none;
        border-top: 1px solid var(--primary-color);
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        padding: 1rem 0.5rem;
    }

    .news-sidebar.hidden {
        transform: translateY(100%);
    }

    .news-item {
        width: 48%; /* Adjust as needed for smaller screens */
        margin: 0.5%;
        padding: 0.8rem;
    }

    .toggle-button {
        top: -30px;
        right: 10px;
        background-color: rgba(10, 10, 18, 0.9);
        border-radius: 5px 5px 0 0;
        padding: 5px 10px;
    }
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger-menu {
    display: none; /* Hidden by default, shown on mobile */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(10, 10, 18, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
        border-top: 1px solid var(--primary-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-button {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

.logo {
    width: 250px;
    height: auto;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    fill: var(--text-color);
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 8px var(--glow-color));
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-button:hover {
    background: rgba(138, 43, 226, 0.2);
    box-shadow: 0 0 10px var(--glow-color);
    transform: translateY(-2px);
}

.nav-button.discord {
    display: flex;
    align-items: center;
}

.nav-button.discord svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        width: 150px;
    }

    .nav-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Contenido principal */

.offer-badge {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 0.2em 0.5em;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.8em;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 0 8px var(--accent-color);
    animation: pulse 1.5s infinite alternate;
}

/* Countdown Timer */
.countdown-container {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(10, 10, 18, 0.7);
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.countdown-text {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.countdown-date {
    font-weight: bold;
    color: var(--accent-color);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--secondary-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    min-width: 90px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.countdown-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--glow-color);
}

.countdown-label {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-color);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.preorder-message {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--text-color);
    font-style: italic;
    opacity: 0.9;
}

.strikethrough-price {
    animation: pulse-strikethrough 1.5s infinite alternate;
}

@keyframes pulse-strikethrough {
    0% {
        opacity: 1;
        text-shadow: 0 0 5px var(--primary-color);
    }
    100% {
        opacity: 0.7;
        text-shadow: 0 0 15px var(--primary-color);
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.05); opacity: 0.8; }
}

.maintenance-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
}

/* Estilos para verification_success.html */
body.verification-page {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden; /* Para el efecto de estrellas */
    position: relative;
}

body.verification-page .container {
    background-color: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 30px var(--glow-color);
    text-align: center;
    max-width: 600px;
    width: 90%;
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 2;
}

body.verification-page h1 {
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

body.verification-page p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);
}

body.verification-page .discount-code {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--accent-color);
    background-color: rgba(138, 43, 226, 0.2);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 20px;
    letter-spacing: 3px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

body.verification-page .footer-text {
    margin-top: 30px;
    font-size: 1em;
    color: var(--text-color);
    opacity: 0.8;
}

/* Título con efecto glitch */
h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--glow-color);
    position: relative;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--accent-color);
    z-index: -1;
    animation: glitch-effect 3s infinite alternate-reverse;
}

.glitch::after {
    color: var(--primary-color);
    z-index: -2;
    animation: glitch-effect 2s infinite alternate-reverse;
}

@keyframes glitch-effect {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

/* Mensaje secundario */
.message p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-secondary);
    font-weight: 300;
}

/* Oferta Especial */
.special-offer {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 255, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}



@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.special-offer {
    box-shadow: 0 0 20px var(--glow-color);
    animation: glow 2s ease-in-out infinite alternate;
}

.special-offer h2 {
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-color);
}

.special-offer p {
    margin: 0.5rem 0;
}

.offer-details {
    color: var(--primary-color) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    margin-top: 1rem !important;
}

.offer-cta {
    color: var(--accent-color) !important;
    font-family: var(--font-primary) !important;
    font-size: 1rem !important;
    margin-top: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px var(--glow-color);
    }
    to {
        box-shadow: 0 0 30px var(--glow-color), 0 0 40px var(--accent-color);
    }
}

/* Animación de trackers */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-animation {
    text-align: center;
}

.loading-text {
    color: var(--text-color);
    font-size: 18px;
    margin-top: 20px;
    opacity: 0.8;
}

.tracker-animation {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
}

.trackers {
    width: 100%;
    height: auto;
}

.tracker {
    animation: float 6s ease-in-out infinite;
}

.tracker-1 {
    animation-delay: 0s;
}

.tracker-2 {
    animation-delay: -2s;
}

.tracker-3 {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.tracker-body {
    fill: var(--secondary-color);
    stroke: var(--primary-color);
    stroke-width: 2;
}

.tracker-glow {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 1;
    opacity: 0.6;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        stroke-width: 1;
    }
    50% {
        opacity: 0.8;
        stroke-width: 2;
    }
}

.tracker-center {
    fill: var(--accent-color);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.tracker-detail {
    stroke: var(--accent-color);
    stroke-width: 1;
    fill: none;
}

.connection-line {
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    fill: none;
    opacity: 0.7;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

.data-particle {
    fill: var(--accent-color);
    opacity: 0.8;
}

.particle-1 {
    animation: moveRight 3s linear infinite;
}

.particle-2 {
    animation: moveRight 3s linear infinite 1.5s;
}

.particle-3 {
    animation: moveRight 3s linear infinite;
}

.particle-4 {
    animation: moveRight 3s linear infinite 1.5s;
}

@keyframes moveRight {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(20px);
        opacity: 0;
    }
}


/* Botón de contacto */
.contact-button {
    margin: 1rem 0;
}

.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--glow-color);
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
    z-index: -1;
}

.button:hover {
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-3px);
}

.button:hover::before {
    left: 100%;
}

/* Lema */
.tagline {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.7;
    font-size: 1rem;
}

/* Footer */
footer {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-3px);
}

.discord-text {
    color: #7289DA;
    font-weight: bold;
}

.discord-promo-section {
    background-color: #2C2F33;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    color: #FFFFFF;
}

.discord-promo-section h3 {
    color: #7289DA;
    margin-bottom: 15px;
}

.discord-promo-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    background-color: #7289DA;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.discord-button:hover {
    background-color: #677BC4;
}

.discord-logo {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .message p {
        font-size: 1rem;
    }
    
    .tracker-animation {
        max-width: 400px;
    }
    
    .progress-container {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .tracker-animation {
        max-width: 300px;
    }
    
    .progress-container {
        max-width: 250px;
    }
    
    .button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}