/* Layout System - Responsive Grid & Flexbox */

/* Ana Container */
.app-container {
    position: relative;
    min-height: 100vh;
    max-height: 100vh;
    /* Sabit yükseklik */
    overflow: hidden;
    /* Scroll kapalı */
}

/* Video Background Container */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-video);
    overflow: hidden;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.3) 0%,
            rgba(10, 14, 39, 0.7) 100%);
    pointer-events: none;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content Overlay */
.content-overlay {
    position: relative;
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-height: 100vh;
    justify-content: space-between;
    padding: 0;
    /* SIFIR padding */
    color: var(--color-pure-white);
}

/* Main Content - Centered */
.main-content {
    flex: 0 1 auto;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-1);
    padding: 0;
    overflow: hidden;
}

/* Logo Section */
.logo-section {
    margin-bottom: var(--spacing-4);
}

.logo-section img {
    max-width: 320px;
    /* 500 → 320 */
    height: auto;
}

.logo-section img.logo-large {
    max-width: 700px;
}

/* Hero Section */
.hero-section {
    max-width: 900px;
    margin: 0 auto;
}

/* Countdown Section */
.countdown-section {
    margin: 0;
}

/* Action Section */
.action-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

/* Footer */
.footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    padding: var(--spacing-2) var(--spacing-3);
    /* spacing-6 → spacing-2 */
    text-align: center;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-description {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-light);
    margin-bottom: var(--spacing-4);
}

.footer-links {
    font-size: var(--font-size-sm);
    color: var(--color-light);
}

.footer-powered {
    opacity: 0.8;
}

.footer-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-link:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* ===== HEADER & FOOTER ===== */

/* Üst Header */
.top-header {
    position: relative;
    z-index: var(--z-controls);
    padding: var(--spacing-2) var(--spacing-3);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-controls {
    display: flex;
    gap: var(--spacing-3);
    align-items: center;
}

/* Footer */
.footer {
    position: relative;
    z-index: var(--z-controls);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    padding: var(--spacing-2) var(--spacing-3);
    text-align: center;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile (< 640px) - default yukardaki stiller */

/* Tablet (≥ 768px) */
@media (min-width: 768px) {
    .content-overlay {
        padding: var(--spacing-6);
    }

    .main-content {
        gap: var(--spacing-6);
    }

    .logo-section img.logo-large {
        max-width: 850px;
    }

    .logo-section img {
        max-width: 250px;
    }

    .action-section {
        flex-direction: row;
        max-width: 100%;
    }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
    .content-overlay {
        padding: var(--spacing-8);
    }

    .logo-section img.logo-large {
        max-width: 600px;
    }

    .logo-section img.logo-large {
        max-width: 550px;
    }

    .logo-section img {
        max-width: 350px;
    }

    .hero-section {
        max-width: 1000px;
    }
}

/* Large Desktop (≥ 1280px) */
@media (min-width: 1280px) {
    .main-content {
        gap: var(--spacing-8);
    }
}

/* ===== KEYFRAME ANİMASYONLARI ===== */

@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(var(--shadow-neon-blue));
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.8)) drop-shadow(0 0 60px rgba(0, 217, 255, 0.6));
    }
}