#powered_by_leaderos {
    font-size: 12px;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    background-color: #c78d3770;
    color: #7c3812;
    margin-top: 6px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    text-decoration: none;
}

.not-home .header {
    position: relative;
    background: #1d1b1a;
    border-bottom: 3px solid #302d2c;
}

.role__default {
    background: #4f46e5;
    color: #ffffff;
}

.role__admin {
    background: var(--craflord-yellow);
    color: #92400e;
    box-shadow:
        -2px 0 0 #fcd950,
        0 -2px 0 #fcd950,
        2px 0 0 #995617,
        0 2px 0 #995617;
    text-shadow:
        1px 0 0 rgba(255, 255, 255, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.4),
        1px 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f43939;
    color: #f7e1de;
    border: none;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow:
        -4px 0 0 #ff4d4d,
        0 -4px 0 #ff4d4d,
        4px 0 0 #c03535,
        0 4px 0 #c03535;
    text-shadow:
        1px 0 0 rgba(255, 255, 255, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.4),
        1px 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow:
        -2px 0 0 #ff4d4d,
        0 -2px 0 #ff4d4d,
        2px 0 0 #c03535,
        0 4px 0 #c03535,
        0 8px 20px rgba(255, 77, 77, 0.3);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto !important;
}


/* Header - Dropdown Nav (Header Menü alt öğeleri) */
.nav-item.has-dropdown {
    position: relative;
}

.nav-item.has-dropdown .nav-dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-item.has-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1d1b1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    min-width: 180px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-item.has-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Mobil - Alt menü (dropdown) */
.mobile-menu-children {
    display: none;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 16px;
}

.mobile-menu-children.open {
    display: block;
}

.mobile-menu-child {
    font-size: 0.875rem;
    opacity: 0.8;
}

.mobile-group-arrow {
    margin-left: auto;
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.mobile-group-toggle.open .mobile-group-arrow {
    transform: rotate(180deg);
}

/* Theme by KashiDev - Footer */
.footer-brand-credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.footer-kashidev-badge {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    background-color: #c78d3770;
    margin-top: 4px;
    transition: background-color 0.2s ease;
}

.footer-kashidev-badge:hover {
    background-color: #c78d3799;
}

.kashidev-by {
    font-size: 12px;
    color: #7c3812;
}

.kashidev-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 13px;
    font-weight: 700;
    color: #7c3812;
}

/* Auth sayfası - içeriği ortala */
.login-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-footer > div {
    width: fit-content;
    min-width: 180px;
    max-width: 220px;
}

/* Auth kashidev badge - powered_by_leaderos ile birebir aynı */
.login-footer .footer-kashidev-badge {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 0.7rem;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

.login-footer .footer-kashidev-badge:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.login-footer .kashidev-by {
    color: rgba(255, 255, 255, 0.5);
}

.login-footer .kashidev-name {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   CSS DÜZELTMELER
   ============================================ */

/* 1. Profil sayfası - sidebar ve içerik üstten hizalama */
.profile-wrapper {
    align-items: start;
}

.profile-section .profile-sidebar {
    margin-top: 0;
    padding-top: 0;
}

/* 2. Tablo ID sütunu - sola hizala (ortaya kayıyordu) */
.profile-table th:first-child,
.profile-table td.id-cell {
    text-align: left !important;
}

/* 3. CKEditor yazı alanı - koyu tema (yazılar görünmüyordu) */
.ck.ck-editor__editable {
    background: #2a2727 !important;
    color: #e5e5e5 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    min-height: 140px;
}

.ck.ck-editor__editable.ck-focused {
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
}

.ck.ck-toolbar {
    background: #1d1b1a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.ck.ck-toolbar .ck-button {
    color: #d1d5db !important;
}

.ck.ck-toolbar .ck-button:hover,
.ck.ck-toolbar .ck-button.ck-on {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

/* 4. Footer hero logo - footer-bottom sol, ortalı, sabit kolon */
.footer-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    width: 150px;
}

.footer-hero-logo img {
    height: auto;
    max-height: 110px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    image-rendering: pixelated;
}

/* Footer bottom içerik - space-between yerine gap ile */
.footer-bottom-content {
    justify-content: flex-start;
    gap: 32px;
    align-items: center;
}

/* Nav linkleri ortala - her iki yana eşit auto boşluk */
.footer-bottom-content .footer-links-wrapper {
    display: flex;
    gap: 24px;
    margin-left: auto;
    margin-right: auto;
}

/* Brand sağa it */
.footer-bottom-content .footer-brand {
    flex-shrink: 0;
}

/* Footer info - sol margin kaldır, dikey ortala */
.footer-bottom .footer-info {
    margin-left: 0;
    align-self: center;
}

/* IP ve oyuncu kutusu - logo ile hizalı (30px margin kaldır), hover */
.footer-ip-box {
    margin-left: 0 !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.footer-ip-box:hover {
    background-color: #c97d0e;
    transform: translateY(-1px);
}

.footer-players-box {
    transition: background-color 0.2s ease;
}

.footer-players-box:hover {
    background-color: #c97d0e;
}

.footer-brand-text-logo {
    height: 32px;
    width: auto;
    opacity: 1;
    transition: opacity 0.2s ease;
    display: block;
}

.footer-brand-text-logo:hover {
    opacity: 0.7;
}

/* Sidebar disabled - haber bölümü tam genişlik */
.content-wrapper.no-sidebar {
    display: block;
}

.content-wrapper.no-sidebar .news-section {
    max-width: 100%;
    width: 100%;
}

.cart-quantity-selector,
.chest-quantity-selector {
    display: inline-flex;
    align-items: center;
    background: #1d1b1a;
    /* Input arka planı */
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-qty-btn,
.chest-qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}


.cart-qty-btn.minus,
.chest-qty-btn.minus {
    background: #ef4444;
    color: white;
}

.cart-qty-btn.minus:hover,
.chest-qty-btn.minus:hover {
    background: #dc2626;
}


.cart-qty-btn.plus,
.chest-qty-btn.plus {
    background: #22c55e;
    color: white;
}

.cart-qty-btn.plus:hover,
.chest-qty-btn.plus:hover {
    background: #16a34a;
}


.cart-qty-input,
.chest-qty-input {
    width: 40px;
    height: 32px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    pointer-events: none;
}

/* Ticket status badge - user reply */
.status-badge.user-reply {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* ============================================
   NAVBAR GENİŞLİK - Header container override
   ============================================ */
.header .container {
    max-width: 1700px;
    padding: 0 40px;
}

/* Navbar dropdown - focus-within desteği (tab navigasyon düzeltmesi) */
.nav-item.has-dropdown:focus-within .nav-dropdown-arrow {
    transform: rotate(180deg);
}
.nav-item.has-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

/* ============================================
   ÖZEL SAYFA (page.php) - Lord stil
   ============================================ */
.page-section {
    padding: 40px 0 60px;
}

.page-content-body {
    padding: 32px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
}

.page-content-body .ck-content h1,
.page-content-body .ck-content h2,
.page-content-body .ck-content h3 {
    color: #ffffff;
    margin-bottom: 12px;
    margin-top: 24px;
}

.page-content-body .ck-content p {
    margin-bottom: 12px;
}

.page-content-body .ck-content a {
    color: var(--craflord-yellow);
    text-decoration: underline;
}

/* ============================================
   CHEST - Tümünü Gör ve boş mesaj stilleri
   ============================================ */
.chest-view-all-link {
    font-size: 0.85rem;
    color: var(--craflord-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.chest-view-all-link:hover {
    opacity: 0.75;
}

.chest-empty-msg {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    padding: 16px;
}

.chest-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: rgba(255, 255, 255, 0.4);
    gap: 12px;
    text-align: center;
}

.chest-empty-state i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.chest-empty-state p {
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   MAĞAZA - Öne Çıkan Ürünler Bölümü
   ============================================ */
.store-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.store-featured-card {
    position: relative;
    background: #1d1b1a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.store-featured-card:hover {
    border-color: rgba(199, 141, 55, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.store-featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--craflord-yellow);
    color: #1a1009;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

.store-featured-img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-featured-info {
    text-align: center;
    width: 100%;
}

.store-featured-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    line-height: 1.3;
}

.store-featured-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.store-featured-old-price {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    text-decoration: line-through;
}

.store-featured-final-price {
    color: var(--craflord-yellow);
    font-weight: 700;
    font-size: 0.95rem;
}

.store-featured-loading {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.store-featured-skeleton {
    flex: 1;
    height: 180px;
    background: linear-gradient(90deg, #1d1b1a 25%, #252221 50%, #1d1b1a 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}