/* =========================================
   LYNO — Estilo Party Animals 🎉
   Fuente: Fredoka | Fondo: Pizarrón
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

:root {
    /* Paleta Party Animals */
--bg-color-main: #2a3628;
    --bg-color-card: rgba(255, 255, 255, 0.07);
    --bg-color-card-alt: rgba(255, 255, 255, 0.05);

    --accent-yellow: #FFE566;
    --accent-orange: #00aeff;
    --accent-pink: #FF6B9D;
    --accent-green: #72D98F;
    --accent-blue: #5BC8F5;
    --accent-purple: #B388FF;

    --text-chalk: #F5F0E8;
    --text-chalk-dim: rgba(245, 240, 232, 0.55);
    --text-pink-light: #FFE566;    /* compatibilidad con clases existentes */
    --text-pink-dim: rgba(245, 240, 232, 0.55);
    --accent-pink-vibrant: #FF8C42;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --stitch-color: rgba(255, 255, 255, 0.18);

    --border-radius-lg: 24px;
    --border-radius-md: 14px;
    --nav-height: 80px;
    --transition-smooth: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Sombra "hard" estilo cartoon */
    --shadow-card: 5px 5px 0px rgba(0,0,0,0.5);
    --shadow-card-hover: 8px 8px 0px rgba(0,0,0,0.6);
    --shadow-yellow: 5px 5px 0px rgba(255,229,102,0.35);
}

/* =========================================
   RESETEO BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fredoka', sans-serif;
}

body {
    background-color: var(--bg-color-main);
    background-image: url('/bg/banner.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-chalk);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 500;
}

/* Overlay sobre la pizarra para legibilidad */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(30, 42, 31, 0.55);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.container, .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul { list-style: none; }

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-chalk);
}

code {
    background: rgba(255, 229, 102, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: monospace;
    color: var(--accent-yellow);
    border: 1px solid rgba(255, 229, 102, 0.3);
}

/* =========================================
   BARRA DE NAVEGACIÓN
   ========================================= */
.navbar {
    height: 64px;
    width: 92%;
    max-width: 1100px;
    margin: 16px auto;
    left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    position: fixed;
    top: 0;
    z-index: 1000;

    background: rgba(30, 45, 28, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 100px;
    border: 2px solid rgba(255, 229, 102, 0.25);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.4);
}

.navbar::before {
    content: "";
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 1.5px dashed rgba(255, 229, 102, 0.15);
    border-radius: 100px;
    pointer-events: none;
}

.nav-logo img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    margin-top: 7px; 
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.nav-links a:not(.nav-btn) {
    color: var(--text-chalk-dim);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-links a:not(.nav-btn):hover {
    color: var(--accent-yellow);
    transform: translateY(-2px) scale(1.05);
}

.nav-btn {
    background: var(--accent-yellow);
    color: #1e2d1c;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    border: 2px solid rgba(0,0,0,0.25);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    background: var(--accent-orange);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-yellow);
    cursor: pointer;
    z-index: 2001;
}

/* Mobile nav */
@media (max-width: 850px) {
    .menu-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 90px;
        right: -100%;
        background: #1e2d1c;
        width: 240px;
        height: auto;
        padding: 28px;
        flex-direction: column;
        gap: 12px;
        transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-radius: 30px;
        border: 2px solid rgba(255, 229, 102, 0.3);
        box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-links::before {
        content: "";
        position: absolute;
        top: 7px; left: 7px; right: 7px; bottom: 7px;
        border: 1.5px dashed rgba(255, 229, 102, 0.15);
        border-radius: 23px;
        pointer-events: none;
    }

    .nav-links.active { right: 4%; }

    .nav-links a:not(.nav-btn) {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 1.1rem;
    }

    .nav-btn { width: 100%; justify-content: center; }
}

/* =========================================
   SECCIÓN HERO
   ========================================= */
.hero {
    margin-top: calc(var(--nav-height) + 60px);
    text-align: center;
    padding: 70px 20px 80px;
    margin-bottom: 60px;
}

.bot-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 28px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0), 0 8px 20px rgba(0, 0, 0, 0.568);
    transition: var(--transition-smooth);
}

.bot-avatar img:hover {
    transform: rotate(-3deg) scale(1.05);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.tagline {
    color: var(--text-chalk-dim);
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 650px;
    margin: 0 auto 40px;
}

/* =========================================
   BOTONES
   ========================================= */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border: 2px solid rgba(0,0,0,0.2);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}

.btn:hover {
    transform: translate(-2px, -3px);
    box-shadow: 6px 7px 0 rgba(0,0,0,0.45);
}

.btn-primary {
    background: var(--accent-yellow);
    color: #1a2918;
}

.btn-primary:hover {
    background: #fff06e;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(245, 240, 232, 0.35);
    color: var(--text-chalk-dim);
}

.btn-outline:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    background: rgba(255, 229, 102, 0.06);
}

/* =========================================
   BARRA DE ESTADÍSTICAS
   ========================================= */
.stats-bar {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    border: 2px solid rgba(255, 229, 102, 0.2);
    box-shadow: var(--shadow-card);
    position: relative;
    backdrop-filter: blur(6px);
}

.stats-bar::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1.5px dashed rgba(255, 229, 102, 0.12);
    border-radius: 16px;
    pointer-events: none;
}

.stat-item {
    text-align: center;
    color: var(--text-chalk-dim);
    font-size: 1.15rem;
    font-weight: 600;
}

.stat-item strong {
    display: block;
    font-size: 2.8rem;
    color: var(--accent-yellow);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
    margin-bottom: 4px;
}

/* =========================================
   SECCIÓN FUNCIONES
   ========================================= */
.features { margin-bottom: 100px; }

.section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.4);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.features .tagline { text-align: center; margin-bottom: 50px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

/* Cards con estilo pizarrón */
.feat-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-card);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.feat-card::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1.5px dashed rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    pointer-events: none;
    transition: 0.3s;
}

.feat-card:hover {
    transform: translate(-3px, -6px) !important;
    box-shadow: var(--shadow-card-hover) !important;
    border-color: rgba(255, 229, 102, 0.4) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.feat-card:hover::after {
    border-color: rgba(255, 229, 102, 0.25) !important;
}

.feat-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.icon-gold { color: var(--accent-yellow) !important; }
.icon-pink { color: var(--accent-pink) !important; }
.icon-blue { color: var(--accent-blue) !important; }

.feat-card h3 {
    font-size: 1.5rem;
    color: var(--text-chalk);
    margin-bottom: 12px;
}

.feat-card p { color: var(--text-chalk-dim); font-size: 1.05rem; }

/* Feature cards (Personalización / Música) */
.feature-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1.5px dashed rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    pointer-events: none;
}

.feature-card:hover {
    transform: translate(-3px, -6px);
    border-color: rgba(255, 229, 102, 0.4);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.fa-paint-brush { color: var(--accent-pink) !important; }
.fa-music { color: var(--accent-green) !important; }

.feature-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.45rem;
    color: var(--text-chalk);
    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-chalk-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   SLIDER SERVIDORES
   ========================================= */
.server-slider-container {
    padding: 80px 0;
    margin-bottom: 80px;
    overflow: hidden;
}

.server-slider-container .slider-title {
    font-family: 'Fredoka', sans-serif !important;
    font-size: 2.6rem !important;
    font-weight: 700 !important;
    color: var(--accent-yellow) !important;
    text-align: center !important;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.4) !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    letter-spacing: -0.5px !important;
    display: block !important;
    width: 100%;
}

@media (max-width: 768px) {
    .server-slider-container .slider-title { font-size: 1.8rem !important; }
}

.slider-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 40px;
}

.slider { width: 100%; }

.slide-track {
    display: flex;
    width: calc(280px * 16);
    animation: scroll 40s linear infinite;
    gap: 20px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 8)); }
}

.server-card {
    background: rgba(255, 255, 255, 0.06);
    min-width: 280px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.server-card::after {
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 1.5px dashed rgba(255, 229, 102, 0.1);
    border-radius: 15px;
    pointer-events: none;
}

.server-card:hover {
    transform: translate(-2px, -4px) scale(1.02) !important;
    border-color: rgba(255, 229, 102, 0.3) !important;
    box-shadow: var(--shadow-card-hover) !important;
}

.server-card img {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    border: 2px solid rgba(255, 229, 102, 0.2);
}

.sv-info span {
    font-weight: 700;
    color: var(--text-chalk);
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.sv-info small {
    color: var(--text-chalk-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================================
   PASOS
   ========================================= */
.steps-section { margin-bottom: 100px; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.step {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition-smooth);
}

.step::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1.5px dashed rgba(255, 229, 102, 0.1);
    border-radius: 16px;
    pointer-events: none;
}

.step:hover {
    transform: translate(-3px, -6px);
    border-color: rgba(255, 229, 102, 0.35);
    box-shadow: var(--shadow-card-hover);
}

.step-num {
    background: var(--accent-yellow);
    color: #1a2918;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 25px;
    border: 2px solid rgba(0,0,0,0.25);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}

.step h3 { color: var(--text-chalk); margin-bottom: 12px; }
.step p { color: var(--text-chalk-dim); }

/* =========================================
   CARACTERÍSTICAS POTENTES
   ========================================= */
.features-powerful { margin-bottom: 100px; }

.powerful-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.p-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    padding: 25px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
}

.p-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-2px, -4px);
    border-color: rgba(255, 229, 102, 0.3);
    box-shadow: var(--shadow-card-hover);
}

.p-card i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}

.p-card h4 { color: var(--text-chalk); margin-bottom: 3px; }
.p-card p { color: var(--text-chalk-dim); font-size: 0.92rem; }

/* =========================================
   EQUIPO
   ========================================= */
.team-section { margin-bottom: 100px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
}

.team-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    width: 100%; max-width: 320px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition-smooth);
}

.team-card::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px dashed rgba(255, 229, 102, 0.1);
    border-radius: 17px;
    pointer-events: none;
}

.team-card:hover {
    transform: translate(-3px, -8px) !important;
    border-color: rgba(255, 229, 102, 0.35) !important;
    box-shadow: var(--shadow-card-hover) !important;
}

.team-avatar {
    position: relative;
    width: 110px; height: 110px;
    margin: 0 auto 15px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-avatar .main-img {
    width: 80%; height: 80%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    border: 3px solid var(--accent-yellow);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}

.avatar-deco {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    z-index: 2;
    pointer-events: none;
    object-fit: contain;
}

.team-card h3 { color: var(--text-chalk); font-size: 1.2rem; }

.role {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    z-index: 2;
    position: relative;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 2;
    position: relative;
}

.team-social a {
    color: var(--text-chalk-dim);
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.team-social a:hover {
    color: var(--accent-yellow);
    transform: scale(1.15) rotate(-5deg);
}

/* =========================================
   SECCIÓN VOTAR
   ========================================= */
.voto-section { margin-bottom: 100px; text-align: center; }

.vote-header .vote-badge {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.vote-header h2 .highlight { color: var(--accent-orange); }

.tagline-vote {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-chalk-dim);
}

.vote-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.vote-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    width: 100%; max-width: 800px;
    padding: 25px 35px;
    border-radius: var(--border-radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    text-align: left;
    position: relative;
    transition: var(--transition-smooth);
}

.vote-card::after {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1.5px dashed rgba(255, 229, 102, 0.1);
    border-radius: 17px;
    pointer-events: none;
}

.vote-card:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translate(-3px, -5px) !important;
    border-color: rgba(255, 229, 102, 0.35) !important;
    box-shadow: var(--shadow-card-hover) !important;
}

.card-content { display: flex; align-items: center; gap: 20px; }

.platform-icon { width: 60px; height: 60px; object-fit: contain; }
.platform-icon img { max-width: 100%; max-height: 100%; }

.text-info h3 { font-size: 1.35rem; color: var(--text-chalk); margin-bottom: 3px; }
.text-info p { color: var(--text-chalk-dim); font-size: 1rem; font-weight: 500; }

.vote-now-btn {
    background: var(--accent-yellow);
    color: #1a2918;
    padding: 11px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid rgba(0,0,0,0.2);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.vote-now-btn:hover {
    background: var(--accent-orange);
    color: #fff;
    transform: translate(-2px, -3px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
}

/* =========================================
   FOOTER — con imagen de papel rasgado
   ========================================= */

footer {
    background: rgba(20, 32, 18, 0.9);
    padding: 30px 20px;
    text-align: center;
    margin: 0 auto 30px auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 100px;
    border: 2px solid rgba(255, 229, 102, 0.2);
    box-shadow: var(--shadow-card);
    position: relative;
    backdrop-filter: blur(8px);
}

footer::before {
    content: "";
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1.5px dashed rgba(255, 229, 102, 0.1);
    border-radius: 80px;
    pointer-events: none;
}

.footer-copy {
    color: var(--text-chalk-dim);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    position: relative; z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative; z-index: 2;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-chalk-dim);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-yellow);
    transform: translateY(-1px);
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* =========================================
   EFECTO GLOBAL HOVER (unificar)
   ========================================= */
.feat-card::after,
.step::after,
.team-card::after,
.vote-card::after,
.server-card::after,
.stats-bar::after {
    transition: border-color 0.3s ease !important;
}

.feat-card:hover::after,
.step:hover::after,
.team-card:hover::after,
.vote-card:hover::after,
.server-card:hover::after,
.stats-bar:hover::after {
    border-color: rgba(255, 229, 102, 0.3) !important;
}

/* =========================================
   PREMIUM
   ========================================= */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.premium-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1.5px dashed rgba(255, 229, 102, 0.1);
    border-radius: 16px;
    pointer-events: none;
    transition: 0.3s;
}

.premium-card:hover::after {
    border-color: rgba(255, 229, 102, 0.3);
}

.plan-badge {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--accent-orange);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.price span { font-size: 0.9rem; color: var(--text-chalk-dim); }

.most-popular {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    color: #1a2918;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 5;
    border: 2px solid rgba(0,0,0,0.2);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.benefits-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 100px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    margin-top: 30px;
    position: relative;
}

.benefits-pill span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-chalk-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefits-pill i { font-size: 0.5rem; color: var(--accent-yellow); }

/* =========================================
   STATUS PAGE
   ========================================= */
.status-page {
    overflow-y: auto !important;
    background-attachment: fixed;
}

.status-wrapper { padding-bottom: 80px; }

.status-main-pill {
    background: rgba(255, 255, 255, 0.06);
    padding: 15px 35px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid rgba(114, 217, 143, 0.4);
    box-shadow: var(--shadow-card);
    margin-bottom: 25px;
}

.status-dot-active {
    width: 10px; height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
}

/* =========================================
   CARD BASE GENÉRICA
   ========================================= */
.card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translate(-2px, -5px);
    box-shadow: var(--shadow-card-hover);
}

/* =========================================
   EMBED / BUILDER
   ========================================= */
.embed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.builder-panel {
    text-align: left;
    padding: 40px !important;
}

.textarea-pill {
    border-radius: 20px !important;
    height: 100px;
}

.textarea-pill textarea {
    width: 100%;
    height: 80%;
    background: transparent;
    border: none;
    color: var(--text-chalk);
    resize: none;
    outline: none;
}

.discord-embed {
    background: #2b2d31;
    border-radius: 4px;
    display: flex;
    position: relative;
    padding: 12px 16px;
    max-width: 450px;
    text-align: left;
    border-left: 4px solid var(--accent-yellow);
}

.embed-color-strip {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.embed-title { color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.embed-description { color: #dbdee1; font-size: 0.9rem; line-height: 1.3; }
.embed-image-render { margin-top: 10px; border-radius: 8px; max-width: 100%; }

.generate-btn { margin-top: 25px; width: 100%; border: none; cursor: pointer; }

@media (max-width: 850px) { .embed-grid { grid-template-columns: 1fr; } }

.discord-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.discord-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.discord-user-wrapper { display: flex; align-items: center; gap: 8px; }
.discord-username { color: #fff; font-weight: 600; font-size: 1rem; font-family: 'Fredoka', sans-serif; }

.discord-app-tag {
    background-color: #5865f2;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.3;
    text-transform: uppercase;
}

.discord-timestamp { color: #949ba4; font-size: 0.75rem; }

.preview-sticky {
    position: sticky;
    top: 120px;
    background: rgba(0, 0, 0, 0.25);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid rgba(255, 229, 102, 0.12);
}

/* =========================================
   TIMESTAMPS / CODE
   ========================================= */
.ts-header { display: none; }

.code-text {
    color: var(--accent-yellow);
    background: rgba(255, 229, 102, 0.08);
    padding: 8px 15px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 229, 102, 0.2);
    display: inline-block;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 229, 102, 0.25);
    color: var(--text-chalk-dim);
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Fredoka', sans-serif;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.copy-btn:hover {
    background: var(--accent-yellow);
    color: #1a2918;
    border-style: solid;
    border-color: transparent;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}

/* =========================================
   MEDIA QUERIES GENERALES
   ========================================= */
@media (max-width: 992px) {
    .nav-links { gap: 15px; }
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .menu-toggle { display: block; }

    .hero h1 { font-size: 2.8rem; }
    .hero { padding: 40px 15px; }
    .stats-bar,
    .steps-grid,
    .powerful-grid { grid-template-columns: 1fr; gap: 20px; }

    .btn { width: 100%; justify-content: center; }
    .vote-card { flex-direction: column; gap: 15px; text-align: center; }
    .card-content { flex-direction: column; gap: 10px; }
    .text-info { text-align: center; }
    .vote-now-btn { width: 100%; justify-content: center; }
}

@media (max-width: 850px) {
    .ts-header { display: none; }
    .ts-row {
        grid-template-columns: 1fr !important;
        gap: 15px;
        text-align: center;
        padding: 30px 20px;
    }
    .code-text { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
    .copy-btn { margin: 0 auto; width: 150px; }

    .menu-toggle { display: flex !important; }
}

/* =========================================
   404
   ========================================= */
.error-wrapper {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.error-card {
    max-width: 600px !important;
    padding: 60px 40px !important;
    animation: float 6s ease-in-out infinite;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--accent-yellow);
    text-shadow: 5px 5px 0 rgba(0,0,0,0.4);
    margin-bottom: 10px;
    line-height: 1;
}

.error-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 600px) {
    .error-code { font-size: 5rem; }
    .error-actions { flex-direction: column; }
}

/* =========================================
   ANIMACIÓN BOUNCE en carga
   ========================================= */
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); }
    60% { opacity: 1; transform: scale(1.05) translateY(-5px); }
    100% { transform: scale(1) translateY(0); }
}

.hero { animation: bounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.stats-bar { animation: bounceIn 0.7s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.feat-card { animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* =========================================
   COLOR BARRA Y FOOTER
   ========================================= */

.navbar {
    background: rgba(0, 0, 0, 0.315); 
}

footer {
    background: rgba(0, 0, 0, 0.288);
}





/* =========================================
   STATUS — FALTANTES
   ========================================= */
.stats-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.data-pill {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
}

.data-pill i { color: var(--text-chalk-dim); }
.pill-info strong { color: var(--accent-yellow); font-size: 1.2rem; }

.latency-chart-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    border-radius: 35px;
    padding: 25px;
    margin-bottom: 40px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    color: var(--text-chalk-dim);
    margin-bottom: 20px;
}

.shards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.shard-item {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 25px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition-smooth);
}

.shard-item::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1.5px dashed rgba(255, 229, 102, 0.1);
    border-radius: 22px;
    pointer-events: none;
    transition: 0.3s;
}

.shard-item:hover {
    transform: translate(-2px, -4px);
    border-color: rgba(255, 229, 102, 0.3);
    box-shadow: var(--shadow-card-hover);
}

.shard-item:hover::after { border-color: rgba(255, 229, 102, 0.25); }

.shard-top { display: flex; justify-content: space-between; margin-bottom: 20px; }

.ms-label { font-size: 0.75rem; padding: 4px 12px; border-radius: 12px; font-weight: 700; }
.ms-label.green { background: rgba(114,217,143,0.15); color: var(--accent-green); border: 1px dashed var(--accent-green); }
.ms-label.yellow { background: rgba(255,229,102,0.15); color: var(--accent-yellow); border: 1px dashed var(--accent-yellow); }

.shard-center { display: flex; justify-content: space-between; text-align: center; margin-bottom: 15px; }
.shard-bottom {
    display: flex;
    justify-content: space-between;
    color: var(--text-chalk-dim);
    font-size: 0.8rem;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================
   TIMESTAMPS — FALTANTES
   ========================================= */
.ts-wrapper { text-align: center; padding-bottom: 80px; }

.ts-main-title {
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: var(--accent-yellow);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}

.ts-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.control-group label {
    display: block;
    color: var(--text-chalk-dim);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.input-pill {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.input-pill:focus-within {
    border-color: rgba(255, 229, 102, 0.5);
    box-shadow: var(--shadow-card-hover);
}

.input-pill input {
    background: transparent;
    border: none;
    color: var(--text-chalk);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    outline: none;
}

.quick-select { margin-bottom: 50px; }
.quick-select span {
    display: block;
    color: var(--text-chalk-dim);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.qs-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.qs-buttons button {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-chalk-dim);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Fredoka', sans-serif;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.qs-buttons button:hover {
    background: var(--accent-yellow);
    color: #1a2918;
    border-color: transparent;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}

.ts-results-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 40px;
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    position: relative;
}

.ts-results-card::after {
    content: '';
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 1.5px dashed rgba(255, 229, 102, 0.1);
    border-radius: 28px;
    pointer-events: none;
}

.results-title { font-size: 2.2rem; margin-bottom: 5px; color: var(--accent-orange); text-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.results-sub { color: var(--text-chalk-dim); margin-bottom: 40px; font-size: 0.95rem; }

.ts-table { text-align: left; position: relative; z-index: 2; }

.preview-text { color: var(--accent-orange); font-weight: 600; font-size: 1rem; }

.code-text {
    color: var(--text-chalk) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-family: 'Courier New', monospace !important;
    font-size: 0.78rem !important;
    display: inline-block !important;
    text-align: center !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3) !important;
    min-width: 0 !important;
}

.ts-row {
    display: grid;
    grid-template-columns: 1fr 1fr 100px !important;
    align-items: center;
    padding: 22px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ts-header {
    display: grid;
    grid-template-columns: 1fr 1fr 100px !important;
    padding: 0 20px 15px;
    color: var(--text-chalk-dim);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .ts-main-title { font-size: 2.2rem; }

    .ts-controls {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .input-pill { width: 100%; max-width: 320px; }

    .ts-results-card {
        padding: 30px 15px;
        border-radius: 24px;
    }

    .ts-results-card::after {
        top: 8px; left: 8px; right: 8px; bottom: 8px;
    }

    .ts-header { display: none; }

    .ts-row {
        grid-template-columns: 1fr !important;
        gap: 10px;
        text-align: center;
        padding: 20px 10px;
    }

    .code-text {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .qs-buttons { gap: 8px; }
    .qs-buttons button { font-size: 0.85rem; padding: 6px 14px; }
}