body {
    background: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Медиазапрос для мобильных устройств */
@media (max-width: 768px) {
    header {
        flex-direction: row; /* On mobile, elements remain in a row */
        justify-content: space-between; /* Distribute items on mobile */
        padding: 15px 10px;
    }

    .logo-and-info {
        flex: 1; /* Allow this to take available space */
        justify-content: flex-start; /* Align content to the left */
        /* margin-bottom: 15px; */ /* No longer needed for inline display */
        gap: 5px;
        min-width: 0; /* Allow shrinking */
    }

    .logo-link {
        flex-shrink: 0;
    }

    .online-indicator {
        margin-left: 0;
        margin-right: 5px;
    }

    .model-count {
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }

    .signup-button {
        padding: 12px 20px;
        font-size: 16px;
        width: auto;
        margin-top: 0;
        flex-shrink: 0; /* Prevent button from shrinking */
        /* display: block; */ /* No longer needed for inline display */
        /* margin-left: auto; */
        /* margin-right: auto; */
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    header {
        padding: 10px 5px;
        gap: 10px;
    }

    .logo-and-info {
        gap: 3px;
    }

    .logo-text {
        font-size: 16px;
    }

    .model-count {
        font-size: 12px;
        white-space: normal;
    }

    .signup-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Для экстремально маленьких экранов */
@media (max-width: 360px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo-and-info {
        justify-content: center;
        margin-bottom: 10px;
    }
}

h1 {
    font-size: 32px;
    margin: 30px 0;
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.main-content {
    flex: 1;
}

.col-lg-9 {
    flex: 0 0 calc(75% - 10px);
    min-width: 300px;
}

.col-lg-3 {
    flex: 0 0 calc(25% - 10px);
    min-width: 300px;
}

@media (max-width: 992px) {
    .col-md-12, .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #player, #chat {
        height: 600px;
    }
}

@media (max-width: 576px) {
    #player, #chat {
        height: 400px;
    }
}

#player, #chat {
    background: #222;
    padding: 4px;
    height: 800px;
    box-sizing: border-box;
}

.cta {
    margin: 40px auto 0;
    background: #222;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    max-width: 800px;
    text-align: center;
}

.cta a {
    color: #ff66a3;
    font-weight: bold;
    text-decoration: underline;
}

.cta a:hover {
    color: #ff99c2;
}

#push-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    z-index: 1000;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styles for the popup widget based on the example */
.root--ujvuu {
    position: relative;
}

.content--EADDU {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.photo--8G9uq {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.body--ySTa\\ + {
    padding: 10px;
}

.title--Pcb92 {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.subtitle--Kv63S {
    font-size: 12px;
    color: #ff66a3;
}

.close-button--wsOv0 {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

@media (max-width: 576px) {
    #push-container {
        width: 200px;
        bottom: 10px;
        right: 10px;
    }

    .photo--8G9uq {
        height: 120px;
    }
}

/* 404 PAGE STYLES */
.error-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    margin: 0;
    color: #a2262e;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.error-message {
    font-size: 28px;
    margin: 10px 0 30px;
}

.error-description {
    font-size: 18px;
    color: #aaa;
    max-width: 600px;
    margin-bottom: 30px;
}

.home-button {
    background: #a2262e;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.home-button:hover {
    background: #c13842;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.error-image {
    max-width: 300px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    filter: brightness(0.8) contrast(1.2) grayscale(1);
}



