body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'VT323', 'Press Start 2P', monospace;
    background-color: #121212;
    color: #00ff41;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.8) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,0.8) 1px, transparent 1px);
    background-size: 20px 20px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    margin: 20px;
}

h1 {
    font-family: 'Press Start 2P', 'VT323', monospace;
    text-shadow: 3px 3px 0 #ff00ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00ff41;
}

p {
    font-family: 'VT323', monospace;
    font-size: 1.2em;
    line-height: 1.4;
    color: #00ff41;
}

button {
    font-family: 'Press Start 2P', monospace;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    background-color: #ff00ff;
    color: #ffffff;
    border: none;
    box-shadow: 4px 4px 0 #00ff41;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #00ff41;
}

.click-counter {
    margin-top: 15px;
    font-family: 'VT323', monospace;
    font-size: 1.3em;
    color: #ff00ff;
}

.social {
    margin: 20px 0;
    padding: 10px;
}

.card {
    border: 2px solid #00ff41;
    border-radius: 8px;
    background-color: #121212;
    padding: 20px;
    width: 220px;
    text-align: center;
    box-shadow: 5px 5px 0 #ff00ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-nick {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.rounded-img {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00ff41;
    width: 60px;
    height: 60px;
}

.desc {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    color: #ff9900;
}

.social-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 8px;
}

.social-link:hover .card {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #ff00ff;
}

.social-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
}

/* Discord-specific styling */
.discord-card p {
    font-size: calc(1.2em - 1px);
}

@media (max-width: 600px) {
    .social-container {
        flex-direction: column;
        align-items: center;
    }
}

.site-footer {
    background-color: #2c2c2c;
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start; /* Изменено для выравнивания по левому краю */
    align-items: center;
    gap: 20px;
}

.floating-button {
    position: static; /* Убираем фиксированное позиционирование */
    /* margin-right: auto; убрано */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #121212;
    border: 2px solid #00ff41;
    box-shadow: 3px 3px 0 #ff00ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 0 #ff00ff;
}

.floating-button img {
    width: 32px;
    height: 32px;
}

#bouncing-happy {
    filter: drop-shadow(0 0 5px #ff00ff);
    user-select: none;
    pointer-events: all;
    will-change: transform, left, top;
    cursor: grab;
    animation: pulse 2s infinite alternate;
    transition: transform 0.1s ease;
}

.being-dragged {
    cursor: grabbing !important;
    filter: drop-shadow(0 0 8px #00ff41) brightness(1.2);
    animation: none !important;
    transform: scale(1.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.bounce-effect {
    animation: bounce-animation 0.3s ease-out;
}

@keyframes bounce-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}