body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* font-family: 'Molisa Delawere', sans-serif; */
    user-select: none;

    /* font-family: "Shantell Sans", cursive;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "BNCE" 0,
        "INFM" 0,
        "SPAC" 0; */
    
    font-family: "Comfortaa", sans-serif;
    /* font-family: 'Rajdhani', sans-serif; */
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}


/* Для всього документу */
*::-webkit-scrollbar {
    width: 8px;  /* Ширина скроллбара */
}

/* Стиль для самого скроллбара */
*::-webkit-scrollbar-thumb {
    background: #888;  /* Колір скроллбара */
    border-radius: 4px;  /* Закруглені кути */
}

/* Стиль при наведенні миші */
*::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

img:not([src]), img[src=""] {
    display: none;
}


.callback-picker {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff82;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.callback-picker:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.picker-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    user-select: none;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 5px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    transform-origin: top center;
    font-size: 0.5em;
}

.dropdown.hidden {
    display: none;
}

.dropdown li {
    padding: 5px 10px;
    list-style-type: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown li:hover {
    background-color: #f0f0f0;
}



#community_section {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 16px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 215, 0, 0.3); */
    border: 2px solid rgba(0,0,0,0.2);
    z-index: 100;
    backdrop-filter: blur(5px);
}

.community_title {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.community_description {
    max-height: 0;
    overflow-y: hidden;
    font-size: 0.6em;
    color: #666666;
    margin-bottom: 5px;
    text-align: center;
    transition: max-height 0.6s ease;
}

#community_section:hover .community_description {
    max-height: 200px;
}

.community_links_primary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.community_link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    font-size: 0.9em;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.community_link:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 215, 0, 0.5);
    border-color: rgba(0,0,0,0.2);
}

.community_icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.community_links_secondary {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.2);
}

.community_link_small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.community_link_small:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 215, 0, 0.6);
    border-color: rgba(0,0,0,0.3);
}

.community_icon_small {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Specific hover colors for social platforms - keeping them subtle with the bright theme */
#telegram_link:hover {
    color: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 136, 204, 0.3);
}

#discord_link:hover {
    color: #7289da;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(114, 137, 218, 0.3);
}

#instagram_link:hover {
    color: #e1306c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(225, 48, 108, 0.3);
}

#tiktok_link:hover {
    color: #ff0050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 0, 80, 0.3);
}

#youtube_link:hover {
    color: #ff0000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1200px) or (max-height: 800px) {
    #community_section {
        right: 10px;
        /* bottom: 10px; */
        /* top: auto; */
        width: 150px;
        padding: 5px;
        font-size: 0.8em;
    }
    
    .community_title {
        font-size: 1em;
    }
    
    .community_link {
        padding: 2px 4px;
        font-size: 0.7em;
    }
    
    .community_icon {
        width: 13px;
        height: 13px;
    }
    
    .community_link_small {
        width: 18px;
        height: 18px;
    }
    
    .community_icon_small {
        width: 11px;
        height: 11px;
    }
}