.full-page-container {
    height: 100%;
    max-width: 600px;
    width: 99%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

.container {
    width: 99%;
    max-width: 600px;
    margin: 20px auto;
}

.feed {
    width: 100%;
    max-width: 600px;
}

.custom-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 2px solid #cc0000;
    border-radius: 12px;
    padding: 10px 20px;
    color: white;
    margin-bottom: 5px;
}

.custom-nav-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.custom-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.custom-icon img {
    width: 24px;
    height: 24px;
}

.custom-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 18px;
    overflow: hidden;
}

.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.notification-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notification-list {
    flex-grow: 1;
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.notification-list::-webkit-scrollbar {
    width: 0px;
    background: #cc0000;
}

.notification-list:hover::-webkit-scrollbar {
    width: 8px;
}

.notification-list:hover::-webkit-scrollbar-thumb {
    background: #cc0000;
    border-radius: 4px;
}

.notification-item {
    position: relative;
    padding: 12px 12px 12px 60px; 
    border-bottom: 1px solid #ddd;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f7f7f7;
}

.notification-avatar {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #cc0000;
    object-fit: cover;
}

.notification-text {
    flex-grow: 1;
    text-align: left;
    font-size: 14px;
    color: #333;
}

.notification-time {
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}

#closeNotificationPopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeNotificationPopup:hover {
    opacity: 1;
}

.stats-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.stats-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stats-list {
    flex-grow: 1;
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stats-list::-webkit-scrollbar {
    display: none;
}

.stats-list::-webkit-scrollbar-thumb {
    background: #cc0000;
    border-radius: 4px;
}

.stats-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    transition: background 0.2s;
}

.stats-item:hover {
    background: #f7f7f7;
}

.stats-avatar {
    margin-right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #cc0000;
    object-fit: cover;
}

.stats-text {
    flex-grow: 1;
    text-align: left;
    font-size: 14px;
    color: #333;
}

#closeStatsPopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeStatsPopup:hover {
    opacity: 1;
}

.code-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 400px;
    max-width: 90%;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.code-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#closeCodePopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeCodePopup:hover {
    opacity: 1;
}

.change-email-popup {
    position: fixed;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.change-email-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#closeChangeEmailPopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeChangeEmailPopup:hover {
    opacity: 1;
}

.change-password-popup {
    position: fixed;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.change-password-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#closeChangePasswordPopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeChangePasswordPopup:hover {
    opacity: 1;
}

.messages-settings-popup {
    position: fixed;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.messages-settings-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#closeMessagesSettingsPopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeMessagesSettingsPopup:hover {
    opacity: 1;
}

.player-popup {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.player-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#closePlayerPopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closePlayerPopup:hover {
    opacity: 1;
}

.image-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.image-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#closeImagePopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeImagePopup:hover {
    opacity: 1;
}

.guest-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    width: 95%;
    max-width: 500px;
    text-align: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.guest-popup.show {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.guest-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guest-popup img {
    width: 100px;
    height: 100px;
    animation: bounce 1s ease infinite alternate;
}

.guest-popup h5 {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
}

.guest-btn {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ff4b2b;
    background: #fff;
    border: 2px solid #ff4b2b;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.guest-btn:hover {
    color: #fff;
    background: #ff4b2b;
    border-color: #ff4b2b;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 75, 43, 0.4);
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

.report-post-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.report-post-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.profile-verification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.profile-verification-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.report-forum-post-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.report-forum-post-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vote-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.vote-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#closeVotePopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeVotePopup:hover {
    opacity: 1;
}

.share-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 99%;
    max-width: 600px;
    text-align: center;
    height: auto;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: hidden;
}

.share-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.share-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.share-icons img {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

#shareLinkInput {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: clamp(14px, 4vw, 34px);
    line-height: 1.4;
    background-color: #f9f9f9;
    color: #333;
    box-sizing: border-box;
}

#closeSharePopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeSharePopup:hover {
    opacity: 1;
}

.user-search-popup {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 100%;
    max-width: 600px;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: visible;
}

.user-search-popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

#closeUserSearchPopup {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#closeUserSearchPopup:hover {
    opacity: 1;
}

.feed-controls {
    display: flex;
    justify-content: flex-start;
    gap: 2px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.feed-controls::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .feed-controls {
        overflow-x: hidden;
    }

    .feed-controls:hover {
        overflow-x: auto;
        scrollbar-width: auto;
    }

    .feed-controls:hover::-webkit-scrollbar {
        display: block;
        height: 8px;
    }

    .feed-controls::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 4px;
    }

    .feed-controls::-webkit-scrollbar-track {
        background: transparent;
    }
}

@media (max-width: 767px) {
    .feed-controls {
        justify-content: flex-start;
    }
}

.filter-button {
    flex: 0 0 auto;
    padding: 8px 12px;
    background-color: white;
    color: #c00;
    border: 2px solid #c00;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.filter-button:hover,
.filter-button.active {
    background-color: #c00;
    color: white;
}

h1, h2, h3, h4, h5, h6, span {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}