/* Variables de colores */
:root {
    --dark: #101630;
    --dark-mid: #171f43;
    --dark-light: #1e295b;
    --asvel: #e8edf2; /* blanco frío, ligeramente plateado */
    --darkGrwhite: #c8d4e0; /* gris azulado, complementa el dark */
    --text: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.65);
    --text-muted: #a0aec0;
    --glass-bg: rgba(23, 31, 67, 0.6);
    --glass-border: rgba(217, 232, 236, 0.18);
    --header-h: 64px;
    --hero-h: 520px;
    --blur-zone-h: 160px;
    --avatar-size: 200px;
    --avatar-pull: 20px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlight {
    color: var(--asvel);
}

/* Background image */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 200;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: none;
    transition:
        background 0.4s,
        border-color 0.4s,
        backdrop-filter 0.4s;
}

.header.scrolled {
    background: rgba(16, 22, 48, 0.5);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(73, 186, 218, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    color: var(--darkGrwhite);
    letter-spacing: 0.1em;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    transition: color 0.25s;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--asvel);
    transition: width 0.3s;
}

.desktop-nav a:hover {
    color: #fff;
}
.desktop-nav a:hover::after {
    width: 100%;
}

/* Botón Discord */
.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    color: #fff;
    cursor: pointer;
    transition:
        background 0.25s,
        border-color 0.25s,
        color 0.25s;
}

.btn-discord svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.btn-discord:hover {
    background: rgba(208, 221, 224, 0.18);
    border-color: var(--asvel);
    color: var(--asvel);
}

/* Hamburguesa */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 199;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(16, 22, 48, 0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav a {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
    transition:
        color 0.2s,
        background 0.2s;
}

.mobile-nav a:hover {
    color: var(--asvel);
    background: rgba(208, 221, 224, 0.05);
}

/* Hero section */
.hero {
    position: relative;
    z-index: 1;
    height: var(--hero-h);
    padding-top: var(--header-h);
    overflow: hidden;
}

/* Blur al final de la imagen */
.hero-blur-edge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--blur-zone-h);
    z-index: 2;
    pointer-events: none;

    backdrop-filter: blur(18px) brightness(0.7);
    -webkit-backdrop-filter: blur(18px) brightness(0.7);

    mask-image: linear-gradient(to bottom, transparent 0%, black 55%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 55%);

    background: linear-gradient(to bottom, transparent 0%, rgba(16, 22, 48, 0.55) 50%, var(--dark) 100%);
}

/* Perfil */
.profile-card {
    position: absolute;
    bottom: calc(var(--blur-zone-h) - 40px);
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 0 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Avatar */
.profile-avatar {
    width: var(--avatar-size);
    height: var(--avatar-size);
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dark);
    outline: 2px solid rgba(73, 186, 218, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    transition:
        outline-color 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
    animation: fadeUp 0.5s ease 0.05s both;
}

.profile-avatar:hover {
    outline-color: var(--asvel);
    border-color: var(--asvel);
    box-shadow: 0 4px 28px rgba(208, 221, 224, 0.25);
}

/* Texto del perfil */
.profile-info {
    padding-bottom: 0.5rem;
    animation: fadeUp 0.5s ease 0.15s both;
}

.profile-name {
    font-size: 2.1rem;
    line-height: 1;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.profile-handle {
    font-size: 0.8125rem;
    color: var(--text-sub);
    margin-top: 0.2rem;
    font-weight: 400;
}

/* Bio */
.profile-bio {
    margin-top: 0.65rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    max-width: 320px;
}

.profile-bio strong {
    color: #fff;
    font-weight: 600;
}

/* Tags */
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.profile-tag {
    padding: 0.2rem 0.65rem;
    background: rgba(73, 186, 218, 0.1);
    border: 1px solid rgba(73, 186, 218, 0.25);
    border-radius: 999px;
    font-size: 0.7rem;
    color: var(--asvel);
    font-weight: 500;
}

/* Acciones */
.profile-actions {
    margin-top: 0.9rem;
}

.btn-contact {
    padding: 0.45rem 1.35rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition:
        background 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
    font-family: "Poppins", sans-serif;
}

.btn-contact:hover {
    background: rgba(208, 221, 224, 0.18);
    border-color: var(--asvel);
    color: var(--asvel);
    box-shadow: 0 0 16px rgba(208, 221, 224, 0.25);
}

/* ===== AVATAR WRAP ===== */
.avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

/* Badge Online — oculto por defecto, JS lo activa cuando está en live */
.online-badge {
    display: none;
    align-items: center;
    gap: 5px;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(160, 10, 10, 0.88);
    border: 1px solid rgba(255, 68, 68, 0.4);
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 0.7rem;
    color: #fff;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4444;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.9);
    flex-shrink: 0;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.75);
    }
}

/* Aro rojo en el avatar cuando está en live */
.profile-avatar.is-live {
    outline: 3px solid #ff4444;
    outline-offset: 3px;
    box-shadow:
        0 0 0 4px rgba(255, 68, 68, 0.2),
        0 4px 24px rgba(0, 0, 0, 0.5);
}

/* Name row */
.name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sociales — ocultos en desktop */
.profile-socials {
    display: none;
}

/* Contenido sólido */
.page-content {
    position: relative;
    z-index: 2;
    background: var(--dark);
    box-shadow: 0 -24px 48px var(--dark);
    animation: fadeUp 0.45s ease 0.2s both;
}

/* Links */
.links-section {
    padding: 2.5rem 0 5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 237, 242, 0.07);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--asvel);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* ===== GRID ===== */

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

/* ===== CARD ===== */

.link-card {
    position: relative;

    min-height: 240px;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: #0c1228;

    text-decoration: none;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;

    box-shadow:
        0 10px 30px rgba(7, 15, 45, 0.55),
        0 0 24px rgba(45, 90, 255, 0.08),
        inset 0 1px rgba(255, 255, 255, 0.04);
}

/* ===== IMAGE ===== */

.link-thumb {
    position: absolute;
    inset: 0;
}

.link-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: brightness(0.72) saturate(1.08);

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

/* ===== OVERLAY ===== */

/* ===== OVERLAY BASE ===== */

.link-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(6, 12, 32, 0.82) 0%,
        rgba(8, 18, 48, 0.42) 45%,
        rgba(10, 22, 58, 0.08) 100%
    );

    z-index: 1;

    transition: opacity 0.45s ease;
}

/* ===== HOVER OVERLAY ===== */

.link-overlay::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(6, 12, 32, 0.64) 0%,
        rgba(8, 18, 48, 0.22) 45%,
        rgba(10, 22, 58, 0.03) 100%
    );

    opacity: 0;

    transition: opacity 0.45s ease;
}

/* ===== CONTENT ===== */

.link-content {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 24px;

    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== TITLE ===== */

.link-label {
    font-size: 2rem;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.03em;

    color: #fff;
}

/* ===== META ===== */

.link-meta {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 1rem;

    color: rgba(255, 255, 255, 0.72);
}

.link-status {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #00ff84;

    box-shadow: 0 0 12px rgba(0, 255, 132, 0.7);
}

/* ===== HOVER ===== */

.link-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 255, 255, 0.14);

    box-shadow:
        0 20px 50px rgba(5, 12, 35, 0.72),
        0 0 40px rgba(80, 120, 255, 0.12),
        0 0 80px rgba(20, 40, 120, 0.16);
}

.link-card:hover .link-thumb img {
    transform: scale(1.04);

    filter: brightness(0.84) saturate(1.14);
}

.link-card:hover .link-overlay {
    background: linear-gradient(
        to top,
        rgba(6, 12, 32, 0.64) 0%,
        rgba(8, 18, 48, 0.22) 45%,
        rgba(10, 22, 58, 0.03) 100%
    );
}

.link-card:hover .link-overlay::after {
    opacity: 0.5;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

    .link-card {
        min-height: 210px;
        border-radius: 24px;
    }

    .link-content {
        left: 22px;
        right: 22px;
        bottom: 20px;
    }

    .link-label {
        font-size: 1.7rem;
    }
}

/* Cta */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark-mid) 0%, var(--dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glow del fondo */
.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at center, rgba(232, 237, 242, 0.1) 0%, transparent 60%),
        radial-gradient(circle at top, rgba(200, 212, 224, 0.08) 0%, transparent 55%);
}

/* Contenido */
.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Título */
.cta-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 1rem;
}

/* Descripción */
.cta-description {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 2.2rem;
}

/* Botón CTA */
.cta .btn-accent {
    background: linear-gradient(135deg, var(--asvel), var(--darkGrwhite));

    color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(232, 237, 242, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.cta .btn-accent:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(232, 237, 242, 0.12);

    opacity: 0.96;
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 0.75rem;
}

footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-tagline {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.footer-col h4 {
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.65rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--asvel);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.75rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.8125rem;
}

/* Botones generales */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: "Poppins", sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--asvel), #3a9dba);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(73, 186, 218, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .desktop-only {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    :root {
        --hero-h: 400px;
        --avatar-size: 126px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .profile-card {
        bottom: calc(var(--blur-zone-h) - 70px);
    }
}

@media (max-width: 520px) {
    :root {
        --hero-h: 340px;
        --avatar-size: 106px;
    }
    .profile-card {
        bottom: calc(var(--blur-zone-h) - 80px);
    }
    .profile-name {
        font-size: 1.7rem;
    }
    .profile-bio {
        display: none;
    }
}

/* Animaciones */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal negocios */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(10, 14, 30, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--dark-mid);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.25rem 2rem 2rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.modal-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    color: var(--asvel);
    margin-bottom: 0.3rem;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        border-color 0.25s,
        background 0.25s,
        box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.modal-btn:hover {
    transform: translateY(-4px);
}

/* Formal */
.modal-btn--formal:hover {
    border-color: var(--asvel);
    background: rgba(232, 237, 242, 0.07);
    box-shadow: 0 8px 28px rgba(232, 237, 242, 0.1);
}

/* Estado copiado */
.modal-btn.copied {
    border-color: #38d39f;
    background: rgba(56, 211, 159, 0.08);

    box-shadow:
        0 0 0 1px rgba(56, 211, 159, 0.25),
        0 12px 32px rgba(56, 211, 159, 0.18);
}

/* Icono verde */
.modal-btn.copied .modal-btn-icon {
    background: rgba(56, 211, 159, 0.14);
    color: #38d39f;
}

/* Texto */
.modal-btn.copied .modal-btn-label {
    color: #7ff0c6;
}

/* Glow suave */
.modal-btn.copied::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at center, rgba(56, 211, 159, 0.18), transparent 70%);

    pointer-events: none;
}

/* Texto del botón */
.modal-btn-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;

    transition:
        color 0.35s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* Estado copiado */
.modal-btn.copied {
    border-color: #38d39f;
    background: rgba(56, 211, 159, 0.08);

    box-shadow:
        0 0 0 1px rgba(56, 211, 159, 0.25),
        0 12px 32px rgba(56, 211, 159, 0.18);
}

.modal-btn.copied .modal-btn-icon {
    background: rgba(56, 211, 159, 0.14);
    color: #38d39f;
}

.modal-btn.copied .modal-btn-label {
    color: #7ff0c6;
}

/* Glow */
.modal-btn.copied::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at center, rgba(56, 211, 159, 0.18), transparent 70%);

    pointer-events: none;
}

/* Informal */
.modal-btn--informal:hover {
    border-color: #7289da;
    background: rgba(114, 137, 218, 0.08);
    box-shadow: 0 8px 28px rgba(114, 137, 218, 0.15);
}

.modal-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}

.modal-btn--formal .modal-btn-icon {
    background: rgba(232, 237, 242, 0.1);
    color: var(--asvel);
}

.modal-btn--informal .modal-btn-icon {
    background: rgba(114, 137, 218, 0.15);
    color: #7289da;
}

.modal-btn:hover .modal-btn-icon {
    background: rgba(255, 255, 255, 0.12);
}

.modal-btn-icon svg {
    width: 24px;
    height: 24px;
}

.modal-btn-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.modal-btn-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.2;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 0.25s ease,
        max-height 0.3s ease;
}

.modal-btn:hover .modal-btn-desc {
    opacity: 1;
    max-height: 80px;
}

/* =========================================
   MOBILE PROFILE LAYOUT
========================================= */

@media (max-width: 768px) {
    /* Hero — full screen centrado */
    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100svh;
        padding-top: var(--header-h);
        overflow: hidden;
    }

    .hero-bg-img {
        filter: brightness(0.38) saturate(1.1);
    }

    .hero-blur-edge {
        height: 200px;
        background: linear-gradient(to bottom, transparent 0%, var(--dark) 100%);
    }

    /* Profile card — cancela el absolute del desktop, flota centrado */
    .profile-card {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 360px;
        margin: 0 auto;
        padding: 0 1.5rem;
        background: none;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        gap: 0;
    }

    /* Avatar */
    .profile-avatar {
        width: 112px;
        height: 112px;
        border: 3px solid rgba(232, 237, 242, 0.22);
        box-shadow:
            0 0 0 1px rgba(232, 237, 242, 0.1),
            0 8px 32px rgba(0, 0, 0, 0.6),
            0 0 40px rgba(73, 186, 218, 0.15);
    }

    .online-badge {
        display: none;
        align-items: center;
        gap: 5px;
        position: absolute;
        bottom: -14px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(12, 18, 40, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
        padding: 3px 11px;
        font-size: 0.7rem;
        color: #fff;
        white-space: nowrap;
        backdrop-filter: blur(10px);
    }

    /* Info — centrada */
    .profile-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .name-row {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .profile-name {
        font-size: 2.8rem;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    }

    .profile-handle {
        font-size: 0.85rem;
        margin-top: 0.3rem;
    }

    .profile-bio {
        font-size: 0.875rem;
        margin-top: 0.9rem;
        max-width: 280px;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
        display: block; /* por si estaba oculto en 520px */
    }

    .profile-tags {
        justify-content: center;
        margin-top: 1rem;
    }

    .profile-tag {
        padding: 6px 16px;
        font-size: 0.78rem;
        background: rgba(255, 255, 255, 0.07);
        backdrop-filter: blur(8px);
    }

    /* Sociales — aparecen solo en móvil */
    .profile-socials {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 1.3rem;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition:
            background 0.2s,
            border-color 0.2s,
            transform 0.2s;
    }

    .social-btn svg {
        width: 17px;
        height: 17px;
        fill: rgba(255, 255, 255, 0.6);
    }

    .profile-actions {
        margin-top: 1.2rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
    }
    .modal-btn {
        flex-direction: column;
        text-align: left;
        gap: 1rem;
        padding: 1.2rem 1rem;
    }

    .modal-options {
        grid-template-columns: 1fr;
    }

    .modal-btn-desc {
        opacity: 1;
        max-height: none;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(232, 237, 242, 0.15);
    border-radius: 999px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 237, 242, 0.35);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(232, 237, 242, 0.15) var(--dark);
}
