body {
    min-height: 100vh;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.modern-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 100px 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.search-container {
    background: rgba(75, 85, 99, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.sort-container {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
}

.sort-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.sort-select {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.sort-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(107, 114, 128, 0.5);
}

.sort-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(107, 114, 128, 0.6);
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.sort-select::-ms-expand {
    display: none;
}

/* Select dropdown option stilleri - tarayıcılar için */
.sort-select option {
    background-color: rgba(30, 30, 30, 1) !important;
    background: rgba(30, 30, 30, 1) !important;
    color: #ffffff !important;
    padding: 10px 15px !important;
}

.sort-select option:hover,
.sort-select option:focus,
.sort-select option:active {
    background-color: rgba(75, 85, 99, 0.3) !important;
    background: rgba(75, 85, 99, 0.3) !important;
    color: #ffffff !important;
}

.sort-select option:checked,
.sort-select option[selected] {
    background-color: rgba(75, 85, 99, 0.4) !important;
    background: rgba(75, 85, 99, 0.4) !important;
    color: #ffffff !important;
}

/* Chrome/Edge için select dropdown arka planı */
.sort-select {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Select dropdown listesi için özel stil */
select.sort-select {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.search-input:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(107, 114, 128, 0.5);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(107, 114, 128, 0.6);
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
    outline: none;
}

.search-input::placeholder {
    color: #a3a3a3;
}

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

.lejyoner-card {
    background: rgba(75, 85, 99, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(75, 85, 99, 0.1);
    position: relative;
}

.lejyoner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(75, 85, 99, 0.2);
    border-color: rgba(107, 114, 128, 0.5);
}

.share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(107, 114, 128, 0.5);
    transform: scale(1.05);
}

.share-btn i {
    font-size: 14px;
}

.lejyoner-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-right: 50px;
    /* Paylaş butonu için alan bırak */
}

.lejyoner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(107, 114, 128, 0.3);
}

.lejyoner-info {
    flex: 1;
    min-width: 0;
    /* Text overflow için */
    overflow: hidden;
}

.lejyoner-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lejyoner-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    color: #a3a3a3;
    font-size: 14px;
}

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

/* Modal Styles */
.modal {
    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: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.15) 0%, rgba(55, 65, 81, 0.12) 100%);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow:
        0 25px 80px rgba(75, 85, 99, 0.2),
        0 0 0 1px rgba(107, 114, 128, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(107, 114, 128, 0.4);
    padding: 28px;
    margin: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(107, 114, 128, 0.5) 50%,
            transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg,
            transparent 0%,
            rgba(107, 114, 128, 0.4) 50%,
            transparent 100%) 1;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(75, 85, 99, 0.6) 50%,
            transparent 100%);
    animation: shimmer 2s infinite;
}

.modal-title {
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(107, 114, 128, 0.3);
    letter-spacing: 0.5px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #a3a3a3;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Modal İçerik Kartları */
.modal-stat-card {
    padding: 14px;
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.1) 0%, rgba(55, 65, 81, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transition: left 0.5s ease;
}

.modal-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(75, 85, 99, 0.2);
    border-color: rgba(107, 114, 128, 0.4);
}

.modal-stat-card:hover::before {
    left: 100%;
}

.modal-stat-label {
    color: #a3a3a3;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-stat-value {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-user-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.15) 0%, rgba(55, 65, 81, 0.1) 100%);
    border-radius: 14px;
    border: 1px solid rgba(107, 114, 128, 0.3);
    box-shadow: 0 4px 16px rgba(75, 85, 99, 0.1);
    margin-bottom: 20px;
}

.modal-user-header>div {
    flex: 0 1 auto;
    min-width: 0;
    overflow: visible;
    width: auto;
}

.modal-user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(107, 114, 128, 0.5);
    box-shadow: 0 4px 16px rgba(75, 85, 99, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(75, 85, 99, 0.4);
}

.modal-user-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    width: fit-content;
    max-width: 100%;
    display: inline-block;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Değerlendirme Grafik Stilleri */
.rating-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.rating-chart-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-chart-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.rating-chart-label-name {
    color: #ffffff;
}

.rating-chart-label-value {
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.rating-chart-bar-container {
    width: 100%;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.rating-chart-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(75, 85, 99, 0.8) 0%, rgba(55, 65, 81, 0.9) 100%);
    border-radius: 12px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(75, 85, 99, 0.3);
}

.rating-chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Maç İstatistikleri Sütun Grafik Stilleri */
.match-chart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.bonus-chart {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* Bonus Maç Sütun Grafik Stilleri */
.bonus-chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bonus-chart-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.bonus-chart-value {
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 16px;
}

.bonus-chart-bar-container {
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(107, 114, 128, 0.2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px;
}

.bonus-chart-bar {
    width: 70%;
    min-height: 15px;
    border-radius: 10px 10px 0 0;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.bonus-chart-bar.single {
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.9) 0%, rgba(147, 51, 234, 1) 100%);
}

.bonus-chart-bar.double {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.9) 0%, rgba(219, 39, 119, 1) 100%);
}

.bonus-chart-bar.triple {
    background: linear-gradient(180deg, rgba(251, 146, 60, 0.9) 0%, rgba(249, 115, 22, 1) 100%);
}

.bonus-chart-bar.quadruple {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.9) 0%, rgba(22, 163, 74, 1) 100%);
}

.bonus-chart-bar.quintuple {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 1) 100%);
}

.bonus-chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    animation: shimmer 2s infinite;
}

.match-chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.match-chart-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.match-chart-value {
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 18px;
}

.match-chart-bar-container {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(107, 114, 128, 0.2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px;
}

.match-chart-bar {
    width: 80%;
    min-height: 20px;
    border-radius: 8px 8px 0 0;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.match-chart-bar.win {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.9) 0%, rgba(22, 163, 74, 1) 100%);
}

.match-chart-bar.loss {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.9) 0%, rgba(220, 38, 38, 1) 100%);
}

.match-chart-bar.total {
    background: linear-gradient(180deg, rgba(75, 85, 99, 0.9) 0%, rgba(55, 65, 81, 1) 100%);
}

.match-chart-bar.winrate {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 1) 100%);
}

.match-chart-bar.bonus {
    background: linear-gradient(180deg, rgba(75, 85, 99, 0.9) 0%, rgba(55, 65, 81, 1) 100%);
}

.match-chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: shimmer 2s infinite;
}

/* Rating Modal Styles */
#ratingModal .modal-content {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.15) 0%, rgba(55, 65, 81, 0.12) 100%);
    backdrop-filter: blur(25px);
    max-width: 700px;
}

.rating-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.1) 0%, rgba(55, 65, 81, 0.05) 100%);
    border-radius: 14px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rating-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transition: left 0.5s ease;
}

.rating-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(75, 85, 99, 0.2);
    border-color: rgba(107, 114, 128, 0.4);
}

.rating-section:hover::before {
    left: 100%;
}

.rating-label {
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 0.5px;
}

.star-rating {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.star {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.star:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
}

.star.active {
    color: #9ca3af;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.6));
    transform: scale(1.1);
}

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

.rating-value {
    margin-left: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.15) 0%, rgba(55, 65, 81, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(107, 114, 128, 0.3);
    min-width: 40px;
    text-align: center;
}

.rate-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.rate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    transition: left 0.5s ease;
}

.rate-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.rate-button:hover:not(:disabled)::before {
    left: 100%;
}

.rate-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.5;
}

.rate-button.disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.5;
}

.rate-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Beraber Oynananlar Avatar Tooltip */
.beraber-oynananlar-avatar-container {
    position: relative;
}

.beraber-oynananlar-avatar-container::after {
    content: attr(data-display-name);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(107, 114, 128, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.beraber-oynananlar-avatar-container:hover::after {
    opacity: 1;
    bottom: -40px;
}

/* Top 3 Leaderboard Styles */
.leaderboard-section {
    margin-bottom: 50px;
}

.leaderboard-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leaderboard-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 28px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.leaderboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            rgba(139, 92, 246, 0.6) 0%,
            rgba(59, 130, 246, 0.6) 50%,
            rgba(34, 197, 94, 0.6) 100%);
}

.leaderboard-card.haftalik-card::before {
    background: #ef4444;
}

.leaderboard-card.aylik-card::before {
    background: #ffffff;
}

.leaderboard-title {
    background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    padding: 24px 24px 20px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(107, 114, 128, 0.15);
}

.top3-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
}

.top3-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 20px;
    background: transparent;
    border-radius: 18px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
    margin-bottom: 12px;
}

.top3-item:last-child {
    margin-bottom: 0;
}

.top3-item::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.top3-item:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(107, 114, 128, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.top3-item:hover::after {
    opacity: 1;
}

.top3-item.rank-1 {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(30, 30, 30, 0.4) 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.top3-item.rank-1:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(40, 40, 40, 0.6) 100%);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.25);
}

.top3-item.rank-1::after {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4), rgba(245, 158, 11, 0.4));
}

.top3-item.rank-2 {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.08) 0%, rgba(30, 30, 30, 0.4) 100%);
    border-color: rgba(148, 163, 184, 0.3);
}

.top3-item.rank-2:hover {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.15) 0%, rgba(40, 40, 40, 0.6) 100%);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 12px 40px rgba(148, 163, 184, 0.25);
}

.top3-item.rank-2::after {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.4), rgba(100, 116, 139, 0.4));
}

.top3-item.rank-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.08) 0%, rgba(30, 30, 30, 0.4) 100%);
    border-color: rgba(205, 127, 50, 0.3);
}

.top3-item.rank-3:hover {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(40, 40, 40, 0.6) 100%);
    border-color: rgba(205, 127, 50, 0.6);
    box-shadow: 0 12px 40px rgba(205, 127, 50, 0.25);
}

.top3-item.rank-3::after {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.4), rgba(184, 115, 51, 0.4));
}

.top3-rank-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    position: relative;
}

.top3-rank {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1;
}

.top3-item.rank-1 .top3-rank {
    color: #fbbf24;
    font-size: 42px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.6), 0 4px 12px rgba(251, 191, 36, 0.3);
}

.top3-item.rank-2 .top3-rank {
    color: #94a3b8;
    font-size: 38px;
    text-shadow: 0 0 15px rgba(148, 163, 184, 0.5), 0 4px 10px rgba(148, 163, 184, 0.2);
}

.top3-item.rank-3 .top3-rank {
    color: #cd7f32;
    font-size: 38px;
    text-shadow: 0 0 15px rgba(205, 127, 50, 0.5), 0 4px 10px rgba(205, 127, 50, 0.2);
}

.top3-rank-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 20px;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.top3-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.top3-avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    border: 3px solid rgba(107, 114, 128, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.top3-item.rank-1 .top3-avatar {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2), 0 8px 24px rgba(251, 191, 36, 0.3);
}

.top3-item.rank-2 .top3-avatar {
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2), 0 8px 24px rgba(148, 163, 184, 0.3);
}

.top3-item.rank-3 .top3-avatar {
    border-color: rgba(205, 127, 50, 0.6);
    box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.2), 0 8px 24px rgba(205, 127, 50, 0.3);
}

.top3-item:hover .top3-avatar {
    transform: scale(1.08) rotate(2deg);
    border-radius: 24px;
}

.top3-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}

.top3-name {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    line-height: 1.2;
    text-align: right;
}

.top3-item.rank-1 .top3-name {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top3-item.rank-2 .top3-name {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top3-item.rank-3 .top3-name {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top3-puan-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.top3-puan-label {
    color: #a3a3a3;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top3-puan-value {
    color: #ffffff;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
}

.top3-item.rank-1 .top3-puan-value {
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.top3-item.rank-2 .top3-puan-value {
    color: #94a3b8;
    text-shadow: 0 0 10px rgba(148, 163, 184, 0.3);
}

.top3-item.rank-3 .top3-puan-value {
    color: #cd7f32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
}

.list-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-button {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.3) 0%, rgba(55, 65, 81, 0.25) 100%);
    border: 2px solid rgba(107, 114, 128, 0.4);
    border-radius: 16px;
    padding: 16px 32px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 180px;
}

.list-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 100%);
    transition: left 0.5s ease;
}

.list-button:hover {
    transform: translateY(-3px);
    border-color: rgba(107, 114, 128, 0.7);
    box-shadow: 0 8px 24px rgba(75, 85, 99, 0.4);
}

.list-button:hover::before {
    left: 100%;
}

/* Liste Modal Styles */
.list-modal {
    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: 20px;
    overflow-y: auto;
}

.list-modal.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.list-modal-content {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.15) 0%, rgba(55, 65, 81, 0.12) 100%);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(75, 85, 99, 0.2),
        0 0 0 1px rgba(107, 114, 128, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(107, 114, 128, 0.4);
    padding: 28px;
    margin: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

#listModalBody {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.list-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    min-height: 0;
}

.list-container::-webkit-scrollbar {
    width: 8px;
}

.list-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.list-container::-webkit-scrollbar-thumb {
    background: rgba(107, 114, 128, 0.4);
    border-radius: 10px;
}

.list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 114, 128, 0.6);
}

.list-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 20px;
    padding: 18px 24px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 20px;
    border-left: 4px solid rgba(107, 114, 128, 0.4);
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.list-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(107, 114, 128, 0.3) 0%,
            rgba(107, 114, 128, 0.1) 100%);
    transition: width 0.3s ease;
}

.list-item:hover {
    transform: translateY(-3px);
    border-left-width: 5px;
    box-shadow: 0 8px 24px rgba(75, 85, 99, 0.3);
    background: rgba(40, 40, 40, 0.7);
}

.list-item:hover::after {
    width: 5px;
}

.list-item.rank-1 {
    border-left-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(30, 30, 30, 0.6) 100%);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}

.list-item.rank-1:hover {
    border-left-color: #f59e0b;
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.3);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(40, 40, 40, 0.7) 100%);
}

.list-item.rank-2 {
    border-left-color: #94a3b8;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.1) 0%, rgba(30, 30, 30, 0.6) 100%);
    box-shadow: 0 4px 16px rgba(148, 163, 184, 0.15);
}

.list-item.rank-2:hover {
    border-left-color: #64748b;
    box-shadow: 0 8px 28px rgba(148, 163, 184, 0.3);
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.15) 0%, rgba(40, 40, 40, 0.7) 100%);
}

.list-item.rank-3 {
    border-left-color: #cd7f32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, rgba(30, 30, 30, 0.6) 100%);
    box-shadow: 0 4px 16px rgba(205, 127, 50, 0.15);
}

.list-item.rank-3:hover {
    border-left-color: #b87333;
    box-shadow: 0 8px 28px rgba(205, 127, 50, 0.3);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(40, 40, 40, 0.7) 100%);
}

.list-rank-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.list-rank {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.list-item.rank-1 .list-rank {
    color: #fbbf24;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.list-item.rank-2 .list-rank {
    color: #94a3b8;
    font-size: 26px;
}

.list-item.rank-3 .list-rank {
    color: #cd7f32;
    font-size: 26px;
}

.list-rank-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.list-item.rank-1 .list-rank-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
}

.list-item.rank-2 .list-rank-badge {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #ffffff;
}

.list-item.rank-3 .list-rank-badge {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    color: #ffffff;
}

.list-main-content {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.list-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.list-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 2px solid rgba(107, 114, 128, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
}

.list-item.rank-1 .list-avatar {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

.list-item.rank-2 .list-avatar {
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2);
}

.list-item.rank-3 .list-avatar {
    border-color: rgba(205, 127, 50, 0.5);
    box-shadow: 0 0 0 2px rgba(205, 127, 50, 0.2);
}

.list-item:hover .list-avatar {
    transform: scale(1.05);
    border-radius: 16px;
}

.list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.list-stats-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.list-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(75, 85, 99, 0.2);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #a3a3a3;
}

.list-stat-badge.win {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.list-stat-badge.match {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.list-stat-badge.rate {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.list-stat-value {
    font-weight: 700;
    color: #ffffff;
}

.list-puan-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 120px;
}

.list-puan-label {
    color: #a3a3a3;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.list-puan-value {
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
}

.list-item.rank-1 .list-puan-value {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.list-item.rank-2 .list-puan-value {
    color: #94a3b8;
}

.list-item.rank-3 .list-puan-value {
    color: #cd7f32;
}

/* Responsive Modal Optimizasyonları */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw !important;
        padding: 20px !important;
        border-radius: 16px !important;
    }

    .list-modal-content {
        max-width: 95vw !important;
        padding: 20px !important;
        border-radius: 16px !important;
    }

    #ratingModal .modal-content {
        max-width: 95vw !important;
        padding: 20px !important;
    }

    .modal-header {
        margin-bottom: 18px !important;
        padding-bottom: 12px !important;
    }

    .modal-user-header {
        padding: 16px !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    .modal-user-avatar {
        width: 60px !important;
        height: 60px !important;
    }

    .modal-user-name {
        font-size: 16px !important;
    }

    .modal-stat-card {
        padding: 12px !important;
    }

    .modal-stat-value {
        font-size: 20px !important;
    }

    .modal-stat-label {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 98vw !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .list-modal-content {
        max-width: 98vw !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    #ratingModal .modal-content {
        max-width: 98vw !important;
        padding: 16px !important;
    }

    .modal-header {
        margin-bottom: 14px !important;
        padding-bottom: 10px !important;
    }

    .modal-user-header {
        flex-direction: column !important;
        text-align: center !important;
        padding: 14px !important;
        gap: 10px !important;
    }

    .modal-user-avatar {
        width: 55px !important;
        height: 55px !important;
    }

    .modal-user-name {
        font-size: 15px !important;
    }

    .modal-stat-card {
        padding: 10px !important;
    }

    .modal-stat-value {
        font-size: 18px !important;
    }
}