* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url("../images/backdrop.jpg") no-repeat, #042f5a;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.contain {
    max-width: 1200px;
    margin: 0 auto;
}

.no-dedoration {
    text-decoration: none;
    color: white;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.item-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.item-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item-info h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.item-type {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.item-stats {
    margin-top: 15px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 0;
}

.stat-label {
    font-weight: 600;
    color: #555;
}

.stat-value {
    font-weight: bold;
    color: #2c3e50;
}

.rarity-common { border-left: 4px solid #95a5a6; }
.rarity-uncommon { border-left: 4px solid #27ae60; }
.rarity-rare { border-left: 4px solid #3498db; }
.rarity-epic { border-left: 4px solid #9b59b6; }
.rarity-legendary { border-left: 4px solid #f39c12; }

.item-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

.stat-bar {
    background: #ecf0f1;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-left: 10px;
    flex: 1;
    max-width: 100px;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #27ae60);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.add-item-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.add-item-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2rem;
    }
}

.item-icon-zoom {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: left;
}

.item-icon-zoom img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: left;
}

.item-card::before {
    top: -6px;
    left: -6px;
    content: '';
    display: block;
    position: absolute;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    -webkit-filter: blur(6px);
    filter: blur(6px);
    background: url(../images/item-base-bg.jpg) center top;
    background-size: cover;
}
.inline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2em;
    margin: 30px auto;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
}


.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 0 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    height: 70px;
}

.nav-item {
    position: relative;
    margin: 0 10px;
    z-index: 1001;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    font-weight: bold;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(90deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1000;
    margin-top: 10px;
    list-style: none;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-link {
    color: #333;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.dropdown-item:first-child .dropdown-link {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child .dropdown-link {
    border-radius: 0 0 12px 12px;
}

.dropdown-item:first-child:last-child .dropdown-link {
    border-radius: 12px;
}

.news-category {
    font-size: 0.9rem;
    color: #888;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    margin-right: 1rem;
}

.banner-cats {

}

.brand {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-right: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-item.has-dropdown .nav-link {
    padding-right: 35px;
}

.dropdown-item {
    list-style: none;
}


.submenu-icon {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown-item:hover .submenu-icon {
    transform: rotate(90deg);
}

hr {
    color: #928fff;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    z-index: 10001;
    margin-left: 10px;
    list-style: none;
}

.dropdown-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-item {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    list-style: none;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-link {
    color: #333;
    text-decoration: none;
    padding: 12px 18px;
    display: block;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.submenu-item:first-child .submenu-link {
    border-radius: 12px 12px 0 0;
}

.submenu-item:last-child .submenu-link {
    border-radius: 0 0 12px 12px;
}

.submenu-item:first-child:last-child .submenu-link {
    border-radius: 12px;
}

.item-list .aiondb-link-icon {
    display: none !important;
}

.item-list span {
    font-size: 1em !important;
}

.post-content table {
    border-collapse: collapse;
    border-spacing: 0;
}

.post-content table td,
.post-content table th {
    border: 1px solid #333;
    padding: 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .nav-item {
        margin: 5px 0;
        width: 100%;
    }

    .nav-link {
        justify-content: center;
        width: 100%;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        display: none;
    }

    .nav-item:hover .dropdown {
        display: block;
    }

    .brand {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-link {
    text-decoration: none;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.lang-link.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(255, 255, 255, 0.9);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

@media (max-width: 768px) {
    .language-selector {
        margin-top: 15px;
        justify-content: center;
    }

    .lang-link {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Drop Chance Color Classes */
.drop-impossible {
    color: #8b0000 !important;
    font-weight: 600;
}

.drop-extremely-rare {
    color: #c41e3a !important;
    font-weight: 600;
}

.drop-very-rare {
    color: #e74c3c !important;
    font-weight: 600;
}

.drop-rare {
    color: #e67e22 !important;
    font-weight: 600;
}

.drop-sometimes {
    color: #f39c12 !important;
    font-weight: 600;
}

.drop-quite-often {
    color: #d4ac0d !important;
    font-weight: 600;
}

.drop-very-often {
    color: #27ae60 !important;
    font-weight: 600;
}

.drop-almost-always {
    color: #1e8449 !important;
    font-weight: 600;
}

.drop-always {
    color: #0d7377 !important;
    font-weight: 700;
    text-shadow: 0 0 2px rgba(13, 115, 119, 0.3);
}

/* Item weight within group */
.weight-very-rare {
    color: #c0392b !important;
    font-weight: 600;
}

.weight-rare {
    color: #e67e22 !important;
    font-weight: 600;
}

.weight-uncommon {
    color: #f39c12 !important;
    font-weight: 600;
}

.weight-common {
    color: #27ae60 !important;
    font-weight: 600;
}

.weight-very-common {
    color: #0d7377 !important;
    font-weight: 600;
}

/* NPC Drop List Styles */
.badge-drop-chance {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-drop-chance span {
    font-weight: 600;
}

/* Common Drop Chance Display */
.item-drop-chances {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    align-items: center;
    justify-content: flex-end;
}

.drop-chance-detail {
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.drop-chance-final {
    color: #27ae60;
    font-weight: 700;
    white-space: nowrap;
}

/* Common Drop Group Header */
.common-drop-group-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.common-drop-group-header .data-label {
    font-size: 1rem;
    font-weight: 600;
}

.common-drop-group-header strong {
    font-weight: 700;
}

.group-chance-badge {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 8px;
}

.group-guarantee-note {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 8px;
    font-style: italic;
}

.post-content h1, h2, h3, h4, h5 {
    margin-bottom: 10px;
}

.post-content ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.bonus-block {
    background: linear-gradient(135deg, rgba(98, 98, 98, 0.32), rgba(0, 0, 0, 0.18));
    border: 2px solid rgba(233, 203, 0, 0.7);
    padding: 25px 0;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    min-width: 300px;
    color: #fff;
    box-shadow: 0 0 20px rgba(233, 203, 0, 0.7);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 540px;
    display: flex;
}

.bonus-block img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20%;
    width: 45%;
}

.bonus-block h3 {
    margin: 0;
    margin-bottom: 5px;
    font-size: 21px;
}

.bonus-block p {
    text-transform: uppercase;
    color: #e6e6e6;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 14px;
}

.bonus-block span.online {
    position: absolute;
    right: 0;
    top: -15px;
    background-color: #bea000;
    border-radius: 15px;
    padding: 5px;
    text-transform: uppercase;
    font-size: 13px;
}

.bonus-block div.data {
    margin-left: auto;
    text-align: center;
    padding-right: 18px;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(233, 203, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(233, 203, 0, 0.9);
    }
}

.glow {
    animation: glow-pulse 1.8s ease-in-out infinite;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results p {
    font-size: 18px;
    margin: 0;
}