/* Reklam Modal Stilleri */
.ad-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.5s ease-in-out;
}

.ad-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.3);
    border: 2px solid #ff0000;
    animation: slideIn 0.6s ease-out;
    overflow: hidden;
}

.ad-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #ff0000;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.ad-close:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.ad-header {
    text-align: center;
    margin-bottom: 20px;
}

.ad-title {
    color: #ff0000;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.ad-description {
    color: #cccccc;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.ad-body {
    text-align: center;
    margin: 20px 0;
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

.ad-text-content {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 30px;
    background: linear-gradient(45deg, #ff0000, #ff6600);
    border-radius: 15px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.ad-footer {
    text-align: center;
    margin-top: 20px;
}

.ad-link {
    display: inline-block;
    background: linear-gradient(45deg, #ff0000, #ff6600);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
}

.ad-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
    text-decoration: none;
    color: white;
}

.ad-timer {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #cccccc;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.6);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes textGlow {
    from {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 102, 0, 0.6);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .ad-content {
        padding: 20px;
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .ad-title {
        font-size: 24px;
    }
    
    .ad-description {
        font-size: 14px;
    }
    
    .ad-text-content {
        font-size: 18px;
        padding: 20px;
    }
    
    .ad-link {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ad-content {
        padding: 15px;
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .ad-title {
        font-size: 20px;
    }
    
    .ad-text-content {
        font-size: 16px;
        padding: 15px;
    }
}

