/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    color: var(--background);
}

.social-link:hover::before {
    left: 0;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 1rem;
}

.cyber-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.cyber-input:focus {
    outline: none;
    box-shadow: 0 0 10px var(--primary);
}

.cyber-button {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.cyber-button:hover {
    color: var(--background);
}

.cyber-button:hover::before {
    left: 0;
}

/* Logo Spin Animation */
@keyframes logoSpin {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(1440deg);
    }
}

/* Website Shake Animation */
@keyframes websiteShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px) rotate(-0.5deg);
    }
    75% {
        transform: translateX(2px) rotate(0.5deg);
    }
}

/* Animation Classes */
.logo-hex.spinning {
    animation: logoSpin 5s cubic-bezier(0.2, 0.8, 0.8, 0.2);
}

body.shaking > *:not(.logo-hex) {
    animation: websiteShake 0.2s ease infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cyber-button {
        width: 100%;
    }
}
