* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================
   GENEL
===================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
}

/* =====================
    LIDERLIK TABLOSU (LEADERBOARD)
   ===================== */
.leaderboard-widget {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leaderboard-header {
    text-align: center;
}

.leaderboard-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.leaderboard-header h2 i {
    color: #ff8c00;
}

.leaderboard-header p {
    font-size: 13px;
    color: #888;
}

/* Tabs */
.leaderboard-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: #888;
    padding: 8px 5px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: #fff;
    background: #ff8c00;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.2);
}

/* Content List */
.leaderboard-tab-pane {
    display: none;
    flex-direction: column;
    gap: 10px;
    animation: fadeInTab 0.3s ease;
}

.leaderboard-tab-pane.active {
    display: flex;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 140, 0, 0.15);
    transform: translateX(3px);
}

.leaderboard-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.leaderboard-rank {
    font-weight: 700;
    font-size: 14px;
    color: #666;
    width: 20px;
    text-align: center;
}

/* Top ranks styling */
.leaderboard-item.rank-1 { border-color: rgba(255, 215, 0, 0.25); background: rgba(255, 215, 0, 0.02); }
.leaderboard-item.rank-2 { border-color: rgba(192, 192, 192, 0.2); background: rgba(192, 192, 192, 0.02); }
.leaderboard-item.rank-3 { border-color: rgba(205, 127, 50, 0.2); background: rgba(205, 127, 50, 0.02); }

.rank-1 .leaderboard-rank { color: #ffd700; font-size: 16px; }
.rank-2 .leaderboard-rank { color: #c0c0c0; }
.rank-3 .leaderboard-rank { color: #cd7f32; }

.leaderboard-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-name {
    font-weight: 600;
    font-size: 14px;
    color: #eee;
}

.leaderboard-right {
    display: flex;
    align-items: center;
}

.leaderboard-credit {
    font-size: 13px;
    font-weight: 700;
    color: #ff8c00;
    background: rgba(255, 140, 0, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 0, 0.15);
}

.leaderboard-empty {
    text-align: center;
    padding: 30px 10px;
    color: #666;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.leaderboard-empty i {
    font-size: 24px;
    color: #333;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================
   HERO
===================== */
.hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    background: radial-gradient(circle at top, #1a0f00, #000000);
    /* Arka plan hafif turuncu isli siyah */
}

.hero-logo img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 60px;
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    background: none;
}

.hero-stats {
    background: #1e1e1e;
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.hero-stats.left {
    margin-left: 50px;
}

.hero-stats.right {
    margin-right: 50px;
}

.hero-icon {
    font-size: 32px;
    color: #333;
}

.hero-text h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.hero-text p {
    color: #666;
    font-size: 14px;
}

/* =====================
   YILDIZ EFEKTİ
===================== */
.stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;

    --drift: 20px;
    animation: floatUp linear infinite, twinkle ease-in-out infinite;
}

@keyframes floatUp {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translate(calc(var(--drift) * -1), -50vh);
    }

    100% {
        transform: translate(var(--drift), -100vh);
        opacity: 0;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes fall {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-420px);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* =====================
   NAVBAR
===================== */
nav {
    background: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
    z-index: 5;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffab40;
    border-bottom-color: #ffab40;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* =====================
   BUTONLAR
===================== */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 5;
    /* Sayfanın genel katmanlarından üstte kalsın */
}

.btn-login {
    background: #ff8c00;
    color: white;
}

.btn-login:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.settings-icon {
    font-size: 24px;
    color: #555;
    cursor: pointer;
    transition: transform 0.3s;
}

.settings-icon:hover {
    transform: scale(1.2);
}

/* =====================
   SAYFA İÇERİK
===================== */
.container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.breadcrumb {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 40px;
    color: #aaa;
    font-size: 14px;
}

.breadcrumb a {
    color: #ff8c00;
    text-decoration: none;
}

/* =====================
   HABERLER
===================== */
.news-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.news-card {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e62 100%);
    position: relative;
}

.news-image::after {
    content: '🎮';
    position: absolute;
    font-size: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.news-content {
    padding: 25px;
}

.news-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.news-excerpt {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #ff8c00;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.btn-read-more:hover {
    background: #e67e22;
}

/* =====================
    Giriş Paneli & Overlay Genel
===================== */
.overlay,
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
}

.overlay.active,
.login-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
}

.login-panel {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 400px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    /* margin-top: 80px; -> Merkeze aldığımız için kaldırdık */

    /* Animasyon */
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7);
    z-index: 100000;
}

.login-overlay.active .login-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.login-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.login-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.login-panel h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    position: relative;
    z-index: 5;
}

.login-group label {
    font-size: 14px;
    margin-bottom: 8px;
    color: #bbb;
}

.login-group input {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 15px;
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Kritik: Tıklanma alanını tamamen garantiye al */
    position: relative;
    z-index: 1000;
}

.login-group input:focus {
    border-color: #ff8c00;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.login-warning {
    margin: 10px 0 30px 0;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: #888;
    pointer-events: none;
    /* Yazının üstünden tıklama yapılabilmesini sağlar */
    position: relative;
    z-index: 1;
}


.login-warning.error {
    color: #ff4d4d;
}

.login-warning.success {
    color: #4dff88;
}

.login-submit {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #ff8c00;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.login-submit:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Captcha Layout */
.h-captcha {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    /* Butonla arayı aç */
    width: 100%;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #eee;
    cursor: pointer;
    transition: 0.2s;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.profile-name {
    font-weight: 600;
    font-size: 14px;
}

.profile-arrow {
    font-size: 12px;
    opacity: 0.7;
}

/* Profil dropdown */
.profile-wrapper {
    position: relative;
}

.promo-tooltip {
    position: absolute;
    bottom: 120%;
    right: 0;
    background: #ff8c00;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.promo-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
}

.close-promo {
    cursor: pointer;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.2s;
}

.close-promo:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.discount-text {
    color: #ff4d4d;
    font-weight: 700;
    margin-left: 5px;
}

.profile-menu {
    position: absolute;
    top: 110%;
    right: -25px;
    width: 180px;
    background: #1c1c1c;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 999;
}

.profile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.profile-item:hover {
    background: #2a2a2a;
}

.profile-item.logout {
    color: #ff6b6b;
}

.profile-item.logout:hover {
    background: rgba(255, 107, 107, 0.15);
}

/* Gereksiz mükerrer stiller kaldırıldı - Satır 440'ta birleştirildi */

/* Disabled input (Ödenecek Miktar) */
.login-group input:disabled {
    background: #2b2b2b;
    color: #9cffb2;
    opacity: 1;
}

.gift-info {
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 6px;
    color: #888;
}

.user-credit {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #9cffb2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-server-card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 420px;
}

.shop-server-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.shop-server-card p {
    color: #aaa;
    margin-bottom: 25px;
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
}

.shop-table th,
.shop-table td {
    padding: 15px;
    text-align: center;
    color: white;
}

.shop-table th {
    background: #2a2a2a;
    color: #ffab40;
}

.shop-table tr:nth-child(even) {
    background: #222;
}

.shop-table tr:hover {
    background: #2c2c2c;
}

.shop-table button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.back-btn {
    display: inline-block;
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.back-btn:hover {
    color: red;
    transform: translateX(-3px);
}

.depo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f1f1f;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.depo-meta {
    font-size: 12px;
    color: #aaa;
}

.use-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #2ecc71;
    color: #000;
    font-size: 18px;
}

/* .overlay özellikleri yukarıda ortak alanda (Satır 370) tanımlandı */

/* Gereksiz mükerrer aktiflik tanımı kaldırıldı */

.depo-panel {
    background: #111;
    width: 420px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    border-radius: 14px;
    color: #fff;
    position: relative;
}

.overlay-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depo-item.used {
    opacity: 0.4;
    filter: grayscale(100%);
}

.depo-item.used .use-btn {
    background: #555;
    cursor: not-allowed;
}

.depo-list {
    margin-top: 18px;
}

.rank-days {
    font-size: 11px;
    color: #f5c542;
    margin-left: 6px;
    vertical-align: top;
    opacity: 0.9;
    white-space: nowrap;
}

.rank-days i {
    font-size: 10px;
}

.rank-days.expired {
    color: #ff6b6b;
}

.rank-days.pending {
    color: #f5c542;
    opacity: 0.9;
}

.confirm-panel {
    width: 420px;
    background: linear-gradient(145deg, #1e1e1e, #161616);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 140, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.confirm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #888;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

.confirm-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.25);
    color: #ff8c00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.15);
    transition: all 0.3s ease;
}

/* Farklı durumlar için ikon renk ve arka planları */
.confirm-danger .confirm-icon-wrapper {
    background: rgba(255, 77, 79, 0.1);
    border-color: rgba(255, 77, 79, 0.25);
    color: #ff4d4f;
    box-shadow: 0 10px 25px rgba(255, 77, 79, 0.15);
}

.confirm-warning .confirm-icon-wrapper {
    background: rgba(245, 197, 66, 0.1);
    border-color: rgba(245, 197, 66, 0.25);
    color: #f5c542;
    box-shadow: 0 10px 25px rgba(245, 197, 66, 0.15);
}

.confirm-info .confirm-icon-wrapper {
    background: rgba(77, 163, 255, 0.1);
    border-color: rgba(77, 163, 255, 0.25);
    color: #4da3ff;
    box-shadow: 0 10px 25px rgba(77, 163, 255, 0.15);
}

.confirm-success .confirm-icon-wrapper {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.25);
    color: #4caf50;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.15);
}

.confirm-panel h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -0.5px;
}

.confirm-body {
    font-size: 15px;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Detay kutusu */
.confirm-details-box {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.detail-label {
    color: #888;
}

.detail-val {
    color: #eee;
    font-weight: 600;
}

.detail-val.price-tag {
    color: #ff8c00;
    font-weight: 700;
}

.detail-row.balance-row {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 8px;
    margin-top: 4px;
}

.detail-val.remaining {
    color: #2ecc71;
}

/* Buton stilleri */
.confirm-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-confirm {
    flex: 1;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-confirm.btn-no {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.btn-confirm.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-confirm.btn-yes {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e62 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-confirm.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

/* Duruma göre yes butonu rengi değişebilir (örnek: tehlikeli işlemde kırmızı yes butonu) */
.confirm-danger .btn-confirm.btn-yes {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    box-shadow: 0 4px 15px rgba(255, 77, 79, 0.3);
}

.confirm-danger .btn-confirm.btn-yes:hover {
    box-shadow: 0 6px 20px rgba(255, 77, 79, 0.5);
}

.depo-empty {
    text-align: center;
    padding: 40px 0;
    color: #aaa;
}

.depo-empty-face {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 10px;
}

.depo-empty-text {
    font-size: 18px;
}

/* .overlay.active özellikleri yukarıda ortak alanda tanımlandı */

.overlay-panel {
    background: #1e1e1e;
    color: #fff;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    /* Animasyon başlangıcı */
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.overlay.active .overlay-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.overlay-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.text-success {
    color: #00ff88;
}

.text-danger {
    color: #ff4d4d;
}

.text-success {
    color: #00ff88;
    text-shadow: 0 0 8px #00ff88;
}

.feature-label {
    position: relative;
}

.feature-label {
    position: relative;
}

/* Badge'leri taşıyan kutu */
.badge-wrapper {
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    flex-direction: row;
    /* ALT ALTA */
    gap: 6px;
    /* aralarında boşluk */
}

/* Badge */
.box-badge {
    font-size: 0.6rem;
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Bu wrapper tüm içeriğin alt alta durmasını garanti eder */
.boxpvp-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Her şeyi ortala */
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
    gap: 25px;
    /* Elemanlar arası boşluk */
}

/* Başlık Alanı */
.header-section {
    text-align: center;
    width: 100%;
}

.header-section h2 {
    font-size: 2.5rem;
    /* Başlık daha büyük */
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Tablo Tasarımı - Büyütüldü */
.table-container {
    width: 100%;
    overflow-x: auto;
    /* Mobilde taşarsa kaydırma çubuğu */
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.shop-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 700px;
    /* Mobilde çok sıkışmaması için */
}

.shop-table th,
.shop-table td {
    padding: 25px 15px;
    /* Hücre içi boşluklar artırıldı */
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.15rem;
    /* Tablo yazıları büyütüldü */
}

.shop-table th {
    font-size: 1.3rem;
    /* Rütbe isimleri daha büyük */
    text-transform: uppercase;
    padding-bottom: 30px;
}

/* Sol Kolon (Özellik İsimleri) */
.shop-table td:first-child {
    text-align: left;
    font-weight: bold;
    color: #ccc;
    width: 25%;
    font-size: 1.2rem;
}

/* İkonlar */
.feature-icon {
    font-size: 22px;
}

/* İkonlar büyütüldü */
.icon-check {
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

.icon-cross {
    color: #ff3b3b;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7),
        0 0 15px rgba(255, 0, 0, 0.5);
}

/* Butonlar */
.btn-rank-action {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8c00, #ff7b00);
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-rank-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.btn-rank-action:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.back-link {
    color: #aaa;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.3s;
}

.back-link:hover {
    color: #fff;
}



























/* =====================
    SUNUCU SEÇİCİ & ÜRÜNLER
   ===================== */
.server-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.server-btn {
    padding: 12px 30px;
    background: #1e1e1e;
    border: 2px solid #333;
    border-radius: 10px;
    color: #888;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.server-btn i {
    font-size: 1.2rem;
}

.server-btn:hover {
    border-color: #ff8c00;
    color: #fff;
    transform: translateY(-2px);
}

.server-btn.active {
    background: linear-gradient(135deg, #ff8c00, #ff7b00);
    border-color: #ff8c00;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.products-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
    gap: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.product-card {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    font-size: 4rem;
    color: #ff8c00;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.2rem;
    color: #ffab40;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn-product-buy {
    width: 100%;
    padding: 12px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid #ff8c00;
    color: #ff8c00;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-product-buy:hover {
    background: #ff8c00;
    color: #fff;
}

.btn-product-buy:disabled {
    background: #333;
    border-color: #444;
    color: #666;
    cursor: not-allowed;
}

.btn-product-details {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    color: #aaa;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-product-details:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #666;
}

/* =====================
    FOOTER
   ===================== */
.site-footer {
    background: #111;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: left;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: #ff8c00;
    text-decoration: underline;
}

.footer-copyright {
    color: #444;
    font-size: 0.8rem;
}

/* =====================
    YASAL SAYFALAR (KVKK, GİZLİLİK VB.)
   ===================== */
.legal-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.legal-panel {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #ccc;
    line-height: 1.8;
}

.legal-panel h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #ff8c00;
    padding-bottom: 15px;
}

.legal-panel h2 {
    color: #ffab40;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-panel p {
    margin-bottom: 15px;
}

.legal-panel ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-panel li {
    margin-bottom: 8px;
}

/* =====================
    RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }

    .hero {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        gap: 20px;
    }

    .hero-stats.left {
        margin: 0;
        position: absolute;
        bottom: 120px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
        padding: 60px 20px;
    }

    .hero-logo img {
        width: 200px;
        height: 200px;
        top: 40px;
    }
}

@media (max-width: 768px) {
    .leaderboard-widget {
        margin-top: 20px;
    }
}

#copyIp {
    position: relative;
    cursor: pointer;
    margin-left: 6px;
}

/* Tooltip */
#copyIp .copy-tooltip {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background: #ff8c00;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

/* Ok gibi minik üçgen */
#copyIp .copy-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
}

/* Aktif olunca */
#copyIp.show-tooltip .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* =====================
    ÇOK SEKMELİ AYARLAR MODALI
   ===================== */
.settings-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
}

.settings-tab-btn.active {
    background: rgba(255, 140, 0, 0.1) !important;
    color: #ff8c00 !important;
    box-shadow: inset 3px 0 0 #ff8c00;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Mobilde sekmelerin üst tarafa yerleşmesi */
@media (max-width: 600px) {
    .settings-modal-panel {
        flex-direction: column !important;
        min-height: auto !important;
    }
    
    .settings-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        padding: 15px !important;
    }
    
    .settings-sidebar div {
        display: none !important; /* Başlığı mobilde gizle */
    }
    
    .settings-tab-btn {
        padding: 8px 12px !important;
    }
    
    .settings-tab-btn.active {
        box-shadow: inset 0 -3px 0 #ff8c00;
        border-radius: 8px !important;
    }
}