/* Genel Stiller */
.marketplace-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    min-height: calc(100vh - 140px);
    margin-top: 120px;
}


/* Navigasyon Paneli */
.marketplace-nav {
    width: 250px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 90px;
}

.marketplace-nav h3 {
    color: var(--primary-color);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.marketplace-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.marketplace-nav-item {
    margin-bottom: 0;
    width: 100%;
}

.marketplace-nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
    text-align: left;
    box-sizing: border-box;
}

.marketplace-nav-link:hover {
    background: rgba(66, 220, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(66, 220, 255, 0.3);
    transform: translateX(5px);
}

.marketplace-nav-link.active {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.2), rgba(42, 74, 128, 0.2));
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(66, 220, 255, 0.2);
}

.marketplace-nav-link i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.nav-link-content {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.nav-link-content span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Dropdown Styles */
.marketplace-nav-item.has-dropdown {
    position: relative;
}

.marketplace-nav-link.has-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marketplace-nav-link .dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    margin-left: auto;
}

.marketplace-nav-link.active .dropdown-arrow {
    transform: rotate(180deg);
}

.marketplace-dropdown {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    background: rgba(42, 74, 128, 0.1);
    border-radius: 8px;
    margin-top: 5px;
    opacity: 0;
}

.marketplace-dropdown.active {
    display: block;
    max-height: 300px;
    opacity: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

.marketplace-dropdown-item {
    margin: 0;
}

.marketplace-dropdown-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 16px 10px 50px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid transparent;
    box-sizing: border-box;
    position: relative;
}

.marketplace-dropdown-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.marketplace-dropdown-link::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0.6;
}

.marketplace-dropdown-link:hover {
    background: rgba(66, 220, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(66, 220, 255, 0.3);
    transform: translateX(5px);
}

.marketplace-dropdown-link.active {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.2), rgba(42, 74, 128, 0.2));
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(66, 220, 255, 0.2);
}

.marketplace-dropdown-link i {
    margin-right: 8px;
    width: 14px;
    text-align: center;
    font-size: 0.8rem;
}

.marketplace-dropdown-link.active::before {
    background: var(--primary-color);
    opacity: 1;
}

/* İçerik Alanı */
.marketplace-content {
    flex: 1;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Draft Warning Banner */
.draft-warning-banner {
    position: sticky;
    top: 80px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: max-content;
    margin: 0 auto 20px auto;
    padding: 14px 24px;
    background: rgba(241, 196, 15, 0.25);
    border: 2px solid rgba(241, 196, 15, 0.6);
    border-radius: 10px;
    color: #f1c40f;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 20px rgba(241, 196, 15, 0.3);
    animation: draftBannerPulse 1.5s ease-in-out infinite;
}

.draft-warning-banner i {
    font-size: 1.2rem;
}

@keyframes draftBannerPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(241, 196, 15, 0.3);
        border-color: rgba(241, 196, 15, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 30px rgba(241, 196, 15, 0.5);
        border-color: rgba(241, 196, 15, 0.9);
        transform: scale(1.02);
    }
}

/* Hesap Bilgileri Alanı */
.account-info-section {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.1), rgba(42, 74, 128, 0.1));
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.account-info-last-update {
    margin: 15px 10px;
}

/* Seller Info Section */
.seller-info-section {
    padding-top: 25px;
    border-top: 1px solid rgba(66, 220, 255, 0.2);
}

.seller-info-grid {
    display: grid;
    grid-template-columns: minmax(380px, 450px) minmax(500px, 1fr);
    gap: 20px;
    grid-auto-flow: row;
}

/* Toplam genişlik 1024px'den az ise tek sütun */
@media (max-width: 1024px) {
    .seller-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.seller-discord-section {
    display: flex;
    flex-direction: column;
}

.seller-note-section {
    display: flex;
    flex-direction: column;
}

.seller-note-header {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(66, 220, 255, 0.3);
}

.seller-discord-header,
.seller-note-header {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: left;
    text-shadow: 0 0 8px rgba(66, 220, 255, 0.3);
}

.seller-discord-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.seller-discord-info:hover {
    background: rgba(42, 74, 128, 0.15);
    border-color: rgba(66, 220, 255, 0.3);
    transform: translateY(-2px);
}

.discord-avatar {
    flex-shrink: 0;
}

.discord-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(66, 220, 255, 0.3);
    object-fit: cover;
}

.discord-details {
    /*flex: 0 0 auto;*/
    min-width: 0;
}

.discord-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discord-username {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'Consolas', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discord-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.discord-message-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    min-width: 140px;
    justify-content: center;
    white-space: nowrap;
}

.discord-message-btn:hover {
    background: linear-gradient(135deg, #4752C4, #3C45A5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    color: white;
    text-decoration: none;
}

.discord-message-btn i {
    font-size: 1rem;
}

.seller-note {
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}

.seller-note-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.seller-note-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 15px;
    color: #ffc107;
    height: auto;
}

.seller-note-empty i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.seller-note-empty span {
    font-size: 0.9rem;
    font-weight: 500;
}

.account-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.account-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.account-info-title {
    color: var(--primary-color);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.account-price {
    background: var(--gradient-secondary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-color);
}

.info-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
}

.info-value.highlight {
    color: var(--primary-color);
}

.info-value.currency {
    color: var(--secondary-color);
}

.info-value.sensitive {
    color: var(--text-muted);
    font-style: italic;
}

.info-value.server {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.info-value.server span {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 5px;
    color: var(--text-primary);
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
}

/* Company Logo */
.company-logo {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 4px;
    object-fit: contain;
}

.company-name {
    vertical-align: middle;
    font-weight: 600;
    text-transform: uppercase;
}

/* Rank Logo */
.rank-logo {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
}

.rank-name {
    vertical-align: middle;
    font-weight: 600;
}

/* Payment Country Flag */
.payment-country-flag {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
    border-radius: 4px;
}

.info-name {
    vertical-align: middle;
    font-weight: 600;
    text-transform: uppercase;
}

/* Global Info Display */
.info-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.info-section h5,
.data-section h5 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(66, 220, 255, 0.3);
}

/* Global Data Table */
.data-table {
    margin-top: 10px;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(42, 74, 128, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(66, 220, 255, 0.2);
}

.data-table table thead {
    background: rgba(66, 220, 255, 0.1);
}

.data-table table th {
    padding: 12px 8px;
    text-align: left;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid rgba(66, 220, 255, 0.3);
}

.data-table table td {
    padding: 10px 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(66, 220, 255, 0.1);
}

.data-table table tbody tr:last-child td {
    border-bottom: none;
}

.data-table table tbody tr:hover {
    background: rgba(66, 220, 255, 0.05);
}

.data-table table tbody tr.expired {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.data-table table tbody tr.expired:hover {
    background: rgba(220, 53, 69, 0.15);
}

.data-table table tbody tr.expired td {
    color: #dc3545;
    font-weight: 600;
}

/* No Subscriptions */
.no-subscriptions {
    text-align: center;
    padding: 20px;
    background: rgba(42, 74, 128, 0.1);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    margin-top: 10px;
}

.no-subscriptions i {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.no-subscriptions p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-value {
    display: flex;
    align-items: center;
}

/* İçerik Bölümleri */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.content-section h2 {
    color: var(--primary-color);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

/* Rank Info Section */
.rank-info-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.rank-info-section h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(66, 220, 255, 0.3);
}

/* Grid Layout for Rank Info */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.column {
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.column:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(66, 220, 255, 0.2);
    border-color: var(--primary-color);
}

.column h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 8px rgba(66, 220, 255, 0.3);
}

/* Rank Progress Section */
.rank-progress-section {
    margin-top: 15px;
}

.rank-progress-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 8px rgba(66, 220, 255, 0.3);
}

.rank-progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rank-progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.rank-progress-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(66, 220, 255, 0.2);
    border-color: var(--primary-color);
}

.rank-progress-item.rank-current {
    margin-left: 50px;
    background: rgba(66, 220, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(66, 220, 255, 0.2);
    width: calc(100% - 50px);
}

.rank-progress-item.rank-next {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.rank-progress-item.rank-previous {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

/* Rank Icon Container (Square) */
.rank-icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 74, 128, 0.2);
    border-radius: 8px;
    flex-shrink: 0;
}

.rank-progress-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

/* Rank Info Container (Rectangle) */
.rank-info-container {
    width: 200px;
    display: flex;
    flex-direction: column;
}

.rank-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-info-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rank-info-name {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-info-name img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.rank-info-points {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 5px;
}

/* Color Variations */
.rank-progress-item.rank-current .rank-info-name {
    color: var(--primary-color);
}

.rank-progress-item.rank-next .rank-info-name {
    color: #28a745;
}

.rank-progress-item.rank-previous .rank-info-name {
    color: #dc3545;
}

/* Arrow Icons */
.rank-arrow {
    font-size: 1.5rem;
}

.rank-arrow.up {
    color: #28a745;
}

.rank-arrow.current {
    color: var(--text-muted);
}

.rank-arrow.down {
    color: #dc3545;
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-secondary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
}

.empty-state.success i {
    color: #28a745;
}

/* Items Section */
.items-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.items-section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    text-align: center;
    text-shadow: 0 0 10px rgba(66, 220, 255, 0.3);
}

.items-container {
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    width: 100%;
}

.items-grid.small {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.item-card {
    background: rgba(42, 74, 128, 0.2);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 220, 255, 0.2);
    border-color: var(--primary-color);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(66, 220, 255, 0.2);
    flex-shrink: 0;
}

.item-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 8px rgba(66, 220, 255, 0.3);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-total {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    margin-left: 10px;
}

.item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-image {
    flex-shrink: 0;
    margin-right: 10px;
}

.item-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(42, 74, 128, 0.2);
    padding: 6px;
    border: 1px solid rgba(66, 220, 255, 0.3);
}

.item-details {
    flex: 1;
}

.item-quantities {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quantity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(42, 74, 128, 0.2);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 6px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.quantity-item:hover {
    background: rgba(66, 220, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.quantity-number {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quantity-level {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .marketplace-container {
        flex-direction: column;
        padding: 15px;
    }

    .marketplace-nav {
        display: none;
    }

    .marketplace-nav.nav-open {
        position: relative;
    }

    .marketplace-nav.nav-open .marketplace-nav-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .marketplace-nav:not(.nav-open) .marketplace-nav-menu {
        display: none;
    }

    .marketplace-content {
        order: 1;
        padding: 20px;
    }

    .account-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .seller-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .marketplace-container {
        padding: 10px;
        gap: 15px;
    }

    .marketplace-nav {
        padding: 15px;
    }

    .marketplace-content {
        padding: 15px;
    }

    .account-info-section {
        padding: 20px;
    }

    .seller-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .seller-discord-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .discord-details {
        flex: 1;
        text-align: center;
    }

    .discord-actions {
        width: 100%;
        justify-content: center;
    }

    .discord-message-btn {
        width: 100%;
        justify-content: center;
    }

    .account-info-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
    }

    /* Three Column Grid - Responsive */
    .three-column-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .marketplace-nav {
        padding: 10px;
    }

    .marketplace-content {
        padding: 10px;
    }

    .account-info-section {
        padding: 15px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .account-info-title {
        font-size: 1.3rem;
    }

    .account-price {
        font-size: 1rem;
        padding: 6px 12px;
    }

    /* Rank Info Responsive */
    .rank-info-section h3 {
        font-size: 1.3rem;
    }

    .three-column-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 15px;
    }

    .column {
        padding: 15px;
    }

    .column h4 {
        font-size: 1.1rem;
    }

    .rank-progress-section {
        padding: 15px;
    }

    .rank-progress-title {
        font-size: 1.1rem;
    }

    .rank-progress-item {
        gap: 10px;
        max-width: 100%;
        padding: 12px;
    }

    .rank-progress-item.rank-current {
        margin-left: 25px;
    }

    .rank-icon-container {
        width: 50px;
        height: 50px;
    }

    .rank-progress-icon {
        width: 32px;
        height: 32px;
    }

    .rank-info-container {
        width: 150px;
    }

    .rank-info-name {
        font-size: 1rem;
    }

    .rank-info-name img {
        width: 18px;
        height: 18px;
    }

    .rank-info-points {
        font-size: 0.85rem;
    }

    .rank-arrow {
        width: 28px;
        height: 28px;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Özel Durumlar */
.sensitive-data {
    position: relative;
}

.sensitive-data::after {
    content: '🔒';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Payment Country and Subscriptions Responsive */
@media (max-width: 768px) {
    .payment-country-flag {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }

    .data-table table th,
    .data-table table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .data-table table th {
        font-size: 0.85rem;
    }

    .no-subscriptions {
        padding: 15px 10px;
    }

    .no-subscriptions i {
        font-size: 1.2rem;
    }

    .no-subscriptions p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .payment-country-flag {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }

    .data-table table th,
    .data-table table td {
        padding: 6px 4px;
        font-size: 0.75rem;
    }

    .data-table table th {
        font-size: 0.8rem;
    }

    .no-subscriptions {
        padding: 12px 8px;
    }

    .no-subscriptions i {
        font-size: 1rem;
    }

    .no-subscriptions p {
        font-size: 0.75rem;
    }
}

/* Generator Groups */
.generator-group {
    margin-bottom: 25px;
}

.generator-group:last-child {
    margin-bottom: 0;
}

.generator-group-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
    padding-bottom: 8px;
}

/* Extra Groups */
.extra-group {
    margin-bottom: 25px;
}

.extra-group:last-child {
    margin-bottom: 0;
}

.extra-group-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
    padding-bottom: 8px;
}

/* Standard Extra Cards (No Level) */
.item-card-standard {
    background: rgba(42, 74, 128, 0.15);
    /* Slightly different background */
    border: 1px solid rgba(66, 220, 255, 0.4);
    /* Slightly different border */
}

.item-card-standard:hover {
    background: rgba(66, 220, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 220, 255, 0.25);
}

/* Speed Generator Cards (No Level) */
.item-card-speed {
    background: rgba(42, 74, 128, 0.15);
    /* Slightly different background */
    border: 1px solid rgba(66, 220, 255, 0.4);
    /* Slightly different border */
}

.item-card-speed:hover {
    background: rgba(66, 220, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 220, 255, 0.25);
}

.item-quantity-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(42, 74, 128, 0.3);
    border: 1px solid rgba(66, 220, 255, 0.4);
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
}

.quantity-total {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 700;
    text-shadow: 0 0 8px rgb(247 147 30 / 40%)
}

/* Items Responsive */
@media (max-width: 1024px) {
    .items-container {
        padding: 15px;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .items-container {
        padding: 12px;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }

    .item-card {
        padding: 10px;
        min-height: 140px;
    }

    .item-header {
        margin-bottom: 8px;
        padding-bottom: 5px;
    }

    .item-name {
        font-size: 0.85rem;
    }

    .item-total {
        font-size: 0.75rem;
    }

    .item-img {
        width: 35px;
        height: 35px;
        padding: 5px;
    }

    .item-quantities {
        gap: 4px;
    }

    .quantity-item {
        padding: 3px 6px;
        font-size: 0.75rem;
    }

    .quantity-number {
        font-size: 0.75rem;
    }

    .quantity-level {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .items-container {
        padding: 10px;
    }

    .items-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .item-card {
        padding: 8px;
        min-height: 120px;
    }

    .item-name {
        font-size: 0.8rem;
    }

    .item-total {
        font-size: 0.7rem;
    }

    .item-img {
        width: 30px;
        height: 30px;
        padding: 4px;
    }

    .item-quantities {
        gap: 3px;
    }

    .quantity-item {
        padding: 2px 5px;
        font-size: 0.7rem;
    }

    .quantity-number {
        font-size: 0.7rem;
    }

    .quantity-level {
        font-size: 0.65rem;
    }
}

/* Show More/Less Card Styles */
.show-more-card {
    background: rgba(42, 74, 128, 0.1);
    border: 2px dashed rgba(66, 220, 255, 0.4);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.show-more-card:hover {
    background: rgba(42, 74, 128, 0.2);
    border-color: rgba(66, 220, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 220, 255, 0.2);
}

.show-more-card.active {
    background: rgba(66, 220, 255, 0.1);
    border-color: rgba(66, 220, 255, 0.8);
}

.show-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.show-more-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.show-more-card:hover .show-more-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.show-more-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.show-more-card:hover .show-more-text {
    color: var(--accent-color);
}

.show-more-count {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: var(--secondary-color);
    background: rgba(66, 220, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(66, 220, 255, 0.3);
    transition: all 0.3s ease;
}

.show-more-card:hover .show-more-count {
    background: rgba(66, 220, 255, 0.3);
    border-color: rgba(66, 220, 255, 0.5);
    color: var(--accent-color);
}

/* Hidden items container */
.hidden-items {
    display: none;
}

/* Domino effect animations */
@keyframes dominoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.8);
    }

    50% {
        opacity: 0.7;
        transform: translateX(-15px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes dominoFadeOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    50% {
        opacity: 0.3;
        transform: translateX(15px) scale(0.9);
    }

    100% {
        opacity: 0;
        transform: translateX(30px) scale(0.8);
    }
}

.domino-item {
    animation: dominoSlideIn 0.25s ease-out forwards;
    opacity: 0;
    transform: translateX(-30px) scale(0.8);
}

.domino-item.fade-out {
    animation: dominoFadeOut 0.2s ease-in forwards;
}

/* Staggered animation delays */
.domino-item:nth-child(1) {
    animation-delay: 0.05s;
}

.domino-item:nth-child(2) {
    animation-delay: 0.1s;
}

.domino-item:nth-child(3) {
    animation-delay: 0.15s;
}

.domino-item:nth-child(4) {
    animation-delay: 0.2s;
}

.domino-item:nth-child(5) {
    animation-delay: 0.25s;
}

.domino-item:nth-child(6) {
    animation-delay: 0.3s;
}

.domino-item:nth-child(7) {
    animation-delay: 0.35s;
}

.domino-item:nth-child(8) {
    animation-delay: 0.4s;
}

.domino-item:nth-child(9) {
    animation-delay: 0.45s;
}

.domino-item:nth-child(10) {
    animation-delay: 0.5s;
}

/* Drone Groups */
.drone-group {
    margin-bottom: 25px;
}

.drone-group:last-child {
    margin-bottom: 0;
}

.drone-group-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
    padding-bottom: 8px;
}

/* Drone Formation Cards (özel tasarım - sık kutucuklar) */
.item-card-formation {
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.4);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 80px;
}

.item-card-formation:hover {
    background: rgba(42, 74, 128, 0.2);
    border-color: rgba(66, 220, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 220, 255, 0.2);
}

.item-card-formation .item-header {
    margin-bottom: 5px;
}

.item-card-formation .item-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.item-card-formation .item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-card-formation .item-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-card-formation .item-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: var(--text-color);
    margin: 0;
    text-align: center;
    line-height: 1.1;
}

/* Drone Formation Grid (sık kutucuklar için) */
.drone-formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

/* Ammunition Groups */
.ammunition-group {
    margin-bottom: 30px;
}

.ammunition-group:last-child {
    margin-bottom: 0;
}

.ammunition-group-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(66, 220, 255, 0.3);
    text-shadow: 0 0 8px rgba(66, 220, 255, 0.3);
}

/* Drone Design Cards (normal tasarım) */
.item-card-drone-design {
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.4);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

.item-card-drone-design:hover {
    background: rgba(42, 74, 128, 0.2);
    border-color: rgba(66, 220, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 220, 255, 0.2);
}

.item-card-drone-design .item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.item-card-drone-design .item-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-card-drone-design .item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-card-drone-design .item-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
    flex: 1;
    line-height: 1.2;
}

.item-card-drone-design .item-total {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: var(--secondary-color);
    background: rgba(66, 220, 255, 0.2);
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(66, 220, 255, 0.3);
    flex-shrink: 0;
}

.item-card-drone-design .item-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-card-drone-design .item-quantity-simple {
    text-align: center;
}

.item-card-drone-design .quantity-total {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Responsive adjustments for show more card */
@media (max-width: 768px) {
    .show-more-card {
        min-height: 100px;
        padding: 15px;
    }

    .show-more-icon {
        font-size: 1.3rem;
    }

    .show-more-text {
        font-size: 0.9rem;
    }

    .show-more-count {
        font-size: 0.8rem;
        padding: 3px 6px;
    }

    /* Drone responsive */
    .drone-formations-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 6px;
    }

    .item-card-formation {
        min-height: 70px;
        padding: 6px;
    }

    .item-card-formation .item-image {
        width: 30px;
        height: 30px;
    }

    .item-card-formation .item-name {
        font-size: 0.7rem;
    }

    .item-card-drone-design {
        min-height: 100px;
        padding: 12px;
    }

    .item-card-drone-design .item-image {
        width: 35px;
        height: 35px;
    }

    .item-card-drone-design .item-name {
        font-size: 0.8rem;
    }

    .item-card-drone-design .item-total {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
}

/* Station Modules Styles */
.station-modules-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* LTM ve RAM yan yana layout */
.ltm-ram-container {
    display: flex;
    gap: 20px;
}

.ltm-section {
    flex: 0 0 calc(60% - 6px);
}

.ram-section {
    flex: 0 0 calc(40% - 9px);
    margin-left: -5px;
}

/* Module Group (LTM ve RAM için) */
.module-group {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.05), rgba(42, 74, 128, 0.05));
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    height: 100%;
}

.module-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(66, 220, 255, 0.3);
}

.module-ranges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Diğer modüller için grid */
.other-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .ltm-ram-container {
        flex-direction: column;
    }

    .ltm-section,
    .ram-section {
        flex: 1;
    }

    .module-group-title {
        font-size: 1.2rem;
    }

    .module-ranges {
        grid-template-columns: 1fr;
    }

    .other-modules-grid {
        grid-template-columns: 1fr;
    }
}

/* Skill Tree Styles */
.skill-tree-section {
    margin-bottom: 40px;
}

.skill-tree-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.skill-tree-info-card {
    background: rgba(42, 74, 128, 0.2);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-tree-info-card:hover {
    background: rgba(42, 74, 128, 0.3);
    border-color: rgba(66, 220, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 220, 255, 0.1);
}

.skill-tree-info-label {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
}

.skill-tree-info-value {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
}

.skill-tree-container {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 70px;
    padding: 40px 50px;
    width: fit-content;
    margin: 0 auto;
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(66, 220, 255, 0.1);
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(66, 220, 255, 0.5) rgba(42, 74, 128, 0.2);
}

/* For Webkit browsers (Chrome, Safari, Edge) */
.skill-tree-container::-webkit-scrollbar {
    height: 6px;
}

.skill-tree-container::-webkit-scrollbar-track {
    background: rgba(42, 74, 128, 0.2);
    border-radius: 3px;
}

.skill-tree-container::-webkit-scrollbar-thumb {
    background: rgba(66, 220, 255, 0.5);
    border-radius: 3px;
}

.skill-tree-container::-webkit-scrollbar-thumb:hover {
    background: rgba(66, 220, 255, 0.7);
}

.skill-tree-group {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 15px;
    align-items: start;
}

.skill-tree-group.right_group {
    grid-template-columns: auto auto auto auto;
}

.skill-tree-column {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 15px;
    justify-items: center;
}

.skill {
    width: 74px;
    height: 74px;
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    background: rgba(42, 74, 128, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.skill:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(66, 220, 255, 0.2);
    z-index: 10;
}

.skill img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.skill.grayscale {
    filter: grayscale(100%) brightness(0.6);
    border-color: rgba(66, 220, 255, 0.2);
    background: rgba(42, 74, 128, 0.1);
}

.skill.grayscale:hover {
    filter: grayscale(80%) brightness(0.8);
    border-color: rgba(66, 220, 255, 0.4);
    box-shadow: 0 4px 15px rgba(66, 220, 255, 0.1);
}

.skill-points {
    position: absolute;
    bottom: 0px;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.9);
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(66, 220, 255, 0.3);
    font-family: 'Exo 2', sans-serif;
}

.skill-points.completed {
    color: #4CAF50;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(66, 220, 255, 0.3);
    font-weight: 600;
}

.skill-popover {
    position: absolute;
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 16px;
    min-width: 220px;
    max-width: 300px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    display: none;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.skill-popover h4 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.skill-popover p {
    margin: 0;
    color: #ccc;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
}

/* Ships Section */
.ships-container {
    padding: 20px 0;
}

.ships-sort-container {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Sort Select Group */
.sort-select-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sort-select-group label {
    color: var(--text-color);
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    white-space: nowrap;
    font-size: 16px;
}

/* Custom Select Styles */
.custom-select-container {
    position: relative;
}

.custom-select {
    position: relative;
    min-width: 300px;
    cursor: pointer;
}

.select-selected {
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.select-selected:hover {
    border-color: var(--primary-color);
}

.custom-select.active .select-selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(66, 220, 255, 0.2);
}

.select-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.select-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.select-text {
    flex: 1;
    color: var(--text-color);
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
}

.select-arrow {
    color: #aaa;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.custom-select.active .select-arrow {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(12, 15, 28);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(10px);
}

.custom-select.active .select-items {
    display: block;
}

.select-item {
    padding: 12px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-item:hover {
    background: rgba(66, 220, 255, 0.1);
}

.select-item-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.select-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.select-item-text {
    color: var(--text-color);
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
}

.select-item-text span {
    font-weight: 700;
    color: var(--accent-color);
}

.select-text span {
    font-weight: 700;
    color: var(--accent-color);
}

/* Ship Search Styles */
.ship-search-container {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.ship-search-input {
    width: 100%;
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    padding: 8px 35px 8px 12px;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ship-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(66, 220, 255, 0.2);
}

.ship-search-input::placeholder {
    color: #888;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
    pointer-events: none;
}

.ships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ship-card {
    background: rgba(42, 74, 128, 0.1);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.ship-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(66, 220, 255, 0.2);
    border-color: var(--primary-color);
}

.ship-card.owned {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.ship-card.not-owned {
    opacity: 0.7;
}

.ship-card.not-owned .ship-card-image {
    filter: grayscale(100%) brightness(0.6);
}

.ship-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ship-name {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    margin: 0;
}

.ship-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
}

.owned-icon {
    color: #4CAF50;
}

.owned-text {
    color: #4CAF50;
}

.not-owned-icon {
    color: #f44336;
}

.not-owned-text {
    color: #f44336;
}

.ship-card-image {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.ship-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.ship-button-group {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

.ship-button-group .designs-btn {
    flex: 1;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ship-button-group .designs-btn:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ship-button-group .designs-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #666;
}

.ship-button-group .modules-btn {
    flex: 1;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ship-button-group .modules-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.ship-values {
    margin-bottom: 20px;
}

.ship-values-empty {
    text-align: center;
    color: #888;
    font-size: 14px;
}

.ship-values-empty i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.ship-value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ship-value-item.active {
    background: rgba(66, 220, 255, 0.15);
    border: 1px solid rgba(66, 220, 255, 0.3);
    box-shadow: 0 0 10px rgba(66, 220, 255, 0.2);
}

.value-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-content {
    flex: 1;
}

.value-label {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 2px;
}

.value-label span {
    font-weight: 700;
    color: var(--accent-color);
}

.value-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 30, 50, 0.98) 0%, rgba(10, 20, 35, 0.98) 100%);
    border: 1px solid rgba(66, 220, 255, 0.4);
    border-radius: 16px;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(66, 220, 255, 0.3);
}

.modal-header h3 {
    color: var(--text-color);
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 20px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    background: rgba(10, 20, 35, 0.5);
    padding: 20px;
    border-radius: 12px;
}

.design-item {
    text-align: center;
    padding: 15px;
    background: rgba(15, 25, 45, 0.8);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.design-item:hover {
    transform: translateY(-2px);
}

.design-image {
    margin-bottom: 10px;
}

.design-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.design-name {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Exo 2', sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skill-tree-container {
        grid-template-columns: auto auto auto;
        gap: 70px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 30px 40px;
        width: 100%;
    }

    .ships-sort-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        justify-content: stretch;
    }

    .sort-select-group {
        width: 100%;
    }

    .custom-select {
        min-width: auto;
        width: 100%;
    }

    .ship-search-container {
        max-width: none;
        width: 100%;
    }

    .ships-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .designs-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
}

.skill-tree-group {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    gap: 15px;
}

.skill-tree-group.right_group {
    grid-template-columns: auto auto auto auto;
}

.skill-tree-column {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 15px;
    justify-items: center;
}

@media (max-width: 768px) {
    .skill-tree-header {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .skill-tree-info-card {
        padding: 12px;
    }

    .skill-tree-info-label {
        font-size: 11px;
    }

    .skill-tree-info-value {
        font-size: 14px;
    }
}

/* Modules Filter Tasarımı */
.modules-filter {
    background: linear-gradient(135deg, rgba(13, 20, 45, 0.9), rgba(5, 10, 25, 0.9));
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: visible;
}

/* Filtre Bölümü */
.filter-section .filter-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Custom Select Tasarımı - Modules için özelleştirilmiş */
.modules-filter .custom-select-container {
    position: relative;
    width: 100%;
    font-family: 'Exo 2', sans-serif;
    overflow: visible;
}

.modules-filter .custom-select-container.hidden {
    opacity: 0;
    user-select: none;
    cursor: default;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modules-filter .custom-select-container label {
    display: block;
    color: #42dcff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modules-filter .select-selected {
    background: linear-gradient(135deg, rgba(5, 10, 25, 0.8), rgba(13, 20, 45, 0.8));
    color: #fff;
    padding: 12px 16px;
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    min-height: 45px;
}

.modules-filter .select-selected:hover {
    border-color: rgba(66, 220, 255, 0.6);
    box-shadow: 0 6px 20px rgba(66, 220, 255, 0.2);
    transform: translateY(-1px);
}

.modules-filter .select-selected:after {
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #42dcff transparent transparent transparent;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.modules-filter .select-selected.select-arrow-active:after {
    transform: translateY(-50%) rotate(180deg);
}

.modules-filter .select-items {
    position: absolute;
    background: linear-gradient(135deg, rgba(13, 20, 45, 0.95), rgba(5, 10, 25, 0.95));
    backdrop-filter: blur(15px);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999999;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(66, 220, 255, 0.3);
    scrollbar-width: thin;
    scrollbar-color: rgba(66, 220, 255, 0.5) rgba(13, 20, 45, 0.7);
    display: none;
}

.modules-filter .select-items:not(.select-hide) {
    display: block;
}

.modules-filter .select-items::-webkit-scrollbar {
    width: 8px;
}

.modules-filter .select-items::-webkit-scrollbar-track {
    background: rgba(13, 20, 45, 0.7);
    border-radius: 4px;
}

.modules-filter .select-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.6), rgba(66, 220, 255, 0.4));
    border-radius: 4px;
}

.modules-filter .select-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.8), rgba(66, 220, 255, 0.6));
}

.modules-filter .select-search {
    padding: 10px;
    border-bottom: 1px solid rgba(66, 220, 255, 0.2);
    margin-bottom: 5px;
}

.modules-filter .select-search input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(5, 10, 25, 0.8);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.modules-filter .select-search input:focus {
    outline: none;
    border-color: rgba(66, 220, 255, 0.7);
    box-shadow: 0 0 10px rgba(66, 220, 255, 0.3);
}

.modules-filter .select-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modules-filter .select-item {
    color: #fff;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(66, 220, 255, 0.1);
}

.modules-filter .select-item.with-icon {
    padding: 5px;
}

.modules-filter .select-item.module-filter img {
    height: 32px;
    width: 32px;
}

.modules-filter .select-item:last-child {
    border-bottom: none;
}

.modules-filter .select-item:hover {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.15), rgba(66, 220, 255, 0.1));
    transform: translateX(3px);
}

.modules-filter .select-item.selected {
    background: linear-gradient(135deg, rgba(66, 220, 255, 0.25), rgba(66, 220, 255, 0.15));
    color: #42dcff;
    font-weight: 600;
}

/* Gemi İkonları */
.ship-icon {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.module-type-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    flex-shrink: 0;
}

.modules-filter .select-item:hover .ship-icon {
    transform: scale(1.1);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .filter-section .filter-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-section .filter-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modules-filter {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .modules-filter {
        padding: 15px;
    }

    .modules-filter .select-selected {
        padding: 10px 12px;
        min-height: 40px;
    }

    .ship-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
}

/* Modules Container Styles */
.modules-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.modules-container.dropdown-open {
    z-index: -1;
}

.modules-container.quantum.dropdown-open {
    z-index: -1 !important;
}

.ship-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: var(--glow-color) 0px 0px 15px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}

.ship-container.dropdown {
    z-index: -1;
}

/* Gemi başlık ve resim düzeni */
.ship-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    position: relative;
    min-height: 80px;
}

.ship-image {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 100px;
    height: 100px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.ship-title {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
    margin: 0 auto;
    text-align: center;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.module-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-header {
    text-align: center;
    font-weight: bold;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.dmg-header {
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.7), rgba(220, 20, 60, 0.7));
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.shd-header {
    background: linear-gradient(45deg, rgba(0, 41, 102, 0.7), rgba(0, 123, 255, 0.7));
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.hp-header {
    background: linear-gradient(45deg, rgba(0, 100, 0, 0.7), rgba(46, 204, 113, 0.7));
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.spc-header {
    background: linear-gradient(45deg, rgba(184, 134, 11, 0.7), rgba(255, 193, 7, 0.7));
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.module-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 90px;
}

.module-item {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.dmg-item {
    border-left: 3px solid rgba(220, 20, 60, 0.8);
}

.shd-item {
    border-left: 3px solid rgba(0, 123, 255, 0.8);
}

.hp-item {
    border-left: 3px solid rgba(46, 204, 113, 0.8);
}

.spc-item {
    border-left: 3px solid rgba(255, 193, 7, 0.8);
}

.module-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.module-status {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 10px;
    background: #ffd700;
    color: #000;
    font-weight: bolder;
    padding: 5px;
    border-radius: 20px;
    text-transform: uppercase;
}

.module-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
}

.module-name {
    font-weight: bold;
    font-size: 1rem;
}

.module-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
}

.stabilized {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.stabilized i {
    font-size: 2rem;
    opacity: 0.4;
}

.module-old-specs-title {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 12px;
    display: block;
    margin: 20px 0 10px 0;
}

.module-old-specs-title span {
    background: rgba(139, 0, 0, 0.7);
    border: 2px solid #b31335 !important;
    box-shadow: 0 0 10px rgb(179 19 53 / 70%) !important;
    padding: 5px 10px;
    border-radius: 20px;
}

.module-new-specs-title span {
    background: rgba(0, 100, 0, 0.7);
    border: 2px solid #28a35d !important;
    box-shadow: 0 0 10px rgb(40 163 93 / 70%) !important;
    padding: 5px 10px;
    border-radius: 20px;
}

.module-new-specs-title {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 12px;
    display: block;
    margin: 24px 0 10px 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
}

.spec-name {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.spec-name img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.spec-value {
    font-weight: bold;
}

.positive {
    color: #4cd137;
}

.negative {
    color: #e84118;
}

/* En iyi modül vurgulama stilleri */
.best-module {
    border: 2px solid gold !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7) !important;
    position: relative;
    z-index: 1;
}

.best-module:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.9) !important;
}

.best-module .module-name::after {
    content: " ★";
    color: gold;
}

.dmg-item.best-module {
    border: 3px solid #b31335 !important;
    box-shadow: 0 0 10px rgb(179 19 53 / 70%) !important;
    background: rgb(179 19 53 / 20%);
}

.shd-item.best-module {
    border: 3px solid #0365d1 !important;
    box-shadow: 0 0 10px rgb(3 101 209 / 70%) !important;
    background: rgb(3 101 209 / 20%);
}

.hp-item.best-module {
    border: 3px solid #28a35d !important;
    box-shadow: 0 0 10px rgb(40 163 93 / 70%) !important;
    background: rgb(40 163 93 / 20%);
}

.spc-item.best-module {
    border: 3px solid #cf9d0b !important;
    box-shadow: 0 0 10px rgb(207 157 11 / 70%) !important;
    background-color: rgb(207 157 11 / 20%);
}

/* Seçili türe sahip olmayan modüller için soluk görünüm */
.dimmed-module {
    opacity: 0.4;
    filter: grayscale(50%);
}

/* Seçili türe sahip modüller için normal görünüm */
.filter-match {
    /*border: 2px solid rgba(255, 215, 0, 0.7);
    background: rgba(255, 215, 0, 0.1);*/
}

/* Filtrelenmiş spec'ler için vurgulama */
.filtered-spec {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 3px;
    padding: 2px;
    font-weight: bold;
}

/* Filtre göstergesi */
.filter-indicator {
    position: absolute;
    top: 25px;
    right: 0;
    font-size: 12px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.modules-filter .filter-loading {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
}

.modules-filter .filter-loading.show {
    display: flex;
}

.modules-filter .filter-loading p {
    font-size: 2rem;
    user-select: none;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 992px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .modules-container.quantum {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .modules-grid {
        grid-template-columns: 1fr !important;
    }

    .ship-header {
        flex-direction: column;
        min-height: 60px;
    }

    .spec-item {
        flex-wrap: wrap;
    }

    .ship-image {
        width: 80px;
        height: 80px;
        top: -20px;
        left: -15px;
    }

    .module-items {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    }
}

/* CSS Variables for modules */
:root {
    --glow-color: rgba(66, 220, 255, 0.3);
    --border-color: rgba(66, 220, 255, 0.2);
    --primary-color: #42dcff;
}

/* Quantum Fluid Cores Grid Layout */
.modules-container.quantum {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.modules-grid.quantum {
    grid-template-columns: repeat(2, 1fr);
}

/* Quantum Core Headers */
.ax-header {
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.7), rgba(220, 20, 60, 0.7));
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.ax-item.best-module {
    border: 3px solid #b31335 !important;
    box-shadow: 0 0 10px rgb(179 19 53 / 70%) !important;
    background: rgb(179 19 53 / 20%);
}

.ax-item {
    border-left: 3px solid rgba(220, 20, 60, 0.8);
}

.df-header {
    background: linear-gradient(45deg, rgba(0, 41, 102, 0.7), rgba(0, 123, 255, 0.7));
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.df-item.best-module {
    border: 3px solid #0365d1 !important;
    box-shadow: 0 0 10px rgb(3 101 209 / 70%) !important;
    background: rgb(3 101 209 / 20%);
}

.df-item {
    border-left: 3px solid rgba(0, 123, 255, 0.8);
}

/* Quantum Core Level Display */
.module-level {
    font-size: 12px;
    text-align: center;
    margin-right: 5px;
}

/* Pet Section */
.pet-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 20px;
    padding: 20px 0;
}

.pet-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
}

.pet-slots-section,
.pet-lasers-section,
.pet-generators-section,
.pet-gears-section,
.pet-protocols-section,
.pet-designs-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h3.pet-section {
    color: var(--primary-color);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* Pet Slots Grid */
.pet-slots-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pet-slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(66, 220, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(66, 220, 255, 0.1);
    transition: all 0.3s ease;
}

.pet-slot-item:hover {
    background: rgba(66, 220, 255, 0.1);
    border-color: rgba(66, 220, 255, 0.2);
    transform: translateY(-2px);
}

.slot-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.slot-count {
    font-weight: 700;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 50px;
    text-align: center;
}

.slots-full {
    color: #4cd137;
    background: rgba(76, 209, 55, 0.1);
}

.slots-partial {
    color: #ffa502;
    background: rgba(255, 165, 2, 0.1);
}

/* Responsive Pet Grid */
@media (max-width: 1200px) {
    .pet-grid {
        grid-template-columns: 1fr 1.5fr 1.5fr;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .pet-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pet-bottom-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pet-slots-section,
    .pet-lasers-section,
    .pet-generators-section,
    .pet-gears-section,
    .pet-protocols-section {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .pet-slots-grid {
        gap: 10px;
    }

    .pet-slot-item {
        padding: 10px 12px;
    }

    .slot-label {
        font-size: 0.9rem;
    }

    .slot-count {
        font-size: 0.9rem;
        min-width: 45px;
    }
}

/* Mobile Bottom Navigation */
.mobile-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 8px 0;
}

.mobile-navbar-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.mobile-navbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    padding: 8px 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 60px;
    flex: 1;
}

.mobile-navbar-item:hover,
.mobile-navbar-item.active {
    color: var(--primary-color);
    background: rgba(66, 220, 255, 0.1);
}

.mobile-navbar-icon {
    font-size: 20px;
    margin-bottom: 4px;
    display: block;
}

.mobile-navbar-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Show mobile navbar on tablets and below */
@media (max-width: 1024px) {
    .mobile-navbar {
        display: block;
    }

    .marketplace-container {
        padding-bottom: 80px;
        /* Space for mobile navbar */
    }
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .mobile-navbar-text {
        font-size: 9px;
    }

    .mobile-navbar-icon {
        font-size: 18px;
    }

    .mobile-navbar-item {
        padding: 6px 2px;
    }
}

@media (max-width: 480px) {
    .mobile-navbar-text {
        font-size: 8px;
    }

    .mobile-navbar-icon {
        font-size: 16px;
    }

    .mobile-navbar-item {
        padding: 4px 1px;
        min-width: 50px;
    }
}

/* Pet Designs */
.pet-designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 15px;
}

.pet-design-card {
    background: rgba(42, 74, 128, 0.2);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pet-design-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(66, 220, 255, 0.3);
}

.pet-design-image {
    margin-bottom: 8px;
    position: relative;
}

.pet-design-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

.design-separator {
    width: 60px;
    height: 1px;
    background: rgba(66, 220, 255, 0.4);
    margin: 8px auto 0;
}

.pet-design-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.2;
    word-wrap: break-word;
}

.design-quantity {
    font-size: 0.7rem;
    color: var(--secondary-color);
    font-weight: 400;
    margin-left: 4px;
}


@media (max-width: 768px) {
    .pet-designs-grid {
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
        gap: 10px;
    }

    .pet-design-card {
        padding: 8px;
    }

    .pet-design-img {
        width: 60px;
        height: 60px;
    }

    .pet-design-name {
        font-size: 0.7rem;
    }
}

/* Nova Section Styles */
.nova-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.nova-card {
    background: var(--card-bg);
    border: 1px solid rgba(66, 220, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.nova-card:hover {
    border-color: rgba(66, 220, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(66, 220, 255, 0.1);
}

.nova-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.nova-title {
    flex: 1;
}

.nova-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-family: 'Exo 2', sans-serif;
}

.nova-separator {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 1px;
}

/* Nova Score Circle Styles */
.nova-score-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nova-score-circle {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.score-background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.score-progress {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: rotate(-90deg);
}

.score-progress-circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease, stroke 0.3s ease;
}

.score-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-text {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Exo 2', sans-serif;
    transition: color 0.3s ease;
}

.score-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nova-perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.perk-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(66, 220, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.perk-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(66, 220, 255, 0.2);
}

.perk-item.honour:after {
    content: '';
    background-image: url('https://darkorbit-22.bpsecure.com/do_img/global/items/currency/honour_100x100.png');
    background-repeat: no-repeat;
    background-position: right;
    position: absolute;
    width: 100px;
    height: 100px;
    top: -5px;
    right: 30%;
    opacity: 0.3;
    transform: rotate(12deg);
}

.perk-item.honour {
    border: 1px solid var(--accent-color);
}

.perk-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.perk-description {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
}

.perk-level {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
}

.perk-level.level-normal {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
}

.perk-level.level-max {
    color: #4cd137;
    background: rgba(76, 209, 55, 0.2);
}

.perk-value-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.perk-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nova-max-value {
    display: inline-block;
    background: #007bff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.perk-base {
    display: flex;
    align-items: center;
    gap: 8px;
}

.base-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.base-indicators {
    display: flex;
    gap: 3px;
}

.base-indicator {
    width: 8px;
    height: 8px;
    border: 1px solid;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.base-indicator.active {
    opacity: 1;
}

.base-indicator:not(.active) {
    opacity: 0.3;
}

/* Responsive Nova Styles */
@media (max-width: 1200px) {
    .nova-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nova-container {
        grid-template-columns: 1fr;
        padding: 15px 0;
        gap: 15px;
    }

    .nova-card {
        padding: 15px;
    }

    .nova-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .nova-title {
        text-align: center;
        width: 100%;
    }

    .nova-name {
        font-size: 1.2rem;
    }

    .nova-score-circle {
        width: 70px;
        height: 70px;
    }

    .score-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nova-card {
        padding: 12px;
    }

    .nova-name {
        font-size: 1.1rem;
    }

    .nova-score-circle {
        width: 60px;
        height: 60px;
    }

    .score-text {
        font-size: 0.9rem;
    }

    .perk-description {
        font-size: 0.9rem;
    }

    .perk-value {
        font-size: 0.9rem;
    }

    .nova-max-value {
        font-size: 0.7rem;
        padding: 1px 4px;
        margin-left: 6px;
    }
}

.last-update {
    font-size: 0.85rem;
    color: rgba(66, 220, 255, 0.7);
    text-align: right;
    gap: 6px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    align-items: center;
}

.column-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.items-section-header {
    display: flex;
    flex-direction: column;
}

.items-section-header h3 {
    margin-bottom: 0;
}

.items-section-header .last-update {
    margin-bottom: 20px;
}

.section-title-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title-header h2 {
    margin-bottom: 0;
    border-bottom: 0;
}

.listing-action-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.account-info-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dostats {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    font-weight: normal;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dostats a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 5px 22px;
}

.dostats:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--glow-color);
}

.dostats:hover a {
    color: var(--background-dark);
}

.account-info-title-group .view-counter {
    color: var(--primary-color);
    padding: 5px 12px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    font-weight: normal;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}