@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500&display=swap');

:root {
    --blue:      #6ee7ff;
    --blue-mid:  #1fb6ff;
    --text:      #e6f1ff;
    --muted:     #7f95b8;
    --line:      rgba(110, 231, 255, 0.14);
    --surface:   rgba(9, 19, 40, 0.72);
    --r: 10px;
    --ff-h: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    --ff-b: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    position: relative;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: var(--ff-b);
    font-size: 1rem;
    line-height: 1.55;
    background:
        radial-gradient(circle at 50% -12%, rgba(47, 122, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 24%, rgba(0, 240, 255, 0.14) 0%, transparent 26%),
        radial-gradient(circle at 12% 70%, rgba(168, 85, 247, 0.14) 0%, transparent 28%),
        linear-gradient(180deg, #060b16 0%, #09101d 38%, #05070e 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background:
        linear-gradient(rgba(110, 231, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 231, 255, 0.045) 1px, transparent 1px);
    background-size: 100% 36px, 36px 100%;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
    opacity: 0.34;
}

body::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
    mix-blend-mode: screen;
    opacity: 0.16;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin-top: 0; }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* ── Layout ── */
.page {
    width: min(100% - 24px, 640px);
    margin: 0 auto;
}

/* ── Profile ── */
.profile {
    position: relative;
    display: grid;
    justify-items: center;
    padding: 20px 0 36px;
    text-align: center;
}

.profile::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 12%, rgba(31, 182, 255, 0.16) 0%, transparent 72%),
        linear-gradient(180deg, rgba(110, 231, 255, 0.04), transparent 70%);
    pointer-events: none;
}

.profile-pic {
    width: clamp(148px, 40vw, 168px);
    aspect-ratio: 1;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(110, 231, 255, 0.34);
    background: #09111f;
    box-shadow:
        0 0 0 6px rgba(10, 26, 55, 0.42),
        0 0 36px rgba(31, 182, 255, 0.16),
        0 16px 48px rgba(0, 0, 0, 0.5);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Type ── */
h1, h2, h3 { font-family: var(--ff-h); margin-top: 0; }

h1 {
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 22vw, 3.8rem);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #9ee7ff 46%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 24px rgba(110, 231, 255, 0.18);
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

h3 {
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0;
}

.bio {
    max-width: 28rem;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: -8px;
}

/* ── Socials ── */
.socials { display: flex; gap: 8px; margin-top: -10px; margin-bottom: -28px; }

.socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(8, 16, 33, 0.58);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 160ms, border-color 160ms, background 160ms;
}

.socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(110, 231, 255, 0.34);
    background: rgba(10, 24, 48, 0.82);
}

.socials img { width: 28px; height: 28px; object-fit: contain; }

/* ── Sections ── */
section { margin-top: 40px; }

/* ── Shows ── */
.shows { margin-top: 28px; margin-bottom: -18px; }

.show-stack { display: grid; gap: 8px; }

.show-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(108px, 24vw, 148px);
    align-items: center;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background:
        linear-gradient(180deg, rgba(15, 27, 54, 0.9), rgba(8, 15, 31, 0.9)),
        var(--surface);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background 160ms, border-color 160ms, transform 160ms, box-shadow 160ms;
}

.show-card:hover {
    background:
        linear-gradient(180deg, rgba(19, 38, 72, 0.96), rgba(10, 20, 39, 0.96)),
        var(--surface);
    border-color: rgba(110, 231, 255, 0.26);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 14px 34px rgba(0, 0, 0, 0.26),
        0 0 24px rgba(31, 182, 255, 0.08);
}

.show-info { display: grid; gap: 1px; min-width: 0; }

.date {
    font-family: var(--ff-h);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--blue);
    margin: 0;
    text-align: right;
    white-space: normal;
}

.show-card p:not(.date) {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ── Big links ── */


.link-stack { display: grid; gap: 8px; }

.big-link {
    position: relative;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px 18px;
    background:
        linear-gradient(180deg, rgba(13, 24, 49, 0.86), rgba(8, 15, 30, 0.88)),
        var(--surface);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 30px rgba(0, 0, 0, 0.16);
    text-decoration: none;
    transition: background 180ms, border-color 180ms, transform 180ms, box-shadow 180ms;
    overflow: hidden;
}

.big-link > * {
    position: relative;
    z-index: 1;
}

.big-link:hover {
    background:
        linear-gradient(180deg, rgba(17, 32, 65, 0.92), rgba(10, 19, 39, 0.92)),
        var(--surface);
    border-color: rgba(110, 231, 255, 0.26);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 36px rgba(0, 0, 0, 0.22),
        0 0 28px rgba(31, 182, 255, 0.08);
}

.big-link h3 {
    margin: 0;
    font-family: var(--ff-h);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}

.blocked-link {
    cursor: not-allowed;
    opacity: 0.68;
    filter: saturate(0.65);
}

.blocked-link:hover {
    background:
        linear-gradient(180deg, rgba(13, 24, 49, 0.86), rgba(8, 15, 30, 0.88)),
        var(--surface);
    border-color: var(--line);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 30px rgba(0, 0, 0, 0.16);
    transform: none;
}

.blocked-icon {
    position: relative;
    top: 0.08em;
    display: inline-block;
    width: 0.82em;
    aspect-ratio: 1;
    margin-left: 0.38em;
    border: 2px solid rgba(255, 80, 80, 0.86);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 80, 80, 0.22);
}

.blocked-icon::before {
    content: "";
    position: absolute;
    inset: 42% 10%;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 80, 80, 0.9);
    transform: rotate(-38deg);
}

.big-link small {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.primary-link {
    border-color: rgba(110, 231, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(15, 34, 63, 0.92), rgba(9, 20, 39, 0.94)),
        rgba(110, 231, 255, 0.05);
}

.primary-link:hover {
    background:
        linear-gradient(180deg, rgba(19, 42, 76, 0.96), rgba(11, 24, 45, 0.96)),
        rgba(110, 231, 255, 0.09);
    border-color: rgba(110, 231, 255, 0.35);
}

.canal-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 7, 26, 0.42), rgba(7, 7, 26, 0.72)),
        url("./imagens/seinfeld.jpg") center/cover no-repeat;
    opacity: 0.42;
    transition: opacity 180ms;
}

.canal-link:hover::before {
    opacity: 0.52;
}

.contact-actions { display: grid; gap: 8px; }

/* ── Clips ── */
.clip-grid { display: grid; gap: 8px; }

.clip-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background:
        linear-gradient(180deg, rgba(13, 24, 47, 0.86), rgba(8, 14, 28, 0.88)),
        var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 160ms, box-shadow 160ms;
}

.clip-card:hover {
    border-color: rgba(110, 231, 255, 0.24);
    box-shadow: 0 0 24px rgba(31, 182, 255, 0.08);
}

.clip-card h3 {
    margin: 0;
    padding: 10px 12px;
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
}

.video-slot {
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(155deg, rgba(31, 182, 255, 0.08) 0%, rgba(5, 10, 22, 0.96) 100%);
}

/* ── Side projects ── */
.side-projects h2 { margin-bottom: 10px; }

.side-projects p {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 52ch;
    margin-bottom: 0;
}

/* ── Footer ── */
.footer {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer p {
    margin: 0;
    font-family: var(--ff-h);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.footer a {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.84rem;
    color: var(--muted);
    background: rgba(8, 16, 33, 0.5);
    text-decoration: none;
    transition: color 160ms, border-color 160ms, background 160ms;
}

.footer a:hover {
    color: var(--text);
    border-color: rgba(110, 231, 255, 0.24);
    background: rgba(11, 24, 47, 0.8);
}

/* ── Responsive ── */
@media (min-width: 580px) {
    .link-stack { grid-template-columns: repeat(2, 1fr); }
    .link-stack .primary-link { grid-column: 1 / -1; }
    .contact-actions { grid-template-columns: repeat(2, 1fr); }
    .clip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
