:root {
    --bg: #080d14;
    --bg-soft: #101925;
    --card: rgba(14, 22, 33, 0.78);
    --text: #fff7e8;
    --muted: #d8c8aa;
    --gold: #f2b636;
    --gold-soft: #ffd36c;
    --twitch: #9146ff;
    --focus: #fff3a6;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at top, rgba(145, 70, 255, 0.15), transparent 32rem), linear-gradient(135deg, rgba(8, 13, 20, 0.9), rgba(8, 13, 20, 0.98)), url("../img/heinzlive-background.png") center / cover fixed;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

.page-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.landing,
.content-page {
    width: min(100%, 52rem);
    margin: auto;
    text-align: center;
}

.brand-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(100%, 31rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    padding: 0;
}

.site-logo {
    display: block;
    width: min(100%, 24rem);
    max-height: 8rem;
}

.content-logo {
    display: flex;
    max-width: min(100%, 31rem);
    margin: 0 auto clamp(1rem, 3vw, 1.5rem);
    text-decoration: none;
}

.content-logo .site-logo {
    width: min(100%, 24rem);
    max-height: 8rem;
}

.portrait-wrap {
    max-width: min(100%, 35rem);
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    padding: clamp(0.45rem, 1.4vw, 0.75rem);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(242, 182, 54, 0.9), rgba(145, 70, 255, 0.45));
    box-shadow: var(--shadow);
}

.portrait {
    display: block;
    width: 100%;
    max-height: min(58vh, 42rem);
    border-radius: 1.45rem;
    object-fit: cover;
    object-position: center;
}

.intro,
.content-card {
    border: 1px solid rgba(255, 211, 108, 0.18);
    border-radius: 1.4rem;
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.intro {
    margin: 0 auto clamp(1.4rem, 4vw, 2.4rem);
    padding: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.intro p,
.text-content p {
    margin: 0 0 1rem;
}

.intro p:last-child,
.text-content p:last-child {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    min-height: 3.25rem;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 247, 232, 0.15);
    border-radius: 999px;
    color: var(--text);
    background: rgba(16, 25, 37, 0.86);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 182, 54, 0.72);
    background: rgba(24, 36, 52, 0.95);
}

.social-link-primary {
    min-height: 3.65rem;
    padding-inline: 1.25rem;
    border-color: rgba(145, 70, 255, 0.9);
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.95), rgba(98, 42, 188, 0.95));
    box-shadow: 0 12px 34px rgba(145, 70, 255, 0.24);
    font-weight: 800;
}

.content-page {
    text-align: left;
}

.content-card {
    padding: clamp(1.4rem, 4vw, 2.5rem);
}

.content-card h1 {
    margin: 0 0 1.25rem;
    color: var(--gold-soft);
    font-size: clamp(2rem, 6vw, 3.5rem);
}

.text-content {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

.breadcrumb ol {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(255, 211, 108, 0.2);
    border-radius: 999px;
    background: rgba(8, 13, 20, 0.66);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
    list-style: none;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.breadcrumb li + li::before {
    color: var(--gold-soft);
    content: ">";
}

.breadcrumb a {
    color: var(--gold-soft);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.2em;
}

.site-footer {
    width: min(100%, 52rem);
    margin-top: clamp(2rem, 6vw, 4rem);
    color: var(--muted);
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.2rem;
    margin-bottom: 0.75rem;
}

.footer-nav a {
    text-decoration-color: rgba(242, 182, 54, 0.55);
    text-underline-offset: 0.2em;
}

.footer-nav a:hover {
    color: var(--gold-soft);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 42rem) {
    body {
        background-attachment: scroll;
    }

    .page-shell {
        padding-inline: 1rem;
    }

    .portrait {
        max-height: 54vh;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
