/* =================================== */
/* == Modern Advertisement Section == */
/* =================================== */

.ad-section {
    margin: 5rem auto;
    padding: 0 1.5rem;
    max-width: 1200px;
}

.ad-container {
    /* 2026 Glassmorphism Base */
    background: rgba(255, 255, 255, 0.02); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* The "Cyber Yellow" Border */
    /* Using a semi-transparent yellow with a subtle pulse */
    border: 1px solid rgba(255, 215, 0, 0.3); 
    
    /* Modern 2026 aesthetics use larger border-radii */
    border-radius: 24px; 
    
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;

    /* Subtle yellow outer glow */
    box-shadow: 0 0 40px -10px rgba(255, 215, 0, 0.1);
    
    transition: all 0.4s ease-in-out;
}


/* Add a subtle glow effect */
.ad-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(229, 188, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ad-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 196, 0, 0.226);
    text-align: center;
    color: #ffd000;
    margin: 0 0 0.5rem 0;
}

.ad-header p {
    color: var(--text-secondary);
    margin: 0 auto 1.5rem auto;
    max-width: 500px;
    font-size: 1rem;
}

.ad-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-slot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-desktop {
    display: none; /* Hidden by default */
}

.ad-mobile {
    display: flex; /* Shown by default */
}

/* Desktop view: Show desktop ad, hide mobile ad */
@media (min-width: 768px) {
    .ad-desktop {
        display: flex;
    }
    .ad-mobile {
        display: none;
    }
}