/* ============================================================
   CHANGELOG PAGE - TradeBlox
   ============================================================ */
.changelog-page {
    background: #0d0d12;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}
.changelog-hero {
    text-align: center;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #0d0d12 0%, #1a1a2e 50%, #0d0d12 100%);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#changelog-threejs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}
.changelog-hero > *:not(#changelog-threejs) { position: relative; z-index: 1; }
.changelog-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(231,76,60,0.4);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.changelog-hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin: 0 0 20px;
    background: linear-gradient(135deg, #3498db, #9b59b6, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: -1px;
}
.changelog-hero .hero-subtitle {
    font-size: 20px;
    color: #bbb;
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.changelog-hero .hero-subtitle strong { color: #fff; }
.changelog-hero .hero-cta {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.changelog-hero .hero-cta a {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-changelog-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    box-shadow: 0 4px 20px rgba(52,152,219,0.4);
}
.btn-changelog-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(52,152,219,0.5);
}
.btn-changelog-outline {
    border: 2px solid rgba(255,255,255,0.2);
    color: #ddd;
    background: rgba(255,255,255,0.05);
}
.btn-changelog-outline:hover {
    border-color: #3498db;
    color: #3498db;
    background: rgba(52,152,219,0.1);
}

/* Sección de licencias */
.changelog-license {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #16161e, #1a1a2e);
    border-radius: 16px;
    border: 1px solid #2a2a35;
    text-align: center;
}
.changelog-license h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #f0f0f0;
}
.changelog-license .license-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}
.changelog-license p {
    font-size: 15px;
    line-height: 1.7;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 20px;
}
.changelog-license .forum-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(155,89,182,0.3);
}
.changelog-license .forum-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155,89,182,0.4);
}

/* Sección de feedback */
.changelog-feedback {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a2e, #0d0d12);
    border-radius: 16px;
    border: 1px solid #e74c3c33;
    text-align: center;
}
.changelog-feedback h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #f0f0f0;
}
.changelog-feedback .feedback-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.changelog-feedback p {
    font-size: 15px;
    line-height: 1.7;
    color: #aaa;
    max-width: 650px;
    margin: 0 auto 20px;
}
.changelog-feedback .feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(231,76,60,0.3);
}
.changelog-feedback .feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231,76,60,0.4);
}

/* Tarjetas de características */
.changelog-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 20px;
}
.changelog-feature-card {
    background: #16161e;
    border: 1px solid #2a2a35;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.changelog-feature-card:hover {
    border-color: #3498db;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(52,152,219,0.1);
}
.changelog-feature-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.changelog-feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #f0f0f0;
}
.changelog-feature-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   PARALLAX Y ANIMACIONES DE SCROLL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Efecto parallax sutil en el hero */
.changelog-hero {
    transform: translateZ(0);
    will-change: transform;
}
#changelog-threejs {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Footer */
.changelog-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #2a2a35;
    color: #666;
    font-size: 13px;
}
.changelog-footer a { color: #3498db; text-decoration: none; }
.changelog-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .changelog-hero h1 { font-size: 32px; }
    .changelog-hero .hero-subtitle { font-size: 16px; }
    .changelog-hero { min-height: 400px; padding: 60px 16px 50px; }
    .changelog-features { grid-template-columns: 1fr; }
    .reveal { transform: translateY(20px); }
}
