/* HERO CONTENT */
/* Only apply overflow hidden on desktop/larger screens */
@media (min-width: 769px) {
    nav, body, html {
        overflow-y: hidden;
    }
}

.hero {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: grid;
    place-items: center;
    /* CHANGE THIS: Reduce top padding */
    padding: 3rem 1.25rem 3rem; /* top: 3rem instead of 6rem */
}

.card {
    width: min(1080px, 92vw);
    border-radius: 28px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), var(--glass);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 10px 50px rgba(10, 12, 22, .6),
    0 0 120px 20px rgba(124, 92, 255, .12);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: clip;
    isolation: isolate;
    /* ADD THIS: Move just the card up */
    transform: translateY(-4rem);
}

/* Neon edge sweep */
.card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 180deg, var(--glow1), var(--glow2), var(--glow1));
    filter: blur(10px) opacity(.55);
    z-index: -1;
    mask: linear-gradient(#000 0 0) exclude, radial-gradient(600px 200px at 20% 0%, transparent 40%, #000 41%);
    pointer-events: none;
}

.grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

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

.title {
    font-weight: 800;
    line-height: 1.05;
    margin: .35rem 0 .75rem;
    font-size: clamp(28px, 6vw, 64px);
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .45);
}

.subtitle {
    color: var(--muted);
    font-size: clamp(15px, 2.4vw, 18px);
    max-width: 60ch;
    margin: 0 0 1.25rem;
}

/* BADGES */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: .5rem 0 0;
}

.badge {
    --ring: transparent;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .84rem;
    border: 1px solid var(--badge-brd);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)), var(--badge-bg);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
    position: relative;
}

.badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 1px var(--ring) inset;
    pointer-events: none;
}

.badge[data-variant="hot"] {
    --ring: rgba(255, 61, 129, .45);
}

.badge[data-variant="cool"] {
    --ring: rgba(0, 212, 255, .35);
}

.badge[data-variant="warm"] {
    --ring: rgba(255, 179, 0, .35);
}

.badge .pill {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: .22rem .5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
}

/* PHOTO / CARD SIDE */
.art {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 26px;
    overflow: hidden;
    background: radial-gradient(60% 40% at 50% 20%, rgba(124, 92, 255, .25), transparent 60%),
    radial-gradient(80% 60% at 80% 80%, rgba(0, 212, 255, .2), transparent 60%),
    linear-gradient(135deg, #101423, #0c0f19 55%, #0b0e17);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 10px 40px rgba(0, 0, 0, .45),
    0 0 160px rgba(124, 92, 255, .18);
    display: grid;
    place-items: center;
}

.avatar {
    width: 72%;
    aspect-ratio: 1;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55), 0 0 80px rgba(0, 212, 255, .25);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    display: grid;
    place-items: center;
}

.avatar span {
    font-size: clamp(64px, 8vw, 98px);
    opacity: .9;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .6);
}

/* Small helper row */
.meta {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-top: 1rem;
    color: var(--sub);
    opacity: .9
}

.meta .sep {
    opacity: .5
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .waves__dot, .card::before {
        animation: none
    }
}

.page-section.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.eyebrow {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    color: var(--sub);
    font-weight: 600;
    letter-spacing: .12em;
    font-size: .78rem;
    text-transform: uppercase;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--glow2);
    box-shadow: 0 0 12px var(--glow2), 0 0 28px rgba(0, 212, 255, .55);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: .75;
        transform: scale(.9)
    }
    50% {
        opacity: 1;
        transform: scale(1.1)
    }
}
.badge {
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), var(--glass);

}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.1) 2px,
        rgba(255, 255, 255, 0.1) 4px
    );
    pointer-events: none;
}

