* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: #050718;
    color: #fff;
    min-height: 100vh;
    overflow-y: auto;  /* overflow: hidden yerine */
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* center yerine flex-start */
    position: relative;
    background-image:
        radial-gradient(circle at 20% 35%, rgba(4, 78, 144, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 75% 65%, rgba(143, 27, 219, 0.2) 0%, transparent 40%);
}

/* Nebula effect */
.nebula {
    position: fixed; /* absolute yerine fixed */
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><filter id="n" x="0%" y="0%" width="100%" height="100%"><feTurbulence type="fractalNoise" baseFrequency="0.01" numOctaves="3" /><feColorMatrix values="0 0 0 0.1 0 0 0 0 0.2 0 0 0 0 0.4 0 0 0 0 0.1 0" /></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.5" /></svg>');
    opacity: 0.3;
    z-index: 0;
    top: 0;
    left: 0;
}

.stars-container {
    position: fixed; /* absolute yerine fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.planet {
    position: fixed; /* absolute yerine fixed */
    border-radius: 50%;
    box-shadow: inset -25px -15px 40px rgba(0, 0, 0, .5);
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.6;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: moveStar linear infinite;
}

@keyframes moveStar {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-10px);
    }
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shootingStar linear infinite;
    opacity: 0;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: translateX(-200px) translateY(200px) rotate(45deg);
        opacity: 0;
    }
}

.planet {
    position: absolute;
    border-radius: 50%;
    box-shadow: inset -25px -15px 40px rgba(0, 0, 0, .5);
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.6;
}

.planet-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 10%;
    background-image: radial-gradient(circle at 30% 30%, #4a6baf, #1a2a4a);
    animation: rotate 120s linear infinite;
    position: fixed;
}

.planet-2 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 15%;
    background-image: radial-gradient(circle at 40% 40%, #af4a6b, #4a1a2a);
    animation: rotate 80s linear infinite reverse;
    position: fixed;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.card {
    background-color: rgba(8, 12, 28, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    box-shadow:
        0 0 30px rgba(21, 40, 80, 0.4),
        0 0 60px rgba(10, 20, 40, 0.2),
        inset 0 0 15px rgba(0, 10, 30, 0.3);
    border: 1px solid rgba(30, 40, 80, 0.3);
    z-index: 1;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0a1a30, #152848, #1e2040, #0a1a30);
    z-index: -1;
    border-radius: 22px;
    filter: blur(10px);
    opacity: 0.6;
    animation: glowing 30s linear infinite;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    z-index: -1;
    border-radius: 20px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(to right, #2a4a80, #3a5a9a, #4a6aba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(30, 60, 120, 0.5);
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, #1a3a70, #2a4a80);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    color: #3a5a9a;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

input,
select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(5, 10, 25, 0.7);
    border: 1px solid rgba(30, 40, 80, 0.5);
    border-radius: 8px;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(10, 20, 40, 0.3);
}

input:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(30, 60, 120, 0.5);
    border-color: #2a4a80;
}

select option {
    background-color: #0d142d;
    padding: 10px;
}

.btn {
    background: linear-gradient(45deg, #1a3a70, #2a4a80);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(30, 60, 120, 0.6);
}

.btn:hover::before {
    left: 100%;
}

/* Holographic interface elements */
.holographic-element {
    position: absolute;
    border: 1px solid rgba(30, 60, 120, 0.3);
    border-radius: 5px;
    opacity: 0.5;
    z-index: -1;
}

.holo-1 {
    width: 50px;
    height: 20px;
    top: 20px;
    right: 20px;
    animation: pulse 4s infinite alternate;
}

.holo-2 {
    width: 30px;
    height: 30px;
    bottom: 30px;
    left: 20px;
    animation: pulse 6s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        opacity: 0.2;
        border-color: rgba(20, 40, 80, 0.2);
    }

    100% {
        opacity: 0.6;
        border-color: rgba(40, 60, 100, 0.6);
    }
}

/* Language selector */
.lang-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.lang-selector select {
    background-color: rgba(13, 20, 45, 0.7);
    color: #42dcff;
    border: 1px solid rgba(66, 220, 255, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Exo 2', sans-serif;
    cursor: pointer;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #000;
    color: #42dcff;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #42dcff;
    line-height: 1;
    padding-bottom: 1px;
    /* Soru işaretini dikey olarak ortalamak için */
}

.help-icon:hover {
    background-color: #0d142d;
    box-shadow: 0 0 10px rgba(66, 220, 255, 0.5);
}

.help-popup {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    background-color: rgba(8, 12, 28, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
    border: 1px solid rgba(66, 220, 255, 0.3);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.help-popup-content h3 {
    color: #42dcff;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(66, 220, 255, 0.3);
    padding-bottom: 10px;
}

.help-popup-content p {
    color: #e0e0ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Özel Select Box Stilleri */
.custom-select-container {
    position: relative;
    width: 100%;
    font-family: 'Exo 2', sans-serif;
}

.select-selected {
    background-color: rgba(5, 10, 25, 0.7);
    color: #fff;
    padding: 1rem;
    border: 1px solid rgba(30, 40, 80, 0.5);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(10, 20, 40, 0.3);
    transition: all 0.3s ease;
}

.select-selected:hover {
    border-color: rgba(66, 220, 255, 0.5);
    box-shadow: 0 0 15px rgba(30, 60, 120, 0.4);
}

.select-selected:after {
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: calc(50% - 5px);
}

.select-items {
    position: absolute;
    background-color: rgba(13, 20, 45, 0.95);
    backdrop-filter: blur(10px);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(30, 40, 80, 0.5);
    scrollbar-width: thin;
    scrollbar-color: rgba(66, 220, 255, 0.5) rgba(13, 20, 45, 0.7);
}

.select-items::-webkit-scrollbar {
    width: 8px;
}

.select-items::-webkit-scrollbar-track {
    background: rgba(13, 20, 45, 0.7);
    border-radius: 4px;
}

.select-items::-webkit-scrollbar-thumb {
    background-color: rgba(66, 220, 255, 0.5);
    border-radius: 4px;
}

.select-hide {
    display: none;
}

.select-item {
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.select-item:hover {
    background-color: rgba(66, 220, 255, 0.1);
}

.select-item.selected {
    background-color: rgba(66, 220, 255, 0.2);
}

.server-flag {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.select-group {
    border-bottom: 1px solid rgba(30, 40, 80, 0.5);
}

.select-group:last-child {
    border-bottom: none;
}

.select-group-title {
    color: #42dcff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 10px 15px;
    background-color: rgba(13, 20, 45, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.select-search {
    margin-bottom: 10px;
}

.select-search input {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(5, 10, 25, 0.7);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
}

.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);
}

/* Disabled buton stili */
.btn.disabled {
    background: linear-gradient(45deg, #3a3a3a, #5a5a5a);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    pointer-events: none;
    box-shadow: none;
}

.btn.disabled::before {
    display: none;
}

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.premium-requirement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.premium-alert {
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

.premium-alert i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.premium-alert h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.premium-alert p {
    font-family: 'Exo 2', sans-serif;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.premium-alert .back-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.premium-alert .back-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.shop-header {
    text-align: center;
    margin-bottom: 30px;
}

.shop-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--glow-color);
}

.shop-header p {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.8;
}

.shop-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.shop-item {
    position: relative;
    display: block;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--glow-color);
}

.shop-item.available {
    text-decoration: none;
    cursor: pointer;
}

.shop-item.available:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--glow-color);
    border-color: var(--primary-color);
}

.shop-item.unavailable {
    background-color: #333;
    border-color: #555;
    box-shadow: none;
    cursor: default;
    opacity: 0.7;
}

.shop-item-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-item-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 5px var(--glow-color);
}

.shop-item-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.9rem;
    z-index: 3;
}

.available .shop-item-status {
    color: #4caf50;
}

.unavailable .shop-item-status {
    color: #f44336;
}

.shop-item-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 70%;
    /* 50%'den 70%'e çıkarıldı */
    height: 70%;
    /* 50%'den 70%'e çıkarıldı */
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
    opacity: 0.2;
    transform: rotate(10deg);
    z-index: 1;
}

.shop-item.available:hover .shop-item-icon {
    opacity: 0.3;
}

@media (max-width: 1200px) {
    .shop-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .shop-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .shop-items {
        grid-template-columns: 1fr;
    }
}

/* Header Navigation Styles */
.header-navigation {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.back-button {
    flex: 0 0 auto;
}

/* Button Group Styles */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .header-navigation {
        align-items: center;
        justify-content: space-between;
    }

    .button-group {
        width: auto;
        margin-left: auto;
    }
}

/* Header Button Styles */
.header-button {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    border: none;
    flex: 0 1 auto;
    min-width: 160px;
}

.header-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.header-button:hover {
    background: var(--hover-bg);
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-2px);
}

/* Disabled Header Button */
.header-button[disabled],
.header-button.disabled {
    background: #444;
    border-bottom-color: #666;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.header-button[disabled]:hover,
.header-button.disabled:hover {
    background: #444;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
    transform: none;
}

.header-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.header-button:hover {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-2px);
}

/* Background color variations - daha yumuşak tonlar */
.bg-yellow {
    background: rgba(102, 82, 0, 0.2) !important; /* Daha koyu ve yumuşak sarı */
    border-bottom: 2px solid rgba(204, 164, 0, 0.8) !important;
    box-shadow: 0 0 15px rgba(204, 164, 0, 0.3) !important;
}

.bg-yellow:hover {
    background: rgba(102, 82, 0, 0.8) !important;
    box-shadow: 0 0 20px rgba(204, 164, 0, 0.4) !important;
}

.bg-red {
    background: rgba(188, 3, 3, 0.2) !important;
    border-bottom: 2px solid rgba(255, 0, 0, 0.8) !important;
    box-shadow: 0 0 15px rgba(204, 0, 0, 0.3) !important;
}

.bg-red:hover {
    background: rgba(188, 3, 3, 0.4) !important;
    box-shadow: 0 0 15px rgba(204, 0, 0, 0.4) !important;
}

.bg-green {
    background: rgba(0, 82, 41, 0.3) !important; /* Daha koyu ve yumuşak yeşil */
    border-bottom: 2px solid rgba(0, 164, 82, 0.8) !important;
    box-shadow: 0 0 15px rgba(0, 164, 82, 0.3) !important;
}

.bg-green:hover {
    background: rgba(0, 82, 41, 0.8) !important;
    box-shadow: 0 0 20px rgba(0, 164, 82, 0.4) !important;
}

.bg-blue {
    background: rgba(0, 41, 102, 0.3) !important; /* Koyu ve yumuşak mavi */
    border-bottom: 2px solid rgba(0, 123, 255, 0.8) !important;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3) !important;
}

.bg-blue:hover {
    background: rgba(0, 41, 102, 0.8) !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4) !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .button-group {
        grid-template-columns: 1fr;
    }

    .header-button {
        padding: 10px 15px;
        font-size: 0.9em;
        min-width: 140px;
        max-width: none;
        width: 100%;
    }

    .header-button i {
        font-size: 1.1em;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .button-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .button-group {
        gap: 5px; /* Daha az boşluk */
    }

    .header-button {
        padding: 8px 12px;
        font-size: 0.8em;
    }
}

/* Boş durum (empty state) stilleri */
.empty-state-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem;
}

.empty-state-card {
    background: rgba(8, 12, 28, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 30px rgba(255, 59, 48, 0.2);
    border: 1px solid rgba(255, 59, 48, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.empty-state-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff3b30, #ff9500, #ff3b30);
    z-index: -1;
    border-radius: 22px;
    filter: blur(10px);
    opacity: 0.3;
    animation: glowing 30s linear infinite;
}

.empty-state-icon {
    font-size: 3rem;
    color: #ff3b30;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

.empty-state-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ff3b30;
    text-shadow: 0 0 10px rgba(255, 59, 48, 0.3);
}

.empty-state-content {
    color: #e0e0ff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-state-content p {
    margin-bottom: 1rem;
}

.empty-state-action {
    margin-top: 1.5rem;
}

.action-button {
    background: linear-gradient(45deg, rgba(0, 41, 102, 0.7), rgba(0, 123, 255, 0.7));
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}

.action-button i {
    margin-right: 8px;
}

.action-button:hover {
    background: linear-gradient(45deg, rgba(0, 41, 102, 0.9), rgba(0, 123, 255, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.action-button[disabled],
.action-button.disabled {
    background: linear-gradient(45deg, #555, #777);
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
}

.action-button[disabled]:hover,
.action-button.disabled:hover {
    background: linear-gradient(45deg, #555, #777);
    transform: none;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
}

@media (max-width: 768px) {
    .empty-state-card {
        padding: 2rem;
    }

    .empty-state-icon {
        font-size: 2.5rem;
    }

    .empty-state-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .shop-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .shop-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .shop-items {
        grid-template-columns: 1fr;
    }
}

.header-navigation {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.back-button {
    flex: 0 0 auto;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .header-navigation {
        align-items: center;
        justify-content: space-between;
    }

    .button-group {
        width: auto;
        margin-left: auto;
    }
}

.header-button {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    border: none;
    flex: 0 1 auto;
    min-width: 160px;
}

.header-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.header-button:hover {
    background: var(--hover-bg);
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-2px);
}

.header-button[disabled],
.header-button.disabled {
    background: #444;
    border-bottom-color: #666;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.header-button[disabled]:hover,
.header-button.disabled:hover {
    background: #444;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
    transform: none;
}

.header-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.header-button:hover {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-2px);
}

.bg-yellow {
    background: rgba(102, 82, 0, 0.2) !important; /* Daha koyu ve yumuşak sarı */
    border-bottom: 2px solid rgba(204, 164, 0, 0.8) !important;
    box-shadow: 0 0 15px rgba(204, 164, 0, 0.3) !important;
}

.bg-yellow:hover {
    background: rgba(102, 82, 0, 0.8) !important;
    box-shadow: 0 0 20px rgba(204, 164, 0, 0.4) !important;
}

.bg-green {
    background: rgba(0, 82, 41, 0.3) !important; /* Daha koyu ve yumuşak yeşil */
    border-bottom: 2px solid rgba(0, 164, 82, 0.8) !important;
    box-shadow: 0 0 15px rgba(0, 164, 82, 0.3) !important;
}

.bg-green:hover {
    background: rgba(0, 82, 41, 0.8) !important;
    box-shadow: 0 0 20px rgba(0, 164, 82, 0.4) !important;
}

.bg-blue {
    background: rgba(0, 41, 102, 0.3) !important; /* Koyu ve yumuşak mavi */
    border-bottom: 2px solid rgba(0, 123, 255, 0.8) !important;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3) !important;
}

.bg-blue:hover {
    background: rgba(0, 41, 102, 0.8) !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4) !important;
}

@media (max-width: 768px) {
    .button-group {
        grid-template-columns: 1fr;
    }

    .header-button {
        padding: 10px 15px;
        font-size: 0.9em;
        min-width: 140px;
        max-width: none;
        width: 100%;
    }

    .header-button i {
        font-size: 1.1em;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .button-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .button-group {
        gap: 5px;
    }

    .header-button {
        padding: 8px 12px;
        font-size: 0.8em;
    }
}

/* Modules Container Styles */
.modules-filter-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--glow-color) 0px 0px 15px;
    border: 1px solid var(--border-color);
}

.modules-date-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.module-date-select,
.module-compare-date-select {
    flex: 1;
    min-width: 200px;
}

.module-action-button {
    background: linear-gradient(45deg, rgba(255, 165, 0, 0.7), rgba(255, 215, 0, 0.7));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.module-action-button:hover {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.7), rgba(255, 165, 0, 0.7));
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.module-action-button.end-compare {
    background: linear-gradient(45deg, rgba(220, 20, 60, 0.7), rgba(139, 0, 0, 0.7));
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

.module-action-button.end-compare:hover {
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.7), rgba(220, 20, 60, 0.7));
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

.modules-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ship-filter-select,
.module-type-select,
.sort-select {
    flex: 1;
    min-width: 200px;
}

/* 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;
}

/* Tarih Seçici Bölümü */
.date-filter-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(66, 220, 255, 0.1);
}

.date-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: end;
}

/* Filtre Bölümü */
.filter-section .filter-items {
    display: grid;
    grid-template-columns: repeat(3, 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: 99999;
    max-height: 300px;
    overflow-y: auto;
    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);
}

.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;
}

.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) {
    .date-selectors {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .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;
    }
}

/* Ship Loading Styles */
.ship-loading {
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(5, 7, 24, 0.95), rgba(13, 20, 45, 0.95));*/
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.ship-loading.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #42dcff;
    text-shadow: 0 0 20px rgba(66, 220, 255, 0.6);
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(8, 12, 28, 0.9), rgba(5, 10, 25, 0.9));
    border: 2px solid rgba(66, 220, 255, 0.3);
    border-radius: 20px;
    box-shadow:
        0 0 30px rgba(66, 220, 255, 0.2),
        inset 0 0 20px rgba(0, 10, 30, 0.3);
    position: relative;
    overflow: hidden;
}

.loading-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(66, 220, 255, 0.1),
        rgba(0, 150, 255, 0.2),
        rgba(66, 220, 255, 0.1));
    z-index: -1;
    border-radius: 22px;
    animation: loadingGlow 3s linear infinite;
}

.loading-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(66, 220, 255, 0.2),
        transparent);
    animation: loadingSweep 2s linear infinite;
}

.loading-text i {
    font-size: 1.8rem;
    color: #42dcff;
    animation: loadingSpin 1s linear infinite;
    filter: drop-shadow(0 0 10px rgba(66, 220, 255, 0.8));
}

/* Loading Animations */
@keyframes loadingGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes loadingSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes loadingSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Holographic loading effects */
.ship-loading::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(66, 220, 255, 0.6),
        transparent);
    animation: hologramLine1 4s linear infinite;
}

.ship-loading::after {
    content: '';
    position: absolute;
    bottom: 30%;
    right: 15%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 150, 255, 0.4),
        transparent);
    animation: hologramLine2 3s linear infinite reverse;
}

@keyframes hologramLine1 {
    0%, 100% {
        opacity: 0;
        transform: translateX(-20px);
    }
    50% {
        opacity: 1;
        transform: translateX(20px);
    }
}

@keyframes hologramLine2 {
    0%, 100% {
        opacity: 0;
        transform: translateX(20px);
    }
    50% {
        opacity: 1;
        transform: translateX(-20px);
    }
}

/* Responsive Design for Ship Loading */
@media (max-width: 768px) {
    .loading-text {
        font-size: 1.2rem;
        padding: 25px 30px;
        margin: 0 20px;
    }

    .loading-text i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .loading-text {
        font-size: 1rem;
        padding: 20px 25px;
        margin: 0 15px;
        flex-direction: column;
        gap: 10px;
    }

    .loading-text i {
        font-size: 1.3rem;
    }
}

/* Ship List Container */
.ship-list-container {
    display: none;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Search Section */
.ship-search-section {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.ship-search-input {
    background: rgba(20, 25, 35, 0.9);
    border: 1px solid rgba(66, 220, 255, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    width: 250px;
    transition: all 0.3s ease;
}

.ship-search-input:focus {
    outline: none;
    border-color: rgba(66, 220, 255, 0.7);
    box-shadow: 0 0 10px rgba(66, 220, 255, 0.3);
}

.ship-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Ship List Grid */
.ship-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    justify-content: center;
}

.ship-card {
    background: linear-gradient(145deg, rgba(25, 35, 50, 0.95), rgba(35, 45, 65, 0.9));
    border: 1px solid rgba(60, 70, 90, 0.6);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ship-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    border-color: rgba(66, 220, 255, 0.8);
}

/* Plus Ship (Bronze) Styling */
.ship-card.plus-ship {
    background: linear-gradient(145deg, rgba(80, 60, 40, 0.95), rgba(100, 75, 50, 0.9));
    border-color: rgba(160, 120, 80, 0.6);
}

.ship-card.plus-ship:hover {
    border-color: rgba(218, 165, 32, 0.8);
}

/* Active Ship (Yellow Border) */
.ship-card.active-ship {
    border: 2px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Ship Name */
.ship-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Ship Image Container */
.ship-image-container {
    margin: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    position: relative;
    flex: 1;
}

.ship-image-for-inventory {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.ship-card:hover .ship-image-for-inventory {
    transform: scale(1.05);
}

.clear-btn {
    background: rgba(255, 66, 66, 0.4);
    color: #ff9999;
    border: 1px solid rgba(255, 66, 66, 0.4);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.clear-btn:hover {
    background: rgba(255, 66, 66, 0.3);
    border-color: rgba(255, 66, 66, 0.7);
}

.ship-card.plus-ship .clear-btn {
    background: rgba(255, 66, 66, 0.4);
    color: #DAA520;
    border-color: rgba(218, 165, 32, 0.4);
}

.ship-card.plus-ship .clear-btn:hover {
    background: rgba(255, 66, 66, 0.3);
    border-color: rgba(218, 165, 32, 0.7);
}

/* Manage Button */
.manage-btn {
    background: rgba(66, 220, 255, 0.2);
    color: #42dcff;
    border: 1px solid rgba(66, 220, 255, 0.4);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manage-btn:hover {
    background: rgba(66, 220, 255, 0.3);
    border-color: rgba(66, 220, 255, 0.7);
}

.manage-btn:active, .clear-btn:active {
    transform: translateY(1px);
}

.manage-btn:disabled, .clear-btn:disabled {
    background: rgba(100, 100, 100, 0.2) !important;
    color: rgba(150, 150, 150, 0.7) !important;
    border-color: rgba(100, 100, 100, 0.3) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
    transform: none !important;
}

.manage-btn:disabled:hover, clear-btn:disabled:hover {
    background: rgba(100, 100, 100, 0.2) !important;
    border-color: rgba(100, 100, 100, 0.3) !important;
    transform: none !important;
}

/* Plus Ship Manage Button */
.ship-card.plus-ship .manage-btn {
    background: rgba(218, 165, 32, 0.2);
    color: #DAA520;
    border-color: rgba(218, 165, 32, 0.4);
}

.ship-card.plus-ship .manage-btn:hover {
    background: rgba(218, 165, 32, 0.3);
    border-color: rgba(218, 165, 32, 0.7);
}

.ship-card.plus-ship .manage-btn:disabled, .ship-card.plus-ship .clear-btn:disabled {
    background: rgba(100, 100, 100, 0.2) !important;
    color: rgba(150, 150, 150, 0.7) !important;
    border-color: rgba(100, 100, 100, 0.3) !important;
}


/* Favorite Star Badge */
.favorite-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #FFD700;
    color: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

/* Plus Ship Badge */
.plus-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #DAA520;
    color: #000;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ship-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .ship-list-container {
        padding: 15px;
    }

    .ship-search-section {
        justify-content: center;
        margin-bottom: 15px;
    }

    .ship-search-input {
        width: 200px;
    }

    .ship-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .ship-card {
        padding: 12px;
        min-height: 140px;
    }

    .ship-name {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .ship-image-container {
        height: 60px;
        margin: 6px 0;
    }

    .ship-image {
        max-width: 60px;
        max-height: 60px;
    }

    .manage-btn {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .ship-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .ship-search-input {
        width: calc(100% - 30px);
        max-width: 250px;
    }
}

/* Animasyonlar */
@keyframes selectSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modules-filter .select-items:not(.select-hide) {
    animation: selectSlideDown 0.3s ease;
}

/* Glow efekti */
.modules-filter .custom-select-container:focus-within .select-selected {
    border-color: rgba(66, 220, 255, 0.8);
    box-shadow: 0 0 20px rgba(66, 220, 255, 0.3);
}



.modules-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.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; /* Gemi başlığı için minimum yükseklik */
}

.ship-image {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 100px; /* Büyütülmüş boyut */
    height: 100px; /* Büyütülmüş boyut */
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--primary-color));
}
.ship-image-for-inventory {
    width: 100px; /* Büyütülmüş boyut */
    height: 100px; /* Büyütülmüş boyut */
    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; /* Yatay olarak ortala */
    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: 10px;
}

.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;
}

.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-old-specs-title {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 12px;
    display: block;
    margin: 20px 0 10px 0;
}

.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;
}

/* Priority Settings Styles */
.priority-settings-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
    gap: 10px;
}

.priority-settings-container label {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.priority-select {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 123, 255, 0.5);
    border-radius: 5px;
    color: #fff;
    padding: 8px 15px;
    font-size: 1rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.priority-select:hover, .priority-select:focus {
    border-color: rgba(0, 123, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    outline: none;
}

.priority-select option {
    background-color: #1a1a2e;
    color: #fff;
}

/* Responsive design */
@media (max-width: 992px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .ship-header {
        flex-direction: column;
        min-height: 60px;
    }

    .ship-image {
        width: 80px;
        height: 80px;
        top: -20px;
        left: -15px;
    }

    .priority-settings-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .priority-select {
        width: 100%;
    }
}

.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;
}

.module-header {
    position: relative;
}

.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;
}

.repair-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 15vw, 110px), 1fr));
    gap: 12px;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.repair-grid .module {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--glow-color);
    padding: 15px 0;
    text-align: center;
}

.repair-grid button {
    border-radius: 5px;
    background: rgba(0, 41, 102, 0.3) !important;
    border-bottom: 2px solid rgba(0, 123, 255, 0.8) !important;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3) !important;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    color: #fff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.9em;
    cursor: pointer;
    border: none;
    flex: 0 1 auto;
    min-width: 100px;
    margin: 20px 15px 0 15px;
    gap: 5px;
}

.repair-grid button:hover {
    background: rgba(0, 41, 102, 0.8) !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4) !important;
    transform: translateY(-2px);
}

.repair-grid button[disabled], .repair-grid buttonn.disabled {
    background: #444;
    border-bottom-color: #666;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.repair-grid button[disabled]:hover, .repair-grid button.disabled:hover {
    background: #444;
    box-shadow: 0 0 5px rgba(100, 100, 100, 0.3);
    transform: none;
}

.repair-grid button .button-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
