body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--uw-white-1);

    background-image: var(--uw-background-img-1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.content {
    font-family: "Roboto", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

h1 {
    margin: 20px 0;
    font-size: 24px;
}

.posts {
    border:1px solid var(--uw-white-3);
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    margin-top: 60px;
    box-sizing: border-box;
}

.posts:last-child {
    margin-bottom: 20px;
}

.ott {
    overflow-x: auto;
    display:flex;
    width: 100%;
    max-width: 1060px;
    background-color: #16171d;
    border-radius: 10px;
    padding: 10px;
    margin: 80px 0 0px 0;
}

.feed-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.logo-image {
    height: 64px;
    width: auto;
    border-radius: 20px;
}

.feed-tabs-container {
    display: flex;
    gap: 64px;
    padding: 0;
    justify-content: center;
}

.feed-tab {
    font-family: "Roboto", sans-serif;
    color: var(--uw-text-2);
    text-decoration: none;
    padding-top: 24px;
    padding-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.1s;
    border: none;
    background: none;
    cursor: pointer;
}

.feed-tab:hover {
    color: var(--uw-text-1);
}

.feed-tab.active {
    color: var(--uw-text-1);
}

.feed-tab.disabled {
    color: var(--uw-text-3);
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.feed-tab.disabled:hover {
    color: var(--uw-text-3);
}

.feed-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--uw-blurple-1);
    border-radius: 2px 2px 0 0;
}

.trending-yes-color {
    background: linear-gradient(145deg, rgb(164, 193, 255) 0%, rgba(8, 102, 255, 1) 100%);
    background-size: 200% 100%;
    animation: trending-yes-animation 4s ease infinite;
    transition: box-shadow 0.3s ease;
    color: white;
}


.create_post_cta{
    padding:10px 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    background-color:var(--uw-white-1);
    color:var(--uw-text-1);
    border:1px solid var(--uw-white-3);
    display:flex;
    align-items: center;
    transition:0.1s;
    font-size: 14px;
    cursor:pointer;
}

.create_post_cta p{
    margin:0px;
}

.create_post_cta:hover{
    background-color:var(--uw-white-3);
    border:1px solid var(--uw-white-4);
}

.create_post_cta img{
    width:32px;
    height:32px;
    margin-right:10px;
}

.trending-yes-color:hover {
    box-shadow: 0 0 60px #a4c1ff, 0 0 60px #0866ff;
}

@keyframes trending-yes-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.trending-no-color {
    display: none;
}

.trending-max-color {
    background: linear-gradient(145deg, #58a4ff 0%, #c000ff 100%);
    background-size: 200% 100%;
    animation: trending-max-animation 4s ease infinite;
    color: white;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.trending-max-color:hover {
    box-shadow: 0 0 60px #58a4ff, 0 0 60px #c000ff;
}

@keyframes trending-max-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.group-content {
    padding: 20px;
    background-color: #f1f3f4;
    margin-bottom: 20px;
    border-radius: 20px;
}

.group-banner {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}

.group-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.group-info-container {
    align-items: center;
    gap: 20px;
    margin-bottom:20px;
    background: var(--uw-white-1);
    border-radius: 20px;
    transition: 0.1s;
    position: relative;
}

.group-icon-container {
    position: absolute;
    top: 150px;
    left: 20px;
    z-index: 10;
}

.group-info-container.inner{
    display: flex;
    border:none;
    padding:0px 20px;
    padding-top: 60px;
    position: relative;
    z-index: 1;
    background: var(--uw-white-1);
}

.group-icon {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    background-color: #fff;
    object-fit: cover;
    border: 1px solid var(--uw-white-3);
    display: block;
}

.group-details {
    color: var(--uw-text-1);
    width: 100%;
}

.group-name {
    font-size: 28px;
    font-weight: bold;
    margin: 0;

}

.group-description {
    font-size: 16px;
    margin: 5px 0 0 0;
}


.group-manage {
    position:relative;
}

.group-button {
    background: var(--uw-white-2);
    color: var(--uw-text-1);
    padding: 5px 20px;
    border: 1px solid var(--uw-white-3);
    border-radius: 50px;
    cursor: pointer;
    font-size: 12px;
    margin-top:5px;
    transition:0.1s;
}

.group-button:hover {
    background:var(--uw-white-3);
    border: 1px solid var(--uw-white-4);
}

.ott-card{
    margin:10px;
    border-radius: 10px;
    transition: 0.3s;
    height:100%;
    align-items: center;
    align-content: center;
}

.ott-card-img{
    border:1px solid var(--uw-grey-1);
    height:60px;
    border-radius: 10px;
    margin:10px;
    cursor:default;
}

.ott-card-img:hover{
    border: 1px solid #ccc;
}

.ott::-webkit-scrollbar {
    height: 0px;
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }

    .content {
        align-items: stretch; /* Ensure content spans full width */
        margin-top:50px;
        padding:5px;
    }

    .posts {
        border-radius: 15px; /* Slightly smaller border radius */
        width: 100%; /* Ensure full width */
        box-sizing: border-box; /* Include padding in width */
        margin:5px !important;
        margin-top: 5px !important;
    }
    
    .ott{
        display:none;
    }

    .feed-tabs-container {
        gap: 20px; /* Reduce gap between tabs on mobile */
        justify-content: center; /* Center-align tabs */
    }

    .feed-tab {
        padding: 12px 0; /* Reduce padding on mobile */
        font-size: 14px; /* Adjust font size */
    }

    .group-content {
        padding: 15px; /* Reduce padding */
        margin-bottom: 15px; /* Adjust spacing */
        border-radius: 15px;
    }

    .group-banner {
        height: 120px; /* Reduce banner height */
        border-radius: 15px;
    }

    .group-icon-container {
        top: 80px;
        left: 15px;
    }

    .group-info-container {
        flex-direction: column; /* Stack group icon and details */
        gap: 10px; /* Reduce gap between items */
        align-items: center; /* Center-align content */
    }

    .group-info-container.inner {
        padding: 0px 20px;
        padding-top: 50px;
    }

    .group-icon {
        width: 80px; /* Reduce icon size */
        height: 80px;
    }

    .group-name {
        font-size: 20px; /* Adjust font size */
        text-align: center;
    }

    .group-description {
        font-size: 14px; /* Adjust font size */
        text-align: center; /* Center-align text */
    }

    .group-button {
        font-size: 10px; /* Adjust button font size */
        padding: 5px 10px; /* Reduce button size */
        margin-top: 10px; /* Adjust spacing */
    }
}

.cta_pfp{
    border-radius: 50px;
}

.feed-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}