:root {
    --bg-dark: #050510; /* Casi negro */
    --primary: #6C63FF; /* Violeta principal */
    --accent: #00F0FF; /* Cyan Cyberpunk */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(108, 99, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 20%);
}

/* Scrollbar Custom */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* NAV */
.glass-nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.logo { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; letter-spacing: 2px; color: var(--text); }
.version-badge { font-size: 0.8rem; background: var(--primary); padding: 2px 6px; border-radius: 4px; vertical-align: middle; margin-left: 10px; }

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); text-shadow: 0 0 10px var(--accent); }
.btn-donate-nav { border: 1px solid var(--accent); padding: 5px 15px; border-radius: 20px; color: var(--accent) !important; }
.btn-donate-nav:hover { background: var(--accent); color: var(--bg-dark) !important; }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 10%;
    position: relative;
}

.hero-content { max-width: 600px; z-index: 2; }

/* Glitch Effect Title */
.glitch {
    font-family: var(--font-head); font-size: 5rem; font-weight: 900;
    position: relative; color: var(--text);
    text-shadow: 2px 2px var(--primary), -2px -2px var(--accent);
    animation: glitch 3s infinite;
}
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.subtitle { font-size: 1.8rem; color: var(--accent); margin-bottom: 20px; font-weight: 300; }
.desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; line-height: 1.6; }

.hero-btns { display: flex; gap: 20px; }
.btn-primary, .btn-secondary {
    padding: 15px 30px; border-radius: 8px; font-weight: bold; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-primary { background: linear-gradient(45deg, var(--primary), #8F00FF); color: white; box-shadow: 0 0 20px rgba(108, 99, 255, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(108, 99, 255, 0.6); }
.btn-secondary { border: 1px solid var(--glass-border); color: var(--text); background: var(--glass); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* MOCKUP 3D */
.hero-visual { perspective: 1000px; }
.mockup-card {
    width: 350px; height: 500px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px; border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    padding: 20px; position: relative;
    transform-style: preserve-3d;
}
.mockup-header { display: flex; gap: 8px; margin-bottom: 20px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

.mockup-screen {
    background: rgba(0,0,0,0.3); border-radius: 10px; height: 85%; padding: 20px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.floating-poke { width: 180px; filter: drop-shadow(0 0 15px orange); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.stats-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-top: 15px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 4px; animation: fill 2s ease-out forwards; }

/* SECTIONS */
.section { padding: 100px 10%; }
.section-title { font-family: var(--font-head); font-size: 2.5rem; text-align: center; margin-bottom: 60px; color: var(--text); }
.section-title.left { text-align: left; }

/* CARDS */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 30px;
    backdrop-filter: blur(10px); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(108, 99, 255, 0.1); }
.icon-box { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-head); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* DOWNLOAD */
.download-section { display: flex; justify-content: center; }
.download-container { text-align: center; max-width: 600px; width: 100%; border: 1px solid var(--accent); box-shadow: 0 0 30px rgba(0, 240, 255, 0.1); }
.version-display { margin: 20px 0; font-family: var(--font-head); color: var(--text-muted); }
.v-num { color: var(--accent); font-weight: bold; }

.mega-button {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--text); color: var(--bg-dark);
    padding: 20px 30px; border-radius: 12px; text-decoration: none;
    margin: 30px 0; transition: 0.3s;
}
.mega-button:hover { transform: scale(1.02); background: var(--accent); }
.mega-button .content { text-align: left; }
.main-text { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; }
.sub-text { font-size: 0.9rem; opacity: 0.8; }
.icon-d { font-size: 2rem; }
.disclaimer { font-size: 0.8rem; color: var(--text-muted); }

/* SPLIT LAYOUT */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.timeline { border-left: 2px solid var(--glass-border); padding-left: 30px; }
.t-item { margin-bottom: 40px; position: relative; }
.t-dot { position: absolute; left: -37px; width: 12px; height: 12px; background: var(--text-muted); border-radius: 50%; }
.t-item.done .t-dot { background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.t-item.current .t-dot { background: var(--accent); box-shadow: 0 0 15px var(--accent); }
.t-item.current .pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); } }

/* TERMINAL */
.terminal-window { font-family: 'Courier New', monospace; padding: 0; overflow: hidden; }
.terminal-header { background: #2d2d2d; padding: 10px 15px; display: flex; gap: 8px; }
.terminal-body { padding: 20px; color: #dcdcdc; }
.cmd { color: var(--accent); margin-right: 10px; }
.comment { color: #6a9955; margin-bottom: 10px; }
.blink { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* DONATE */
.donate-grid { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.donate-card {
    padding: 15px 30px; border-radius: 8px; text-decoration: none; color: white; font-weight: bold; transition: 0.3s;
}
.kofi { background: #FF5E5B; } .paypal { background: #00457C; }
.donate-card:hover { transform: translateY(-3px); filter: brightness(1.2); }

footer { text-align: center; padding: 50px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }

/* MOBILE */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero-content { margin-bottom: 50px; }
    .split-layout { grid-template-columns: 1fr; }
    .glitch { font-size: 3rem; }
}

/* --- CREADOR SECTION --- */
.creator-section {
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.05), transparent);
}

.center-content { display: flex; justify-content: center; align-items: center; }

/* Tarjeta de Perfil */
.creator-card {
    text-align: center;
    width: 100%;
    max-width: 350px;
    border-top: 1px solid var(--primary); /* Borde superior iluminado */
}

.avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: #27c93f; /* Verde Online/Working */
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    box-shadow: 0 0 10px #27c93f;
}

.creator-card h3 {
    font-size: 2rem;
    font-family: var(--font-head);
    margin-bottom: 5px;
    color: var(--text);
}

.role-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
}

.social-links { display: flex; justify-content: center; gap: 15px; }
.social-links a {
    color: var(--text-muted); font-size: 1.2rem; transition: 0.3s;
}
.social-links a:hover { color: var(--primary); transform: translateY(-3px); }

/* Texto de la Historia */
.story-text { padding-left: 20px; }
.story-subtitle {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 300;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.story-text strong { color: var(--text); font-weight: 600; }

.story-highlight {
    background: rgba(108, 99, 255, 0.1);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin-top: 30px;
}

.story-highlight p {
    margin: 0;
    font-style: italic;
    color: var(--text);
    font-size: 1.1rem;
}

/* Ajuste Mobile para invertir orden (Foto arriba, texto abajo) */
@media (max-width: 768px) {
    .reverse-mobile { display: flex; flex-direction: column; }
    .story-text { padding-left: 0; margin-top: 40px; text-align: center; }
    .section-title.left { text-align: center; }
}

/* --- KO-FI HINT (Pista Visual) --- */
.kofi-hint-container {
    position: fixed;
    bottom: 90px; /* Justo encima del botón de Ko-fi */
    left: 20px;   /* Alineado a la izquierda donde suele salir el widget */
    z-index: 9999;
    display: none; /* Oculto por defecto */
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* Para que no moleste al clic */
}

.hint-text {
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    font-family: var(--font-head);
    font-size: 0.9rem;
    box-shadow: 0 0 15px var(--primary);
    margin-bottom: 5px;
    white-space: nowrap;
    animation: fadeIn 0.3s ease-out;
}

.hint-arrow {
    font-size: 2rem;
    color: var(--accent); /* Cyan neón */
    text-shadow: 0 0 10px var(--accent);
    animation: bouncePoint 1s infinite;
}

/* Animación de rebote */
@keyframes bouncePoint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste para móvil (si el widget sale en otro lado) */
@media (max-width: 768px) {
    .kofi-hint-container {
        left: 10px;
        bottom: 80px;
    }
}