:root {
    --bg-dark: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary-color: #3b82f6;
    --primary-glow: #60a5fa;
    --roja-glow: rgba(220, 38, 38, 0.4);
    --verde-glow: rgba(16, 185, 129, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

.text-light-50 {
    color: var(--text-secondary) !important;
}

.text-primary-glow {
    color: var(--primary-glow);
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Blobs */
.blob {
    position: fixed; /* Better than absolute for scrolling */
    filter: blur(80px);
    z-index: 1;
    border-radius: 50%;
    opacity: 0.6;
    animation: drift 15s infinite alternate ease-in-out;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: var(--roja-glow);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--verde-glow);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: rgba(59, 130, 246, 0.3);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Glassmorphism Badge */
.badge-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-weight: 400;
}

/* Scrollable Cards Container */
.cards-container {
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 2rem;
}
.cards-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Card Glass */
.card-glass {
    min-width: 280px;
    width: 85vw;
    max-width: 340px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.card-glass:hover::before {
    left: 200%;
}

.card-glass:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
}

.card-image-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    perspective: 1000px;
}

.card-image-wrapper img {
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.floating-slow {
    animation: floating 4s ease-in-out infinite;
}
.floating-fast {
    animation: floating 3.5s ease-in-out infinite;
    animation-delay: -1s;
}

@keyframes floating {
    0% { transform: translateY(0px) rotateX(10deg) rotateY(-5deg); }
    50% { transform: translateY(-10px) rotateX(15deg) rotateY(0deg); }
    100% { transform: translateY(0px) rotateX(10deg) rotateY(-5deg); }
}

.balance-display {
    transition: all 0.3s ease;
}

.balance-revealed {
    color: var(--primary-glow) !important;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.4);
}

/* Download Section Highlights */
.glow-icon-success {
    text-shadow: 0 0 15px rgba(25, 135, 84, 0.6);
}

.btn-glass-download {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(21, 128, 61, 0.4));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-glass-download::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.btn-glass-download:hover::after {
    left: 200%;
}

.btn-glass-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 20px rgba(16, 185, 129, 0.3), inset 0 1px 2px rgba(255,255,255,0.2);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(21, 128, 61, 0.5));
}

/* ── Glass Panel (shared) ── */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ── Secondary Glass Button ── */
.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 50rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ── Releases Page ── */
.releases-hero .hero-title {
    line-height: 1.15;
}

.release-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
}

.release-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.release-row::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.release-row:hover::before {
    left: 200%;
}

.release-row:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.release-row.latest {
    border-color: rgba(16, 185, 129, 0.25);
}

.release-row.latest:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.15);
}

.release-row-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.release-row-right {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .release-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.release-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: flex-start;
    width: 120px;
    padding: 0.3rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.release-chip.latest {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.release-version {
    font-size: 1.5rem;
    font-weight: 800;
}

.release-copy {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Help section at bottom */
.release-help {
    margin-top: 1rem;
}

.release-link {
    color: var(--primary-glow);
    text-decoration: none;
    transition: color 0.2s ease;
}

.release-link:hover {
    color: #93bbfd;
    text-decoration: underline;
}

.release-row .btn {
    border-radius: 50rem;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

