/* AAC Custom Video Player Styles */

.aac-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: aac-fade-in 0.2s ease-out;
}

@keyframes aac-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.aac-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.aac-modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: #1a2332;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
    animation: aac-slide-up 0.3s ease-out;
}

@keyframes aac-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.aac-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.aac-modal-close:hover {
    background: #ff2a4d;
    border-color: #ff2a4d;
    transform: rotate(90deg);
}

.aac-modal-player {
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
}

.aac-player-iframe,
.aac-player-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.aac-modal-info {
    padding: 24px;
    color: #fff;
}

.aac-modal-info h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #fff;
    line-height: 1.3;
}

.aac-modal-meta {
    color: #8896a8;
    font-size: 13px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Sıradaki video bildirimi */
.aac-next-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: aac-fade-in 0.3s ease-out;
}

.aac-next-content {
    text-align: center;
    color: #fff;
    max-width: 500px;
    padding: 30px;
}

.aac-next-label {
    font-size: 11px;
    color: #ff2a4d;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 12px;
}

.aac-next-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.aac-next-countdown {
    font-size: 16px;
    color: #8896a8;
    margin-bottom: 24px;
}

.aac-next-countdown span {
    color: #ff2a4d;
    font-weight: 800;
    font-size: 22px;
}

.aac-next-cancel,
.aac-next-now {
    background: transparent;
    color: #fff;
    border: 2px solid #2a3548;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin: 0 6px;
    font-size: 13px;
    transition: all 0.2s;
}

.aac-next-now {
    background: #ff2a4d;
    border-color: #ff2a4d;
}

.aac-next-cancel:hover {
    border-color: #ff2a4d;
    color: #ff2a4d;
}

.aac-next-now:hover {
    background: #cc1f3d;
}

/* Mobile */
@media (max-width: 768px) {
    .aac-modal { padding: 0; }
    .aac-modal-content { border-radius: 0; height: 100%; max-width: 100%; display: flex; flex-direction: column; }
    .aac-modal-info { flex: 1; overflow-y: auto; }
}
