/* Common Footer Styles - Shared Across All Games */

footer {
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.footer-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-links a:hover {
    color: #3b82f6;
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-bottom a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #60a5fa;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        margin-top: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .footer-title {
        font-size: 1.25rem;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-bottom {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-bottom-content p {
        margin: 0.25rem 0;
    }
}

/* Extra small devices (smartphones) */
@media (max-width: 480px) {    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        gap: 0.75rem;
    }
    
    .footer-logo {
        width: 28px;
        height: 28px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .tech-stack-tags {
        gap: 0.4rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
    }
    
    .version {
        font-size: 0.75rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-link {
        font-size: 0.85rem;
    }
}

/* New Styles for Detailed Footer */
.tech-stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.contact-link {
    font-size: 0.9rem;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.version {
    font-family: monospace;
    color: #64748b;
    font-size: 0.8rem;
}
