/* =========================================================
   LUNARKO CLEAN STYLE.CSS - SAFE CLEAN
   Bu dosya otomatik güvenli temizlikten geçirilmiştir.

   Yapılanlar:
   - Aynı selector içinde sonradan ezilen declaration'lar kaldırıldı.
   - Tamamen boş kalan ezilmiş bloklar kaldırıldı.
   - Eski uzun yorumlar temizlendi.
   - Selector isimleri, layout mantığı, border-radius, padding, grid yapısı korunmuştur.

   Not:
   Gerçekten kullanılmayan class'ları silmek için tüm PHP/HTML/AJAX çıktısı canlı taranmalıdır.
   Bu dosya o riske girmeden güvenli temizlik yapar.
   ========================================================= */

html, body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: url("../img/cursor/kirmizi_bos.cur"), auto !important;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a, button, select, input, label, .user-btn, .burger-btn, .has-dropdown, .dropdown li a, #mobileNavContent li a {
    cursor: url("../img/cursor/kirmizi_tik.cur"), pointer !important;
}

.top-menu, #mobileNavContent, .nav-brand img {
    cursor: url("../img/cursor/kirmizi_bos.cur"), auto !important;
}

.top-menu a, .top-menu .has-dropdown, #mobileNavContent a {
    cursor: url("../img/cursor/kirmizi_tik.cur"), pointer !important;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px;
}

.top-menu {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.top-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255,255,255,0.03);
    border-left: 1px solid rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.top-menu li a i {
    font-size: 14px;
    transition: 0.3s;
}

.top-menu li a:hover {
    box-shadow: inset 0 0 15px rgba(0,0,0,0.6);
}

.has-dropdown {
    position: relative;
}

.top-menu ul .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #1c1918;
    border: 1px solid #8f4a1f;
    border-top: 2px solid #f8ac7d;
    box-shadow: 0 10px 20px rgba(0,0,0,0.9);
    z-index: 1000;
    padding: 0;
    flex-direction: column;
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    border: none;
    border-bottom: 1px solid #272220;
    padding: 12px 20px;
    font-size: 12px;
    color: #e8c8b5;
    background: transparent;
}

.dropdown li a:hover {
    background-color: #272220;
    color: #f8ac7d;
    padding-left: 28px;
    border-left: 3px solid #f8ac7d;
}

.has-dropdown:hover .dropdown {
    display: flex;
    animation: menuSlide 0.2s ease-out;
}

@keyframes menuSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-pus a {
    color: #f8ac7d !important;
}

.menu-pus a i {
    color: #f8ac7d !important;
}

.menu-pus a:hover {
    background: linear-gradient(to bottom, #f8ac7d 0%, #b54f0f 100%) !important;
    color: #1f1c1b !important;
    text-shadow: none !important;
}

.menu-pus a:hover i {
    color: #080707 !important;
}

.user-btn.logged-in {
    min-width: 140px;
    justify-content: center;
}

.user-btn.logged-in:hover {
    border-color: #f8ac7d;
}

.menu-user .has-dropdown {
    position: relative;
}

.menu-user .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    background: #1c1918;
    border: 1px solid #8f4a1f;
    border-top: 3px solid #f8ac7d;
    list-style: none;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-radius: 0 0 4px 4px;
}

.menu-user .has-dropdown:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s;
}

.menu-user .dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #efd5c6;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
    border-bottom: 1px solid #272220;
}

.menu-user .dropdown li:last-child a {
    border-bottom: none;
}

.menu-user .dropdown li a:hover {
    background: #272220;
    color: #ffffff;
    padding-left: 25px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-content {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

.sidebar {
    max-width: 330px;
    min-width: 200px;
    flex-shrink: 0;
}

.center-area {
    flex-grow: 1;
    min-width: 0;
}

.widget {
    position: relative;
    margin-bottom: 25px;
    border: 1px solid #8f4a1f;
}

.widget::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: 10;
    pointer-events: none;
}

.widget-title {
    position: relative;
    padding: 12px 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: none !important;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

.widget-title i {
    margin-right: 8px;
}

.widget-body {
    padding: 10px;
    max-width: 100%;
    min-width: 300px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 4px;
    background: linear-gradient(to bottom, #322c2b, #1f1c1b);
    border: 1px solid #8f4a1f;
    font-weight: bold;
    color: #efd5c6;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn i {
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
    transition: 0.3s;
}

.social-btn:hover {
    color: #ffffff;
    padding-left: 20px;
    border-color: rgba(255,255,255,0.2);
}

.btn-whatsapp {
    border-left: 3px solid #d36825;
}

.btn-whatsapp i {
    color: #d36825;
}

.btn-whatsapp:hover {
    background: linear-gradient(to right, #292422, #d36825);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover i {
    color: #ffffff;
}

.btn-discord {
    border-left: 3px solid #f29358;
}

.btn-discord i {
    color: #f29358;
}

.btn-discord:hover {
    background: linear-gradient(to right, #332d2c, #f29358);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover i {
    color: #ffffff;
}

.btn-youtube {
    border-left: 3px solid #ff6076;
}

.btn-youtube i {
    color: #ff6076;
}

.btn-youtube:hover {
    background: linear-gradient(to right, #272220, #ff6076);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.btn-youtube:hover i {
    color: #ffffff;
}

.btn-instagram {
    border-left: 3px solid #C13584;
}

.btn-instagram i {
    color: #C13584;
}

.btn-instagram:hover {
    background: linear-gradient(to right, #501e38, #C13584);
    box-shadow: 0 0 15px rgba(193, 53, 132, 0.3);
}

.btn-instagram:hover i {
    color: #ffffff;
}

.btn-facebook {
    border-left: 3px solid #f26c18;
}

.btn-facebook i {
    color: #f26c18;
}

.btn-facebook:hover {
    background: linear-gradient(to right, #533932, #f26c18);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.3);
}

.btn-facebook:hover i {
    color: #ffffff;
}

.btn-kick {
    border-left: 3px solid #f37121;
}

.btn-kick i {
    color: #f37121;
}

.btn-kick:hover {
    background: linear-gradient(to right, #412c27, #f37121);
    color: #080707;
    box-shadow: 0 0 15px rgba(83, 252, 24, 0.3);
}

.btn-kick:hover i {
    color: #080707;
}

.btn-telegram {
    border-left: 3px solid #c2510a;
}

.btn-telegram i {
    color: #c2510a;
}

.btn-telegram:hover {
    background: linear-gradient(to right, #322c2a, #c2510a);
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover i {
    color: #ffffff;
}

.btn-tiktok {
    border-left: 3px solid #ff6076;
}

.btn-tiktok i {
    color: #ff6076;
}

.btn-tiktok:hover {
    background: linear-gradient(to right, #500e1b, #ff6076);
    box-shadow: 0 0 15px rgba(254, 44, 85, 0.3);
}

.btn-tiktok:hover i {
    color: #ffffff;
}

.site-footer {
    border-top: 3px solid #f37222;
    padding: 40px 0 20px 0;
    margin-top: 50px;
    font-size: 13px;
    position: relative;
    z-index: 10;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #8f4a1f;
    letter-spacing: 1px;
}

.footer-title i {
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        border-bottom: 1px solid #272220;
        padding-bottom: 20px;
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-col[style="text-align: right;"] {
        text-align: center !important;
    }
}

.menu-list {
    flex-grow: 1;
}

.menu-user {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.user-btn.login {
    background: rgba(255,255,255,0.05);
    border: 1px solid #aa5e2e;
    color: #f4e3d9;
}

.user-btn.login:hover {
    background: #322c2b;
    border-color: #efd5c6;
    color: #ffffff;
}

.user-btn.register {
    background: linear-gradient(to bottom, #f8ac7d, #f37222);
    color: #080707;
    border: 1px solid #ffd36a;
    box-shadow: 0 0 10px rgba(203, 161, 99, 0.3);
}

.user-btn.register:hover {
    background: linear-gradient(to bottom, #ffd36a, #f8ac7d);
    color: #080707;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.6);
    transform: translateY(-2px);
}

.user-btn.logged-in {
    background: transparent;
    color: #f8ac7d;
    border: 1px solid #8f4a1f;
}

.user-btn.logged-in:hover {
    background: #1f1c1b;
    color: #ffffff;
}

.menu-user .dropdown {
    right: 0;
    left: auto;
    min-width: 180px;
}

@media (max-width: 992px) {
    .top-menu .container {
        flex-direction: column;
        gap: 10px;
    }

    .menu-user {
        width: 100%;
        justify-content: center;
        padding-bottom: 10px;
    }

    .user-btn {
        padding: 8px 15px;
        font-size: 11px;
    }
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #c5b8b0;
    font-family: "Segoe UI", sans-serif;
}

.rank-table td {
    padding: 8px 5px;
    border-bottom: 1px solid #452f2a;
    vertical-align: middle;
    transition: background 0.2s;
}

.rank-table tr:last-child td {
    border-bottom: none;
}

.rank-table tr:hover td {
    background: rgba(183, 28, 28, 0.1);
    color: #ffffff;
}

.rank-num {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #1f1c1b;
    color: #d0a88f;
    border: 1px solid #8f4a1f;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    font-family: monospace;
}

.rank-table a {
    color: #e0e0e0;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.rank-table a:hover {
    color: #f8ac7d;
    text-shadow: 0 0 5px rgba(255, 160, 0, 0.4);
}

.rank-table img {
    vertical-align: middle;
    margin-right: 3px;
    opacity: 0.8;
    transition: 0.2s;
}

.rank-table tr:hover img {
    opacity: 1;
}

.rank-table td:last-child {
    color: #f8ac7d;
    font-weight: bold;
    font-family: "Consolas", monospace;
    letter-spacing: 0.5px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-bottom: 4px solid #f37222;
    margin-bottom: 30px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-content {
    position: absolute;
    bottom: 60px;
    left: 10%;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,1);
}

.slide-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: "Trajan Pro", "Segoe UI", serif;
    letter-spacing: 2px;
}

.slide-desc {
    font-size: 16px;
    color: #f9f1ec;
    margin-bottom: 25px;
    line-height: 1.5;
}

.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to bottom, #f37222, #f37222);
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #f8ac7d;
    transition: 0.3s;
}

.slide-btn:hover {
    background: linear-gradient(to bottom, #f8ac7d, #f37222);
    color: #080707;
    border-color: #ffd36a;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.6);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    width: 40px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    transition: 0.2s;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #080707;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }

    .slide-content {
        left: 5%;
        bottom: 40px;
        text-align: center;
        width: 90%;
    }

    .slide-title {
        font-size: 24px;
    }

    .slide-desc {
        font-size: 13px;
        display: none;
    }

    .slide-btn {
        padding: 8px 20px;
        font-size: 12px;
    }

    .slider-nav {
        display: none;
    }
}

.news-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #8f4a1f;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.news-date {
    background: #8f4a1f;
    padding: 5px 10px;
    text-align: center;
    border-radius: 4px;
    height: fit-content;
}

.news-date span {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #f8ac7d;
}

.news-content h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #ffffff;
}

.news-content p {
    margin: 0;
    font-size: 13px;
    color: #efd5c6;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-card {
    background: #2b2524;
    border: 1px solid #8f4a1f;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.download-card:hover {
    transform: translateX(5px);
    background: #452f2a;
}

.download-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

.dl-info p {
    margin: 0;
    font-size: 13px;
    color: #efd5c6;
}

.dl-btn {
    white-space: nowrap;
}

.dl-btn:hover {
    filter: brightness(1.2);
}

.dl-date {
    font-size: 11px;
    color: #bd8d6f;
    margin-top: 5px;
    display: block;
}

@media (max-width: 600px) {
    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .dl-btn {
        margin-top: 15px;
        width: 100%;
    }
}

.news-list-item {
    border-bottom: 1px dashed #8f4a1f;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background: #452f2a;
    padding-left: 10px;
}

.news-icon {
    width: 30px;
    height: 30px;
    background: #272220;
    color: #f8ac7d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 15px;
    font-size: 14px;
    border: 1px solid #8f4a1f;
}

.news-info h4 {
    margin: 0;
    font-size: 14px;
    color: #e0e0e0;
}

.news-info span {
    font-size: 11px;
    color: #d0a88f;
}

.view-all-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 12px;
    color: #f8ac7d;
    font-weight: bold;
    text-decoration: underline;
}

.view-all-link:hover {
    color: #ffffff;
}

.king-clan-icon {
    font-size: 16px;
    color: #ff6076;
    filter: drop-shadow(0 0 5px #ff6076);
    animation: fire-flicker 1.5s infinite alternate;
}

@keyframes fire-flicker {
    0% {
        color: #ff6076; 
        transform: scale(1);
        filter: drop-shadow(0 0 2px #ff6076);
    }
    100% {
        color: #ffd36a; 
        transform: scale(1.2); 
        filter: drop-shadow(0 0 8px #ffd36a);
    }
}

.pus-tabs {
    border-bottom: 2px solid #8f4a1f;
    padding-bottom: 15px;
}

.pus-tab-link {
    background: #2b2524;
    color: #efd5c6;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #8f4a1f;
    font-weight: bold;
    font-size: 13px;
    transition: 0.2s;
}

.pus-tab-link:hover, .pus-tab-link.active {
    background: #f8ac7d;
    color: #080707;
    border-color: #f8ac7d;
    box-shadow: 0 0 10px rgba(255, 160, 0, 0.3);
}

.pus-item-card {
    background: #272220;
    border: 1px solid #8f4a1f;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
}

.pus-item-card:hover {
    transform: translateY(-5px);
    border-color: #d0a88f;
    background: #322c2b;
}

.pus-img-box {
    width: 64px;
    height: 64px;
    background: #080707;
    margin: 0 auto 10px auto;
    border: 1px solid #aa5e2e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pus-img-box img {
    max-width: 100%;
    border-radius: 4px;
}

.pus-item-name {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pus-item-title {
    font-size: 11px;
    color: #dcb69f;
    margin-bottom: 8px;
    height: 15px;
    overflow: hidden;
}

.pus-price {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
}

.profile-header {
    background: #272220;
    border: 1px solid #8f4a1f;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.profile-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 150px;
    opacity: 0.05;
    color: #ffffff;
    pointer-events: none;
}

.char-info h1 {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #f8ac7d;
    text-shadow: 0 0 10px rgba(255,160,0,0.3);
}

.char-info p {
    margin: 5px 0;
    color: #efd5c6;
    font-size: 14px;
}

.char-stat {
    background: #8f4a1f;
    padding: 2px 8px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    margin-right: 5px;
}

.inventory-container {
    max-width: 360px;
    height: 600px;
    background-color: #1f1c1b;
    margin: 0 auto;
    position: relative;
    border: 3px solid #aa5e2e;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.9);
}

.inv-slot {
    width: 48px;
    height: 48px;
    position: absolute;
    border: 1px solid #c07343;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.inv-slot img {
    max-width: 100%;
    max-height: 100%;
}

.inv-slot:hover {
    cursor: pointer;
    z-index: 10;
}

.slot-cos-1 {
    top: 75px;
    left: 65px;
}

.slot-cos-2 {
    top: 30px;
    left: 65px;
}

.slot-cos-3 {
    top: 75px;
    left: 10px;
}

.slot-cos-4 {
    top: 75px;
    left: 115px;
}

.slot-cos-5 {
    top: 130px;
    left: 65px;
}

.slot-magic-1 {
    top: 30px;
    left: 10px;
}

.slot-peri {
    top: 30px;
    left: 115px;
}

.slot-earring-r {
    top: 30px;
    left: 185px;
}

.slot-head {
    top: 30px;
    left: 240px;
}

.slot-earring-l {
    top: 30px;
    left: 295px;
}

.slot-neck {
    top: 85px;
    left: 185px;
}

.slot-chest {
    top: 85px;
    left: 240px;
}

.slot-shoulder {
    top: 85px;
    left: 295px;
}

.slot-wep-r {
    top: 140px;
    left: 185px;
}

.slot-belt {
    top: 140px;
    left: 240px;
}

.slot-wep-l {
    top: 140px;
    left: 295px;
}

.slot-ring-r {
    top: 195px;
    left: 185px;
}

.slot-legs {
    top: 195px;
    left: 240px;
}

.slot-ring-l {
    top: 195px;
    left: 295px;
}

.slot-gloves {
    top: 250px;
    left: 185px;
}

.slot-boots {
    top: 250px;
    left: 240px;
}

.slot-magic-2 {
    top: 310px;
    left: 200px;
}

.bag-grid-start {
    top: 370px;
    left: 15px;
}

#item-tooltip-box {
    position: absolute;
    display: none;
    z-index: 9999;
    border: 1px solid #d0a88f;
    border-radius: 4px;
    padding: 10px;
    min-width: 200px;
    max-width: 300px;
    pointer-events: none;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.tooltip-content {
    text-align: left;
}

.item_title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
    display: block;
}

.item_type {
    font-size: 11px;
    margin-bottom: 5px;
    font-style: italic;
    text-align: center;
    display: block;
}

.item_kind {
    color: #efd5c6;
    margin-bottom: 10px;
    text-decoration: underline;
    text-align: center;
    display: block;
}

.item_property {
    margin-top: 2px;
}

.white {
    color: #ffffff;
}

.blue {
    color: #f8ac7d;
}

.yellow {
    color: #ffd36a;
}

.lime {
    color: #f6985d;
}

.gold {
    color: #ffd36a;
}

.purple {
    color: #9b59b6;
}

.red {
    color: #ff6076;
}

.blue-prop {
    color: #f8ac7d;
}

.revuniq {
    color: #ffb84d !important;
    text-shadow: 0 0 5px rgba(255, 94, 0, 0.4);
}

.badge-revuniq {
    color: #ffb84d;
    border-color: rgba(255, 94, 0, 0.4);
    background: rgba(255, 94, 0, 0.15);
}

.reverse {
    color: #ff9ff3 !important;
    text-shadow: 0 0 5px rgba(255, 159, 243, 0.3);
}

.scroll-selector {
    border-bottom: 2px solid #f37222;
}

.scroll-item {
    flex-direction: column;
}

.scroll-item:hover {
    border-color: #efd5c6;
    background: #4c342e;
    transform: translateY(-3px);
    z-index: 1000;
}

.scroll-item:hover img {
    transform: scale(1.5);
}

.scroll-item.active {
    border-color: #f8ac7d;
    background: #332200;
    box-shadow: 0 0 15px rgba(255, 160, 0, 0.2);
}

@media (max-width: 768px) {
    .scroll-selector {
        grid-template-columns: repeat(3, 1fr);
    }
}

.upgrade-list-header {
    background: #272220;
    padding: 15px 20px;
    border-left: 5px solid #f37222;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #8f4a1f;
    border-right: 1px solid #8f4a1f;
}

.upgrade-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1f1c1b;
    padding: 12px 20px;
    border-bottom: 1px solid #322c2b;
    border-right: 1px solid #8f4a1f;
    border-left: 1px solid #8f4a1f;
    font-size: 13px;
    color: #f4e3d9;
    transition: 0.2s;
}

.upgrade-row:hover {
    background: #2b2524;
    padding-left: 25px;
}

.up-level {
    color: #ffffff;
    font-weight: bold;
    width: 30%;
    font-family: "Consolas", monospace;
}

.up-coins {
    color: #ffd36a;
    width: 30%;
    text-align: right;
}

.up-rate {
    width: 30%;
    text-align: right;
    font-weight: bold;
    font-size: 14px;
}

.fa-angle-right {
    color: #c07343;
    margin: 0 5px;
}

.rate-100 {
    color: #f6985d;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

.rate-high {
    color: #f8ac7d;
}

.rate-mid {
    color: #ffd36a;
}

.rate-low {
    color: #ff6076;
}

.pus-pagination {
    padding-top: 20px;
    border-top: 1px solid #8f4a1f;
}

.pus-page-btn {
    display: inline-block;
    font-weight: bold;
    transition: 0.2s;
}

.pus-page-btn:hover {
    color: #ffffff;
    border-color: #bd8d6f;
}

.pus-page-btn.active {
    background: #f8ac7d;
    color: #080707;
    border-color: #f8ac7d;
    box-shadow: 0 0 10px rgba(255, 160, 0, 0.4);
}

.rank-filters {
    border-bottom: 2px solid #8f4a1f;
}

.filter-btn.active {
    box-shadow: 0 0 10px rgba(183, 28, 28, 0.4);
}

.btn-karus.active {
    background: #f37222;
    border-color: #f37222;
    box-shadow: 0 0 10px rgba(25, 118, 210, 0.4);
}

.btn-human.active {
    background: #f8ac7d;
    border-color: #f8ac7d;
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.4);
}

.full-rank-table {
    font-size: 14px;
}

.full-rank-table td {
    background: #1f1c1b;
    transition: 0.2s;
}

.rank-job-icon {
    width: 24px;
    height: 24px;
}

.rank-nation-icon {
    width: 20px;
    vertical-align: middle;
}

.rank-change-up {
    color: #f6985d;
    font-size: 11px;
    margin-left: 5px;
}

.rank-change-down {
    color: #ff6076;
    font-size: 11px;
    margin-left: 5px;
}

.clan-header-card {
    padding: 25px;
    background: #272220;
}

.clan-identity-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #8f4a1f;
    padding-bottom: 20px;
}

.clan-cape-box {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 24px;
    color: rgba(255,255,255,0.5);
}

.clan-names h1 {
    margin: 0;
    font-size: 28px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clan-nation-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}

.nation-karus {
    color: #f8ac7d;
    border: 1px solid #f8ac7d;
}

.nation-human {
    color: #ff6076;
    border: 1px solid #ff6076;
}

.clan-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.c-stat-box {
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.c-stat-box small {
    display: block;
    color: #d0a88f;
    font-size: 11px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.c-stat-box strong {
    font-size: 15px;
    color: #fbf5f1;
    display: block;
}

.c-stat-box a {
    color: #ffffff;
    text-decoration: underline;
}

.clan-notice-box {
    background: rgba(255, 160, 0, 0.1);
    border-left: 4px solid #f8ac7d;
    padding: 10px 15px;
    color: #f9f1ec;
    font-size: 13px;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.clan-notice-box i {
    color: #f8ac7d;
    margin-right: 8px;
}

.role-badge {
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.role-badge.leader {
    background: #ffb84d;
    color: #ffffff;
}

@media (max-width: 600px) {
    .clan-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clan-identity-area {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fa-angle-down {
    margin-left: 5px;
    font-size: 11px;
    transition: 0.3s;
}

.has-dropdown:hover .fa-angle-down {
    transform: rotate(180deg);
}

.rank-clan-link:hover {
    text-decoration: underline;
}

.role-badge.assist {
    background: #f37222;
    color: #ffffff;
}

.drop-search-form input {
    font-size: 14px;
}

.drop-search-form button:hover {
    background: #f8ac7d;
}

.mob-header {
    align-items: center;
}

.mob-lvl {
    font-size: 12px;
    color: #efd5c6;
    background: #8f4a1f;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}

.mob-loc {
    display: block;
    font-size: 12px;
    color: #d0a88f;
    margin-top: 3px;
}

.mob-hp {
    font-weight: bold;
    color: #ff6076;
    font-size: 13px;
}

.drop-item-box img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.drop-rate {
    border-radius: 2px 0 2px 0;
}

.alert-box {
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.alert-box.warning {
    background: rgba(255, 160, 0, 0.1);
    color: #f8ac7d;
    border: 1px solid #f8ac7d;
}

.alert-box.error {
    border: 1px solid #ff6076;
}

.no-drop {
    width: 100%;
    text-align: center;
    color: #bd8d6f;
    font-style: italic;
    font-size: 13px;
}

.drop-tabs {
    border-bottom: 2px solid #8f4a1f;
    padding-bottom: 15px;
}

.drop-tab-btn {
    flex: 1;
    text-align: center;
    font-size: 15px;
}

.drop-tab-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.drop-tab-btn:hover {
    background: #452f2a;
    color: #ffffff;
}

.drop-tab-btn.active {
    background: #f37222;
    color: #ffffff;
    border-color: #f37222;
    box-shadow: 0 0 15px rgba(183, 28, 28, 0.4);
}

.item-result-block {
    padding: 15px;
}

.item-search-header {
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.search-item-icon {
    width: 48px;
    height: 48px;
    border: 1px solid #c07343;
    border-radius: 4px;
}

.item-search-header h3 {
    margin: 0;
    color: #f8ac7d;
    font-size: 18px;
}

.search-item-id {
    font-size: 12px;
    color: #c07343;
    margin-left: auto;
}

.d-mob-name {
    font-size: 13px;
}

.d-mob-zone {
    font-size: 11px;
    color: #d0a88f;
    margin-bottom: 5px;
}

.d-mob-rate {
    font-size: 12px;
    border-top: 1px solid #322c2b;
    padding-top: 3px;
}

.generator-info {
    background: rgba(52, 152, 219, 0.1);
    color: #f8ac7d;
    border: 1px solid #f8ac7d;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
}

.gen-header {
    border: 1px solid #8f4a1f;
}

.gen-header small {
    font-weight: normal;
}

.gen-card:hover {
    background: #2b2524;
}

.gen-icon img {
    border: 1px solid #aa5e2e;
    border-radius: 4px;
}

.gen-name {
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rate-common .gen-rate {
    color: #f4e3d9;
    border-color: #c07343;
}

.rate-uncommon .gen-rate {
    color: #f6985d;
    border-color: #f6985d;
}

.rate-legendary {
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.1);
}

.rate-legendary .gen-rate {
    background: #2c0b0e;
}

.craft-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.craft-card {
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    border-radius: 6px;
    overflow: hidden;
}

.craft-header {
    background: #322c2b;
    padding: 8px 15px;
    font-size: 13px;
    color: #efd5c6;
    border-bottom: 1px solid #8f4a1f;
}

.craft-body {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.craft-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    align-items: center;
}

.mat-item {
    position: relative;
    cursor: pointer;
}

.mat-item:not(:last-child)::after {
    content: "+";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: #c07343;
    font-weight: bold;
    font-size: 14px;
}

.mat-item:not(:last-child) {
    margin-right: 15px;
}

.mat-img-box {
    width: 44px;
    height: 44px;
    border: 1px solid #aa5e2e;
    border-radius: 4px;
    background: #080707;
    position: relative;
}

.mat-img-box img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.mat-count {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    font-size: 10px;
    padding: 1px 3px;
    border-radius: 2px 0 0 0;
}

.craft-process {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    text-align: center;
}

.craft-process i {
    font-size: 24px;
    color: #c07343;
    margin-bottom: 5px;
}

.base-rate {
    display: block;
    color: #ffd36a;
    font-weight: bold;
    font-size: 14px;
}

.shadow-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4e352f;
    border: 1px solid #f8ac7d;
    border-radius: 4px;
    padding: 2px 5px;
    margin-top: 5px;
    font-size: 10px;
    color: #ffffff;
    gap: 3px;
    cursor: help;
}

.shadow-badge img {
    width: 16px;
    height: 16px;
}

.craft-result {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 15px;
    border-left: 2px solid #8f4a1f;
    cursor: pointer;
}

.res-img-box {
    width: 56px;
    height: 56px;
    border: 1px solid #f37222;
    background: #080707;
    position: relative;
    box-shadow: 0 0 10px rgba(183, 28, 28, 0.3);
}

.res-img-box img {
    width: 100%;
    height: 100%;
}

.res-count {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #f37222;
    color: #ffffff;
    font-size: 11px;
    padding: 1px 4px;
    font-weight: bold;
}

.res-name {
    margin-top: 5px;
    font-size: 12px;
    color: #f8ac7d;
    font-weight: bold;
}

@media (max-width: 768px) {
    .craft-body {
        flex-direction: column;
        text-align: center;
    }

    .craft-ingredients {
        justify-content: center;
    }

    .craft-result {
        border-left: none;
        border-top: 2px solid #8f4a1f;
        padding-top: 15px;
        padding-left: 0;
        width: 100%;
    }

    .craft-process {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .craft-rate {
        transform: rotate(-90deg);
    }
}

.pagination {
    padding-top: 20px;
    border-top: 1px solid #8f4a1f;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-block;
    border: 1px solid #8f4a1f;
    font-size: 13px;
    font-weight: bold;
}

.pagination a:hover {
    color: #ffffff;
    border-color: #c07343;
}

.pagination a.active {
    border-color: #f37222;
    pointer-events: none;
}

.pagination span {
    color: #c07343;
    padding: 8px;
}

.quest-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quest-card {
    background: #1f1c1b;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.quest-left {
    flex: 1 1 300px;
    padding: 20px;
    border-right: 1px solid #322c2b;
}

.q-header h3 {
    margin: 0 0 10px 0;
    color: #f8ac7d;
    font-size: 18px;
}

.q-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.q-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    color: #ffffff;
}

.q-tag.green {
    background: #d97333;
}

.q-tag.blue {
    background: #f37222;
}

.q-tag.red {
    background: #f37222;
}

.q-tag.orange {
    background: #ffb84d;
}

.q-tag.gray {
    background: #c07343;
}

.q-zone {
    color: #dcb69f;
    font-size: 13px;
    margin-top: 10px;
}

.quest-mid {
    flex: 1 1 250px;
    padding: 20px;
    background: #1f1c1b;
    border-right: 1px solid #322c2b;
}

.q-section-title {
    font-size: 10px;
    color: #c07343;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.q-section-title.green {
    color: #f6985d;
}

.q-targets-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.q-target {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f4e3d9;
}

.q-target i {
    width: 24px;
    height: 24px;
    background: #322c2b;
    color: #ff6076;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.q-target-info {
    display: flex;
    flex-direction: column;
}

.q-target-info strong {
    font-size: 13px;
    color: #f9f1ec;
}

.q-target-info small {
    font-size: 11px;
    color: #d0a88f;
}

.quest-right {
    flex: 0 0 150px;
    padding: 20px;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.q-rewards-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.reward-box {
    width: 42px;
    height: 42px;
    border: 1px solid #d97333;
    border-radius: 4px;
    cursor: pointer;
    background: #080707;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.2);
}

.reward-box img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

@media (max-width: 900px) {
    .quest-left, .quest-mid, .quest-right {
        border-right: none;
        border-bottom: 1px solid #322c2b;
        flex: 1 1 100%;
        padding: 15px;
    }

    .quest-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .q-rewards-list {
        justify-content: flex-end;
    }
}

.event-box {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #322c2b;
    position: relative;
    overflow: hidden;
}

.csw-bg {
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(50, 20, 20, 0.8));
    border-left: 4px solid #f37222;
}

.lunar-bg {
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(20, 30, 60, 0.8));
    border-left: 4px solid #f8ac7d;
}

.ev-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    flex-shrink: 0;
}

.ev-name {
    text-transform: uppercase;
}

.ev-date {
    margin-bottom: 2px;
}

.event-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.ev-row {
    font-size: 12px;
    color: #f4e3d9;
}

.ev-times span {
    font-family: monospace;
}

.cr-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cr-time {
    font-weight: bold;
}

.cr-zone {
    text-align: right;
}

.cr-duration {
    color: #d0a88f;
    font-size: 11px;
}

.cr-section {
    flex: 1;
    padding: 15px;
    border-right: 1px solid #322c2b;
}

.cr-section:last-child {
    border-right: none;
    background: #1c1918;
}

.cr-sec-title {
    letter-spacing: 1px;
}

.cr-sec-title.text-green {
    color: #f6985d;
}

.cr-task-head {
    font-size: 13px;
    color: #f9f1ec;
    font-weight: bold;
    margin-bottom: 5px;
}

.unit-simple-count {
    display: block;
    font-size: 11px;
    color: #f4e3d9;
    background: #8f4a1f;
    padding: 2px 5px;
    border-radius: 3px;
    width: fit-content;
}

.job-counts {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #efd5c6;
}

.job-counts span i {
    margin-right: 2px;
    color: #c07343;
}

.cr-reward-item img {
    width: 100%;
    height: 100%;
}

.cr-rw-count {
    border-radius: 2px 0 0 0;
}

@media (max-width: 768px) {
    .cr-body {
        flex-direction: column;
    }

    .cr-section {
        border-right: none;
        border-bottom: 1px solid #322c2b;
    }
}

.tool-card img {
    width: 32px;
    height: 32px;
    border: 1px solid #aa5e2e;
    border-radius: 4px;
    margin-right: 10px;
}

.tool-card span {
    font-size: 12px;
    font-weight: bold;
}

.gen-count {
    z-index: 2;
}

.kings-container {
    display: flex;
    border-bottom: 2px solid #080707;
}

.king-card {
    text-align: center;
    color: #ffffff;
}

.karus-bg {
    background: linear-gradient(135deg, #62423a 0%, #292423 100%);
    border-right: 1px solid #080707;
}

.human-bg {
    background: linear-gradient(135deg, #f37222 0%, #292423 100%);
}

.king-crown {
    font-size: 24px;
    color: #ffd36a;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.king-race {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.king-name {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}

.king-img {
    position: absolute;
    bottom: -10px;
    right: -10px;
    opacity: 0.3;
    z-index: 1;
}

.king-img img {
    width: 60px;
    height: auto;
}

.csw-winner-box {
    background: linear-gradient(to right, #2c0b0e, #4b1d3f);
    padding: 15px;
    display: flex;
    align-items: center;
    position: relative;
    border-top: 1px solid #aa5e2e;
    overflow: hidden;
}

.csw-icon-circle {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #aa5e2e, #1f1c1b);
    border: 2px solid #998173;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 2;
}

.csw-icon-circle i {
    font-size: 22px;
    color: #c7c1bd;
    text-shadow: 0 2px 2px rgba(0,0,0,0.8);
}

.csw-label {
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.csw-clan {
    font-size: 16px;
    font-weight: bold;
    color: #ffd36a;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.csw-badge {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 60px;
    color: rgba(255,255,255,0.05);
    transform: rotate(-15deg);
    z-index: 1;
}

.full-rank-table thead th {
    background: #272220;
    color: #dcb69f;
    font-size: 12px;
    font-weight: bold;
    padding: 12px;
    text-transform: uppercase;
    border-bottom: 2px solid #f37222;
    text-align: left;
}

.full-rank-table thead th[align="center"] {
    text-align: center;
}

.full-rank-table thead th[align="right"] {
    text-align: right;
}

.full-rank-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #322c2b;
    font-size: 13px;
    color: #f4e3d9;
    background-color: transparent;
}

.full-rank-table tbody tr:hover td {
    background-color: rgba(255,255,255,0.05);
}

.rank-job-icon {
    margin-right: 5px;
    vertical-align: middle;
}

.full-rank-table tbody tr[style] td {
    background: transparent !important;
    border-bottom-color: rgba(255,255,255,0.1);
}

.rank-filters {
    background: #1f1c1b;
    padding: 15px;
    border: 1px solid #8f4a1f;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-btn:hover {
    background: #8f4a1f;
    color: #ffffff;
}

.filter-btn.active {
    background: #f37222;
    color: #ffffff;
    border-color: #f37222;
}

.pus-page-btn {
    padding: 8px 15px;
    background: #322c2b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #aa5e2e;
    font-size: 13px;
}

.pus-page-btn:hover {
    background: #aa5e2e;
}

@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .center-area {
        order: -1;
    }
}

@media (max-width: 1200px) {
    .full-rank-table {
        width: 100%;
        table-layout: auto;
    }

    .full-rank-table th, .full-rank-table td {
        padding: 6px 2px !important;
        font-size: 11px !important;
    }

    .min-col {
        width: 24px !important;
        max-width: 24px !important;
        text-align: center !important;
        padding: 0 !important;
    }

    th.min-col {
        font-size: 0 !important;
    }

    .full-rank-table img, .rank-job-icon {
        width: 16px !important;
        height: 16px !important;
        margin: 0 auto !important;
        display: block;
    }

    .full-rank-table td:nth-child(3), .full-rank-table td:nth-last-child(2) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }

    .full-rank-table td:last-child {
        text-align: right;
        padding-right: 5px !important;
    }
}

@media (max-width: 992px) {
    .container, .main-content, .center-area, .sidebar, .widget {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
        display: block !important;
    }

    .center-area {
        padding: 0 !important;
        margin-bottom: 20px !important;
        order: 1 !important;
    }

    .widget {
        margin-bottom: 15px !important;
    }

    .sidebar {
        order: 2 !important;
        margin-top: 20px !important;
    }

    .main-content {
        display: flex !important;
        flex-direction: column !important;
    }
}

.server-wide-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #8f4a1f;
    border-top: 1px solid #f8ac7d;
    border-bottom: 1px solid #f8ac7d;
    padding: 15px 25px;
    border-radius: 4px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.server-wide-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.05);
}

.sw-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.sw-label {
    font-weight: 700;
    color: #dcb69f;
    font-size: 11px;
    letter-spacing: 1px;
}

.sw-value {
    color: #e0e0e0;
    font-family: "Segoe UI", sans-serif;
}

.time-val i {
    color: #f8ac7d;
}

.count-val {
    color: #ffd36a;
    text-shadow: 0 0 5px rgba(241, 196, 15, 0.3);
}

.sw-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.sw-status.online {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #f6985d;
}

.sw-status.offline {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #ff6076;
}

@media (max-width: 768px) {
    .server-wide-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .sw-item {
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px dashed #8f4a1f;
        padding-bottom: 8px;
    }

    .sw-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label, .form-col label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.req {
    color: #f37222;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #c07343;
}

.input-icon-wrapper .dark-input {
    padding-left: 40px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    transition: 0.3s;
}

.submit-btn:hover {
    box-shadow: 0 0 15px rgba(183, 28, 28, 0.5);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

.cp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.cp-card {
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.cp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.cp-card.gold {
    border-bottom: 3px solid #f8ac7d;
}

.cp-card.gold .cp-icon {
    color: #f8ac7d;
    background: rgba(203, 161, 99, 0.1);
}

.cp-card.blue {
    border-bottom: 3px solid #f8ac7d;
}

.cp-card.blue .cp-icon {
    color: #f8ac7d;
    background: rgba(52, 152, 219, 0.1);
}

.cp-card.red {
    border-bottom: 3px solid #ff6076;
}

.cp-card.red .cp-icon {
    color: #ff6076;
    background: rgba(231, 76, 60, 0.1);
}

.cp-card.purple {
    border-bottom: 3px solid #9b59b6;
}

.cp-card.purple .cp-icon {
    color: #9b59b6;
    background: rgba(155, 89, 182, 0.1);
}

.cp-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
}

.cp-info span {
    display: block;
    font-size: 12px;
    color: #d0a88f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cp-info strong {
    display: block;
    font-size: 20px;
    color: #ffffff;
    margin-top: 2px;
}

.cp-table {
    width: 100%;
    border-collapse: collapse;
}

.cp-table tr {
    border-bottom: 1px solid #322c2b;
}

.cp-table tr:last-child {
    border-bottom: none;
}

.cp-table td {
    padding: 15px 20px;
    color: #f4e3d9;
    font-size: 14px;
}

.cp-table td i {
    width: 20px;
    color: #c07343;
    text-align: center;
    margin-right: 10px;
}

.cp-table tr:hover {
    background: rgba(255,255,255,0.02);
}

.cp-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.action-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: #f8ac7d;
    color: #080707;
    border-color: #f8ac7d;
}

.prem-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pf-item {
    background: #1f1c1b;
    border: 1px solid #322c2b;
    padding: 10px 15px;
    border-radius: 4px;
    flex: 1 1 calc(33.333% - 10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #efd5c6;
}

.pf-item i {
    color: #f8ac7d;
    margin-right: 8px;
}

.pf-item span {
    font-weight: bold;
    color: #f8ac7d;
    font-size: 14px;
}

.pf-item.full {
    flex: 1 1 100%;
    background: rgba(52, 152, 219, 0.1);
    border-color: #f8ac7d;
    color: #f8ac7d;
}

@media (max-width: 768px) {
    .pf-item {
        flex: 1 1 100%;
    }
}

.top-menu {
    position: sticky !important;
    top: 0;
    z-index: 10000;
    border-bottom: 3px solid #f37222;
    height: 60px;
}

.top-menu .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 0 30px !important;
}

.burger-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 auto;
}

.burger-btn span {
    width: 25px;
    height: 3px;
    background-color: #f8ac7d;
    border-radius: 2px;
}

#mobileNavContent {
    display: flex !important;
    position: fixed !important;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    background: #1c1918;
    border-left: 3px solid #f37222;
    z-index: 10002;
    transition: right 0.3s ease-in-out;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

#mobileNavContent.active {
    right: 0;
}

#mobileNavContent ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 0;
    margin: 0;
    width: 100% !important;
}

#mobileNavContent li {
    display: block !important;
    width: 100% !important;
    position: relative;
}

#mobileNavContent li a {
    display: block !important;
    width: 100% !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid #272220;
}

#mobileNavContent .dropdown {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    transform: none !important;
    background: #0a0909 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

#mobileNavContent li.open>.dropdown {
    display: block !important;
}

#mobileNavContent .dropdown li a {
    padding-left: 40px !important;
    background: #0a0909 !important;
    font-size: 13px !important;
}

@media (max-width: 1024px) {
    .menu-list {
        display: none !important;
    }

    .burger-btn {
        display: flex !important;
    }

    .nav-brand {
        flex: 0 0 auto !important;
    }

    .nav-brand img {
        max-height: 35px !important;
    }

    .menu-user {
        display: flex !important;
        flex: 1 1 auto !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .user-btn {
        padding: 5px 7px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    #mobileNavContent ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #mobileNavContent li a {
        display: block;
        padding: 15px 20px;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid #272220;
        font-size: 14px;
    }

    #mobileNavContent .dropdown {
        background: #0a0909;
        padding-left: 20px;
    }
}

.banner-top-wrapper {
    width: 100%;
    background: #080707;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid #8f4a1f;
}

.banner-top-wrapper a {
    display: block;
    width: 100%;
}

.banner-top-wrapper img {
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.banner-center-wrapper {
    max-width: 1600px;
    margin: 20px auto 30px auto;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

.banner-center-wrapper img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: fill;
    border: 1px solid #8f4a1f;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.banner-center-wrapper img:hover {
    transform: translateY(-2px);
    border-color: #c07343;
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
    .banner-top-wrapper img {
        max-height: 60px;
    }

    .banner-center-wrapper {
        margin: 15px auto;
    }
}

:root {
    --lk-line: rgba(255,138,66,.25);
}

html, body {
    color: var(--lk-silver) !important;
    background-color: var(--lk-bg) !important;
    background-image: radial-gradient(circle at 50% 0%, rgba(255,168,107,.18) 0%, rgba(6,24,46,.72) 34%, rgba(2,7,17,.98) 72%),
        linear-gradient(180deg,#080707 0%,#1b1817 50%,#080707 100%) !important;
}

.top-menu {
    background: linear-gradient(to bottom,#1c1918,#0a0909) !important;
    border-bottom-color: var(--lk-blue) !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.80),0 0 24px rgba(230,91,40,.14) !important;
}

.top-menu li a {
    color: var(--lk-silver) !important;
    border-right-color: rgba(255,138,66,.08) !important;
}

.top-menu li a i {
    color: var(--lk-muted) !important;
}

.top-menu li a:hover {
    color: #ffffff !important;
    background: linear-gradient(to bottom,#f37222 0%,#47302a 100%) !important;
    text-shadow: 0 0 10px rgba(255,168,107,.45) !important;
}

.top-menu li a:hover i {
    color: var(--lk-cyan) !important;
    filter: drop-shadow(0 0 5px rgba(255,168,107,.55)) !important;
}

.top-menu ul .dropdown, .menu-user .dropdown {
    background-color: var(--lk-panel) !important;
    border-color: rgba(255,138,66,.24) !important;
    border-top-color: var(--lk-cyan) !important;
}

.dropdown li a, .menu-user .dropdown li a {
    color: var(--lk-muted) !important;
    border-bottom-color: rgba(255,138,66,.10) !important;
}

.dropdown li a:hover, .menu-user .dropdown li a:hover {
    background-color: var(--lk-panel2) !important;
    color: var(--lk-cyan) !important;
    border-left-color: var(--lk-cyan) !important;
}

.widget {
    background: var(--lk-panel) !important;
    border-color: rgba(255,138,66,.22) !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.78),0 0 22px rgba(230,91,40,.10) !important;
}

.widget::after {
    background: linear-gradient(to right,var(--lk-cyan) 2px,transparent 2px) 0 0,
        linear-gradient(to bottom,var(--lk-cyan) 2px,transparent 2px) 0 0,
        linear-gradient(to left,var(--lk-cyan) 2px,transparent 2px) 100% 0,
        linear-gradient(to bottom,var(--lk-cyan) 2px,transparent 2px) 100% 0,
        linear-gradient(to right,var(--lk-cyan) 2px,transparent 2px) 0 100%,
        linear-gradient(to top,var(--lk-cyan) 2px,transparent 2px) 0 100%,
        linear-gradient(to left,var(--lk-cyan) 2px,transparent 2px) 100% 100%,
        linear-gradient(to top,var(--lk-cyan) 2px,transparent 2px) 100% 100% !important;
    background-repeat: no-repeat !important;
    background-size: 20px 20px !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,.78),0 0 7px rgba(255,168,107,.22) !important;
}

.widget-title {
    background: var(--lk-panel2) !important;
    color: var(--lk-cyan) !important;
}

.widget-title::after {
    background: linear-gradient(to right,var(--lk-blue) 0%,var(--lk-cyan) 34%,transparent 100%) !important;
}

.widget-title i {
    color: var(--lk-cyan) !important;
    text-shadow: 0 0 7px rgba(255,168,107,.50) !important;
}

.rank-table td, .full-rank-table td, .upgrade-row, .download-card, .news-list-item, .pus-item-card, .profile-header, .inventory-container, .mob-card, .item-result-block, .dropper-card, .gen-header, .clan-header-card, .c-stat-box, .drop-search-form, .rank-filters, .scroll-selector, .scroll-item {
    background-color: var(--lk-panel2) !important;
    border-color: rgba(255,138,66,.20) !important;
    color: var(--lk-silver) !important;
}

.rank-table tr:hover td, .full-rank-table tr:hover td, .upgrade-row:hover, .download-card:hover, .news-list-item:hover, .pus-item-card:hover, .drop-tab-btn:hover, .filter-btn:hover {
    background-color: var(--lk-panel3) !important;
    color: #ffffff !important;
}

.full-rank-table th, .upgrade-list-header, .mob-header {
    background-color: var(--lk-panel3) !important;
    color: var(--lk-cyan) !important;
    border-color: rgba(255,138,66,.24) !important;
}

input, select, textarea, .dark-input, .drop-search-form input {
    background: var(--lk-deep) !important;
    border-color: rgba(255,138,66,.30) !important;
    color: #ffffff !important;
}

input:focus, select:focus, textarea:focus, .dark-input:focus, .drop-search-form input:focus {
    border-color: var(--lk-cyan) !important;
    box-shadow: 0 0 10px rgba(255,168,107,.25) !important;
    outline: none !important;
}

.drop-search-form button, .filter-btn.active, .drop-tab-btn.active, .slide-btn, .pus-buy-btn {
    background: linear-gradient(to bottom,var(--lk-blue),#47302a) !important;
    border-color: var(--lk-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(230,91,40,.30) !important;
}

.drop-search-form button:hover, .filter-btn.active:hover, .drop-tab-btn.active:hover, .pus-buy-btn:hover {
    background: linear-gradient(to bottom,var(--lk-cyan),var(--lk-blue)) !important;
    color: #171413 !important;
}

.menu-pus a, .menu-pus a i {
    color: var(--lk-gold) !important;
}

.menu-pus a:hover, .user-btn.register, .pus-tab-link:hover, .pus-tab-link.active, .pus-page-btn.active {
    background: linear-gradient(to bottom,#fff6d5,var(--lk-gold) 42%,var(--lk-amber)) !important;
    border-color: var(--lk-gold) !important;
    color: #1c1302 !important;
    text-shadow: none !important;
}

.rank-table td:last-child, .up-coins, .price-kc, .group-rate, .news-date span, .view-all-link, .mob-info h3, .item-search-header h3, .char-info h1, .rank-clan-link:hover {
    color: var(--lk-cyan) !important;
    text-shadow: 0 0 8px rgba(255,168,107,.22) !important;
}

.price-kb, .nation-karus, .btn-karus.active {
    color: var(--lk-blue) !important;
    border-color: var(--lk-blue) !important;
}

.alert-box.warning, .clan-notice-box {
    background: rgba(255,211,106,.10) !important;
    color: var(--lk-gold) !important;
    border-color: var(--lk-gold) !important;
}

.alert-box.error {
    background: rgba(255,96,118,.10) !important;
    color: var(--lk-red) !important;
    border-color: var(--lk-red) !important;
}

.rate-100, .rank-change-up, .drop-rate {
    color: var(--lk-green) !important;
}

.rate-low, .rank-change-down, .mob-hp {
    color: var(--lk-red) !important;
}

.site-footer {
    background: var(--lk-deep) !important;
    border-top-color: var(--lk-blue) !important;
    color: var(--lk-muted) !important;
    box-shadow: 0 -5px 20px rgba(0,0,0,.78),0 0 20px rgba(230,91,40,.08) !important;
}

.footer-title {
    color: var(--lk-cyan) !important;
    border-bottom-color: rgba(255,138,66,.18) !important;
}

.footer-title i {
    color: var(--lk-cyan) !important;
}

.footer-links a {
    color: var(--lk-muted) !important;
}

.footer-links a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 6px rgba(255,168,107,.30) !important;
}

.hero-slider {
    background: var(--lk-deep) !important;
    border-bottom-color: var(--lk-blue) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.80),0 0 24px rgba(230,91,40,.12) !important;
}

.slider-nav:hover {
    background: var(--lk-blue) !important;
    border-color: var(--lk-blue) !important;
}

.dot.active {
    background: var(--lk-cyan) !important;
    box-shadow: 0 0 7px rgba(255,168,107,.70) !important;
}

.inv-slot {
    background: rgba(2,5,13,.62) !important;
    border-color: rgba(255,138,66,.28) !important;
}

.inv-slot:hover {
    border-color: var(--lk-cyan) !important;
    box-shadow: 0 0 10px rgba(255,168,107,.55) !important;
}

#item-tooltip-box {
    background: rgba(2,5,13,.96) !important;
    border-color: rgba(255,138,66,.42) !important;
    color: var(--lk-silver) !important;
    box-shadow: 0 0 18px rgba(0,0,0,.80),0 0 18px rgba(230,91,40,.18) !important;
}

@keyframes lunarSoftGlow {
    0%,100% { box-shadow: 0 0 10px rgba(230,91,40,.10); }
    50% { box-shadow: 0 0 18px rgba(255,168,107,.22); }
}

@keyframes lunarFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lunarOnlinePulse {
    0%,100% { opacity:.58; filter:drop-shadow(0 0 2px rgba(85,255,189,.25)); }
    50% { opacity:1; filter:drop-shadow(0 0 8px rgba(85,255,189,.75)); }
}

@keyframes lunarBannerSweep {
    0%,58% { left:-35%; opacity:0; }
    68% { opacity:1; }
    100% { left:118%; opacity:0; }
}

.widget, .news-card-modern, .pus-card, .profile-header-modern, .stat-box, .pt-card, .gen-card, .ucp-card, .wheel-wrapper {
    animation: lunarFadeUp .32s ease-out both;
}

.server-wide-bar {
    background: linear-gradient(180deg, rgba(6,24,46,.94), rgba(2,7,17,.96)) !important;
    border-color: rgba(255,168,107,.28) !important;
    box-shadow: 0 0 22px rgba(230,91,40,.12), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.server-wide-bar .sw-label {
    color: var(--lk-muted) !important;
}

.server-wide-bar .sw-value {
    color: var(--lk-silver) !important;
}

.server-wide-bar .time-val, .server-wide-bar .count-val {
    color: var(--lk-cyan) !important;
    text-shadow: 0 0 8px rgba(255,168,107,.25);
}

.sw-status.online {
    color: var(--lk-green) !important;
    text-shadow: 0 0 8px rgba(85,255,189,.35);
}

.sw-status.online i {
    animation: lunarOnlinePulse 1.35s ease-in-out infinite;
}

.sw-status.offline {
    color: var(--lk-red) !important;
    text-shadow: 0 0 8px rgba(255,96,118,.28);
}

.banner-top-wrapper, .banner-center-wrapper {
    position: relative;
    overflow: hidden;
}

.banner-top-wrapper::after, .banner-center-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 18%;
    height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,168,107,.16),transparent);
    transform: skewX(-18deg);
    animation: lunarBannerSweep 6s ease-in-out infinite;
    pointer-events: none;
}

.banner-top-wrapper img, .banner-center-wrapper img {
    filter: drop-shadow(0 0 12px rgba(230,91,40,.14));
}

.slide-overlay {
    background: radial-gradient(circle at 50% 18%, rgba(255,168,107,.10) 0%, rgba(2,5,13,.55) 48%, rgba(2,5,13,.92) 100%),
        linear-gradient(to top, #080707 0%, rgba(2,5,13,.16) 62%) !important;
}

.slide.active .slide-content {
    animation: lunarFadeUp .55s ease-out both;
}

.slide-title {
    text-shadow: 0 0 16px rgba(255,168,107,.24), 0 3px 14px rgba(0,0,0,.90) !important;
}

.slide-desc {
    text-shadow: 0 2px 10px rgba(0,0,0,.90) !important;
}

.slide-btn {
    box-shadow: 0 0 16px rgba(230,91,40,.30), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.menu-epin a, .menu-epin a i {
    color: var(--lk-gold) !important;
    text-shadow: 0 0 10px rgba(255,211,106,.35) !important;
}

.top-menu li a:hover i {
    animation: lunarFadeUp .35s ease-out;
}

.burger-btn span {
    background: linear-gradient(90deg, #f8ac7d, #f37222);
    box-shadow: 0 0 7px rgba(255,168,107,.25);
}

.user-btn.register, .register-submit, .pus-buy-btn:hover, .menu-pus a:hover, .n-read-btn:hover {
    background: linear-gradient(90deg, #fff6d5, #ffd36a, #ffb84d) !important;
    border-color: #ffd36a !important;
    color: #1c1302 !important;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

.mining-tools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.tool-card {
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #efd5c6;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.tool-card:hover {
    background: #272220;
    border-color: #d0a88f;
    color: #ffffff;
    transform: translateY(-3px);
}

.tool-card.active {
    background: rgba(255,211,106,0.1);
    border-color: #ffd36a;
    color: #ffd36a;
    box-shadow: 0 0 15px rgba(255,211,106,0.2);
}

.gen-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #8f4a1f;
    color: #ffffff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    border: 1px solid #c07343;
}

.news-card-modern {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid #8f4a1f;
    border-left: 3px solid #8f4a1f;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card-modern:hover {
    background: rgba(25, 25, 25, 0.9);
    border-left-color: #f8ac7d;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transform: translateX(5px);
}

.n-title {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.news-card-modern:hover .n-title {
    color: #f8ac7d;
    text-shadow: 0 0 10px rgba(255,168,107,0.3);
}

.n-meta {
    font-size: 11px;
    color: #d0a88f;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.n-meta i {
    color: #f37222;
    margin-right: 5px;
}

.n-desc {
    font-size: 13px;
    color: #efd5c6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.n-read-btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: bold;
    color: #efd5c6;
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 2px;
}

.n-read-btn:hover {
    border-color: #f8ac7d;
    color: #f8ac7d;
    background: rgba(255,168,107,0.1);
}

.theme-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.tp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    color: #d0a88f;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s;
    cursor: pointer;
}

.tp-link:hover, .tp-link.active {
    background: #f37222;
    color: #ffffff;
    border-color: #f37222;
    box-shadow: 0 0 10px rgba(230,91,40,0.5);
}

.news-header-box {
    border-bottom: 1px solid #8f4a1f;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.news-title-big {
    font-size: 28px;
    font-weight: 800;
    color: #f8ac7d;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #dcb69f;
    background: rgba(0,0,0,0.3);
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 3px solid #f37222;
}

.news-meta-row i {
    color: #f8ac7d;
    margin-right: 6px;
}

.news-meta-row span {
    display: flex;
    align-items: center;
}

.news-body {
    font-size: 15px;
    line-height: 1.8;
    color: #f9f1ec;
}

.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin: 20px 0;
    display: block;
}

.news-body h2, .news-body h3 {
    color: #ffd36a;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #aa5e2e;
    padding-bottom: 5px;
}

.news-body strong {
    color: #ffffff;
}

.news-body a {
    color: #f8ac7d;
    text-decoration: underline;
}

.news-body ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.news-body li {
    margin-bottom: 5px;
    list-style-type: disc;
}

.btn-back-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1f1c1b;
    border: 1px solid #aa5e2e;
    color: #efd5c6;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 40px;
}

.btn-back-news:hover {
    background: #f37222;
    border-color: #f37222;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(230,91,40,0.4);
    transform: translateX(-5px);
}

.partner-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 280px);
    gap: 25px;
    padding: 15px;
    justify-content: center;
}

.pt-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.pt-prism {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(41, 128, 185, 0.1), rgba(255,211,106,0.1));
    z-index: 1;
    transition: 0.4s;
}

.pt-card:hover {
    transform: translateY(-8px);
    border-color: #f8ac7d;
    box-shadow: 0 15px 35px rgba(255,168,107,0.2);
}

.pt-card:hover .pt-prism {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.2), rgba(255,168,107,0.2), rgba(255,211,106,0.2));
}

.pt-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
    z-index: 2;
}

.pt-card:hover::after {
    left: 100%;
}

.pt-logo {
    max-width: 80%;
    max-height: 70px;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
    transition: 0.4s;
    margin: 0 auto;
}

.pt-card:hover .pt-logo {
    transform: scale(1.1);
}

.pt-name {
    margin-top: 15px;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.pt-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f8ac7d;
    color: #080707;
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 900;
    z-index: 4;
}

.profile-header-modern {
    background: #0a0909;
    background-image: radial-gradient(circle at top right, #1c1918 0%, #080707 70%);
    border: 1px solid #8f4a1f;
    border-top: 3px solid #f8ac7d;
    border-bottom: 3px solid #f37222;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.ph-bg-effect {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,168,107,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ph-content {
    display: flex;
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 1;
    align-items: center;
}

@media (max-width: 768px) {
    .ph-content {
        flex-direction: column;
        text-align: center;
    }
}

.ph-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.ph-avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #f8ac7d;
    box-shadow: 0 0 15px rgba(255,168,107,0.4);
    animation: pulseGold 3s infinite;
}

.ph-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #080707;
    border: 4px solid #1f1c1b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ph-avatar-img img {
    width: 80%;
    object-fit: contain;
}

.ph-level-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #f37222;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #1f1c1b;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.ph-details {
    flex-grow: 1;
}

.ph-nick {
    margin: 0 0 10px 0;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    background: -webkit-linear-gradient(#ffffff, #f1dbce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ph-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .ph-badges {
        justify-content: center;
    }
}

.ph-badge {
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f9f1ec;
}

.ph-nation-karus {
    background: rgba(255,168,107,0.15);
    color: #f8ac7d;
    border-color: #f8ac7d;
}

.ph-nation-human {
    background: rgba(255,96,118,0.15);
    color: #ff6076;
    border-color: #ff6076;
}

.ph-job {
    background: #322c2b;
    color: #efd5c6;
}

.ph-clan {
    background: linear-gradient(90deg, #322c2b, #8f4a1f);
    color: #ffd36a;
    text-decoration: none;
    transition: 0.3s;
}

.ph-clan:hover {
    border-color: #ffd36a;
    box-shadow: 0 0 10px rgba(255,211,106,0.2);
}

.ph-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.ph-stat-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid #8f4a1f;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.ph-stat-box:hover {
    background: rgba(255,255,255,0.06);
    border-color: #c07343;
    transform: translateY(-2px);
}

.ph-stat-icon {
    font-size: 24px;
    color: #aa5e2e;
    opacity: 0.5;
}

.ph-stat-info {
    display: flex;
    flex-direction: column;
}

.ph-stat-label {
    font-size: 10px;
    color: #dcb69f;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

.ph-stat-value {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.ph-siblings-wrapper {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid #8f4a1f;
    padding: 15px;
    border-radius: 4px;
}

.ph-sib-label {
    font-size: 11px;
    color: #bd8d6f;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ph-sib-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ph-sib-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    padding: 6px 12px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.2s;
}

.ph-sib-card:hover {
    border-color: #f8ac7d;
    background: #322c2b;
}

.ph-sib-card img {
    width: 20px;
    height: 20px;
}

.ph-sib-card span {
    font-size: 12px;
    color: #f4e3d9;
    font-weight: bold;
}

.ph-sib-card small {
    color: #d0a88f;
    font-weight: normal;
    margin-left: 3px;
}

@keyframes pulseGold {

        0% { box-shadow: 0 0 0 0 rgba(255,168,107,0.4); }

        70% { box-shadow: 0 0 0 10px rgba(255,168,107,0); }

        100% { box-shadow: 0 0 0 0 rgba(255,168,107,0); }

    }

.np-modern-container {
    width: 100%;
    background: #0a0909;
    border: 1px solid #322c2b;
    border-radius: 6px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
}

.np-modern-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f37222, #f8ac7d, #f37222);
    opacity: 0.8;
}

.np-modern-header {
    background: #1f1c1b;
    color: #f4e3d9;
    font-family: "Kanit", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid #272220;
    letter-spacing: 1px;
}

.np-modern-header i {
    color: #f8ac7d;
    margin-right: 5px;
    font-size: 12px;
}

.np-modern-body {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.np-modern-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.np-label {
    font-size: 10px;
    color: #bd8d6f;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 2px;
    font-family: "Segoe UI", sans-serif;
}

.np-value {
    font-family: "Kanit", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.np-divider {
    width: 1px;
    height: 30px;
    background: #322c2b;
    border-right: 1px solid #080707;
}

.text-gold {
    color: #deb887;
    text-shadow: 0 0 10px rgba(222, 184, 135, 0.2);
}

.text-red {
    text-shadow: 0 0 10px rgba(255,96,118,0.2);
}

.status-badge.banned {
    background: rgba(255,96,118,0.15);
    color: #ff6076;
    border: 1px solid #ff6076;
    box-shadow: 0 0 10px rgba(255,96,118,0.3);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red { 
    0% { box-shadow: 0 0 0 0 rgba(255,96,118,0.4); } 
    70% { box-shadow: 0 0 0 5px rgba(255,96,118,0); } 
    100% { box-shadow: 0 0 0 0 rgba(255,96,118,0); } 
}

.pus-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    background: #0a0909;
    padding: 15px;
    border: 1px solid #322c2b;
    border-radius: 8px;
}

.pus-tab-btn {
    background: #1f1c1b;
    color: #dcb69f;
    border: 1px solid #8f4a1f;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pus-tab-btn:hover, .pus-tab-btn.active {
    background: linear-gradient(180deg, #322c2b, #1f1c1b);
    border-color: #f8ac7d;
    color: #ffd36a;
    box-shadow: 0 0 10px rgba(255,168,107,0.2);
    transform: translateY(-2px);
}

.pus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.pus-card {
    background: #1c1918;
    border: 1px solid #322c2b;
    border-radius: 6px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pus-card:hover {
    border-color: #f37222;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

.pus-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #272220 0%, #0a0909 80%);
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #272220;
}

.pus-img img {
    max-width: 80px;
    max-height: 80px;
    transition: 0.3s;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

.pus-card:hover .pus-img img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255,211,106,0.4));
}

.pus-info {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pus-name {
    font-size: 14px;
    font-weight: bold;
    color: #f9f1ec;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pus-desc {
    font-size: 11px;
    color: #bd8d6f;
    margin-bottom: 10px;
    height: 32px;
    overflow: hidden;
    line-height: 1.4;
}

.pus-price-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 15px;
}

.price-kc {
    background: rgba(255,211,106,0.1);
    color: #ffd36a;
    border: 1px solid #ffd36a;
}

.price-kb {
    background: rgba(255,168,107,0.1);
    color: #f8ac7d;
    border: 1px solid #f8ac7d;
}

.pus-buy-btn {
    background: linear-gradient(90deg, #f37222, #47302a);
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pus-buy-btn:hover {
    background: linear-gradient(90deg, #f8ac7d, #f37222);
    color: #080707;
    box-shadow: 0 0 15px rgba(255,168,107,0.3);
}

.pus-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pus-page-link {
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    color: #dcb69f;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.pus-page-link:hover, .pus-page-link.active {
    background: #f37222;
    color: #ffffff;
    border-color: #f37222;
}

.pus-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.pus-modal-box {
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    border-top: 3px solid #f8ac7d;
    border-bottom: 3px solid #f37222;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9);
    position: relative;
    animation: slideUp 0.3s ease;
}

.pm-icon {
    font-size: 40px;
    color: #f8ac7d;
    margin-bottom: 15px;
}

.pm-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.pm-text {
    color: #efd5c6;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.pm-btn {
    background: linear-gradient(90deg, #f37222, #47302a);
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.pm-btn:hover {
    background: linear-gradient(90deg, #f8ac7d, #f37222);
    color: #080707;
    box-shadow: 0 0 15px rgba(255,168,107,0.3);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.rank-filters {
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #322c2b;
    border: 1px solid #8f4a1f;
    color: #efd5c6;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-btn:hover, .filter-btn.active {
    background: #f8ac7d;
    color: #080707;
    border-color: #f8ac7d;
}

.filter-btn.btn-karus.active {
    background: #f8ac7d;
    color: #ffffff;
    border-color: #f8ac7d;
}

.filter-btn.btn-human.active {
    background: #ff6076;
    color: #ffffff;
    border-color: #ff6076;
}

.full-rank-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.full-rank-table th {
    background: #1f1c1b;
    padding: 12px;
    color: #efd5c6;
    font-weight: bold;
    border-bottom: 2px solid #8f4a1f;
    text-align: left;
}

.full-rank-table td {
    padding: 12px;
    border-bottom: 1px solid #322c2b;
    color: #f4e3d9;
}

.full-rank-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.rank-row-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
}

.rank-row-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.1), transparent);
}

.rank-row-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.1), transparent);
}

.pagination-box {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
}

.pg-btn {
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    color: #dcb69f;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.pg-btn:hover {
    border-color: #f8ac7d;
    color: #f8ac7d;
}

.register-form {
    margin-top: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.register-form label {
    font-size: 13px;
    color: #efd5c6;
    margin-bottom: 8px;
    font-weight: bold;
    display: block;
}

.register-form label .req {
    color: #ff6076;
    margin-left: 3px;
}

.dark-input {
    background: #0a0909;
    border: 1px solid #8f4a1f;
    color: #f9f1ec;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.dark-input:focus {
    border-color: #f8ac7d;
    box-shadow: 0 0 10px rgba(255,168,107,0.2);
    background: #1f1c1b;
    outline: none;
}

select.dark-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.register-note {
    background: rgba(255,168,107,0.1);
    border-left: 4px solid #f8ac7d;
    padding: 15px;
    color: #f4e3d9;
    margin-bottom: 25px;
    font-size: 13px;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-submit {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #f8ac7d, #f37222);
    color: #080707;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.register-submit:hover {
    background: linear-gradient(90deg, #ff6076, #f37222);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
}

@keyframes miniSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@keyframes giftBounce { 0%, 100% { transform: translateY(0) rotate(0deg); } 25% { transform: translateY(-3px) rotate(-5deg); } 50% { transform: translateY(0) rotate(0deg); } 75% { transform: translateY(-1px) rotate(5deg); } }

@keyframes textShine { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

@keyframes bgMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.dual-wheel-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: conic-gradient(
            #ff6076 0% 16.6%, #ffb84d 16.6% 33.2%, #ffd36a 33.2% 49.8%, 
            #f6985d 49.8% 66.4%, #f8ac7d 66.4% 83%, #e5bda6 83% 100%
        );
    animation: miniSpin 8s linear infinite;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dual-wheel-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #272220;
    border-radius: 50%;
    border: 1px solid #ffffff;
}

.dual-gift-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: linear-gradient(135deg, #f6985d, #f37222);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dual-gift-icon {
    color: #ffffff;
    font-size: 15px;
    animation: giftBounce 2.5s ease-in-out infinite;
}

.dual-widget-container {
    display: flex;
    width: 100%;
    height: 65px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    background: #080707;
    border: 1px solid #8f4a1f;
}

.dual-btn {
    flex: 1;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: flex 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: skewX(-15deg);
    width: 60%;
    margin: 0 -1px;
    overflow: hidden;
}

.dual-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(30deg);
    transition: 0.6s;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.dual-btn:hover::after {
    opacity: 1;
    left: 150%;
}

.dual-btn:hover {
    flex: 1.5;
    z-index: 5;
}

.btn-left:hover .dual-wheel-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 0 20px rgba(255,96,118,0.8);
}

.btn-right:hover .dual-gift-icon-box {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.8);
}

.dual-btn:hover .text-group {
    transform: translateX(3px) scale(1.05);
}

.dual-content {
    transform: skewX(15deg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.btn-left {
    background: linear-gradient(-45deg, #2b0a0a, #5c1818, #8f4a1f);
    background-size: 200% 200%;
    animation: bgMove 12s ease infinite;
    border-left: 4px solid #ffb84d;
    margin-left: -20px;
    padding-left: 20px;
}

.btn-left:hover {
    border-left-color: #ff6076;
    background: linear-gradient(-45deg, #4a0e0e, #7f1d1d, #aa5e2e);
}

.btn-right {
    background: linear-gradient(-45deg, #1d1918, #48312c, #523831);
    background-size: 200% 200%;
    animation: bgMove 12s ease infinite;
    border-right: 4px solid #f6985d;
    margin-right: -20px;
    padding-right: 20px;
}

.btn-right:hover {
    border-right-color: #f6985d;
    background: linear-gradient(-45deg, #272221, #61423a, #66453d);
}

.text-group {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    text-align: left;
    transition: transform 0.3s ease;
    max-width: 100px;
    overflow: visible;
}

.vibrant-title {
    font-family: "Verdana", sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShine 4s linear infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    white-space: nowrap;
    line-height: 1.2;
}

.text-fire {
    background-image: linear-gradient(90deg, #ff9a9e, #fecfef, #ffffff, #ff9a9e);
}

.text-ice {
    background-image: linear-gradient(90deg, #e9c8b5, #f0dacd, #ffffff, #e9c8b5);
}

.dual-sub {
    font-size: 8px;
    color: #f9f1ec;
    font-weight: 600;
    margin-top: 2px;
    opacity: 0.8;
}

.slide-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-overlay {
    z-index: 2;
}

.slide-content {
    z-index: 3;
}

.scroll-box {
    background: #0a0909;
    padding: 20px;
    border: 1px solid #322c2b;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}

.scroll-item {
    width: 64px;
    height: 64px;
}

.scroll-item img {
    max-width: 48px;
    max-height: 48px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.scroll-item:hover img, .scroll-item.active img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.scroll-item.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #f8ac7d transparent transparent transparent;
}

.upgrade-header {
    background: linear-gradient(90deg, rgba(255,168,107,0.1), transparent);
    padding: 15px 20px;
    border-left: 4px solid #f8ac7d;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

.uh-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffd36a;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,211,106,0.3);
}

.uh-sub {
    font-size: 12px;
    color: #efd5c6;
    font-style: italic;
}

.upgrade-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.upgrade-table thead th {
    text-align: left;
    padding: 0 15px 10px;
    color: #bd8d6f;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.upgrade-table tbody tr {
    transition: 0.3s;
    position: relative;
}

.upgrade-table tbody tr:hover {
    transform: scale(1.01);
}

.upgrade-table td {
    background: #1f1c1b;
    padding: 15px;
    color: #f4e3d9;
    border-top: 1px solid #322c2b;
    border-bottom: 1px solid #322c2b;
    vertical-align: middle;
}

.upgrade-table td:first-child {
    border-left: 1px solid #322c2b;
    border-radius: 8px 0 0 8px;
    position: relative;
    overflow: hidden;
}

.upgrade-table td:last-child {
    border-right: 1px solid #322c2b;
    border-radius: 0 8px 8px 0;
}

.upgrade-table tbody tr:hover td {
    background: #272220;
    border-color: #aa5e2e;
    color: #ffffff;
}

.upgrade-table tbody tr:hover td:first-child {
    border-left-color: #f8ac7d;
}

.lvl-badge {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.lvl-current {
    background: #322c2b;
    color: #d0a88f;
    border: 1px solid #8f4a1f;
}

.lvl-next {
    background: linear-gradient(135deg, #f8ac7d, #b54f0f);
    color: #080707;
    border: 1px solid #ffd36a;
    box-shadow: 0 0 10px rgba(255,211,106,0.3);
}

.lvl-arrow {
    margin: 0 12px;
    color: #c07343;
    font-size: 10px;
}

.coin-val {
    font-family: "Roboto Mono", monospace;
    font-weight: bold;
    color: #f9f1ec;
    font-size: 14px;
}

.coin-icon {
    color: #ffd36a;
    margin-right: 5px;
    font-size: 12px;
    text-shadow: 0 0 5px rgba(255,211,106,0.5);
}

.rate-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.rate-text {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.progress-track {
    width: 100px;
    height: 6px;
    background: #322c2b;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #8f4a1f;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
    position: relative;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer { 100% { transform: translateX(100%); } }

.c-low {
    color: #ff6076;
}

.bg-low {
    background: #ff6076;
    box-shadow: 0 0 8px #ff6076;
}

.c-mid {
    color: #ffb84d;
}

.bg-mid {
    background: #ffb84d;
    box-shadow: 0 0 8px #ffb84d;
}

.c-high {
    color: #f6985d;
}

.bg-high {
    background: #f6985d;
    box-shadow: 0 0 8px #f6985d;
}

.c-100 {
    color: #ffd36a;
}

.bg-100 {
    background: linear-gradient(90deg, #ffd36a, #ffffff);
    box-shadow: 0 0 12px #ffd36a;
}

.rank-user-link {
    color: #f4e3d9;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: 0.2s;
    margin-left: 3px;
}

.rank-user-link:hover {
    color: #ffffff;
}

.rank-np {
    color: #f8ac7d;
    font-weight: bold;
    font-size: 13px;
    font-family: "Verdana", sans-serif;
}

.rank-footer {
    text-align: center;
    padding: 8px;
    background: #1f1c1b;
    border-top: 1px solid #322c2b;
}

.rank-footer a {
    font-size: 11px;
    color: #d0a88f;
    text-decoration: none;
}

.rank-footer a:hover {
    color: #efd5c6;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-box {
    background: #322c2b;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    padding: 15px 25px;
    text-align: center;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.stat-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f8ac7d, #b54f0f);
}

.stat-title {
    color: #efd5c6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-value {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.stat-value.gold {
    color: #ffd36a;
    text-shadow: 0 0 10px rgba(255,211,106,0.3);
}

.stat-value.green {
    color: #f6985d;
    text-shadow: 0 0 10px rgba(85,255,189,0.3);
}

.stat-value.red {
    color: #ff6076;
}

.wheel-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 50%;
    border: 12px solid #8f4a1f;
    box-shadow: 0 0 0 4px #f8ac7d, 0 0 30px rgba(0,0,0,0.8);
    overflow: hidden;
    background: #322c2b;
    box-sizing: border-box;
}

#the-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
}

.wheel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.wheel-item-content {
    position: absolute;
    left: -20px;
    top: -145px;
    width: 40px;
    text-align: center;
    transform-origin: 50% 145px;
}

.wheel-item img {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 0 4px #080707;
    display: block;
    margin: 0 auto;
    background: rgba(0,0,0,0.5);
}

.wheel-item span {
    display: block;
    font-size: 9px;
    color: #f9f1ec;
    font-weight: bold;
    text-shadow: 1px 1px 2px #080707;
    margin-top: 3px;
    white-space: nowrap;
}

.pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    background: #ff6076;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    z-index: 100;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.5));
}

.wheel-center-cap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #f8ac7d 0%, #b54f0f 100%);
    border: 4px solid #ffffff;
    border-radius: 50%;
    z-index: 50;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
}

.spin-btn-area {
    margin-top: 30px;
    text-align: center;
}

.spin-btn {
    background: linear-gradient(to bottom, #ff6076, #f37222);
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 60px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255,96,118,0.4);
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255,96,118,0.6);
}

.spin-btn:disabled {
    background: #c07343;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border-color: #dcb69f;
}

.history-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.history-box {
    flex: 1;
    min-width: 300px;
    background: #272220;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    overflow: hidden;
}

.history-header {
    background: #322c2b;
    padding: 10px 15px;
    border-bottom: 2px solid #f8ac7d;
    font-weight: bold;
    color: #f8ac7d;
    text-transform: uppercase;
    font-size: 13px;
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #4c342e;
    transition: 0.2s;
}

.history-item:hover {
    background: #322c2b;
}

.history-item img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid #aa5e2e;
    margin-right: 10px;
}

.h-info {
    flex: 1;
}

.h-name {
    font-size: 13px;
    color: #f9f1ec;
    font-weight: bold;
}

.h-date {
    font-size: 11px;
    color: #d0a88f;
}

.h-user {
    font-size: 12px;
    color: #f8ac7d;
    font-weight: bold;
}

.history-list::-webkit-scrollbar {
    width: 5px;
}

.history-list::-webkit-scrollbar-track {
    background: #1f1c1b;
}

.history-list::-webkit-scrollbar-thumb {
    background: #aa5e2e;
    border-radius: 5px;
}

@keyframes popEpic { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

@keyframes spinRay { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

#alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.alert-content {
    background: #322c2b;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ff6076;
    text-align: center;
    max-width: 400px;
}

.alert-btn {
    padding: 10px 30px;
    background: #ff6076;
    border: none;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

:root {
    --lk-amber: #ffb84d;
}

@keyframes lunarBatchGlow {
    0%,100% { box-shadow: 0 0 10px rgba(230,91,40,.10); }
    50% { box-shadow: 0 0 20px rgba(255,168,107,.22); }
}

@keyframes lunarBatchIn {
    from { opacity:0; transform:translateY(8px); }
    to { opacity:1; transform:translateY(0); }
}

@keyframes lunarShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.auth-card, .login-card, .daily-wrapper, .download-grid .dl-card, .g-card, .quest-card, .ev-card-simple, .cr-card, .clan-header-card, .profile-header-modern, .kings-wrapper, .event-box, .widget-download-btn {
    animation: lunarBatchIn .32s ease-out both;
}

.fa-spinner, .fa-spin {
    color: var(--lk-cyan) !important;
    filter: drop-shadow(0 0 7px rgba(255,168,107,.30));
}

.auth-card, .login-card {
    background: rgba(6,24,46,.94) !important;
    border-color: rgba(255,168,107,.24) !important;
    box-shadow: 0 0 50px rgba(0,0,0,.52), 0 0 22px rgba(230,91,40,.11) !important;
}

.auth-card::before, .login-card::before {
    background: linear-gradient(90deg, var(--lk-cyan), var(--lk-blue), var(--lk-gold), var(--lk-cyan)) !important;
    background-size: 220% 100% !important;
    animation: lunarShimmer 3s infinite linear !important;
}

.auth-icon-big, .login-icon-big {
    color: var(--lk-cyan) !important;
    text-shadow: 0 0 20px rgba(255,168,107,.38) !important;
}

#ko-widget-container {
    --ko-primary: #f37222;
    --ko-primary-dark: #b54f0f;
    --ko-bg-dark: #1c1918;
    --ko-bg-header: linear-gradient(135deg, #f37222 0%, #f8ac7d 100%);
    --ko-text-white: #ffffff;
    --ko-glass: rgba(6, 24, 46, 0.96);
    --ko-shadow: 0 10px 40px rgba(0,0,0,.45), 0 0 24px rgba(230,91,40,.16);
}

.ko-launcher {
    box-shadow: 0 5px 20px rgba(230,91,40,.38) !important;
}

.ko-chat-box {
    background: #1c1918 !important;
    border: 1px solid rgba(255,168,107,.25);
}

.ko-body {
    background: #0a0909 !important;
}

.ko-badge {
    background: var(--lk-red) !important;
}

.daily-wrapper {
    background: radial-gradient(circle at center, rgba(255,168,107,.14) 0%, #0a0909 76%) !important;
    border-color: rgba(255,168,107,.30) !important;
}

.p-bar-fill, .auth-card::before, .login-card::before {
    box-shadow: 0 0 10px rgba(255,168,107,.32) !important;
}

.hero-card.is-big {
    border-color: var(--lk-gold) !important;
    box-shadow: 0 0 60px rgba(255,211,106,.22) !important;
}

.widget-download-btn {
    background: linear-gradient(45deg, #f37222, #f8ac7d) !important;
    border-color: rgba(255,168,107,.58) !important;
    box-shadow: 0 0 15px rgba(230,91,40,.28) !important;
}

.widget-download-btn:hover {
    box-shadow: 0 0 25px rgba(255,168,107,.36) !important;
}

.king-card, .csw-box, .event-box {
    border-color: rgba(255,168,107,.22) !important;
}

.king-link, .csw-link {
    color: var(--lk-cyan) !important;
    text-shadow: 0 0 8px rgba(255,168,107,.25);
}

.no-king, .no-owner {
    color: var(--lk-muted) !important;
}

[style*="#f8ac7d"] {
    color: #f8ac7d;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

:root {
    --ko-primary: #f37222;
    --ko-primary-dark: #b54f0f;
    --ko-bg-dark: #272220;
    --ko-bg-header: linear-gradient(135deg, #f37222 0%, #f8ac7d 100%);
    --ko-text-white: #fffffffff;
    --ko-glass: rgba(255, 255, 255, 0.95);
    --ko-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

#ko-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ko-launcher {
    width: 65px;
    height: 65px;
    background: var(--ko-bg-header);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(230,91,40,0.4);
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 3s ease-in-out infinite;
}

.ko-launcher:hover {
    transform: scale(1.1) rotate(-10deg);
}

.ko-launcher svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.ko-launcher::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--ko-primary);
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

.ko-launcher::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--ko-primary);
    opacity: 0.4;
    animation: pulse-dot 2s infinite;
    z-index: -2;
}

.ko-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6076;
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    animation: bounce 2s infinite;
}

.ko-chat-box {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 360px;
    height: 500px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--ko-shadow);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
}

.ko-chat-box.active {
    display: flex;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.ko-header {
    background: var(--ko-bg-header);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.ko-header-info {
    display: flex;
    flex-direction: column;
}

.ko-title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.ko-subtitle {
    font-size: 11px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ko-status-dot {
    width: 8px;
    height: 8px;
    background: #f6985d;
    border-radius: 50%;
    display: inline-block;
}

.ko-close-btn {
    background: rgba(255,255,255,0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.ko-close-btn:hover {
    background: rgba(255,255,255,0.4);
}

.ko-body {
    flex: 1;
    background: #f9f6f4;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ko-body::-webkit-scrollbar {
    width: 6px;
}

.ko-body::-webkit-scrollbar-thumb {
    background: #e1d3cb;
    border-radius: 10px;
}

.msg-row {
    display: flex;
    gap: 10px;
    max-width: 100%;
}

.msg-row.user {
    justify-content: flex-end;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0e7e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.avatar.ai-avatar {
    background: #ffffff;
    color: var(--ko-primary);
}

.avatar.user-avatar {
    background: var(--ko-primary);
    color: white;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    position: relative;
    max-width: 260px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.msg-row.ai .msg-bubble {
    background: #ffffff;
    color: #553a33;
    border-top-left-radius: 2px;
}

.msg-row.user .msg-bubble {
    color: white;
    border-top-right-radius: 2px;
    background: linear-gradient(135deg, #f37222, #ff6b35);
}

.ko-footer {
    padding: 15px;
    background: #ffffff;
    border-top: 1px solid #f9f4f1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.ko-input {
    flex: 1;
    border: 1px solid #f0e7e2;
    background: #fcf9f8;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    font-size: 13px;
    transition: 0.2s;
}

.ko-input:focus {
    border-color: var(--ko-primary);
    background: #ffffff;
}

.ko-send-btn {
    background: var(--ko-bg-header);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(230,91,40,0.3);
}

.ko-send-btn:hover {
    transform: scale(1.1);
}

.ko-send-btn:disabled {
    background: #b8a294;
    cursor: not-allowed;
    transform: none;
}

.typing {
    display: none;
    font-size: 11px;
    color: #b8a294;
    padding: 0 0 10px 15px;
    background: #f9f6f4;
}

.msg-bubble a {
    color: inherit;
    text-decoration: underline;
    font-weight: bold;
}

.msg-row.ai .msg-bubble a {
    color: var(--ko-primary);
}

@keyframes pulse-ring {
        0% { transform: scale(0.8); opacity: 0.5; }
        100% { transform: scale(1.3); opacity: 0; }
    }

@keyframes pulse-dot {
        0% { transform: scale(0.9); }
        50% { transform: scale(1.1); }
        100% { transform: scale(0.9); }
    }

@keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-5px); }
        100% { transform: translateY(0px); }
    }

@keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
        40% {transform: translateY(-3px);}
        60% {transform: translateY(-2px);}
    }

.rank-clan-link {
    color: #f4e3d9;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: 0.2s;
    margin-left: 3px;
}

.rank-clan-link:hover {
    color: #ffffff;
}

.simple-header {
    background: #0a0909;
    border-bottom: 3px solid #f37222;
    padding: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.simple-header h2 {
    color: #f8ac7d;
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
}

.quest-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #8f4a1f;
}

.quest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border-color: #c07343;
}

.quest-item-box {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quest-item-box:hover {
    transform: scale(1.15);
    z-index: 5;
}

.q-tag {
    transition: background 0.3s, color 0.3s;
}

.quest-card:hover .q-header h3 {
    color: #ffd36a;
}

.zone-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border: 1px solid #8f4a1f;
}

.zone-btn {
    padding: 8px 16px;
    background: #272220;
    border: 1px solid #aa5e2e;
    color: #efd5c6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zone-btn:hover {
    background: #8f4a1f;
    color: #ffffff;
}

.zone-btn.active {
    background: #f8ac7d;
    color: #080707;
    border-color: #f8ac7d;
    box-shadow: 0 0 10px rgba(255,168,107,0.3);
}

.zone-btn i {
    font-size: 14px;
}

:root {
    --color-gold: #ffd36a;
    --color-claim: #d97333;
    --color-lock: #d0a88f;
    --color-active: #e5bda6;
    --bg-dark: #1f1c1b;
    --bg-card: rgba(20, 20, 20, 0.9);
}

.daily-wrapper {
    background: radial-gradient(circle at center, #1f1c1b 0%, #080707 100%);
    border: 1px solid #8f4a1f;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-bottom: 30px;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.8);
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.progress-area {
    padding: 20px 40px;
    background: rgba(0,0,0,0.5);
    border-bottom: 1px solid #8f4a1f;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-text {
    color: #f4e3d9;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
}

.p-bar-frame {
    flex: 1;
    height: 10px;
    background: #322c2b;
    border-radius: 10px;
    margin: 0 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid #aa5e2e;
}

.p-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e5bda6, #f8ac7d);
    width: 0%;
    transition: width 1.5s ease-out;
    box-shadow: 0 0 10px #e5bda6;
}

.main-stage {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    perspective: 1000px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 50px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: floatCard 4s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: transform 0.3s;
}

.hero-card.is-big {
    border-color: var(--color-gold);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.15);
}

.hero-card.is-big::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1), transparent 60%);
    animation: rotateGlow 15s linear infinite;
    pointer-events: none;
}

.hero-day {
    font-size: 14px;
    letter-spacing: 3px;
    color: #dcb69f;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-img-box {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border: 3px solid #c07343;
    border-radius: 15px;
    background: #080707;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 22px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-count {
    color: var(--color-gold);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 25px;
}

.action-btn {
    background: linear-gradient(to right, #e5bda6, #e5bda6);
    border: none;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    transition: 0.3s;
}

.action-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.6);
}

.action-btn:disabled {
    background: #8f4a1f;
    color: #d0a88f;
    cursor: not-allowed;
    box-shadow: none;
}

.timeline-scroll {
    margin-top: 20px;
    padding: 20px 0;
    overflow-x: auto;
    white-space: nowrap;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid #8f4a1f;
    border-bottom: 1px solid #8f4a1f;
}

.timeline-scroll::-webkit-scrollbar {
    height: 8px;
}

.timeline-scroll::-webkit-scrollbar-track {
    background: #1f1c1b;
}

.timeline-scroll::-webkit-scrollbar-thumb {
    background: #aa5e2e;
    border-radius: 10px;
}

.timeline-scroll::-webkit-scrollbar-thumb:hover {
    background: #e5bda6;
}

.t-card {
    display: inline-block;
    vertical-align: top;
    width: 100px;
    background: #272220;
    margin: 0 10px;
    border-radius: 8px;
    border: 1px solid #8f4a1f;
    text-align: center;
    padding: 10px;
    position: relative;
    transition: 0.2s;
    opacity: 0.6;
}

.t-card.past {
    opacity: 0.4;
    filter: grayscale(100%);
    border-color: var(--color-claim);
}

.t-card.past::after {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 5px;
    right: 5px;
    color: var(--color-claim);
    font-size: 12px;
}

.t-card.active {
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--color-active);
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.3);
    z-index: 5;
}

.t-card.future {
    opacity: 0.8;
}

.t-card.future .t-icon-box::after {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    text-shadow: 0 2px 4px #080707;
}

.t-card.big-prize {
    border-color: var(--color-gold);
}

.t-card.big-prize .t-day {
    color: var(--color-gold);
}

.t-day {
    font-size: 10px;
    color: #dcb69f;
    margin-bottom: 5px;
    font-weight: bold;
}

.t-icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background: #080707;
    border: 1px solid #aa5e2e;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.t-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-name {
    font-size: 10px;
    color: #f4e3d9;
    margin-top: 5px;
    white-space: normal;
    line-height: 1.2;
    height: 24px;
    overflow: hidden;
}

@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@keyframes rotateGlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

#epic-reward-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.epic-content {
    position: relative;
    text-align: center;
    animation: popEpic 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.epic-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: spinRay 10s linear infinite;
    z-index: -1;
}

.epic-icon {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    border: 3px solid #ffd36a;
    box-shadow: 0 0 50px #ffd36a;
    margin-bottom: 20px;
    background: #080707;
    object-fit: cover;
}

.epic-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffd36a;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.epic-desc {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 30px;
}

.epic-btn {
    background: #ffd36a;
    color: #080707;
    padding: 15px 50px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: 0.3s;
}

.epic-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

@keyframes popEpic { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

@keyframes spinRay { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10001;
}

.widget-download-btn {
    display: block;
    background: linear-gradient(45deg, #e5bda6, #f37222);
    border: 1px solid #ff6076;
    border-radius: 6px;
    padding: 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(230,91,40,0.4);
    transition: transform 0.3s;
}

.widget-download-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(230,91,40,0.6);
}

.dl-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.dl-icon {
    font-size: 32px;
    color: #ffffff;
    margin-right: 15px;
    animation: bounce 2s infinite;
}

.dl-info {
    display: flex;
    flex-direction: column;
}

.dl-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 #080707;
    font-family: "Verdana", sans-serif;
}

.dl-desc {
    color: #f9f1ec;
    font-size: 11px;
    font-weight: 600;
}

.dl-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    animation: rotate 5s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-5px);} 60% {transform: translateY(-3px);} }

.download-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dl-card {
    background: linear-gradient(145deg, #1f1c1b, #2b2524);
    border: 1px solid #8f4a1f;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.dl-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px var(--card-color-alpha);
    border-color: var(--card-color);
}

.dl-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
    pointer-events: none;
}

.dl-card:hover::before {
    left: 100%;
}

.dl-left {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.dl-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--card-color);
    border: 2px solid var(--card-color);
    box-shadow: 0 0 15px var(--card-color-alpha);
    transition: 0.4s;
}

.dl-card:hover .dl-icon-box {
    background: var(--card-color);
    color: #080707;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 30px var(--card-color);
}

.dl-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.dl-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #efd5c6;
    display: flex;
    gap: 15px;
}

.dl-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dl-meta i {
    color: var(--card-color);
}

.dl-btn {
    background: var(--card-color);
    color: #080707;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px var(--card-color-alpha);
    transition: 0.3s;
    z-index: 2;
    position: relative;
}

.dl-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--card-color);
    color: #080707;
}

.dl-btn i {
    transition: 0.3s;
}

.dl-btn:hover i {
    transform: translateY(3px);
}

@media (max-width: 768px) {
    .dl-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .dl-left {
        flex-direction: column;
    }

    .dl-btn {
        width: 100%;
        justify-content: center;
    }
}

.drop-tab-btn {
    cursor: pointer;
}

.drop-tab-btn.active, .drop-tab-btn:hover {
    background: #ff6076;
    color: #ffffff;
    border-color: #ff6076;
    box-shadow: 0 0 15px rgba(255,96,118,0.4);
}

.drop-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #272220;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #8f4a1f;
}

.drop-search-form input {
    flex: 1;
    background: #1f1c1b;
    border: 1px solid #aa5e2e;
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 4px;
    outline: none;
}

.drop-search-form button {
    background: #ff6076;
    color: #ffffff;
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.loader-box {
    text-align: center;
    padding: 50px;
    color: #efd5c6;
    display: none;
}

.mob-card {
    background: #231e1d;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: 0.3s;
    overflow: hidden;
}

.mob-card:hover {
    border-color: #c07343;
}

.mob-header {
    background: #322c2b;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #8f4a1f;
}

.mob-info h3 {
    margin: 0;
    font-size: 16px;
    color: #ff6076;
    font-weight: bold;
}

.mob-drops-container {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.drop-item-box {
    position: relative;
    width: 45px;
    height: 45px;
    background: #080707;
    border: 1px solid #8f4a1f;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

.drop-item-box:hover {
    border-color: #ff6076;
    transform: scale(1.1);
    z-index: 5;
}

.drop-item-box img {
    max-width: 100%;
    max-height: 100%;
}

.drop-rate {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    font-size: 9px;
    padding: 1px 3px;
    pointer-events: none;
}

.item-result-block {
    background: #231e1d;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    margin-bottom: 20px;
}

.item-search-header {
    background: #322c2b;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #8f4a1f;
}

.dropper-list {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.dropper-card {
    background: #1f1c1b;
    border: 1px solid #4c342e;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
}

.d-mob-name {
    font-weight: bold;
    color: #f9f1ec;
    display: block;
    margin-bottom: 3px;
}

.d-mob-rate {
    font-weight: bold;
    background: #322c2b;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    color: #f6985d;
}

.drop-group-box {
    border: 1px dashed #c07343;
    padding: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 0, 0.05);
}

.group-rate {
    display: block;
    font-size: 10px;
    color: #ffd36a;
    text-align: center;
    margin-bottom: 3px;
}

.group-items-row {
    display: flex;
    gap: 5px;
}

.event-box.glass-effect {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0,0,0,0.3);
}

.event-box.glass-effect:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(50, 50, 50, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.event-box.glass-effect::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            120deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 60%,
            transparent 100%
        );
    transform: rotate(25deg);
    transition: all 0.8s ease-in-out;
    pointer-events: none;
    opacity: 0.7;
}

.event-box.glass-effect:hover::after {
    left: 100%;
}

.ev-icon, .ev-info {
    position: relative;
    z-index: 2;
}

.ev-icon img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    margin-right: 12px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}

.ev-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ev-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.ev-date {
    font-size: 11px;
    color: #efd5c6;
    margin-top: 2px;
}

.ev-countdown {
    font-size: 12px;
    color: #f8ac7d;
    font-family: "Courier New", monospace;
    font-weight: bold;
    margin-top: 3px;
}

.text-red {
    color: #ff6076 !important;
    font-weight: bold;
}

.active-war {
    color: #ff6076 !important;
    font-weight: 800;
    text-shadow: 0 0 5px rgba(255,96,118,0.5);
}

.drop-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.drop-tab-btn {
    background: #322c2b;
    border: 1px solid #8f4a1f;
    color: #efd5c6;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.drop-tab-btn:hover, .drop-tab-btn.active {
    background: #ff6076;
    border-color: #ff6076;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255,96,118,0.4);
    transform: translateY(-2px);
}

.ev-card-simple {
    background: #231e1d;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.ev-card-simple:hover {
    border-color: #c07343;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.ev-card-header {
    background: #322c2b;
    padding: 12px 15px;
    border-bottom: 1px solid #8f4a1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ev-card-header h3 {
    margin: 0;
    font-size: 15px;
    color: #ffffff;
    font-weight: bold;
}

.ev-lvl-badge {
    background: #8f4a1f;
    color: #efd5c6;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.ev-card-body {
    padding: 15px;
    font-size: 13px;
    color: #f4e3d9;
}

.ev-row {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ev-row i {
    color: #ff6076;
    width: 16px;
    text-align: center;
}

.ev-times {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.ev-times span {
    background: #1f1c1b;
    border: 1px solid #aa5e2e;
    color: #ff6076;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.cr-card {
    background: #272220;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.cr-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #ffd36a;
}

.cr-header {
    background: linear-gradient(90deg, #322c2b, #272220);
    padding: 15px 20px;
    border-bottom: 1px solid #8f4a1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cr-title h3 {
    margin: 0;
    color: #ffd36a;
    font-size: 16px;
    font-weight: bold;
}

.cr-time {
    font-size: 12px;
    color: #efd5c6;
    display: block;
    margin-top: 3px;
}

.cr-zone {
    background: #1f1c1b;
    border: 1px solid #aa5e2e;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #f9f1ec;
}

.cr-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cr-sec-title {
    font-size: 11px;
    color: #d0a88f;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid #8f4a1f;
    padding-bottom: 5px;
}

.cr-tasks-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cr-task {
    background: #1f1c1b;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #4c342e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cr-task-head i {
    margin-right: 5px;
    color: #efd5c6;
}

.cr-rewards-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cr-reward-item {
    width: 45px;
    height: 45px;
    background: #080707;
    border: 1px solid #8f4a1f;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    cursor: help;
}

.cr-reward-item:hover {
    transform: scale(1.1);
    border-color: #ffd36a;
    z-index: 2;
}

.cr-reward-item img {
    max-width: 100%;
    max-height: 100%;
}

.cr-rw-count {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    font-size: 9px;
    padding: 0 2px;
}

.cr-rw-rate {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d97333;
    color: #ffffff;
    font-size: 9px;
    padding: 1px 3px;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .cr-body {
        grid-template-columns: 1fr;
    }
}

.ash-particle {
    position: fixed;
    top: -10px;
    background: rgba(220, 220, 220, 0.6);
    border-radius: 40%;
    pointer-events: none;
    z-index: 99999;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    filter: blur(1px);
    animation: fall linear forwards;
    will-change: transform, opacity;
}

@keyframes fall {
        0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 1; }
        100% { transform: translateY(110vh) translateX(20px) rotate(360deg); opacity: 0; }
    }

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 0;
}

.auth-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #8f4a1f;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6076, #ffb84d, #ff6076);
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
}

.auth-header p {
    margin: 5px 0 0;
    color: #d0a88f;
    font-size: 13px;
    line-height: 1.5;
}

.auth-icon-big {
    font-size: 45px;
    color: #ff6076;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255,96,118,0.4);
}

.input-group-modern i {
    pointer-events: none;
}

.input-group-modern input, .input-group-modern select {
    width: 100%;
    background: #1c1918;
    border: 1px solid #8f4a1f;
    padding: 12px 15px 12px 45px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
}

.input-group-modern input:focus, .input-group-modern select:focus {
    border-color: #ff6076;
    background: #1f1c1b;
    box-shadow: 0 0 10px rgba(255,96,118,0.1);
}

.input-group-modern input:focus+i, .input-group-modern select:focus+i {
    color: #ff6076;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bd8d6f;
    pointer-events: none;
    font-size: 10px;
}

.divider-text {
    display: flex;
    align-items: center;
    color: #c07343;
    font-size: 11px;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider-text::before, .divider-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #8f4a1f;
}

.divider-text span {
    padding: 0 10px;
}

.btn-auth-modern {
    width: 100%;
    background: linear-gradient(135deg, #ff6076, #f37222);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(230,91,40,0.3);
}

.btn-auth-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230,91,40,0.5);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #bd8d6f;
}

.auth-footer a {
    color: #ff6076;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.auth-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.scroll-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
    padding: 15px;
    background: #1f1c1b;
    border: 1px solid #8f4a1f;
    border-radius: 8px;
    margin-bottom: 30px;
    max-height: 300px;
    overflow-y: auto;
}

.scroll-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080707;
    border: 1px solid #8f4a1f;
    border-radius: 6px;
    padding: 10px;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.scroll-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.scroll-item:hover, .scroll-item.active {
    border-color: #ffd36a;
    background: rgba(255,211,106,0.1);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 15px rgba(255,211,106,0.2);
}

.gen-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(90deg, #322c2b, #1f1c1b);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #ffd36a;
    margin-bottom: 25px;
}

.gen-header img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #8f4a1f;
}

.gen-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    text-transform: uppercase;
}

.gen-header small {
    color: #dcb69f;
    font-size: 14px;
    display: block;
    margin-top: 5px;
    text-transform: none;
}

.gen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gen-card {
    background: #272220;
    border: 1px solid #8f4a1f;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.gen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.gen-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}

.gen-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gen-rate {
    position: absolute;
    bottom: -5px;
    right: -10px;
    background: #080707;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #aa5e2e;
}

.gen-name {
    font-size: 13px;
    color: #f4e3d9;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rate-legendary {
    border-color: #ff9800;
    background: radial-gradient(circle, rgba(255,152,0,0.1), #272220);
}

.rate-legendary .gen-rate {
    color: #ff9800;
    border-color: #ff9800;
}

.rate-epic {
    border-color: #e5bda6;
}

.rate-epic .gen-rate {
    color: #e5bda6;
    border-color: #e5bda6;
}

.rate-rare {
    border-color: #f8ac7d;
}

.rate-rare .gen-rate {
    color: #f8ac7d;
    border-color: #f8ac7d;
}

.rate-common {
    border-color: #8f4a1f;
}

.rate-common:hover {
    border-color: #d0a88f;
}

.scroll-selector::-webkit-scrollbar {
    width: 8px;
}

.scroll-selector::-webkit-scrollbar-track {
    background: #1f1c1b;
}

.scroll-selector::-webkit-scrollbar-thumb {
    background: #aa5e2e;
    border-radius: 4px;
}

.scroll-selector::-webkit-scrollbar-thumb:hover {
    background: #ffd36a;
}

.giveaway-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.g-card {
    background: linear-gradient(145deg, #1f1c1b, #2b2524);
    border: 1px solid #8f4a1f;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.g-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 10px rgba(255,168,107,0.1);
    border-color: #aa5e2e;
}

.g-status-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.status-active .g-status-line {
    background: #f6985d;
    box-shadow: 0 0 10px #f6985d;
}

.status-wait .g-status-line {
    background: #ffb84d;
    box-shadow: 0 0 10px #ffb84d;
}

.status-ended .g-status-line {
    background: #f8ac7d;
    box-shadow: 0 0 10px #f8ac7d;
}

.status-missed .g-status-line {
    background: #ff6076;
    box-shadow: 0 0 10px #ff6076;
}

.g-content {
    padding: 25px 25px 25px 35px;
}

.g-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid #4c342e;
    padding-bottom: 15px;
}

.g-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.g-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.bg-active {
    background: rgba(85,255,189,0.2);
    color: #f6985d;
    border: 1px solid #f6985d;
}

.bg-wait {
    background: rgba(230, 126, 34, 0.2);
    color: #ffb84d;
    border: 1px solid #ffb84d;
}

.bg-ended {
    background: rgba(255,168,107,0.2);
    color: #f8ac7d;
    border: 1px solid #f8ac7d;
}

.bg-missed {
    background: rgba(255,96,118,0.2);
    color: #ff6076;
    border: 1px solid #ff6076;
}

.g-meta {
    display: flex;
    gap: 20px;
    color: #dcb69f;
    font-size: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.g-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.g-meta i {
    color: #f8ac7d;
}

.g-desc {
    color: #f4e3d9;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #aa5e2e;
}

.g-action {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #4c342e;
}

.social-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.s-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
    min-width: 140px;
}

.s-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #ffffff;
}

.btn-wp {
    background: #d36825;
}

.btn-ig {
    background: linear-gradient(45deg, #f09433, #bc1888);
}

.join-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inp-group {
    flex: 1;
    min-width: 200px;
    display: flex;
}

.inp-pre {
    background: #8f4a1f;
    color: #efd5c6;
    padding: 10px 15px;
    border: 1px solid #aa5e2e;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.inp-field {
    flex: 1;
    background: #1f1c1b;
    border: 1px solid #aa5e2e;
    color: #ffffff;
    padding: 10px;
    border-radius: 0 4px 4px 0;
    outline: none;
    transition: 0.3s;
}

.inp-field:focus {
    border-color: #f8ac7d;
}

.btn-submit {
    background: #f8ac7d;
    color: #080707;
    font-weight: 800;
    border: none;
    padding: 0 30px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    min-width: 120px;
}

.btn-submit:hover {
    background: #e0c388;
    transform: scale(1.05);
}

.btn-submit:disabled {
    background: #c07343;
    cursor: not-allowed;
    transform: none;
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.w-card {
    background: #322c2b;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #8f4a1f;
}

.w-card.asil {
    border-color: #f6985d;
    box-shadow: 0 0 5px rgba(85,255,189,0.1);
}

.w-card.yedek {
    border-color: #f8ac7d;
}

.w-badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-weight: bold;
}

.wb-asil {
    background: #f6985d;
    color: #080707;
}

.wb-yedek {
    background: #f8ac7d;
    color: #ffffff;
}

.w-name {
    font-weight: bold;
    color: #ffffff;
    font-size: 14px;
}

.msg-box {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
}

.msg-success {
    background: rgba(85,255,189,0.1);
    border: 1px solid #f6985d;
    color: #f6985d;
}

.msg-missed {
    background: rgba(255,96,118,0.1);
    border: 1px solid #ff6076;
    color: #ff6076;
}

.msg-wait {
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid #ffb84d;
    color: #ffb84d;
}

@media (max-width: 768px) {
    .g-header {
        flex-direction: column;
        gap: 10px;
    }

    .join-form {
        flex-direction: column;
    }

    .btn-submit {
        padding: 15px;
        width: 100%;
    }
}

body {
    font-family: "Roboto", "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: "Kanit", sans-serif;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.pagination a {
    padding: 8px 12px;
    background: #8f4a1f;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
}

.pagination a:hover {
    background: #c07343;
}

.pagination a.active {
    background: #f8ac7d;
    color: black;
    font-weight: bold;
}

.news-detail-text {
    font-size: 13px;
    color: #efd5c6;
    margin-top: 5px;
    display: block;
}

.kings-wrapper {
    padding: 5px;
    box-sizing: border-box;
}

.kings-row {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.king-card {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8px 5px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(2px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.karus-style {
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.9), rgba(36, 59, 85, 0.9));
    border-bottom: 2px solid #f8ac7d;
}

.human-style {
    background: linear-gradient(135deg, rgba(48, 20, 20, 0.9), rgba(85, 36, 36, 0.9));
    border-bottom: 2px solid #ff6076;
}

.king-card:hover, .csw-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 2;
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.king-card:hover .shine-effect, .csw-box:hover .shine-effect {
    left: 100%;
}

.k-icon {
    flex-shrink: 0;
    margin-right: 6px;
}

.k-icon img {
    width: 26px;
    height: auto;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
}

.k-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.k-race {
    font-size: 9px;
    font-weight: bold;
    color: #f1dbce;
    letter-spacing: 0.5px;
}

.k-name {
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.csw-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8px;
    background: linear-gradient(90deg, #1f1c18, #2c2824);
    border: 1px solid #443c33;
    border-radius: 4px;
    transition: transform 0.3s;
}

.csw-icon {
    width: 28px;
    height: 28px;
    background: #1f1c1b;
    border: 1px solid #f8ac7d;
    border-radius: 50%;
    color: #f8ac7d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
    z-index: 2;
}

.csw-info {
    flex: 1;
    min-width: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.csw-label {
    font-size: 9px;
    color: #d0a88f;
    font-weight: bold;
}

.csw-val {
    font-size: 12px;
    font-weight: bold;
    color: #f8ac7d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.csw-bg-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 24px;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
}

.king-link, .csw-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.king-link:hover, .csw-link:hover {
    color: #ffd36a;
}

.no-king, .no-owner {
    color: #c07343;
    font-size: 10px;
    font-style: italic;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #8f4a1f;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffd36a, #ffb84d, #ffd36a);
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
}

.login-header p {
    margin: 5px 0 0;
    color: #d0a88f;
    font-size: 13px;
}

.login-icon-big {
    font-size: 40px;
    color: #ffd36a;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255,211,106,0.4);
}

.input-group-modern {
    position: relative;
    margin-bottom: 20px;
}

.input-group-modern i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bd8d6f;
    transition: 0.3s;
}

.input-group-modern input {
    width: 100%;
    background: #1c1918;
    border: 1px solid #8f4a1f;
    padding: 12px 15px 12px 45px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group-modern input:focus {
    border-color: #ffd36a;
    background: #1f1c1b;
    box-shadow: 0 0 10px rgba(255,211,106,0.1);
}

.input-group-modern input:focus+i {
    color: #ffd36a;
}

.btn-login-modern {
    width: 100%;
    background: linear-gradient(135deg, #ffd36a, #ffb84d);
    color: #080707;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-login-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.5);
    color: #ffffff;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #bd8d6f;
}

.login-footer a {
    color: #ffd36a;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.login-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

:root {
    --lk-bg: #0a0909;
    --lk-deep: #080707;
    --lk-panel: #1c1918;
    --lk-panel2: #272220;
    --lk-panel3: #322c2b;
    --lk-cyan: #f8ac7d;
    --lk-blue: #f37222;
    --lk-silver: #f4e3d9;
    --lk-muted: #dcb69f;
    --lk-gold: #ffd36a;
    --lk-red: #ff6076;
    --lk-green: #f6985d;
}

@keyframes lunarBatch3In {
    from { opacity:0; transform:translateY(8px); }
    to { opacity:1; transform:translateY(0); }
}

.ann-detail-title, .ann-meta, .ann-content-html, .btn-back, #announcements-target, .alert-box, .form-group, .form-row {
    animation: lunarBatch3In .28s ease-out both;
}

.ann-detail-title {
    color: var(--lk-cyan) !important;
    border-bottom-color: rgba(255,168,107,.22) !important;
    text-shadow: 0 0 10px rgba(255,168,107,.20) !important;
}

.ann-meta {
    color: var(--lk-muted) !important;
}

.ann-meta .meta-item i, .meta-item i {
    color: var(--lk-cyan) !important;
}

.ann-content-html {
    color: var(--lk-silver) !important;
}

.ann-content-html a {
    color: var(--lk-cyan) !important;
    border-bottom-color: var(--lk-cyan) !important;
}

.ann-content-html a:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

.ann-footer-action {
    border-top-color: rgba(255,168,107,.22) !important;
}

.btn-back {
    background: #272220 !important;
    color: var(--lk-silver) !important;
    border-color: rgba(255,168,107,.28) !important;
}

.btn-back:hover {
    background: linear-gradient(90deg, var(--lk-cyan), var(--lk-blue)) !important;
    color: #171413 !important;
    border-color: var(--lk-cyan) !important;
    box-shadow: 0 0 15px rgba(255,168,107,.22) !important;
}

.dark-input, input.dark-input, select.dark-input, textarea.dark-input {
    background: #080707 !important;
    border-color: rgba(255,168,107,.26) !important;
    color: #ffffff !important;
}

.dark-input:focus, input.dark-input:focus, select.dark-input:focus, textarea.dark-input:focus {
    border-color: var(--lk-cyan) !important;
    box-shadow: 0 0 10px rgba(255,168,107,.22) !important;
}

.form-group label, .form-col label {
    color: var(--lk-muted) !important;
}

.submit-btn {
    background: linear-gradient(90deg, var(--lk-blue), #47302a) !important;
    border-color: var(--lk-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(230,91,40,.22) !important;
}

.submit-btn:hover {
    background: linear-gradient(90deg, var(--lk-cyan), var(--lk-blue)) !important;
    color: #171413 !important;
}

.alert-box strong, .letter-reward strong, .reward-result strong {
    color: var(--lk-gold) !important;
    text-shadow: 0 0 7px rgba(255,211,106,.28);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

.ann-detail-title {
    font-size: 24px;
    color: #ff6076;
    margin: 0 0 10px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #8f4a1f;
    font-weight: 700;
    text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}

.ann-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #d0a88f;
    margin-bottom: 25px;
}

.meta-item i {
    color: #f8ac7d;
    margin-right: 5px;
}

.ann-content-html {
    line-height: 1.7;
    color: #f4e3d9;
    font-size: 14px;
    margin-bottom: 30px;
}

.ann-content-html img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin: 10px 0;
    display: block;
}

.ann-content-html p {
    margin-bottom: 15px;
}

.ann-content-html a {
    color: #f8ac7d;
    text-decoration: none;
    border-bottom: 1px dotted #f8ac7d;
}

.ann-content-html a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

.ann-footer-action {
    border-top: 1px solid #8f4a1f;
    padding-top: 20px;
    text-align: left;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #322c2b;
    color: #efd5c6;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #aa5e2e;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #f8ac7d;
    color: #080707;
    border-color: #f8ac7d;
    transform: translateX(-5px);
    box-shadow: 0 0 15px rgba(255,168,107,0.2);
}

.scroll-selector .scroll-item img, .scroll-box .scroll-item img, #generator-target .scroll-item img, #generator-target .gen-icon img, #generator-target .gen-card img, #generator-target .drop-item-box img, #generator-target .item-result-block img, #generator-target .search-item-icon, #generator-target .gen-header img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}

.scroll-selector .scroll-item:hover img, .scroll-selector .scroll-item.active img, .scroll-box .scroll-item:hover img, .scroll-box .scroll-item.active img, #generator-target .scroll-item:hover img, #generator-target .scroll-item.active img {
    filter: none !important;
    -webkit-filter: none !important;
}

#generator-target .scroll-item:hover img, #generator-target .scroll-item.active img, .scroll-selector .scroll-item:hover img, .scroll-selector .scroll-item.active img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(255,168,107,.35)) !important;
    -webkit-filter: drop-shadow(0 0 8px rgba(255,168,107,.35)) !important;
}

#generator-target .gen-card:hover img, #generator-target .drop-item-box:hover img {
    filter: drop-shadow(0 0 8px rgba(255,168,107,.28)) !important;
    -webkit-filter: drop-shadow(0 0 8px rgba(255,168,107,.28)) !important;
}
