/* =========================================
   MISide: Pacify Mode — descarga.css
   ========================================= */

/* ── Import global tokens from style.css ── */
:root {
    --pink: #ff6b9d;
    --pink-light: #ffb3d1;
    --cyan: #00d4ff;
    --purple: #7c3aed;
    --bg: #060410;
    --surface: rgba(255, 255, 255, 0.04);
    --font: 'Outfit', sans-serif;
    --mono: 'Share Tech Mono', monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: #fff;
    font-family: var(--font);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── NAVBAR (exact copy of global style) ── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2.5rem;
    background: rgba(6, 4, 16, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 107, 157, .08);
    transition: background .3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    cursor: pointer;
}

.nav-logo img {
    height: 36px;
}

.nav-logo span {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .35);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: .25rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    font-size: .88rem;
    padding: .45rem .85rem;
    border-radius: 8px;
    transition: color .2s, background .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.nav-links .nav-cta {
    background: linear-gradient(135deg, var(--pink), #c0392b);
    color: #fff !important;
    padding: .45rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    opacity: .88;
    background: linear-gradient(135deg, var(--pink), #c0392b);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

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

    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        flex-direction: column;
        background: rgba(6, 4, 16, .97);
        border-left: 1px solid rgba(255, 107, 157, .12);
        padding: 1.5rem 1rem;
        gap: .35rem;
        transform: translateX(100%);
        transition: transform .3s;
        min-width: 220px;
    }

    .nav-links.open {
        transform: translateX(0);
    }
}

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 58, 237, .18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 212, 255, .1) 0%, transparent 60%),
        linear-gradient(180deg, #060410 0%, #0d0820 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .22em;
    color: rgba(255, 107, 157, .7);
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
}

.hero-title .gradient {
    background: linear-gradient(120deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.8rem;
}

/* ── DOWNLOAD CARDS ── */
#cards {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

.cards-label {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .22em;
    color: rgba(255, 107, 157, .6);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cards-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: .6rem;
}

.cards-title span {
    background: linear-gradient(120deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cards-sub {
    text-align: center;
    color: rgba(255, 255, 255, .45);
    font-size: .95rem;
    max-width: 500px;
    margin: 0 auto 3.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ── Individual Card ── */
.dl-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.dl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity .3s;
}

.dl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

/* Steam card */
.dl-card.steam::before {
    background: linear-gradient(90deg, #1b2838, var(--cyan));
}

.dl-card.steam:hover {
    border-color: rgba(0, 212, 255, .3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 40px rgba(0, 212, 255, .08);
}

.dl-card.steam::before {
    opacity: 1;
}

/* Itch card */
.dl-card.itch::before {
    background: linear-gradient(90deg, #fa5c5c, var(--pink));
}

.dl-card.itch:hover {
    border-color: rgba(255, 107, 157, .3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 40px rgba(255, 107, 157, .08);
}

.dl-card.itch::before {
    opacity: 1;
}

.dl-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dl-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dl-card.steam .dl-card-icon {
    background: rgba(26, 40, 56, .7);
    border: 1px solid rgba(0, 212, 255, .2);
}

.dl-card.itch .dl-card-icon {
    background: rgba(250, 92, 92, .1);
    border: 1px solid rgba(255, 107, 157, .2);
}

.dl-card-platform {
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .35);
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.dl-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* Badge */
.dl-card-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .12em;
    padding: .3rem .7rem;
    border-radius: 20px;
    border: 1px solid;
    width: fit-content;
}

.dl-card.steam .dl-card-badge {
    color: var(--cyan);
    border-color: rgba(0, 212, 255, .3);
    background: rgba(0, 212, 255, .06);
}

.dl-card.itch .dl-card-badge {
    color: var(--pink);
    border-color: rgba(255, 107, 157, .3);
    background: rgba(255, 107, 157, .06);
}

.dl-card-badge .badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: pulse-dot 1.8s infinite;
}

.dl-card.steam .badge-dot {
    background: var(--cyan);
}

.dl-card.itch .badge-dot {
    background: var(--pink);
}

.dl-card-desc {
    font-size: .88rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.65;
    flex: 1;
}

/* Stats row */
.dl-card-stats {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.dl-stat {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.dl-stat-val {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.dl-stat-lbl {
    font-family: var(--mono);
    font-size: .54rem;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .3);
    text-transform: uppercase;
}

/* CTA Button */
.dl-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .85rem 1.4rem;
    border-radius: 12px;
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    border: none;
    cursor: pointer;
}

.dl-card-btn:hover {
    opacity: .9;
    transform: scale(1.02);
}

.dl-card.steam .dl-card-btn {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #fff;
    border: 1px solid rgba(0, 212, 255, .25);
}

.dl-card.itch .dl-card-btn {
    background: linear-gradient(135deg, var(--pink), #c0392b);
    color: #fff;
}

.dl-card-btn svg {
    flex-shrink: 0;
}


/* Contenedor para centrar el botón en la página */
.download-section {
    display: flex;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 5;
}

/* El botón con el estilo de tu sistema (Glassmorphism + Neón) */
.btn-neon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 2.2rem;
    background: rgba(255, 255, 255, 0.05);
    /* Efecto cristal */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 107, 157, 0.3);
    /* Borde rosa suave */
    border-radius: 14px;

    color: #fff;
    font-family: var(--font);
    /* Usa la fuente 'Outfit' de tu root */
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.95rem;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Efecto Hover (Brillo Neón Rosa) */
.btn-neon:hover {
    background: rgba(255, 107, 157, 0.15);
    border-color: var(--pink);
    /* Usa tu variable pink */
    transform: translateY(-3px) scale(1.02);

    /* Resplandor neón */
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.4),
        0 0 40px rgba(255, 107, 157, 0.1);
    text-shadow: 0 0 5px #fff;
}

/* Efecto al hacer clic */
.btn-neon:active {
    transform: translateY(1px) scale(0.98);
}

/* Icono de descarga animado */
.btn-neon::before {
    content: '📥';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-neon:hover::before {
    transform: translateY(3px);
    /* El icono "baja" al hacer hover */
}


/* ── REQUIREMENTS SECTION ── */
#requirements {
    padding: 4rem 2rem 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.req-header {
    text-align: center;
    margin-bottom: 3rem;
}

.req-header .section-label {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .22em;
    color: rgba(255, 107, 157, .6);
    text-transform: uppercase;
    display: block;
    margin-bottom: .8rem;
}

.req-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
}

.req-header h2 span {
    background: linear-gradient(120deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .req-grid {
        grid-template-columns: 1fr;
    }
}

.req-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 1.8rem;
}

.req-card-title {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .18em;
    color: var(--pink);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid rgba(255, 107, 157, .15);
}

.req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.req-list li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: .5rem;
    font-size: .85rem;
}

.req-key {
    color: rgba(255, 255, 255, .35);
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .08em;
    padding-top: .05rem;
}

.req-val {
    color: rgba(255, 255, 255, .75);
}

/* ── FOOTER ── */
#footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 2rem;
    text-align: center;
}

.footer-text {
    font-size: .82rem;
    color: rgba(255, 255, 255, .25);
    font-family: var(--mono);
    letter-spacing: .06em;
}

.footer-text a {
    color: rgba(255, 107, 157, .5);
    text-decoration: none;
    transition: color .2s;
}

.footer-text a:hover {
    color: var(--pink);
}

/* ── Reveal animation ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}