/* =========================
   RESET & BASE
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #000 url('/assets/images/bg.png') no-repeat center top fixed;
    background-size: cover; /* veya auto */
    font: 13px Tahoma, Arial, sans-serif;
    color: #e6dcc4;
}


/* =========================
   MAIN BACKGROUND
========================= */
.main-bg {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    position: relative;
    background: url("../images/bg_main.jpg") no-repeat center top / cover;
}

.main-bg::before {
    position: absolute !important;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 0;
}


/* =========================
   HEADER
========================= */
.panel-header {
    width: 920px;
    height: 150px;
    border-bottom: 1px solid #1a120b;
}

.panel-header img {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================
   PANEL
========================= */
.panel {
    width: 820px;
    margin-top: 5px;
    padding: 40px 15px 15px; /* 🔥 40 → 15 */
   display: flex;
    align-items: flex-start;
     gap: 20px;              /* login ile içerik arası */
    background: url("../images/panel_frame.png") no-repeat center / 100% 100%;
}

/* =========================
   MENU / SIDEBAR
========================= */
.menu {
    width: 210px;
    flex-shrink: 0;         /* küçülmesin */
     margin-left: -50px;   /* 🔥 sola kaydırma miktarı */
}

.menu-wrapper {
    position: relative;
    width: 220px;
    margin-left: -10px; /* max */
}

/* =========================
   MENU BUTTON (TEK TANIM)
========================= */
.menu-btn {
    width: 116px;
    height: 46px;
    margin: -8px 0 0 -10px;
    cursor: pointer;
    background: url("../images/menu_btn_normal.png") no-repeat center / cover;
}

.menu-btn:hover {
    background-image: url("../images/menu_btn_hover.png");
}

/* =========================
   LEFT MENU BUTTONS
========================= */
.left-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 10px 0;
}

.left-menu .ko-btn {
    width: 150px;
    height: 40px;
    display: block;
    background: no-repeat center / 100% 100%;
    cursor: pointer;
    text-decoration: none;
}

.left-menu .ko-btn:hover {
    filter: brightness(1.08);
}

/* =========================
   KO BUTTON IMAGES
========================= */
.ko-btn.home      { background-image: url("../images/btn_home_normal.png"); }
.ko-btn.login     { background-image: url("../images/btn_login_normal.png"); }
.ko-btn.register  { background-image: url("../images/btn_register_normal.png"); }
.ko-btn.clan      { background-image: url("../images/btn_clan_normal.png"); }
.ko-btn.user      { background-image: url("../images/btn_user_normal.png"); }
.ko-btn.download  { background-image: url("../images/btn_download_normal.png"); }
.ko-btn.forum     { background-image: url("../images/btn_forum_normal.png"); }

.ko-btn.home:hover     { background-image: url("../images/btn_home_hover.png"); }
.ko-btn.login:hover    { background-image: url("../images/btn_login_hover.png"); }
.ko-btn.register:hover { background-image: url("../images/btn_register_hover.png"); }
.ko-btn.clan:hover     { background-image: url("../images/btn_clan_hover.png"); }
.ko-btn.user:hover     { background-image: url("../images/btn_user_hover.png"); }
.ko-btn.download:hover { background-image: url("../images/btn_download_hover.png"); }
.ko-btn.forum:hover    { background-image: url("../images/btn_forum_hover.png"); }

/* =========================
   LOGIN / ACCOUNT (ORTAK)
========================= */

.account-panel {
   width: 210px;
    height: 380px;
      
     left: -140px; 
     min-height: 330px;   /* 🔥 ALT DEKOR İÇİN ALAN AÇAR */
    
    overflow: visible;  /* 🔥 taşmayı göster */
    position: relative;
   
    background-size: 100% 100%;
    background-repeat: no-repeat;
}



.account-panel {
    background-image: url("../images/account_bg.png");
}


/* =========================
   ACCOUNT INFO
========================= */
.account-username,
.account-kc,
.account-pre {
    position: absolute;
    width: 100%;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
}

.account-username { top: 105px; font-weight: bold; }
.account-kc       { top: 125px; color: #ffd77a; }
.account-pre  { top: 145px; color: #a8ff9e; }

/* =========================
   HOME BOXES
========================= */
.home-boxes {
    display: flex;
    left: 55px;
    top: 70%;
    gap: 10px;
}

.latest-news,
.server-status {
    width: 380px;
    height: 410px;
    left: 550; 
    padding: 110px 40px 20px;
    overflow-y: auto;
    background: no-repeat center / 100% 100%;
}

.latest-news {
    background-image: url("../images/latest_news_frame.png");
}

.server-status {
    background-image: url("../images/server_status_frame.png");
}

/* =========================
   RANKING
========================= */
.ranking-boxes {
    display: flex;
    gap: 10px;
}

.clan-ranking,
.user-ranking {
     width: 380px;
 height: 410px;
 left: 650; 
 padding: 110px 20px 20px;
 border-collapse: separate;   /* 🔥 birleşmeyi açar */
 border-spacing: 0 10px;       /* 🔥 satırlar arası boşluk */
 background: no-repeat center / 100% 100%;
}

.clan-ranking {
    background-image: url("../images/clan_ranking_frame.png");
}

.user-ranking {
    background-image: url("../images/user_ranking_frame.png");
}

/* =========================
   FOOTER
========================= */
.panel-footer {
    width: 920px;
    height: 64px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.panel-footer img {
    position: absolute;
    width: 100%;
    height: 100%;
}

.footer-text {
    font-size: 11px;
    color: #cbb48a;
    text-shadow: 1px 1px 1px #000;
}

/* =========================
   SOCIAL ICONS
========================= */


.social {
    width: 26px;
    height: 26px;
    background-size: cover;
    opacity: 0.85;
    transition: transform .2s, opacity .2s;
}

.social:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social.youtube   { background-image: url("../images/social/youtube.png"); }
.social.facebook  { background-image: url("../images/social/facebook.png"); }
.social.instagram { background-image: url("../images/social/instagram.png"); }
.social.x         { background-image: url("../images/social/x.png"); }

.account-logout-btn {
    position: absolute;
    left: 34px;
    top: 340px;
    width: 112px;
    height: 32px;
    cursor: pointer;

    z-index: 9999;              /* 🔥 en üst */
    pointer-events: auto;       /* 🔥 tıklanabilir */
}

.account-mykol-btn {
    position: absolute;
    left: 34px;
    top: 60px;
    width: 112px;
    height: 32px;
    cursor: pointer;

    z-index: 9999;              /* 🔥 en üst */
    pointer-events: auto;       /* 🔥 tıklanabilir */
}

/* NEWS TITLE LINK COLOR */
.news-title a {
    color: #ffd77a;          /* KO sarısı */
    text-decoration: none;
}

.news-title a:hover {
    color: #fff3b0;          /* hover açık sarı */
}

/* =========================
   CLAN RANKING LINK COLOR
========================= */
.clan-ranking a,
.clan-ranking a:visited {
    color: #ffd77a;          /* KO sarısı */
    text-decoration: none;
}

.clan-ranking a:hover {
    color: #fff3b0;          /* hover açık sarı */
}



/* =========================
   ACCOUNT MENU ALT DEKOR
========================= */
/* =========================
   MENU ORTA DEKOR (PNG)
========================= */
.account-menu-decoration {
    position: relative;
    width: 240px;                 /* menu genişliği */
    height: 510px;                /* PNG yüksekliği */
    left: -20px;
    top: -40px; 
    background-image: url("/assets/images/menu_middle.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
}

/* =========================
   SUBMENU – PNG İÇİ YAZILAR
========================= */

/* Yazılar PNG'nin İÇİNE */
.account-menu-decoration .account-submenu {
    position: absolute;          /* 🔥 PNG'YE SABİTLER */
    top: 28px;                   /* 🔥 ÜST BOŞLUK */
    left: 46px;                  /* 🔥 SOL BOŞLUK */

    width: 165px;                /* 🔥 TAŞMA OLMASIN */
    padding: 0;
    margin: 0;

    background: none;            /* eski bg iptal */
}

/* Link görünümü */
.account-menu-decoration .account-submenu a {
    display: block;
    padding: 4px 6px;
    margin-bottom: 4px;

    font-size: 12px;
    color: #e6dcc4;
    text-decoration: none;

    text-shadow: 1px 1px 1px #000;
}

/* Hover */
.account-menu-decoration .account-submenu a:hover {
    background: rgba(120,40,20,0.75);
    color: #fff;
}

/* =========================
   MENU TOP DECORATION
========================= */
.menu-top-decoration {
    width: 210px;                 /* menu genişliği ile aynı */
    height: 48px;                 /* menu_top.png yüksekliği */

    margin-left: -6px;           /* account-panel hizası */
    margin-bottom: -10px;          /* orta PNG ile birleşsin */

    background-image: url("../images/menu_top.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    pointer-events: none;
}

/* =========================
   MENU BOTTOM DECORATION
========================= */
.menu-bottom-decoration {
    width: 210px;                 /* menu genişliği */
    height: 48px;                 /* menu_bottom.png yüksekliği */

    margin-left: -4px;           /* üst ve orta ile hizala */
    margin-top: -15px;             /* orta PNG ile birleşsin */

    background-image: url("../images/menu_bottom.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    pointer-events: none;
}

/* =========================
   EVENT HOURS TABLE FIX
========================= */
.stabil_menu {
    border-collapse: separate;
    border-spacing: 0 6px;          /* satırlar ayrılır */
    font-size: 12px;
}

.stabil_menu thead th {
    background: linear-gradient(#2b2b2b, #151515);
    color: #ffd77a;
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.stabil_menu tbody tr {
    background: rgba(0,0,0,0.55);
}

.stabil_menu tbody td {
    padding: 8px 10px;
    text-align: center;
    color: #e6dcc4;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Event adı sola yaslı */
.stabil_menu .event-name {
    text-align: left;
    font-weight: bold;
    color: #ffd77a;
}

/* Hover */
.stabil_menu tbody tr:hover {
    background: rgba(255,255,255,0.08);
}
/* =========================
   SERVER CLOCK
========================= */
#serverClock {
    display: inline-block;
    font-family: Verdana, Arial, sans-serif;
    font-size: 20px;
    padding: 6px 14px;

    background: linear-gradient(#111, #000);
    color: #ffd77a;

    border: 1px solid #333;
    border-radius: 3px;

    text-shadow: 1px 1px 1px #000;
}
/* =========================
   PAGE TITLE FIX
========================= */
.page_title {
    font-size: 16px;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}

.page_title span {
    color: #fff3b0;
}
.block-title-text {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;

    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;

    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}
/* =========================
   GM LIST TABLE FIX
========================= */
.panel-box {
    background: rgba(0,0,0,0.6);
    border: 1px solid #2a2a2a;
    padding: 8px;
}

.panel-title {
    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;
    padding: 8px 12px;
    margin-bottom: 10px;

    font-size: 14px;
    font-weight: bold;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}

/* Tablo genel */
.panel-table {
    width: 100%;
    border-collapse: separate;   /* 🔥 birleşmeyi açar */
    border-spacing: 0 6px;       /* 🔥 satırlar arası boşluk */
    font-size: 12px;
}

/* Başlık */
.panel-table thead th {
    background: rgba(0,0,0,0.7);
    color: #ffd77a;
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #333;
}

/* Satır */
.panel-table tbody tr {
    background: rgba(0,0,0,0.5);
}

/* Hücre */
.panel-table tbody
/* GM ikon ortala */
.gm-icon {
    text-align: center;
}

/* GM adı biraz vurgulu */
.panel-table td:nth-child(2) {
    font-weight: bold;
    color: #ffd77a;
}
/* Status */
.status {
    font-weight: bold;
}

.status.online {
    color: #00c853;
    text-shadow: 0 0 6px rgba(0,200,83,0.6);
}

.status.offline {
    color: #c62828;
}
/* =========================
   SERVER INFO TOP MENU
========================= */
.info-menu {
    text-align: center;
    margin-bottom: 15px;
    font-size: 12px;
}

.info-menu a {
    color: #ffd77a;
    text-decoration: none;
    padding: 4px 6px;
}

.info-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}
/* =========================
   INFO BLOCKS
========================= */
.info-block {
    border: 1px solid #2a2a2a;
    background: rgba(0,0,0,0.6);
    margin-bottom: 14px;
}

/* Başlık */
.info-title {
    background: linear-gradient(#2b2b2b, #151515);
    border-bottom: 1px solid #333;
    padding: 8px 12px;

    font-size: 13px;
    font-weight: bold;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}

/* İçerik */
.info-content {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.6;
    color: #e6dcc4;
}

/* İç linkler */
.info-content a {
    color: #ffd77a;
    text-decoration: none;
}

.info-content a:hover {
    color: #fff;
}
/* =========================
   PAGE TITLE FIX
========================= */
.page_title {
    font-size: 16px;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}
/* =========================
   GO TO TOP LINK
========================= */
.info-top-link {
    text-align: right;
    margin-top: 10px;
}

.info-top-link a {
    font-size: 11px;
    color: #cbb48a;
    text-decoration: none;
}

.info-top-link a:hover {
    color: #fff;
}
/* =========================
   MYKOL DASHBOARD
========================= */
.mykol-content h2 {
    margin-bottom: 10px;
    font-size: 15px;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}

/* Listeyi blok yap */
.mykol-content ul {
    list-style: none;
    margin: 0;
    padding: 0;

    border: 1px solid #2a2a2a;
    background: rgba(0,0,0,0.6);
}

/* Satırlar */
.mykol-content ul li {
    padding: 8px 12px;
    font-size: 12px;
    color: #e6dcc4;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Son satır çizgisiz */
.mykol-content ul li:last-child {
    border-bottom: none;
}

/* Başlık kısmı (Account, KC vs) */
.mykol-content ul li b {
    display: inline-block;
    width: 110px;           /* hizalama */
    color: #ffd77a;
}

/* Premium özel renk */
.mykol-content ul li:nth-child(5) {
    color: #a8ff9e;
}
/* =========================
   RANKING MENU
========================= */
.ranking-menu {
    text-align: center;
    margin-bottom: 14px;
}

.ranking-menu a {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;

    font-size: 12px;
    text-decoration: none;

    color: #ffd77a;
    background: rgba(0,0,0,0.6);
    border: 1px solid #2a2a2a;

    transition: background .2s, color .2s;
}

.ranking-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Aktif sekme */
.ranking-menu a.active {
    background: linear-gradient(#3a2a14, #1a120b);
    border-color: #5a3a18;
    color: #fff3b0;
}
/* =========================
   RANKING TABLE FIX
========================= */
.panel-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;          /* 🔥 satırlar ayrılır */
    font-size: 12px;
}

.panel-table thead th {
    background: linear-gradient(#2b2b2b, #151515);
    color: #ffd77a;
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.panel-table tbody tr {
    background: rgba(0,0,0,0.55);
}

.panel-table tbody td {
    padding: 8px 10px;
    text-align: center;
    color: #e6dcc4;
}

/* Hover */
.panel-table tbody tr:hover {
    background: rgba(255,255,255,0.08);
}
/* User adı */
.panel-table tbody td:nth-child(2) {
    font-weight: bold;
    color: #ffd77a;
}

/* Clan linkleri */
.panel-table a {
    color: #ffd77a;
    text-decoration: none;
}

.panel-table a:hover {
    color: #fff;
}

/* Nation sütunu */
.panel-table td:nth-child(5) {
    font-style: italic;
}

/* NP sütunu */
.panel-table td:last-child {
    font-weight: bold;
    color: #fff3b0;
}
/* =========================
   CLAN DETAIL TABLE
========================= */
.panel-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;          /* satırlar ayrılır */
    font-size: 12px;
}

/* Başlık */
.panel-table th {
    background: linear-gradient(#2b2b2b, #151515);
    color: #ffd77a;
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

/* Satır */
.panel-table tbody tr {
    background: rgba(0,0,0,0.55);
}

/* Hücre */
.panel-table td {
    padding: 8px 10px;
    text-align: center;
    color: #e6dcc4;
}

/* Hover */
.panel-table tbody tr:hover {
    background: rgba(255,255,255,0.08);
}
/* Clan rank vurguları */
.panel-table td:nth-child(5) {
    font-weight: bold;
}

/* Chief */
.panel-table td:nth-child(5):contains("Chief") {
    color: #ffd700;
}

/* Vice Chief */
.panel-table td:nth-child(5):contains("Vice") {
    color: #7ec8ff;
}
/* Member */
.panel-table td:nth-child(5) {
    color: #e6dcc4;
}
/* Total row */
.panel-table .total-row {
    background: rgba(0,0,0,0.75);
    font-weight: bold;
}

.panel-table .total-row td {
    color: #fff3b0;
    border-top: 1px solid #333;
}
/* =========================
   DOWNLOAD PAGE
========================= */
.download-item {
    display: flex;
    align-items: center;

    margin-bottom: 10px;
    padding: 10px 12px;

    background: rgba(0,0,0,0.6);
    border: 1px solid #2a2a2a;

    transition: background .2s, box-shadow .2s;
}

.download-item:hover {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 8px rgba(255,215,122,0.15);
}
/* Download icon */
.download-icon {
    width: 42px;
    text-align: center;
    flex-shrink: 0;
}

.download-icon img {
    width: 32px;
    height: 32px;
}
/* Download info */
.download-info {
    flex: 1;
    padding: 0 12px;
}

/* Başlık */
.download-title {
    font-size: 13px;
    font-weight: bold;
    color: #ffd77a;
    margin-bottom: 2px;
}

/* Açıklama */
.download-desc {
    font-size: 11px;
    color: #cbb48a;
    line-height: 1.4;
}
/* Download action */
.download-action {
    flex-shrink: 0;
}

.download-btn {
    display: inline-block;
    padding: 6px 14px;

    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;

    font-size: 11px;
    color: #ffd77a;
    text-decoration: none;

    transition: background .2s, color .2s;
}

.download-btn:hover {
    background: linear-gradient(#3a3a3a, #1e1e1e);
    color: #fff;
}
/* =========================
   ONLINE FILTER
========================= */
.online-filter {
    text-align: center;
    margin-bottom: 12px;
}

.online-filter a {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;

    font-size: 12px;
    text-decoration: none;

    color: #ffd77a;
    background: rgba(0,0,0,0.6);
    border: 1px solid #2a2a2a;

    transition: background .2s, color .2s;
}

.online-filter a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.online-filter a.active {
    background: linear-gradient(#3a2a14, #1a120b);
    border-color: #5a3a18;
    color: #fff3b0;
}
/* =========================
   ONLINE COUNT
========================= */
.online-count {
    margin-top: 10px;
    text-align: right;
    font-size: 12px;
    color: #cbb48a;
}

.online-count b {
    color: #ffd77a;
}
/* =========================
   REGISTER PAGE
========================= */

/* Form kapsayıcı */
form {
    width: 420px;
    margin: 20px auto;
    padding: 16px;

    background: rgba(0,0,0,0.6);
    border: 1px solid #2a2a2a;
}

/* Başlık */
form h2 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
    text-align: center;
}

/* Alt başlıklar */
form h4 {
    margin: 10px 0 6px;
    font-size: 12px;
    color: #cbb48a;
}

/* Input + select */
form input,
form select {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 6px;

    background: rgba(0,0,0,0.8);
    border: 1px solid #333;

    color: #e6dcc4;
    font-size: 12px;
}

form input::placeholder {
    color: #999;
}

/* Focus */
form input:focus,
form select:focus {
    outline: none;
    border-color: #ffd77a;
    box-shadow: 0 0 6px rgba(255,215,122,0.3);
}

/* Register button */
form button {
    width: 100%;
    margin-top: 10px;
    padding: 10px 0;

    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;

    font-size: 12px;
    font-weight: bold;
    color: #ffd77a;

    cursor: pointer;
    transition: background .2s, color .2s;
}

form button:hover {
    background: linear-gradient(#3a3a3a, #1e1e1e);
    color: #fff;
}
/* Register success box */
.register-success {
    width: 420px;
    margin: 30px auto;
    padding: 16px;

    background: rgba(0,120,0,0.35);
    border: 1px solid #1f4f1f;

    color: #a8ff9e;
    font-size: 13px;
    text-align: center;
}
/* =========================
   NEWS DETAIL PAGE
========================= */
.news-detail {
    border: 1px solid #2a2a2a;
    background: rgba(0,0,0,0.6);
    padding: 14px 16px;
}
.news-detail .news-date {
    font-size: 11px;
    color: #999;
    margin-bottom: 12px;
}
.news-detail .news-message {
    font-size: 12px;
    line-height: 1.6;
    color: #e6dcc4;
}
.news-back {
    display: inline-block;
    margin-top: 10px;

    font-size: 12px;
    color: #ffd77a;
    text-decoration: none;
}

.news-back:hover {
    color: #fff;
    text-decoration: underline;
}
/* =========================
   ACCOUNT KC & VOTE
========================= */
.account-kc {
    position: absolute;
    top: 125px;          /* KC yeri */
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}

.account-vote {
    position: absolute;
    top: 145px;          /* 🔥 KC'nin ALTINA */
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #7ec8ff;      /* hafif mavi / ayırt edici */
    text-shadow: 1px 1px 1px #000;
}

.account-pre {
    position: absolute;
    top: 185px;          /* 🔥 Vote'nin ALTINA */
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #7ec8ff;      /* hafif mavi / ayırt edici */
    text-shadow: 1px 1px 1px #000;
}
/* =========================
   HOME TOP 5 USER RANKING
========================= */
.top5-users {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Tek satır */
.top5-users li {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 6px;
    padding: 6px 8px;

    background: rgba(0,0,0,0.55);
    border: 1px solid #2a2a2a;

    font-size: 12px;
    color: #e6dcc4;
}

/* Hover */
.top5-users li:hover {
    background: rgba(255,255,255,0.08);
}

/* Nick */
.top5-users .u-name {
    font-weight: bold;
    color: #ffd77a;
}

/* Class */
.top5-users .u-class {
    width: 22px;
    text-align: center;
    font-weight: bold;
    color: #7ec8ff;
}

/* Clan */
.top5-users .u-clan {
    flex: 1;
    margin-left: 6px;
    color: #cbb48a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* NP */
.top5-users .u-np {
    font-weight: bold;
    color: #fff3b0;
}
/* =========================
   HOME RANKING BOXES
========================= */
.ranking-boxes {
    display: flex;
    gap: 12px;
}

/* Kutular */
.rank-title {
    margin-bottom: 6px;
    padding: 6px 8px;

    font-size: 13px;
    font-weight: bold;
    color: #ffd77a;

    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;

    text-shadow: 1px 1px 1px #000;
}
/* =========================
   TOP 5 RANK TABLE
========================= */
.rank-table {
    width: 100%;
    border-collapse: separate;   /* 🔥 birleşmeyi kapat */
    border-spacing: 0 5px;       /* 🔥 satır boşluğu */
    font-size: 12px;
}

/* Başlık */
.rank-table thead th {
    background: rgba(0,0,0,0.7);
    color: #cbb48a;
    padding: 6px 8px;
    text-align: center;
}

/* Satır */
.rank-table tbody tr {
    background: rgba(0,0,0,0.45);
}

/* Hücre */
.rank-table tbody td {
    padding: 6px 8px;
    text-align: center;
    color: #e6dcc4;
}

/* Hover */
.rank-table tbody tr:hover {
    background: rgba(255,255,255,0.08);
}
/* Clan adı link */
.rank-table a {
    color: #ffd77a;
    text-decoration: none;
}

.rank-table a:hover {
    color: #fff;
}

/* User adı */
.user-ranking .rank-table td:nth-child(2) {
    font-weight: bold;
    color: #ffd77a;
}

/* NP & Points */
.rank-table td:last-child {
    font-weight: bold;
    color: #fff3b0;
}
.class-tag {
    margin-left: 4px;
    padding: 1px 4px;

    font-size: 10px;
    font-weight: bold;

    background: rgba(0,0,0,0.6);
    border: 1px solid #333;
    color: #7ec8ff;
}
.rank-footer {
    margin-top: 6px;
    text-align: right;
}

.rank-footer a {
    font-size: 11px;
    color: #cbb48a;
    text-decoration: none;
}

.rank-footer a:hover {
    color: #fff;
}

.login-panel {
    width: 210px;
    height: 380px;
     left: -58px; 
    background: url("../images/login_bg.png") no-repeat center;
    background-size: 100% 100%;
    position: relative;
}
.login-panel form {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}
.login-input {
    position: absolute;
    left: 38px;
    width: 120px;
    height: 22px;
    border: none;
    background: transparent;
    color: #f5e6c8;
    font-size: 12px;
    outline: none;
    text-shadow: 1px 1px 1px #000;
}

    .login-input.user {
        top: 110px;
    }

    .login-input.pass {
        top: 154px;
    }

.login-btn {
    position: absolute;
    left: 35px;
    top: 175px;

    width: 110px;
    height: 30px;

    background: none;      /* 🔥 GÖRSEL YOK */
    border: none;
    padding: 0;
    cursor: pointer;

    outline: none;
}

/* Hover’da HİÇBİR ŞEY OLMASIN */
.login-btn:hover,
.login-btn:active,
.login-btn:focus {
    background: none;
    filter: none;
    opacity: 1;
}

.account-icons {
    position: absolute;
    top: 205px;      /* 🔥 KARELERİN DİKEY KONUMU */
    left: 40px;      /* 🔥 SOL HİZASI */

    display: flex;
    gap: 4px;

    z-index: 5;
}



.acc-box {
    width: 32px;
    height: 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}


.acc-box img {
    width: 26px;
    height: 26px;
}

.acc-box span {
    font-size: 10px;
    color: #ffd77a;
    margin-top: 2px;
}
/* MYKOL CONTENT BOX */
.mykol-box {
    max-width: 480px;
    padding: 18px 20px;

    background: rgba(0,0,0,0.65);
    border: 1px solid #2a2a2a;

    box-shadow: inset 0 0 12px rgba(0,0,0,0.8);
}

/* Başlık */
.mykol-box h2 {
    margin-bottom: 12px;
    font-size: 15px;
    color: #ffd77a;
    text-shadow: 1px 1px 1px #000;
}

/* Form input */
.mykol-box input {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;

    background: rgba(0,0,0,0.85);
    border: 1px solid #333;

    color: #e6dcc4;
    font-size: 12px;
}

/* Button */
.mykol-box button {
    width: 100%;
    margin-top: 10px;
    padding: 9px 0;

    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;

    color: #ffd77a;
    font-weight: bold;
    cursor: pointer;
}

.mykol-box button:hover {
    background: linear-gradient(#3a3a3a, #1e1e1e);
    color: #fff;
}
.mykol-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mykol-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.mykol-content {
    flex: 1;
}

.mykol-box .mk-item {
    display: block;
    margin-bottom: 6px;
    padding: 7px 10px;

    font-size: 12px;
    font-weight: bold;

    color: #ffd77a !important;
    text-decoration: none !important;

    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;

    text-align: center;
    text-shadow: 1px 1px 1px #000;
    transition: all .2s ease;
}

.mykol-box .mk-item:hover {
    background: linear-gradient(#3a2a14, #1a120b);
    color: #fff;
    box-shadow: 0 0 8px rgba(255,215,122,0.35);
}

.mykol-box .mk-item.active {
    background: linear-gradient(#5a3a18, #2a1608);
    border-color: #7a4a20;
    color: #fff3b0;
    box-shadow: inset 0 0 6px rgba(255,215,122,0.6);
}

.mykol-box .mk-item.logout:hover {
    background: linear-gradient(#4a1a1a, #1a0b0b);
    color: #ffb3b3;
    box-shadow: 0 0 8px rgba(255,80,80,0.5);
}
/* =========================
   FOOTER
========================= */
.panel-footer {
    width: 920px;
    height: 64px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.panel-footer img {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Yazı */
.footer-text {
    position: absolute;           /* 🔥 EN ÖNEMLİ KISIM */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 12px;
    color: #e6d3a3;               /* KO gold tonu */
    text-shadow: 1px 1px 2px #000;

    white-space: nowrap;
    pointer-events: none;
}
/* =========================
   FORCE VOTE REWARD GRID
========================= */
.vote-rewards-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 15px !important;
    width: 100% !important;
    clear: both !important;
}

/* ITEM */
.vote-reward-item {
    float: none !important;
    width: auto !important;
    display: block !important;

    text-align: center;
    padding: 10px 6px;

    background: rgba(0,0,0,0.55);
    border: 1px solid #2a2a2a;
}

/* ICON */
.vote-reward-item img {
    width: 48px !important;
    height: 48px !important;
    display: block !important;
    margin: 0 auto 6px auto !important;
}

.vote-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vote-btn-box {
    position: relative;
    text-align: center;
}

.vote-btn-box img {
    display: block;
    width: 468px;
    height: 60px;
}

/* =========================
   VOTE TIMER – DİKKAT ÇEKİCİ
========================= */

.vote-btn-box {
    position: relative;
    text-align: center;
}

/* Sayaç kutusu */
.vote-timer {
    margin-top: 6px;
    padding: 6px 14px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 6px;
    text-shadow: 0 0 6px #000;
}

/* 🔴 COOLDOWN – KIRMIZI + BLINK */
.vote-timer.cooldown {
    background: linear-gradient(#7a0000, #3a0000);
    color: #ffb3b3;
    border: 1px solid #ff4444;
    box-shadow: 0 0 12px rgba(255,0,0,0.9);
    animation: voteBlink 1s infinite;
}

/* 🟢 READY – YEŞİL + NABIZ */
.vote-timer.ready {
    background: linear-gradient(#0f7a00, #054000);
    color: #baffba;
    border: 1px solid #00ff55;
    box-shadow: 0 0 18px rgba(0,255,0,1);
    animation: votePulse 1.2s infinite;
}

/* 🔒 Kilitli buton */
.vote-disabled {
    pointer-events: none;
    filter: grayscale(100%);
    opacity: 0.45;
}

/* Blink animasyonu */
@keyframes voteBlink {
    0%   { opacity: 1;   }
    50%  { opacity: 0.4; }
    100% { opacity: 1;   }
}

/* Pulse animasyonu */
@keyframes votePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0,255,0,0.7);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 25px rgba(0,255,0,1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0,255,0,0.7);
    }
}


/* 🟠 SON 5 DAKİKA */
.vote-timer.warning {
    background: linear-gradient(#a85a00, #5a2d00);
    color: #ffd9a0;
    border: 1px solid #ff9800;
    box-shadow: 0 0 16px rgba(255,140,0,0.9);
    animation: voteBlinkFast 0.6s infinite;
}

/* Premium altın override */
.vote-timer.premium {
    background: linear-gradient(#8a6a00, #3a2a00);
    color: #ffe082;
    border: 1px solid #ffcc33;
    box-shadow: 0 0 20px rgba(255,215,0,1);
}
.vote-now {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    font-weight: bold;
    color: #00ff55;
    text-shadow: 0 0 12px #00ff55, 0 0 25px #00ff55;
    animation: votePop 1.2s ease-out forwards;
    pointer-events: none;
}

@keyframes votePop {
    0% {
        transform: translateX(-50%) scale(0.3);
        opacity: 0;
    }
    40% {
        transform: translateX(-50%) scale(1.4);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0;
    }
}


.discount-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: gold;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255,215,0,0.8);
}
.vote-reward-item {
    position: relative;
    pointer-events: auto;
}

.vote-reward-item.locked {
    filter: grayscale(100%);
}

.vote-reward-item.locked .lock-overlay {
    pointer-events: all;
}

.reward-buy {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    color: #ffd77a;
    text-decoration: none;
    border: 1px solid #333;
    background: linear-gradient(#2b2b2b,#151515);
}

.reward-buy:hover {
    color: #fff;
    box-shadow: 0 0 8px rgba(255,215,122,0.4);
}

.go-vote-reward-btn {
    display: inline-block;
    padding: 8px 18px;

    font-size: 13px;
    font-weight: bold;
    text-decoration: none;

    color: #ffd77a;
    background: linear-gradient(#2b2b2b, #151515);
    border: 1px solid #333;

    text-shadow: 1px 1px 1px #000;
    transition: all .2s ease;
}

.go-vote-reward-btn:hover {
    color: #fff;
    background: linear-gradient(#3a2a14, #1a120b);
    border-color: #7a4a20;
    box-shadow: 0 0 10px rgba(255,215,122,0.45);
}

/* POWER UP STORE GRID */
.store-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* EN FAZLA 5 */
    gap: 12px;
    align-items: stretch;
}

/* ITEM BOX */
.store-item {
    background: #1b1b1b;
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
}

    /* ICON */
    .store-item img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        margin-bottom: 6px;
    }

    /* ITEM NAME */
    .store-item .name {
        font-size: 13px;
        font-weight: bold;
        min-height: 32px;
        color: #eee;
    }

    /* COUNT */
    .store-item .count {
        font-size: 12px;
        color: #bbb;
    }

    /* PRICE */
    .store-item .price {
        font-size: 12px;
        margin-top: 4px;
        color: #9ad;
    }

/* BUY BUTTON */
.buy-btn {
    display: block;
    margin-top: 8px;
    padding: 6px 0;
    background: linear-gradient(#2e7d32, #1b5e20);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

    .buy-btn:hover {
        background: linear-gradient(#388e3c, #1b5e20);
    }
.power-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto; /* SCROLL */
}

.power-tabs a {
    padding: 6px 14px;
    background: #2a2a2a;
    border-radius: 20px;
    text-decoration: none;
    color: #ccc;
    white-space: nowrap;
    font-size: 13px;
}

.power-tabs a.active {
    background: linear-gradient(#ffd700, #b8860b);
    color: #000;
    font-weight: bold;
}

.maintenance-wrapper {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.9)),
        url("../images/juraid_cz_fog.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintenance-box {
    width: 960px;
}



.maintenance-box {
    width: 520px;
    padding: 40px;
    background: rgba(20,20,20,.85);
    border: 1px solid #444;
    box-shadow: 0 0 40px rgba(0,0,0,.9);
    text-align: center;
}

/* Dil seçici */
.lang-switch {
    text-align: right;
    margin-bottom: 10px;
}
.lang-switch a {
    color: #aaa;
    margin-left: 10px;
    text-decoration: none;
}
.lang-switch a.active {
    color: #fff;
    font-weight: bold;
}

/* Countdown */
#countdown {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
}
#countdown div {
    width: 90px;
    background: #111;
    border: 1px solid #333;
    padding: 10px 0;
}
#countdown span {
    display: block;
    font-size: 26px;
}
#countdown small {
    color: #777;
}

.forum-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    border: 1px solid #555;
    color: #ccc;
    text-decoration: none;
}
.forum-btn:hover {
    background: #333;
}
.maintenance-wrapper {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.9)),
        url("../images/juraid_cz_fog.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Silüetler */
.maintenance-wrapper::before,
.maintenance-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 380px;
    height: 520px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
}
.top-bar-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* POWER UP STORE TITLE - BLACK */
.power-title {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 10px 0 14px 0;

    color: #f0f0f0;

    background: linear-gradient(
        to right,
        #0b0b0b,
        #1a1a1a,
        #0b0b0b
    );

    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid #2e2e2e;

    box-shadow:
        inset 0 0 10px rgba(0,0,0,0.9),
        0 0 8px rgba(0,0,0,0.8);
}

/* SAĞ İÇERİK (HOME) */
.page-box {
    flex: 1;
    width: 100%;
}

/* NEWS + STATUS */
.home-boxes {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
/* LOGIN MENÜ SOLA KAÇMA FIX */
.menu-wrapper {
    margin-left: 0 !important;
}

.account-panel,
.login-panel {
    left: 0 !important;
    margin: 0 auto;
}


/* SAĞ CONTENT ALANI */
.content {
    flex: 1;              /* panelde kalan alanı doldurur */
    min-width: 0;         /* flex taşma bug fix */
    padding-left: 20px;   /* 🔥 menu ile içerik arası boşluk */
}

.logout-form {
    display: inline;
}
.logout-form button {
    all: unset;
    cursor: pointer;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(7, 42px);
    gap: 4px;
}

.inv-slot {
    width: 42px;
    height: 42px;
    background: url('/assets/images/inv_slot.png');
    position: relative;
}

.inv-slot img {
    width: 100%;
    height: 100%;
}

.item-count {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 11px;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

.mykol-success {
    background: rgba(46, 204, 113, 0.15);
    border-left: 5px solid #2ecc71;
    color: #2ecc71;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
}

.mykol-error {
    background: rgba(231, 76, 60, 0.15);
    border-left: 5px solid #e74c3c;
    color: #e74c3c;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
}

.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* =========================
   SOCIAL ICONS
========================= */
.social-icons {
    display: flex;
    gap: 10px;
    margin-left: auto;
  padding-left: 20px;  /* tarih ile ikon arası boşluk */
}

.social {
    width: 26px;
    height: 26px;
    background-size: cover;
    opacity: 0.85;
    transition: transform .2s, opacity .2s;
}

.social:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social.youtube   { background-image: url("../images/social/youtube.png"); }
.social.facebook  { background-image: url("../images/social/facebook.png"); }
.social.instagram { background-image: url("../images/social/instagram.png"); }
.social.x         { background-image: url("../images/social/x.png"); }


