:root {
    --po-main-bg: #0d0d10;
    --po-header-bg: #1c1c24; /* Playerok Header Rengi */
    --po-input-bg: #131317;  /* Arama Çubuğu Rengi */
    --po-blue: #5468ff;      /* Vurgu Rengi */
    --po-text: #ffffff;
    --po-gray: #92929a;
}

body {
    background-color: var(--po-main-bg);
    color: var(--po-text);
    margin: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Header Konumlandırma */
.po-anchor {
    width: 100%;
    padding: 16px 0;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Playerok Tarzı Squircle Header */
.po-header {
    background-color: var(--po-header-bg);
    width: 96%;
    max-width: 1240px;
    height: 68px;
    border-radius: 18px; /* Görseldeki o özel köşe yumuşaklığı */
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Sol Taraf: Logo ve Puan */
.po-left-group { display: flex; align-items: center; gap: 12px; }

.po-icon-box {
    background: var(--po-blue);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 20px;
    margin-right: 4px;
}

.po-logo a {
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.po-badge-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.04);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}
.po-badge-rating i { color: var(--po-blue); font-size: 11px; }
.po-rating-count { color: var(--po-blue); font-size: 12px; font-weight: 500; opacity: 0.8; }

.po-switch-theme {
    width: 48px;
    height: 26px;
    background: #2a2a36;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
}
.po-switch-dot {
    width: 22px;
    height: 22px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    right: 2px;
    top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Orta Arama Alanı */
.po-search-container {
    flex: 1;
    background: var(--po-input-bg);
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}
.po-search-container i { color: var(--po-gray); font-size: 16px; }
.po-search-container input {
    background: none;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 15px;
}

/* Sağ Menü */
.po-nav-links { display: flex; align-items: center; gap: 20px; }
.po-nav-btn {
    text-decoration: none;
    color: var(--po-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: 0.2s ease;
}
.po-nav-btn i { font-size: 20px; }
.po-nav-btn span { font-size: 11px; font-weight: 600; }
.po-nav-btn:hover { color: white; }

.po-user-avatar {
    width: 24px;
    height: 24px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
}

/* Popup Stilleri */
.po-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.po-modal-box {
    background: var(--po-header-bg);
    padding: 30px;
    border-radius: 24px;
    width: 320px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}
.po-lang-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.po-lang-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
}
.po-lang-row.active { border: 1px solid var(--po-blue); background: rgba(84, 104, 255, 0.1); }
.po-lang-row img { width: 24px; border-radius: 4px; }
.po-close-modal {
    background: var(--po-blue);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .po-badge-rating, .po-switch-theme, .po-nav-links span { display: none; }
    .po-search-container { margin: 0 5px; }
}

/* Footer Tasarımı */
.po-footer {
    background-color: var(--po-header-bg);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-desc {
    color: var(--po-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--po-gray);
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--po-blue);
}

.footer-links h4, .footer-trust h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--po-gray);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.trust-icons {
    display: flex;
    gap: 15px;
    font-size: 28px;
    color: var(--po-gray);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--po-gray);
    font-size: 13px;
}

/* Footer Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand .footer-desc {
        margin: 20px auto;
    }
    
    .social-icons, .trust-icons {
        justify-content: center;
    }
}
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    display: none;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid #30363d;
}

.search-item:hover {
    background: #1f2937;
}

.search-item img {
    border-radius: 4px;
    margin-right: 12px;
    object-fit: cover;
}

.search-item span {
    font-size: 14px;
}
.search-results-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #161b22; /* Playerok kart rengi */
    border: 1px solid #30363d;
    border-radius: 8px;
    z-index: 9999;
    display: none;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #30363d;
    transition: background 0.2s;
}

.search-item:hover {
    background: #1f2937;
}

.search-item img {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    margin-right: 12px;
    object-fit: cover;
}

.search-item span {
    font-size: 14px;
    font-weight: 500;
}