* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

/* Header */
.main-header {
    background: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-top {
    text-align: center;
    padding: 1.5rem 0;
    background: #000;
}

.site-logo {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
}

.site-logo .logo-text {
    display: inline-block;
}

.site-logo .logo-text .logo-part1 {
    color: #fff;
}

.site-logo .logo-text .logo-part2 {
    background: #ff9900;
    color: #000;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 800;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation */
.main-nav {
    background: #1a1a1a;
    padding: 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #ffa31a;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 2rem;
}

.join-btn {
    background: #d32f2f;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background 0.3s ease;
    letter-spacing: 0.5px;
}

.join-btn:hover {
    background: #b71c1c;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 300px);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.content-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: #1a1a1a;
    text-decoration: none;
    will-change: transform;
}

.content-item:hover {
    transform: scale(1.05);
    border-color: #ffa31a;
    z-index: 10;
}

.content-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform;
}

/* GIF Performance Optimization */
.content-item img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-item img.loaded {
    opacity: 1;
}

.content-item .content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-item:hover .content-overlay {
    opacity: 1;
}

.content-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #ccc;
}

/* Promotional Banner */
.promo-banner {
    background-image: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(45, 45, 45, 0.75) 100%), url('/images/promo-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #d32f2f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    cursor: pointer;
    position: relative;
    will-change: transform;
}

.promo-banner .promo-text,
.promo-banner .promo-btn {
    position: relative;
    z-index: 1;
}

/* İkinci Promo Banner - Farklı görsel */
.promo-banner.promo-banner-2 {
    background-image: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(45, 45, 45, 0.75) 100%), url('/images/merve-taskin.jpg');
}

.promo-banner:hover {
    border-color: #ffa31a;
}

.promo-banner .promo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-banner .promo-btn {
    background: #d32f2f;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s ease;
    display: inline-block;
}

.promo-banner .promo-btn:hover {
    background: #b71c1c;
}

/* Empty Placeholder */
.empty-item {
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
}

.empty-item span {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background: #000;
    border-top: 1px solid #333;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section h3.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}

.footer-section h3.footer-logo .logo-part1 {
    color: #fff;
}

.footer-section h3.footer-logo .logo-part2 {
    background: #ff9900;
    color: #000;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 800;
}

.footer-section p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffa31a;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        flex-direction: column;
        border-top: 1px solid #333;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid #333;
        border-bottom-color: #333 !important;
    }
    
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-toggle {
        display: block;
        order: -1;
    }
    
    .nav-right {
        position: static;
        gap: 0.5rem;
        order: 1;
    }
    
    .join-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .site-logo {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .promo-banner .promo-text {
        font-size: 1.3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
