html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #0b0c10;
    --card-bg: #11141a;
    --accent-color: #ff0055;
    --text-color: #a0a5b5;
    --text-white: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* Üst Menü Tasarımı */
.main-header {
    background-color: #07080a;
    border-bottom: 1px solid #1f232b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 2px;
}

.logo span { 
    color: var(--accent-color); 
}

/* Üst Menü & Açılır Menü (Kusursuz Düzenlenmiş Hali) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu > a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-menu > a:hover,
.nav-menu > a.active {
    color: var(--text-white);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown > a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.nav-dropdown:hover > a {
    color: var(--text-white);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #12141c;
    min-width: 170px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    border-radius: 6px;
    border: 1px solid #1e2230;
    z-index: 1000;
    overflow: hidden;
    padding: 5px 0;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: flex !important;
    align-items: center;
    color: #fff !important;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #1e2230;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--accent-color);
    color: #fff !important;
}

/* Header Aksiyonları */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn, .theme-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
}

.login-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.register-btn {
    background-color: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

/* Üst Banner */
.top-banner-header {
    background-color: #07080a;
}

.top-banner-container .site-logo-img {
    max-height: 70px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Sayfa Yerleşimi */
.main-layout {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    gap: 30px;
    padding: 0 20px;
}

.content-area { 
    flex: 3; 
}

.sidebar { 
    flex: 1; 
}

/* Büyük Banner Alanı */
.hero-banner {
    background: linear-gradient(to right, #000000cc, #00000022), center/cover;
    height: 380px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}

.badge { 
    background: var(--accent-color); 
    color: white; 
    padding: 4px 8px; 
    font-size: 11px; 
    font-weight: bold; 
    border-radius: 3px;
}

.hero-banner h1 { 
    font-size: 36px; 
    color: white; 
    margin: 15px 0; 
    font-weight: 800; 
    line-height: 1.2; 
}

.highlight { 
    color: var(--accent-color); 
}

.read-btn { 
    background: var(--accent-color); 
    color: white; 
    padding: 12px 24px; 
    text-decoration: none; 
    display: inline-block; 
    margin-top: 15px; 
    border-radius: 4px; 
    font-weight: bold; 
    font-size: 13px;
}

/* Son Haberler Başlığı ve Izgarası */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title h2 { 
    font-size: 18px; 
    color: white; 
    margin: 0; 
}

.all-news-link { 
    color: var(--accent-color); 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: bold; 
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card { 
    background: var(--card-bg); 
    border-radius: 6px; 
    overflow: hidden; 
    border: 1px solid #1f232b; 
}

.card-img-placeholder { 
    height: 160px; 
    background: #1a1f29; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #384254; 
    font-weight: bold; 
    font-size: 20px; 
}

.card-body { 
    padding: 20px; 
}

.cat-badge { 
    color: var(--accent-color); 
    font-weight: bold; 
    font-size: 12px; 
    margin-right: 10px;
}

.time { 
    font-size: 12px; 
    color: #5c6270; 
}

.news-card h3 { 
    color: white; 
    font-size: 16px; 
    margin: 10px 0; 
}

.news-card p { 
    font-size: 13px; 
    line-height: 1.5; 
    margin: 0; 
}

/* Sağ Panel (Sidebar Widgets) */
.widget { 
    background: var(--card-bg); 
    padding: 20px; 
    border-radius: 6px; 
    margin-bottom: 25px; 
    border: 1px solid #1f232b;
}

.widget-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    padding-bottom: 10px; 
    border-bottom: 1px solid #1f232b;
}

.widget-header h3 { 
    margin: 0; 
    font-size: 13px; 
    color: white; 
    letter-spacing: 1px; 
}

.widget-header a { 
    font-size: 11px; 
    color: #5c6270; 
    text-decoration: none; 
    font-weight: bold;
}

.game-list, .tournament-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.game-list li { 
    display: flex; 
    align-items: center; 
    gap: 12px;
    margin-bottom: 15px; 
}

.game-list .game-icon {
    width: 45px;
    height: 45px;
    background: #161b22;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #30363d;
    border-left: 3px solid var(--accent-color);
}

.game-list .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-list .game-info {
    display: flex;
    flex-direction: column;
}

.game-list .game-info h4 { 
    margin: 0; 
    font-size: 14px; 
    color: #ffffff; 
}

.game-list .game-info span { 
    font-size: 11px; 
    color: #8b949e; 
    margin-top: 2px;
}

.tournament-list li { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
    padding-bottom: 15px; 
    border-bottom: 1px dashed #1f232b; 
}

.tournament-info h4 { 
    margin: 0 0 5px 0; 
    font-size: 13px; 
    color: white; 
}

.tournament-info span { 
    font-size: 11px; 
    color: #5c6270; 
}

.tournament-prize { 
    text-align: right; 
}

.tournament-prize span { 
    display: block; 
    font-size: 10px; 
    color: #5c6270; 
}

.tournament-prize strong { 
    color: #ffcc00; 
    font-size: 13px; 
}

.all-tournaments-btn { 
    display: block; 
    text-align: center; 
    background: #1a1f29; 
    color: white; 
    padding: 10px; 
    text-decoration: none; 
    border-radius: 4px; 
    font-size: 12px; 
    font-weight: bold; 
    margin-top: 15px; 
    transition: background 0.3s;
}

.all-tournaments-btn:hover { 
    background: #232a38; 
}

/* Sosyal Medya Konteynerleri */
.follow-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.follow-container h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons a {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #333;
    font-weight: bold;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 140px;
    max-width: 200px;
    justify-content: center;
    box-sizing: border-box;
}

.social-icons a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Alt Bilgi Alanı (Footer) */
.main-footer { 
    background: #07080a; 
    padding: 60px 20px 20px 20px; 
    margin-top: 60px; 
    border-top: 1px solid #1f232b; 
}

.newsletter-section { 
    text-align: center; 
    max-width: 500px; 
    margin: 0 auto 50px auto; 
}

.newsletter-section h3 { 
    color: white; 
    margin-bottom: 10px; 
    font-size: 18px;
}

.newsletter-form { 
    display: flex; 
    margin-top: 20px; 
}

.newsletter-form input { 
    padding: 12px; 
    flex: 1; 
    background: #11141a; 
    border: 1px solid #1f232b; 
    color: white; 
    border-radius: 4px 0 0 4px; 
    outline: none;
}

.newsletter-form button { 
    padding: 12px 25px; 
    background: var(--accent-color); 
    border: none; 
    color: white; 
    cursor: pointer; 
    border-radius: 0 4px 4px 0; 
    font-weight: bold;
}

.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    max-width: 1200px; 
    margin: 0 auto; 
    gap: 40px;
}

.footer-meta { 
    flex: 2; 
}

.footer-meta p { 
    font-size: 13px; 
    line-height: 1.6; 
}

.footer-links { 
    flex: 1; 
}

.footer-links h4, .footer-social h4 { 
    color: white; 
    font-size: 12px; 
    margin-bottom: 15px; 
    letter-spacing: 1px;
}

.footer-links a { 
    display: block; 
    color: var(--text-color); 
    text-decoration: none; 
    margin-bottom: 10px; 
    font-size: 13px; 
}

.footer-links a:hover { 
    color: white; 
}

.copyright { 
    text-align: center; 
    margin-top: 50px; 
    font-size: 12px; 
    color: #384254; 
    border-top: 1px solid #1f232b; 
    padding-top: 20px;
}

/* Mobil Uyumlu Ek Düzenlemeler */
@media (max-width: 768px) {
    .social-icons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons a {
        width: 100%;
        max-width: 280px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .main-layout {
        flex-direction: column;
    }
    .card-img-placeholder {
    position: relative;
    overflow: hidden;
}

.card-img-placeholder img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

.card-img-placeholder .cat-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
/* OYUNLAR DROPDOWN */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 9px;
    margin-left: 3px;
    transition: transform .2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);

    width: 210px;

    background: #101319;
    border: 1px solid #292f3b;
    border-radius: 10px;

    padding: 8px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    box-shadow: 0 15px 40px rgba(0,0,0,.5);
    z-index: 99999;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 10px;

    width: 100%;
    box-sizing: border-box;

    padding: 11px 12px;

    color: #a0a5b5 !important;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    border-radius: 7px;

    transition: .2s;
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: #ff0055;
}

.nav-dropdown-menu a:hover {
    background: #191d26;
    color: #fff !important;
    padding-left: 16px;
}

.nav-dropdown-menu a:hover i {
    color: #ff0055;
}
.news-card .card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #11141a;
}

.news-card .news-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
}