@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Footer Styles */
.global-footer {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
    margin-top: 50px;
    padding: 40px 0 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-section p,
.footer-section a {
    color: var(--text);
    text-decoration: none;
    line-height: 1.6;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 183, 209, 0.4);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Ad Placement Styles */
.ad-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.ad-placeholder {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0.7;
}

.sidebar-ad {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 50;
}

.header-ad {
    margin: 20px 0;
}

.footer-ad {
    margin: 30px 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .sidebar-ad {
        display: none;
    }
    
    .footer-social {
        justify-content: center;
    }
}
