* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(145, 0, 0, 0.28) 0%, rgba(80, 0, 0, 0.10) 28%, transparent 52%),
        radial-gradient(circle at 0% 55%, rgba(115, 0, 0, 0.14) 0%, transparent 38%),
        radial-gradient(circle at 100% 70%, rgba(90, 0, 0, 0.12) 0%, transparent 40%),
        linear-gradient(145deg, #080808 0%, #111010 45%, #090909 100%);
    background-attachment: fixed;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 36px 20px;
}

main {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 34px;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 96px;
    margin-bottom: 20px;
}

.brand-logo {
    display: block;
    width: min(430px, 80vw);
    max-height: 110px;
    object-fit: contain;
}

.main-nav {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.92), rgba(12, 12, 12, 0.92));
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.main-nav a {
    position: relative;
    color: #aaa;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 10px 18px;
    border-radius: 9px;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(120, 0, 0, 0.22);
    transform: translateY(-1px);
}

.main-nav a.active {
    color: #fff;
    background: linear-gradient(180deg, #8f1515, #5d0909);
    box-shadow:
        0 4px 14px rgba(120, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 10px 16px;
    border: 1px solid rgba(150, 35, 35, 0.38);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(29, 29, 29, 0.94), rgba(14, 14, 14, 0.94));
    color: #d7d7d7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.social-link:hover {
    color: #fff;
    border-color: rgba(205, 45, 45, 0.78);
    background: linear-gradient(180deg, rgba(88, 13, 13, 0.96), rgba(38, 8, 8, 0.96));
    box-shadow:
        0 8px 22px rgba(90, 0, 0, 0.28),
        0 0 16px rgba(150, 20, 20, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.social-link:active {
    transform: translateY(0);
}

.stream {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid #282828;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
}

.stream iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.twitch-link {
    text-align: center;
    margin-bottom: 35px;
}

.twitch-link a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.twitch-link a:hover {
    color: #fff;
}

footer {
    text-align: center;
    margin-top: 45px;
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    body {
        padding: 24px 14px;
    }

    header {
        margin-bottom: 28px;
    }

    .brand {
        min-height: 76px;
        margin-bottom: 16px;
    }

    .brand-logo {
        width: min(340px, 86vw);
        max-height: 90px;
    }

    .main-nav {
        gap: 4px;
    }

    .main-nav a {
        padding: 8px 12px;
    }

    .socials {
        gap: 8px;
    }

    .social-link {
        min-width: calc(50% - 4px);
        flex: 1 1 calc(50% - 4px);
    }
}
