:root {
    color-scheme: dark;
    --bg: #070707;
    --panel: rgba(18, 18, 18, 0.88);
    --panel-strong: #151515;
    --text: #f7f2ea;
    --muted: #b7b0a7;
    --line: rgba(255, 255, 255, 0.12);
    --red: #df1f2d;
    --amber: #ffb13d;
    --steel: #8d9aa4;
    --shadow: rgba(0, 0, 0, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 18% 12%, rgba(223, 31, 45, 0.22), transparent 30%),
        radial-gradient(circle at 82% 2%, rgba(255, 177, 61, 0.13), transparent 26%),
        linear-gradient(145deg, #050505 0%, #121212 50%, #060606 100%);
    text-align: center;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(120deg, transparent 0 22%, rgba(255, 255, 255, 0.035) 22% 22.4%, transparent 22.4% 48%, rgba(255, 255, 255, 0.025) 48% 48.3%, transparent 48.3%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 72px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

.page-shell {
    width: min(100%, 620px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 46px 18px;
    display: flex;
    align-items: center;
}

.profile-card {
    width: 100%;
    padding: 26px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 34%),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 26px 80px var(--shadow);
    backdrop-filter: blur(18px);
}

.live-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(100%, 520px);
    margin: 20px auto 0;
    padding: 15px;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 60%),
        rgba(8, 8, 8, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--steel);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.live-status.is-live {
    border-left-color: var(--red);
    background:
        linear-gradient(90deg, rgba(223, 31, 45, 0.24), transparent 64%),
        rgba(12, 8, 8, 0.88);
}

.live-status.is-offline {
    border-left-color: var(--steel);
}

.live-status-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.live-label,
.live-message {
    margin: 0;
}

.live-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.live-status.is-live .live-label {
    color: #fff0f1;
}

.live-message {
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.live-actions {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
}

.status-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.status-btn:hover,
.status-btn:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.11);
}

.status-btn:focus-visible {
    outline: 3px solid rgba(255, 177, 61, 0.36);
    outline-offset: 3px;
}

.status-btn-twitch:hover,
.status-btn-twitch:focus-visible {
    border-color: #aa86ff;
}

.status-btn-youtube:hover,
.status-btn-youtube:focus-visible {
    border-color: #ff5761;
}

.primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 360px);
    min-height: 52px;
    margin-top: 16px;
    padding: 0 22px;
    color: #090909;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, var(--amber), #ff6b3d 45%, var(--red));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(223, 31, 45, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 22px 46px rgba(223, 31, 45, 0.36);
}

.primary-cta:focus-visible {
    outline: 3px solid rgba(255, 177, 61, 0.36);
    outline-offset: 3px;
}

.hero {
    position: relative;
    padding: 24px 10px 26px;
}

.hero::after {
    display: block;
    width: 92px;
    height: 3px;
    margin: 24px auto 0;
    content: "";
    background: linear-gradient(90deg, transparent, var(--red), var(--amber), transparent);
}

.profile-frame {
    width: 132px;
    height: 132px;
    margin: 0 auto 22px;
    padding: 5px;
    background: linear-gradient(135deg, var(--red), #252525 48%, var(--amber));
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.035), 0 18px 40px rgba(0, 0, 0, 0.42);
}

.profile-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #080808;
    border-radius: 50%;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--amber);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 10vw, 68px);
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 5px 24px rgba(223, 31, 45, 0.28);
}

.bio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.4;
}

.bio span {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
}

.links {
    display: grid;
    gap: 13px;
    margin-top: 16px;
}

.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    min-height: 76px;
    padding: 17px 18px 17px 20px;
    color: var(--text);
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent 48%),
        var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-left: 4px solid var(--accent, var(--steel));
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-btn::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, var(--accent-soft, rgba(141, 154, 164, 0.2)), transparent 62%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.link-btn:hover,
.link-btn:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent-border, var(--accent, var(--steel)));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

.link-btn:hover::before,
.link-btn:focus-visible::before {
    opacity: 1;
}

.link-btn:focus-visible {
    outline: 3px solid rgba(255, 177, 61, 0.36);
    outline-offset: 3px;
}

.link-copy,
.link-arrow,
.platform-icon {
    position: relative;
    z-index: 1;
}

.link-copy {
    display: grid;
    flex: 1 1 auto;
    gap: 5px;
    min-width: 0;
}

.platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    color: var(--accent, var(--steel));
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.platform-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.link-support .platform-icon svg path {
    fill: currentColor;
    stroke: none;
}

.link-youtube .platform-icon svg path:first-child {
    fill: currentColor;
    stroke: none;
}

.link-youtube .platform-icon svg path:last-child {
    fill: #151515;
    stroke: none;
}

.link-title {
    font-size: 18px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.link-subtitle {
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.link-arrow {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transition: transform 180ms ease, background 180ms ease;
}

.link-arrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    content: "";
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translate(-65%, -50%) rotate(45deg);
}

.link-btn:hover .link-arrow,
.link-btn:focus-visible .link-arrow {
    background: var(--accent, var(--steel));
    transform: translateX(3px);
}

.link-instagram {
    --accent: #e04475;
    --accent-soft: rgba(224, 68, 117, 0.22);
    --accent-border: #f0789d;
}

.link-youtube,
.link-support {
    --accent: var(--red);
    --accent-soft: rgba(223, 31, 45, 0.22);
    --accent-border: #ff5761;
}

.link-twitch {
    --accent: #8d5cff;
    --accent-soft: rgba(141, 92, 255, 0.2);
    --accent-border: #aa86ff;
}

.link-amazon {
    --accent: var(--amber);
    --accent-soft: rgba(255, 177, 61, 0.2);
    --accent-border: #ffc76f;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 4px;
}

.stat-card {
    min-width: 0;
    padding: 14px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
}

.stat-card strong,
.stat-card span {
    display: block;
    overflow-wrap: anywhere;
}

.stat-card strong {
    color: var(--text);
    font-size: 19px;
    line-height: 1.1;
}

.stat-card span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
}

.support-extra {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

.support-extra a {
    color: var(--amber);
    font-weight: 800;
    text-decoration: none;
}

.support-extra a:hover,
.support-extra a:focus-visible {
    text-decoration: underline;
}

.support-extra a:focus-visible {
    outline: 3px solid rgba(255, 177, 61, 0.36);
    outline-offset: 3px;
}

.site-footer {
    margin-top: 24px;
    padding-top: 18px;
    color: rgba(247, 242, 234, 0.58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 520px) {
    .page-shell {
        padding: 20px 12px;
        align-items: flex-start;
    }

    .profile-card {
        padding: 18px 14px;
    }

    .hero {
        padding: 18px 6px 22px;
    }

    .live-status {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .live-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .status-btn {
        min-height: 44px;
    }

    .primary-cta {
        width: 100%;
    }

    .profile-frame {
        width: 116px;
        height: 116px;
        margin-bottom: 18px;
    }

    h1 {
        font-size: 42px;
    }

    .bio {
        gap: 7px;
    }

    .bio span {
        max-width: 100%;
        white-space: normal;
    }

    .link-btn {
        min-height: 72px;
        padding: 15px 14px 15px 16px;
        gap: 12px;
    }

    .link-title {
        font-size: 17px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-extra {
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    .page-shell {
        padding: 12px 8px;
    }

    .profile-card {
        padding: 14px 10px;
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    h1 {
        font-size: 36px;
    }

    .link-btn {
        gap: 12px;
        padding-right: 12px;
        padding-left: 14px;
    }

    .platform-icon {
        width: 34px;
        height: 34px;
    }

    .link-arrow {
        width: 26px;
        height: 26px;
    }
}
