/* Modern Dark Theme Styles */

body {
    background-image: url('/files/images/dominara-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}


.modern-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 1rem 1rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Ana mağaza container - tüm bölümleri birleştirir */
.magaza-main-container {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border-radius: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.magaza-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.hero-section {
    background: transparent;
    padding: 1rem 1.25rem 0.75rem;
    border-radius: 0;
    margin-bottom: 0;
    border: none;
    backdrop-filter: none;
    text-align: center;
    position: relative;
    overflow: visible;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
    animation: gradient-shift 3s ease infinite;
    letter-spacing: 0.5px;
}

/* Butonlar için z-index düzeltmesi */
.hero-section>* {
    position: relative;
    z-index: 2;
}

.hero-section button {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    min-width: 160px !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-sizing: border-box !important;
    margin-top: 0.5rem !important;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: #a3a3a3;
    max-width: 600px;
    margin: 0 auto 0.75rem;
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.hero-section-icon {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.8;
    animation: none;
    transform: none;
}

.search-section {
    background: transparent;
    border-radius: 0;
    padding: 2rem 1.25rem;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: none;
    display: grid;
    place-items: center;
    place-content: center;
    box-sizing: border-box;
    min-height: 250px;
    text-align: center;
}

.search-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.search-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    width: 100%;
}

.search-section-title i {
    font-size: 0.9rem;
    color: #f59e0b;
}

.search-section-title h2 {
    font-size: 0.95rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.search-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    align-items: center;
    margin: 0;
}

.search-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: 0 0 auto;
}

.filter-label {
    color: #a3a3a3;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    background: #0a0a0a;
    border: 2px solid #374151;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    height: 2.5rem;
    box-sizing: border-box;
}

.filter-select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.filter-select:hover {
    border-color: #f59e0b;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: #0a0a0a;
    border: 2px solid #374151;
    border-radius: 0.75rem;
    color: #ffffff;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.search-input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Modern Items Grid - Revolutionary Design */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 60vh;
    align-items: start;
    box-sizing: border-box;
}

/* Items section wrapper */
.items-section-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Empty state veya loading olduğunda dikey ortalama */
.items-grid:has(.empty-state),
.items-grid.has-empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
}

@media (min-width: 1400px) {
    .items-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile Grid Override */
@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Modern Item Card - Revolutionary Design */
.item-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 40px rgba(245, 158, 11, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(245, 158, 11, 0.3) inset,
        0 0 40px rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.4);
}

.item-card:hover::before {
    opacity: 1;
}

.item-card-header {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    overflow: hidden;
}

.item-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.item-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.item-emoji {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.item-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem;
    margin-bottom: 0.625rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.item-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card:hover .item-info::before {
    opacity: 1;
}

.seller-info {
    margin-bottom: 0.75rem;
}

.item-info:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateX(3px);
}

.item-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a3a3a3;
    font-size: 0.9rem;
    font-weight: 500;
}

.item-info-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.625rem;
    position: relative;
    overflow: hidden;
}

.seller-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card:hover .seller-info::before {
    opacity: 1;
}

.seller-info:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateX(3px);
}

.seller-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #374151;
}

.seller-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.price-info {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.price-info::before {
    background: linear-gradient(180deg, #f59e0b, transparent);
}

.item-card:hover .price-info::before {
    opacity: 1;
}

.price-info:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.12) 100%);
    border-color: rgba(245, 158, 11, 0.4);
}

.price-value {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.875rem;
    margin: 0;
    padding: 1rem 1.25rem;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    flex-direction: column;
    box-sizing: border-box;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    min-width: 100px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    box-sizing: border-box;
}

.pagination-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #a3a3a3;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    order: -1;
}

.empty-state {
    text-align: center;
    padding: 2rem 1.5rem;
    color: #a3a3a3;
    background: transparent;
    border-radius: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    box-sizing: border-box;
}

/* Loading state için özel stil */
.loading-state {
    width: 100% !important;
    max-width: 100% !important;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

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

/* Loading spinner */
.empty-state .spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-radius: 1.25rem;
    padding: 1.75rem;
    max-width: 450px;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(20px);
    position: relative;
    animation: slideUp 0.3s ease;
    overflow: visible;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: #a3a3a3;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-body {
    margin-bottom: 1.5rem;
    overflow: visible;
}

.modal-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-info-label {
    color: #a3a3a3;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-info-value {
    color: #ffffff;
    font-weight: 600;
}

.modal-input-group {
    margin-bottom: 1.5rem;
}

.modal-label {
    display: block;
    color: #a3a3a3;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Number input spinner'ları kaldır */
.modal-input[type="number"]::-webkit-inner-spin-button,
.modal-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modal-input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.modal-input:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Custom Dropdown Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.custom-select-display {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.5rem;
}

.custom-select-display:hover {
    border-color: #f59e0b;
    background: rgba(255, 255, 255, 0.08);
}

.custom-select-display.active {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.custom-select-display .selected-emoji {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.custom-select-display .selected-text {
    flex: 1;
}

.custom-select-display .select-arrow {
    transition: transform 0.2s ease;
}

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

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(30, 30, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-top: 0.25rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

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

.custom-select-option {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.custom-select-option.selected {
    background: rgba(245, 158, 11, 0.15);
    border-left: 3px solid #f59e0b;
}

.custom-select-option .option-emoji {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.custom-select-option .option-text {
    flex: 1;
    color: #ffffff;
}

.custom-select-option .option-miktar {
    color: #a3a3a3;
    font-size: 0.9rem;
}

.modal-total {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-total-label {
    color: #a3a3a3;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.modal-total-value {
    color: #f59e0b;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.modal-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    min-width: 140px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    box-sizing: border-box;
}

.modal-btn-primary {
    background: #f59e0b;
    color: white;
}

.modal-btn-primary:hover:not(:disabled) {
    background: #d97706;
    transform: translateY(-2px);
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ekonomi Durumu Bar */
/* Modern Ekonomi Bar - Revolutionary Design */
.ekonomi-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ekonomi-bar-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 60px rgba(245, 158, 11, 0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ekonomi-bar-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0.6;
}

.ekonomi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    justify-content: center;
}

.ekonomi-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ekonomi-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(245, 158, 11, 0.3) inset,
        0 0 30px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
}

.ekonomi-item:hover::before {
    opacity: 1;
}

.ekonomi-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.ekonomi-item:hover .ekonomi-icon {
    transform: scale(1.1) rotate(5deg);
}

.ekonomi-label {
    font-size: 0.875rem;
    color: #a3a3a3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.ekonomi-value {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #ffffff 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
    .ekonomi-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }

    .ekonomi-item {
        min-height: 100px;
        padding: 1rem 0.75rem;
    }

    .ekonomi-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .ekonomi-label {
        font-size: 0.75rem;
    }

    .ekonomi-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ekonomi-bar-inner {
        grid-template-columns: 1fr;
    }
}

/* Transfer Modal Styles - Same as other pages */
.transfer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.transfer-modal.active {
    display: flex;
}

.transfer-modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(15px);
}

.transfer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.transfer-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.transfer-modal-close {
    background: none;
    border: none;
    color: #a3a3a3;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.transfer-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.transfer-direction-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.transfer-direction-btn {
    flex: 1;
    padding: 0.75rem;
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.transfer-direction-btn.active {
    background: #f59e0b;
    border-color: #f59e0b;
}

.transfer-direction-btn:hover:not(.active) {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.transfer-amount-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.transfer-amount-input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.transfer-submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.transfer-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.transfer-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modern Transfer Design */
.ekonomi-item-with-transfer {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
}

.ekonomi-item-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.ekonomi-kasa {
    font-size: 0.8rem;
    color: #a3a3a3;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

.ekonomi-kasa span {
    color: #f59e0b;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.transfer-btn-small {
    margin-top: 0.25rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 0.75rem;
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.transfer-btn-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.transfer-btn-small:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 20px rgba(245, 158, 11, 0.4),
        0 0 0 2px rgba(245, 158, 11, 0.2) inset;
    border-color: #f59e0b;
}

.transfer-btn-small:hover::before {
    width: 300px;
    height: 300px;
}

.transfer-btn-small:active {
    transform: translateY(-1px) scale(1.02);
}

/* Item Card Footer - Action Buttons */
.item-card-footer {
    padding: 1.25rem 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.item-action-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-purchase-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.item-purchase-btn:hover {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.item-purchase-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.item-withdraw-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.item-withdraw-btn:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.item-withdraw-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

/* Kart hover efekti - sadece hafif yükseltme (artık kart tıklanabilir değil, sadece buton) */
.item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Kartlar artık tıklanabilir değil, sadece butonlar tıklanabilir */
.item-card.purchasable,
.item-card.withdrawable {
    cursor: default;
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {

    /* Hero Section Mobile */
    .hero-section {
        padding: 1.5rem 0;
        margin: 0.5rem;
        border-radius: 0.75rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 2vw, 1rem);
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Search Section Mobile */
    .search-section {
        margin: 1rem 0.5rem;
        padding: 1.5rem 1rem;
        max-width: 100%;
        border-radius: 0.75rem;
        min-height: 220px;
    }

    .search-controls {
        max-width: 100%;
        gap: 0.75rem;
    }

    .search-row {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .search-input {
        max-width: 100%;
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* Item Card Footer - Mobile */
    .item-card-footer {
        padding: 0.75rem;
    }

    .item-action-btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }

    .filter-group {
        min-width: 100%;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .filter-select {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Items Grid Mobile - Override */
    .items-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 0.25rem !important;
        max-width: 100% !important;
        margin: 0 !important;
        min-height: 60vh !important;
        align-items: center !important;
    }

    .items-grid:has(.empty-state),
    .items-grid.has-empty-state {
        justify-content: center !important;
    }

    .item-card {
        margin: 0.5rem 0 !important;
        border-radius: 0.5rem;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 650px !important;
        height: auto !important;
        overflow: hidden !important;
    }

    .item-card-header {
        padding: 0.5rem;
        flex-shrink: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .item-name {
        font-size: 0.9rem;
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .item-name h3 {
        margin: 0;
        font-size: inherit;
        display: flex;
        align-items: center;
        line-height: 1;
    }

    .item-emoji {
        width: 1.5rem;
        height: 1.5rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .item-content {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: flex-start;
        min-height: 600px;
        overflow: hidden;
    }

    .item-info {
        padding: 1.25rem 1.5rem;
        margin-bottom: 1rem;
        border-radius: 0.5rem;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem;
        width: 100%;
        min-height: 6rem;
        overflow: hidden;
    }

    .item-info-label {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .item-info-value {
        font-size: 1rem;
        text-align: right;
        flex: 1;
    }

    .seller-info {
        padding: 1.25rem 1.5rem;
        margin-bottom: 1rem;
        border-radius: 0.5rem;
        display: flex !important;
        align-items: center;
        gap: 1.25rem;
        font-size: 1rem;
        width: 100%;
        min-height: 6rem;
        overflow: hidden;
    }

    .seller-avatar {
        width: 3rem;
        height: 3rem;
        flex-shrink: 0;
    }

    .seller-name {
        font-size: 1rem;
        flex: 1;
    }

    /* Pagination Mobile */
    .pagination {
        margin: 1.5rem 0.5rem;
        padding: 1rem;
        border-radius: 0.75rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .pagination-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .pagination-info {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    /* Empty State Mobile */
    .empty-state {
        margin: 1rem 0.5rem;
        padding: 2rem 1rem;
        border-radius: 0.75rem;
    }

    .empty-state h3 {
        font-size: 1.2rem;
    }

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

    /* Modal Mobile */
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-info-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .modal-total-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {

    /* Extra Small Mobile */
    .hero-section {
        margin: 0.25rem;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }

    .search-section {
        margin: 0.75rem 0.25rem;
        padding: 0.75rem;
    }

    .search-input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .filter-select {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .items-grid {
        padding: 0.25rem !important;
        gap: 0.5rem !important;
    }

    .item-card {
        border-radius: 0.4rem;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 600px !important;
        flex-direction: column !important;
        overflow: hidden !important;
        margin: 0.5rem 0 !important;
    }

    .item-card-header {
        padding: 0.4rem;
        width: 100%;
    }

    .item-name {
        font-size: 0.85rem;
        display: flex;
        flex-direction: row;
        gap: 0.4rem;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .item-name h3 {
        margin: 0;
        font-size: inherit;
        display: flex;
        align-items: center;
        line-height: 1;
    }

    .item-emoji {
        width: 1.25rem;
        height: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .item-content {
        padding: 0.8rem;
        gap: 1rem;
        justify-content: flex-start;
        min-height: 550px;
        overflow: hidden;
    }

    .item-info {
        padding: 1rem 1.25rem;
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
        display: flex !important;
        width: 100%;
        min-height: 5.5rem;
        overflow: hidden;
    }

    .item-info-label {
        font-size: 0.9rem;
    }

    .item-info-value {
        font-size: 0.9rem;
    }

    .seller-info {
        padding: 1rem 1.25rem;
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
        display: flex !important;
        width: 100%;
        min-height: 5.5rem;
        overflow: hidden;
    }

    .seller-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .seller-name {
        font-size: 0.9rem;
    }

    .pagination {
        margin: 1rem 0.25rem;
        padding: 0.75rem;
    }

    .pagination-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .empty-state {
        margin: 0.75rem 0.25rem;
        padding: 1.5rem 0.75rem;
    }
}

@media (max-width: 360px) {

    /* Very Small Mobile */
    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .search-section {
        margin: 0.5rem 0.25rem;
        padding: 0.5rem;
    }

    .items-grid {
        padding: 0.25rem !important;
        gap: 0.4rem !important;
    }

    .item-card {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 550px !important;
        flex-direction: column !important;
        overflow: hidden !important;
        margin: 0.5rem 0 !important;
    }

    .item-card-header {
        padding: 0.3rem;
        width: 100%;
    }

    .item-name {
        font-size: 0.8rem;
        display: flex;
        flex-direction: row;
        gap: 0.3rem;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .item-name h3 {
        margin: 0;
        font-size: inherit;
        display: flex;
        align-items: center;
        line-height: 1;
    }

    .item-emoji {
        width: 1rem;
        height: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .item-content {
        padding: 0.6rem;
        gap: 0.8rem;
        justify-content: flex-start;
        min-height: 500px;
        overflow: hidden;
    }

    .item-info {
        padding: 0.9rem 1rem;
        margin-bottom: 0.7rem;
        font-size: 0.9rem;
        display: flex !important;
        width: 100%;
        min-height: 5rem;
        overflow: hidden;
    }

    .item-info-label {
        font-size: 0.85rem;
    }

    .item-info-value {
        font-size: 0.85rem;
    }

    .seller-info {
        padding: 0.9rem 1rem;
        margin-bottom: 0.7rem;
        font-size: 0.9rem;
        display: flex !important;
        width: 100%;
        min-height: 5rem;
        overflow: hidden;
    }

    .seller-avatar {
        width: 2rem;
        height: 2rem;
    }

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

    .pagination {
        margin: 0.75rem 0.25rem;
        padding: 0.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    border-top-color: #f59e0b;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Desktop (1920x1080p ve üzeri) için özel optimizasyonlar */
@media (min-width: 1920px) {
    .modern-container {
        max-width: 1400px !important;
        padding: 2rem 1.5rem !important;
    }

    .hero-section {
        padding: 1.25rem 1.5rem !important;
    }

    .hero-title {
        font-size: clamp(1.75rem, 4.5vw, 2.25rem) !important;
    }

    .hero-section-icon {
        font-size: 1.75rem !important;
    }

    .search-section {
        max-width: 900px !important;
        padding: 1.25rem 1.5rem !important;
    }

    .items-grid {
        gap: 2rem !important;
    }

    .item-card-header {
        padding: 1.75rem !important;
    }

    .item-content {
        padding: 1.5rem !important;
    }
}

/* Tablet ve küçük desktop optimizasyonları */
@media (max-width: 1200px) and (min-width: 769px) {
    .items-grid {
        gap: 1.25rem !important;
    }

    .item-card-header {
        padding: 1.25rem !important;
    }

    .item-content {
        padding: 1rem !important;
    }
}