@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #0d1117;
    --bg-soft: #121821;
    --panel: #171d27;
    --panel-strong: #1f2632;
    --text: #f7f9fc;
    --muted: #aeb8c7;
    --line: rgba(255, 255, 255, 0.12);
    --twitch: #9146ff;
    --youtube: #ff3b3b;
    --instagram: #ff4fa3;
    --discord: #5865f2;
    --whatsapp: #25d366;
    --green: #32d583;
    --cyan: #31c7c5;
    --warm: #f5c542;
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
    --radius: 8px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, #0d1117 0%, #101824 48%, #0b0f15 100%);
    background-size: 32px 32px, 32px 32px, auto;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    width: min(calc(100% - 32px), var(--max-width));
    min-height: 76px;
    margin: 18px auto 0;
    padding: 10px;
    position: sticky;
    top: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 17, 23, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    font-weight: 800;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand span {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: var(--radius);
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.site-nav .nav-cta {
    color: #ffffff;
    background: var(--twitch);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
    background: #7c35e8;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: var(--panel);
    cursor: pointer;
}

main {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding: 34px 0 56px;
}

.hero {
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
    gap: 28px;
    align-items: stretch;
}

.bio {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(23, 29, 39, 0.88);
    box-shadow: var(--shadow);
    padding: 34px;
    margin-bottom: 28px;
    
}

.hero-copy,
.player-panel,
.section,
.site-footer {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(23, 29, 39, 0.88);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.eyebrow,
.section-kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #ffffff;
    background: rgba(145, 70, 255, 0.2);
    border: 1px solid rgba(145, 70, 255, 0.42);
    border-radius: var(--radius);
    padding: 8px 11px;
    font-size: 0.88rem;
    font-weight: 700;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 22px 0 16px;
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin: 10px 0 10px;
    font-size: 2.35rem;
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-text,
.section-header p,
.community-copy p,
.setup-card p,
.setup-summary dd,
.setup-items span,
.setup-muted-item em,
.social-card small {
    color: var(--muted);
}

.hero-text {
    max-width: 620px;
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.65;
}

.hero-actions,
.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions {
    margin-top: 28px;
}

.btn {
    min-height: 48px;
    min-width: 148px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible,
.social-card:hover,
.social-card:focus-visible,
.setup-card:hover {
    transform: translateY(-2px);
}

.btn:focus-visible,
.social-card:focus-visible {
    outline: 3px solid rgba(49, 199, 197, 0.58);
    outline-offset: 3px;
}

.btn-primary {
    color: #ffffff;
    background: var(--twitch);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #7c35e8;
}

.btn-secondary,
.btn-copy {
    color: var(--text);
    background: var(--panel-strong);
    border-color: var(--line);
}

.btn-secondary:hover,
.btn-copy:hover,
.btn-secondary:focus-visible,
.btn-copy:focus-visible {
    background: #2a3341;
}

.btn-copy {
    min-width: 156px;
}

.stream-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.stream-facts div {
    min-height: 88px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.stream-facts span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}

.stream-facts strong {
    display: block;
    line-height: 1.25;
}

.player-panel {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.player-header {
    min-height: 58px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.player-header div,
.player-header a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.player-header a {
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--muted);
    text-decoration: none;
}

.player-header a:hover,
.player-header a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(50, 213, 131, 0.12);
}

.player-frame {
    position: relative;
    min-height: 420px;
    flex: 1;
    background:
        linear-gradient(135deg, rgba(145, 70, 255, 0.26), rgba(49, 199, 197, 0.16)),
        #0a0d12;
}

.player-frame iframe {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

.player-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
}

.player-fallback img {
    width: 118px;
    height: 118px;
    object-fit: contain;
}

.player-fallback p {
    margin: 0;
    color: var(--muted);
}

.player-fallback a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: var(--radius);
    color: #ffffff;
    background: var(--twitch);
    text-decoration: none;
    font-weight: 800;
}

.section {
    margin-top: 28px;
    padding: 34px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-header p:last-child {
    margin: 0;
    line-height: 1.6;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.social-card {
    min-height: 118px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-strong);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-card > i:first-child {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #ffffff;
    font-size: 1.45rem;
}

.social-card span {
    min-width: 0;
}

.social-card strong,
.social-card small {
    display: block;
}

.social-card small {
    margin-top: 4px;
    line-height: 1.35;
}

.social-card > i:last-child {
    color: var(--muted);
}

.twitch-card > i:first-child {
    background: var(--twitch);
}

.youtube-card > i:first-child {
    background: var(--youtube);
}

.instagram-card > i:first-child {
    background: var(--instagram);
}

.x-card > i:first-child {
    color: #0d1117;
    background: #f5f7fa;
}

.discord-card > i:first-child {
    background: var(--discord);
}

.whatsapp-card > i:first-child {
    background: var(--whatsapp);
}

.setup-section {
    background: rgba(18, 24, 33, 0.9);
}

.setup-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: 16px;
}

.setup-summary,
.setup-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.setup-summary {
    padding: 24px;
}

.setup-summary dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.setup-summary div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.setup-summary div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.setup-summary dt {
    margin-bottom: 5px;
    font-weight: 800;
}

.setup-summary dd {
    margin: 0;
    line-height: 1.5;
}

.setup-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.setup-card {
    min-height: 170px;
    padding: 22px;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.setup-card i {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #091016;
    background: var(--warm);
}

.setup-card:nth-child(2) i {
    background: var(--cyan);
}

.setup-card:nth-child(3) i {
    background: var(--instagram);
    color: #ffffff;
}

.setup-card:nth-child(4) i {
    background: var(--green);
}

.setup-card p {
    margin: 0;
    line-height: 1.55;
}

.setup-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.setup-items li {
    min-height: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.setup-items li:first-child {
    border-top: 0;
}

.setup-items span,
.setup-items strong,
.setup-muted-item em {
    min-width: 0;
}

.setup-items strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.setup-items a,
.setup-muted-item em {
    min-width: 62px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.setup-items a {
    color: #0d1117;
    background: var(--green);
}

.setup-items a:hover,
.setup-items a:focus-visible {
    background: var(--cyan);
    outline: none;
}

.setup-muted-item em {
    border: 1px solid var(--line);
    font-style: normal;
    background: rgba(255, 255, 255, 0.04);
}

.community-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    background: rgba(23, 29, 39, 0.88);
    color: var(--text);
}

.community-section .section-kicker {
    color: var(--text);
    background: rgba(49, 199, 197, 0.18);
    border-color: rgba(49, 199, 197, 0.36);
}

.community-copy p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.community-actions .btn-secondary {
    color: var(--text);
    background: transparent;
    border-color: var(--line);
}

.community-actions .btn-secondary:hover,
.community-actions .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

.site-footer {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto 22px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
    outline: none;
}

@media (max-width: 980px) {
    .hero,
    .setup-layout,
    .community-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
    }

    .player-frame {
        aspect-ratio: 16 / 9;
        min-height: 320px;
    }

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

@media (max-width: 740px) {
    body.nav-open {
        overflow: hidden;
    }

    .site-header {
        align-items: center;
    }

    .brand span {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 96px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(13, 17, 23, 0.98);
        box-shadow: var(--shadow);
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .site-nav a {
        justify-content: flex-start;
        width: 100%;
    }

    main {
        padding-top: 22px;
    }

    .hero-copy,
    .section {
        padding: 24px;
    }

    .hero {
        gap: 16px;
    }

    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .social-grid,
    .setup-list {
        grid-template-columns: 1fr;
    }

    .stream-facts {
        display: none;
    }

    .stream-facts div,
    .social-card,
    .setup-card {
        min-height: auto;
    }

    .player-frame {
        min-height: 260px;
    }

    .community-actions,
    .hero-actions {
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .site-header,
    main,
    .site-footer {
        width: min(calc(100% - 20px), var(--max-width));
    }

    .site-nav {
        left: 10px;
        right: 10px;
    }

    .hero-copy,
    .section {
        padding: 18px;
    }

    h1 {
        font-size: 2.55rem;
    }

    h2 {
        font-size: 1.62rem;
    }

    .social-card {
        grid-template-columns: 46px minmax(0, 1fr) 20px;
        padding: 14px;
    }

    .social-card > i:first-child {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
