* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Countdown Styles */
.countdown-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.countdown-container h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.time-unit span:first-child {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    line-height: 1;
    margin-bottom: 10px;
}

.time-unit .label {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

* Popup Styles */ css* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Countdown Styles */
.countdown-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.countdown-container h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.time-unit span:first-child {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    line-height: 1;
    margin-bottom: 10px;
}

.time-unit .label {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

.popup-container {
    position: relative;
    display: inline-block;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #ff4444;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.popup-close:hover {
    background: #cc0000;
    transform: rotate(90deg);
}

.popup-image {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.popup-image:hover {
    transform: scale(1.02);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Countdown mobile'da üstte */
    .countdown-container {
        position: sticky;
        top: 20px;
        z-index: 100;
        margin-bottom: 20px;
        padding: 20px;
    }

    .countdown-container h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .countdown {
        gap: 15px;
    }

    .time-unit {
        min-width: 70px;
    }

    .time-unit span:first-child {
        font-size: 32px;
    }

    .time-unit .label {
        font-size: 12px;
    }

    /* Videolar alt alta */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    body {
        padding: 10px;
    }

    .popup-image {
        max-width: 95vw;
        max-height: 85vh;
    }

    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: -12px;
        right: -12px;
    }
}

@media (max-width: 480px) {
    .time-unit span:first-child {
        font-size: 28px;
    }

    .time-unit {
        min-width: 60px;
    }

    .popup-close {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: -10px;
        right: -10px;
    }

    .popup-image {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* Video playing state */
.video-wrapper.playing {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}