.feedback-section {
    overflow: hidden;
}

.feedback-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.feedback-grid {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 5px 20px;
    box-sizing: border-box;
}

.feedback-grid::-webkit-scrollbar {
    display: none;
}

.feedback-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.feedback-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feedback-top > div:last-child {
    min-width: 0;
}

.feedback-top strong {
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.feedback-top span {
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.feedback-card p {
    margin-bottom: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.avatar img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.feedback-arrow {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    border-radius: 50%;
    background: #1f1f1f;
    color: #66ffcc;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2;
}

.feedback-arrow:hover {
    background: #66ffcc;
    color: #111;
    transform: scale(1.05);
}

.feedback-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

.feedback-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.feedback-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: 0.25s;
}

.feedback-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #66ffcc;
}

.feedback-note {
    margin-top: 25px;
}

.communities-section {
    overflow: hidden;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    min-height: 190px;
    box-sizing: border-box;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: #66ffcc;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.community-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #333;
    flex-shrink: 0;
}

.community-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-card strong {
    max-width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    overflow-wrap: anywhere;
}

.community-card span {
    margin-top: 5px;
    color: #888;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-card {
        min-height: 170px;
    }
}



@media (max-width: 900px) {
    .feedback-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .feedback-slider {
        gap: 8px;
    }

    .feedback-arrow {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: 26px;
    }

    .feedback-grid {
        gap: 12px;
        padding-left: 2px;
        padding-right: 2px;
    }

    .feedback-card {
        flex: 0 0 100%;
    }
}