@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #111111;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    height: 28px;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 28px;
    width: auto;
}

/* Bazı logoların invert edilmesi gerekebilir */
.logo.invert {
    filter: brightness(0) invert(1);
}

.back-link {
    color: #666666;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #999999;
}

/* Main Content */
.main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 20px 0;
}

.content {
    padding-right: 40px;
}

.content h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.content p {
    font-size: 15px;
    color: #888888;
    margin-bottom: 28px;
    line-height: 1.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
    gap: 6px;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Screenshots */
.screenshots {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.screenshots-slider {
    display: flex;
    gap: 16px;
    animation: slide 20s linear infinite;
}

/* Blackjack için özel yavaş animasyon süresi */
.screenshots-slider.slow-slide {
    animation-duration: 30s;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 200px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Varsayılan değer, JS veya inline style ile override edilebilir */
        transform: translateX(calc(-216px * 5));
    }
}

/* Footer */
.footer {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #666666;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #888888;
}

/* Responsive */
@media (max-width: 968px) {
    .main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 10px 0;
    }
    
    .content {
        padding-right: 0;
        text-align: center;
    }
    
    .content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 9px 18px;
        font-size: 12px;
    }
    
    .screenshots-slider {
        gap: 12px;
    }
    
    .screenshot-item {
        width: 160px;
        border-radius: 8px;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-172px * 5));
        }
    }
}

@media (max-width: 640px) {
    .header {
        padding: 16px 0;
    }
    
    .logo, .logo-text {
        font-size: 20px;
    }
    
    .logo, .logo-img {
        height: 24px;
    }
    
    .back-link {
        font-size: 12px;
    }
    
    .main {
        gap: 20px;
    }
    
    .content h1 {
        font-size: 24px;
    }
    
    .content p {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .btn {
        width: 100%;
    }
    
    .screenshots-slider {
        gap: 10px;
    }
    
    .screenshot-item {
        width: 140px;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5));
        }
    }
    
    .footer {
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
    }
    
    .footer-links {
        gap: 12px;
    }
}

