/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}


/* =========================================================
   PAGE / BACKGROUND
   ========================================================= */

body {
    margin: 0;
    min-height: 100vh;

    background: #111;
    color: white;

    font-family: Arial, sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

main {
    width: min(90%, 500px);
}


/* =========================================================
   PROFILE
   ========================================================= */

.avatar {
    width: 120px;
    height: 120px;

    object-fit: cover;

    border-radius: 50%;

    display: block;
    margin: 0 auto 20px;

    border: 3px solid #303030;
}

h1 {
    font-size: 60px;
    margin: 0 0 5px;
}

.username {
    margin: -2px 0 8px;

    font-size: 16px;

    opacity: 0.55;
}

p {
    opacity: 0.7;
}


/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.links {
    display: flex;
    flex-direction: column;

    gap: 14px;
    margin-top: 32px;
}

.links a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;
    padding: 16px 20px;

    background: #202020;
    color: white;

    text-decoration: none;

    border: 1px solid #303030;
    border-radius: 14px;

    font-size: 17px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.links a:hover {
    transform: translateY(-3px);

    background: #292929;
    border-color: #555;
}

.links a span {
    position: absolute;
    left: 20px;

    font-size: 21px;
}

/* =========================================================
   LIVE STATUS
   ========================================================= */

.stream-status {
    margin-top: 30px;
    padding: 20px;

    background: #1b1b1b;

    border: 1px solid #303030;
    border-radius: 16px;

    text-align: left;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-header strong {
    font-size: 18px;
}

.status-dot {
    width: 12px;
    height: 12px;

    background: #666;

    border-radius: 50%;
}

.stream-status p {
    margin: 10px 0 0;

    font-size: 14px;
    opacity: 0.6;
}

/* =========================================================
   LATEST STREAM
   ========================================================= */

.latest {
    margin-top: 35px;
    margin-bottom: 30px;
}

.latest h2 {
    margin-bottom: 15px;
    font-size: 22px;
}

.latest-card {
    display: flex;

    overflow: hidden;

    background: #1b1b1b;

    border: 1px solid #303030;
    border-radius: 16px;

    text-align: left;
}

.thumbnail {
    width: 180px;
    min-height: 110px;

    flex-shrink: 0;

    background: #252525;
}

.thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.latest-info {
    padding: 16px;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.latest-info strong {
    font-size: 16px;
}

.latest-info span {
    font-size: 13px;
    opacity: 0.6;
}

.latest-info a {
    margin-top: 8px;

    color: white;
    text-decoration: none;

    font-weight: bold;
}

.latest-info a:hover {
    text-decoration: underline;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 30px;
    margin-bottom: 25px;

    font-size: 13px;

    opacity: 0.55;
}

.no-stream {
    width: 100%;

    padding: 30px 20px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    text-align: center;
}

.no-stream strong {
    font-size: 17px;
}

.no-stream span {
    font-size: 14px;
    opacity: 0.6;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    main {
        width: 92%;
    }

    .avatar {
        width: 105px;
        height: 105px;
    }

    h1 {
        font-size: 48px;
    }

    .links a {
        min-height: 55px;
    }

    .latest-card {
        flex-direction: column;
    }

    .thumbnail {
        width: 100%;
        height: 180px;
    }

    .latest-info {
        padding: 15px;
    }
}