:root {
    /* Dark Theme Colors - Mostly Black & White */
    --bg-primary: #050507;
    --bg-secondary: #0b0b0f;
    --bg-tertiary: #15151b;
    --text-primary: #e5e5e5;
    --text-secondary: #9a9a9a;
    --text-color: #e5e5e5;
    --card-bg: #0b0b0f;
    --border-color: #262626;
    --accent-color: #e5e5e5;
    --accent-primary: #e5e5e5;
    --accent-secondary: #c7c7c7;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --error-color: #ef4444;
    --hover-bg: #1f2933;
    --text-muted: #737373;
    --shadow-light: 0 8px 32px #000;
    --shadow-medium: 0 15px 35px #000;
    --backdrop-blur: blur(15px);
}

/* Sağ altta sabit Team Management butonu */
.team-management-fab {
    position: fixed;
    right: 24px;
    bottom: 84px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #4f46e5, #020617);
    border: 1px solid rgba(148, 163, 184, 0.9);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    text-decoration: none;
    z-index: 60;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-management-fab i {
    font-size: 20px;
}

.team-management-fab:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    border-color: #a5b4fc;
}

.team-management-fab:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

/* En çok aktif ekibin taç ve parıltı efekti */
.team-crown {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 56px;
    height: 56px;
    background: radial-gradient(circle at 30% 30%, #fff, #fde047, #facc15, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(253, 224, 71, 1),
        0 0 60px rgba(250, 204, 21, 0.9),
        0 0 90px rgba(245, 158, 11, 0.7),
        0 0 120px rgba(217, 119, 6, 0.5),
        0 0 150px rgba(180, 83, 9, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.6),
        inset 0 0 40px rgba(253, 224, 71, 0.4);
    animation: crownGlow 2s ease-in-out infinite alternate, crownRotate 8s linear infinite;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.team-crown i {
    color: #fff;
    font-size: 24px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(253, 224, 71, 1),
        0 0 30px rgba(250, 204, 21, 0.9);
    animation: crownIconPulse 1.5s ease-in-out infinite alternate;
}

@keyframes crownGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(253, 224, 71, 1),
            0 0 60px rgba(250, 204, 21, 0.9),
            0 0 90px rgba(245, 158, 11, 0.7),
            0 0 120px rgba(217, 119, 6, 0.5),
            0 0 150px rgba(180, 83, 9, 0.3),
            inset 0 0 20px rgba(255, 255, 255, 0.6),
            inset 0 0 40px rgba(253, 224, 71, 0.4);
        transform: scale(1) rotate(0deg);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(253, 224, 71, 1),
            0 0 80px rgba(250, 204, 21, 1),
            0 0 120px rgba(245, 158, 11, 0.9),
            0 0 160px rgba(217, 119, 6, 0.7),
            0 0 200px rgba(180, 83, 9, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.8),
            inset 0 0 60px rgba(253, 224, 71, 0.6);
        transform: scale(1.12) rotate(10deg);
    }
}

@keyframes crownRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes crownIconPulse {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 1),
            0 0 20px rgba(253, 224, 71, 1),
            0 0 30px rgba(250, 204, 21, 0.9);
        transform: scale(1);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 1),
            0 0 30px rgba(253, 224, 71, 1),
            0 0 45px rgba(250, 204, 21, 1);
        transform: scale(1.15);
    }
}

.team-card[data-most-active="true"] {
    border-color: rgba(253, 224, 71, 1);
    box-shadow: 
        0 0 30px rgba(253, 224, 71, 0.8),
        0 0 60px rgba(250, 204, 21, 0.6),
        0 0 90px rgba(245, 158, 11, 0.4),
        0 0 120px rgba(217, 119, 6, 0.2),
        0 12px 28px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: visible;
    animation: cardFloat 4s ease-in-out infinite alternate;
}

.team-card[data-most-active="true"]::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, 
        rgba(253, 224, 71, 0.8), 
        rgba(250, 204, 21, 0.6), 
        rgba(245, 158, 11, 0.4),
        rgba(217, 119, 6, 0.2),
        rgba(253, 224, 71, 0.8));
    z-index: -2;
    animation: borderSpin 3s linear infinite;
    opacity: 1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

@keyframes borderGlow {
    0% {
        background: linear-gradient(45deg, 
            rgba(253, 224, 71, 0.6), 
            rgba(250, 204, 21, 0.4), 
            rgba(245, 158, 11, 0.2),
            rgba(217, 119, 6, 0.1));
    }
    50% {
        background: linear-gradient(225deg, 
            rgba(253, 224, 71, 0.6), 
            rgba(250, 204, 21, 0.4), 
            rgba(245, 158, 11, 0.2),
            rgba(217, 119, 6, 0.1));
    }
    100% {
        background: linear-gradient(45deg, 
            rgba(253, 224, 71, 0.6), 
            rgba(250, 204, 21, 0.4), 
            rgba(245, 158, 11, 0.2),
            rgba(217, 119, 6, 0.1));
    }
}

@keyframes borderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cardFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-4px); }
}

/* #MDRP EN AKTİF EKİBİ etiketi */
.team-most-active-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fde047, #facc15, #f59e0b);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 0 10px rgba(253, 224, 71, 0.8),
        0 0 20px rgba(250, 204, 21, 0.6),
        inset 0 0 6px rgba(255, 255, 255, 0.4);
    animation: badgePulse 2s ease-in-out infinite alternate;
}

@keyframes badgePulse {
    0% {
        box-shadow: 
            0 0 10px rgba(253, 224, 71, 0.8),
            0 0 20px rgba(250, 204, 21, 0.6),
            inset 0 0 6px rgba(255, 255, 255, 0.4);
        transform: scale(1);
    }
    100% {
        box-shadow: 
            0 0 15px rgba(253, 224, 71, 1),
            0 0 30px rgba(250, 204, 21, 0.8),
            inset 0 0 10px rgba(255, 255, 255, 0.6);
        transform: scale(1.05);
    }
}

.mdrp-staff-summary {
    margin-top: 4px;
    margin-bottom: 6px;
}

.mdrp-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mdrp-summary-item {
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mdrp-summary-item .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

.mdrp-summary-item .value {
    font-size: 14px;
    font-weight: 700;
    color: #e5e7eb;
}

@media (max-width: 640px) {
    .mdrp-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        font-size: 11px;
    }
}

/* Team detail: online/offline badge and identifiers section */

.member-main {
    display: flex;
    flex: 1;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.member-name {
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
}

.member-meta {
    font-size: 11px;
    color: #9ca3af;
}

.online-flag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10px;
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.online-flag.online {
    color: #4ade80;
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(34, 197, 94, 0.7);
}

.online-flag.offline {
    color: #f97373;
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(248, 113, 113, 0.7);
}

.member-identifiers {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #374151;
}

.member-identifiers .id-line {
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.4;
}

/* Küçük ekranlarda MDRP kartlarını tam genişlikte göster */
@media (max-width: 640px) {
    .mdrp-staff-list {
        grid-template-columns: minmax(0, 1fr);
        max-height: 520px;
    }
}

/* Otoban Quit Sistemi */
.otoban-quit-section {
    margin-top: 16px;
}

.otoban-card {
    background: rgba(15, 15, 15, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
}

.otoban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.otoban-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #e5e7eb;
}

.otoban-title i {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #9ca3af;
}

.otoban-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.otoban-btn i {
    font-size: 11px;
}

.otoban-btn:hover {
    background: rgba(31, 41, 55, 0.95);
    border-color: rgba(248, 250, 252, 0.9);
    transform: translateY(-1px);
}

.otoban-body {
    max-height: 200px;
    overflow-y: auto;
    padding-top: 4px;
}

.otoban-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.8);
    font-size: 11px;
    color: #d1d5db;
}

.otoban-entry:last-child {
    border-bottom: none;
}

.otoban-entry .name {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.otoban-entry .time {
    font-size: 10px;
    color: #9ca3af;
}

/* MDRP Yetkili Kontrol Sistemi */
.mdrp-staff-section {
    margin-top: 16px;
}

.mdrp-staff-container {
    background: radial-gradient(circle at top left, rgba(17, 24, 39, 0.98), rgba(3, 7, 18, 0.96));
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 14px 16px 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    transform-origin: top;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mdrp-staff-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

.mdrp-staff-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mdrp-staff-header:hover .mdrp-staff-title i {
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.9);
}

.mdrp-staff-title i {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfdbfe;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mdrp-staff-title h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.mdrp-staff-title p {
    font-size: 11px;
    color: #9ca3af;
}

.mdrp-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.mdrp-toggle-btn i {
    font-size: 10px;
}

.mdrp-toggle-btn:hover {
    background: rgba(30, 64, 175, 0.85);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.mdrp-staff-list {
    margin-top: 6px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-height: 480px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.mdrp-staff-section.collapsed .mdrp-staff-list {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.mdrp-staff-section.expanded .mdrp-staff-list {
    opacity: 1;
}

.mdrp-staff-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(75, 85, 99, 0.9);
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(4px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

.mdrp-staff-section.expanded .mdrp-staff-card {
    opacity: 1;
    transform: translateY(0);
}

/* Oyuncu Takip Sistemi */
.player-tracking-section {
    margin-top: 18px;
}

.player-tracking-container {
    background: radial-gradient(circle at top right, rgba(17, 24, 39, 0.98), rgba(3, 7, 18, 0.96));
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.player-tracking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.player-tracking-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-tracking-title i {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfdbfe;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.6);
}

.player-tracking-title h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.player-tracking-title p {
    font-size: 11px;
    color: #9ca3af;
}

.player-tracking-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.track-type-select {
    min-width: 120px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    font-size: 11px;
}

.track-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.95);
}

.track-input-wrapper i {
    color: #9ca3af;
    font-size: 12px;
}

.track-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e5e7eb;
    font-size: 12px;
}

.track-add-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.track-add-btn:hover {
    background: rgba(30, 64, 175, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.tracked-players-list {
    margin-top: 6px;
    max-height: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tracked-empty {
    font-size: 11px;
    color: #9ca3af;
}

.tracked-player-card {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    font-size: 11px;
}

.tracked-player-card.has-logo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

.tracked-player-card.has-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(15, 23, 42, 0.2);
}

.tracked-player-card.has-logo > * {
    position: relative;
    z-index: 1;
}

.tracked-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.tracked-avatar {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #4b5563, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #f9fafb;
    text-transform: uppercase;
}

.tracked-info {
    display: flex;
    flex-direction: column;
}

.tracked-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.tracked-label i {
    font-size: 11px;
}

.tracked-value {
    font-size: 12px;
    color: #e5e7eb;
}

.tracked-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tracked-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    font-size: 10px;
    align-self: flex-start;
}

.tracked-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #6b7280;
}

.tracked-status.online {
    border-color: rgba(34, 197, 94, 0.8);
    background: rgba(22, 163, 74, 0.18);
    color: #bbf7d0;
}

.tracked-status.online .dot {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.tracked-status.offline {
    border-color: rgba(239, 68, 68, 0.85);
    background: rgba(127, 29, 29, 0.25);
    color: #fecaca;
}

.tracked-status.offline .dot {
    background: #ef4444;
}

.tracked-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 10px;
    color: #9ca3af;
}

.tracked-details .item strong {
    color: #e5e7eb;
}

.tracked-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
}

.tracked-remove:hover {
    background: rgba(239, 68, 68, 0.95);
    border-color: rgba(248, 113, 113, 0.95);
}

.mdrp-staff-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
    border-color: rgba(129, 140, 248, 0.9);
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.25), rgba(15, 23, 42, 0.96));
}

.mdrp-staff-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mdrp-staff-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #4b5563, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #f9fafb;
    text-transform: uppercase;
}

.mdrp-staff-info {
    display: flex;
    flex-direction: column;
}

.mdrp-staff-name {
    font-weight: 600;
    color: #e5e7eb;
}

.mdrp-staff-role {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.mdrp-staff-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.mdrp-staff-status .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #6b7280;
}

.mdrp-staff-status .status-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mdrp-staff-status.online {
    border-color: rgba(34, 197, 94, 0.8);
    background: rgba(22, 163, 74, 0.15);
    color: #bbf7d0;
}

.mdrp-staff-status.online .status-dot {
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
    animation: mdrpOnlinePulse 1.4s ease-in-out infinite;
}

.mdrp-staff-status.offline {
    border-color: rgba(239, 68, 68, 0.85);
    background: rgba(127, 29, 29, 0.3);
    color: #fecaca;
}

.mdrp-staff-status.offline .status-dot {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.9);
    animation: mdrpOfflinePulse 1.6s ease-in-out infinite;
}

@keyframes mdrpOfflinePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes mdrpOnlinePulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.visitor-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 2000;
    background: radial-gradient(circle at top left, rgba(20,20,20,0.95), rgba(5,5,5,0.96));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 11px;
    color: var(--text-primary, #f5f5f5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.visitor-widget .visitor-title {
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.65);
    opacity: 0.9;
}

.visitor-widget .visitor-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.visitor-widget .visitor-row span:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Aktif değeri için hafif yeşil vurgu */
.visitor-widget .visitor-row:first-of-type span:last-child {
    color: #22c55e;
}

/* === 3D Panel Effects === */
.stats-dashboard .stat-card-modern,
.team-search-section .search-card,
.team-members-preview .member-card {
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stats-dashboard .stat-card-modern:hover,
.team-search-section .search-card:hover,
.team-members-preview .member-card:hover {
    transform: translateY(-6px) scale(1.01) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Discord promo modal */
.promo-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(17, 24, 39, 0.96), rgba(3, 7, 18, 0.98));
    z-index: 80;
}

.promo-card {
    position: relative;
    max-width: 380px;
    width: 90%;
    padding: 26px 24px 22px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(245, 245, 245, 0.08), transparent 65%),
        linear-gradient(145deg, #020617, #050507 65%, #050507);
    border: 1px solid rgba(163, 163, 163, 0.9);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.95),
        0 0 40px rgba(245, 245, 245, 0.55);
    text-align: center;
    backdrop-filter: blur(18px) saturate(150%);
}

.promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f5;
    cursor: pointer;
    font-size: 12px;
}

.promo-close:hover {
    background: rgba(30, 64, 175, 0.9);
}

.promo-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    margin: 0 auto 16px;
    background: radial-gradient(circle at 30% 0, #4b4b4b, #111111);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    box-shadow:
        0 0 32px rgba(255, 255, 255, 0.75),
        0 0 0 1px rgba(212, 212, 212, 0.45);
}

.promo-icon i {
    font-size: 26px;
}

.promo-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.promo-text {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Kayıtlı ekip tagları alanı */
.saved-team-tags {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.saved-team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.saved-team-header span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.saved-team-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(163, 163, 163, 0.8);
    background: radial-gradient(circle at 0 0, rgba(245, 245, 245, 0.12), rgba(15, 15, 15, 0.95));
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.saved-team-save-btn i {
    font-size: 12px;
}

.saved-team-save-btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.9);
    border-color: var(--accent-primary);
}

.saved-team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.saved-team-tag {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(75, 85, 99, 0.9);
    font-size: 12px;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saved-team-tag span {
    font-weight: 500;
}

.saved-team-tag i {
    font-size: 11px;
    color: #f87171;
}

.saved-team-tag:hover {
    border-color: var(--accent-primary);
    background: radial-gradient(circle at 0 0, rgba(245, 245, 245, 0.12), rgba(15, 15, 15, 0.98));
    transform: translateY(-1px);
}

/* Particles.js tam ekran arka plan */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background:
        /* Kare/grid deseni */
        linear-gradient(90deg, rgba(15, 15, 15, 0.8) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 15, 15, 0.8) 1px, transparent 1px),
        /* Hafif beyaz parlamalar ve temel koyu siyah zemin */
        radial-gradient(circle at 20% 0%, rgba(245, 245, 245, 0.08), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(245, 245, 245, 0.08), transparent 55%),
        linear-gradient(160deg, #020202 0%, #020202 40%, #020202 70%, #020202 100%);
    background-size:
        40px 40px,
        40px 40px,
        auto,
        auto,
        auto;
}

/* Three.js 3D arka plan katmanı */
#three-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#three-bg canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    opacity: 0.45;
    mix-blend-mode: screen;
}

/* Sağ alt köşede sabit POWERED BY NEIZFIX kutusu */
.powered-by-badge {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1a1a1a, #1a1a1a);
    border: 1px solid rgba(163, 163, 163, 0.8);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(245, 245, 245, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    z-index: 50;
    backdrop-filter: blur(14px) saturate(140%);
    overflow: hidden;
}

.powered-by-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.35);
    opacity: 0.8;
    pointer-events: none;
}

.powered-by-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(148, 163, 184, 0.35), transparent);
    opacity: 0.0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.powered-by-badge:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.95),
        0 0 22px rgba(96, 165, 250, 0.85);
}

.powered-by-badge:hover::after {
    opacity: 1;
    animation: poweredShimmer 1.6s ease-out;
}

.powered-by-badge .powered-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(209, 213, 219, 0.8);
}

.powered-by-badge .powered-name {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5e7eb;
    text-shadow:
        0 0 18px rgba(96, 165, 250, 0.95),
        0 0 4px rgba(129, 140, 248, 0.8);
}

.powered-by-badge .powered-label::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.8);
    margin-left: 6px;
}

@keyframes poweredShimmer {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateX(180%);
        opacity: 0;
    }
}

/* Takım ara butonu (trackTeamBtn) - koyu ve temiz bir stil */
#trackTeamBtn {
    border-radius: 999px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 25% 0%, #3f3f3f, #0b0b0f);
    border: 1px solid rgba(163, 163, 163, 0.7);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
}

#trackTeamBtn i {
    font-size: 17px;
}

#trackTeamBtn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 12px 24px rgba(55, 65, 81, 0.9);
    border-color: var(--accent-primary);
}

#trackTeamBtn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.9);
}

/* Player Info Modal */
.player-info-modal {
    max-width: 520px;
    animation: playerInfoPop 0.35s ease-out;
}

.player-info-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.player-info-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-color);
}

.player-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.player-info-row .label {
    color: var(--text-secondary);
}

.player-info-row .value {
    color: var(--text-primary);
    font-weight: 600;
}

.player-info-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    margin-right: 10px;
    background: radial-gradient(circle at 30% 30%, #3f3f3f, #111827);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #e5e7eb;
    text-transform: uppercase;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
}

.player-identifiers-section h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.player-identifiers-list {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.8);
}

.player-identifier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.7);
    font-size: 12px;
    margin-bottom: 6px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.player-identifier-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    border-color: var(--accent-color);
    background: rgba(15, 23, 42, 0.95);
}

.player-identifier-item .id-type {
    color: var(--text-secondary);
    font-weight: 500;
    margin-right: 8px;
}

.player-identifier-item .id-type i {
    margin-right: 6px;
    font-size: 11px;
    opacity: 0.85;
}

.player-identifier-item .id-value {
    color: var(--text-primary);
    font-family: monospace;
    overflow-wrap: anywhere;
}

.player-identifier-item.copied,
.player-info-row .value.copied,
#playerInfoName.copied {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.player-identifier-item.copied::after,
.player-info-row .value.copied::after,
#playerInfoName.copied::after {
    content: 'Kopyalandı';
    margin-left: 8px;
    font-size: 11px;
    color: var(--accent-color);
    opacity: 0.9;
}

@keyframes playerInfoPop {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Avatar hafif nefes alan animasyon (hover) */
.player-info-avatar {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-info-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--accent-color), 0 8px 16px rgba(0, 0, 0, 0.7);
}

/* Generic overlay for modals like Add Server & Player Info */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0f;
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
    transition: all 0.3s ease;
/* Particles.js Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: auto;
    background: radial-gradient(ellipse at center, #111111 0%, #000 70%);
    animation: backgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% {
        background: radial-gradient(ellipse at center, #111111 0%, #000 70%);
    }
    50% {
        background: radial-gradient(ellipse at center, #1a1a1a 0%, #000 70%);
    }
    100% {
        background: radial-gradient(ellipse at center, #000 0%, #000 70%);
    }
}

/* Enhanced Server Info Styles */
/* Theme and Language Controls */
.header-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.theme-language-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    padding: 8px 12px;
    border-radius: 25px;
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.language-selector {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 15px;
    padding: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    min-width: 32px;
}

.lang-btn.active {
    background: #262626;
    color: white;
    box-shadow: 0 2px 8px #000;
}

.lang-btn:hover:not(.active) {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.server-logo-display {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px #000;
    transition: all 0.3s ease;
}

.server-logo-display:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px #000;
}

.server-logo-display img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.default-server-icon {
    color: white;
    font-size: 24px;
}

.server-title-with-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

/* Sunucu kartı başlığında orta blok hizalaması */
.server-details {
    flex: 1;
    margin: 0 16px;
}

.server-mini-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.server-details h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.server-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

.server-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dc3545;
    animation: pulse-offline 2s infinite;
}

.status-dot.online {
    background: #28a745;
    animation: pulse-online 1.8s infinite;
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid currentColor;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-online {
    color: #4ade80 !important;
    background: rgba(22, 163, 74, 0.15);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
    animation: statusGlowOnline 2s ease-in-out infinite;
}

.status-offline {
    color: #f97373 !important;
    background: rgba(220, 38, 38, 0.12);
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.3);
}

@keyframes pulse-offline {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes pulse-online {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes statusGlowOnline {
    0% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 14px rgba(34, 197, 94, 0.9); }
    100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.4); }
}

.stat-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--backdrop-blur);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1a1a1a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #000;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px #000;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-out;
}

.loading-content {
    text-align: center;
    color: white;
    animation: slideInUp 0.8s ease-out;
}

.loading-logo {
    margin-bottom: 30px;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid #1a1a1a;
    animation: rotate 3s linear infinite;
}

.logo-container img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.default-logo i {
    font-size: 3rem;
    color: white;
    animation: pulse 2s infinite;
}

.loading-text h2 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px #000;
}

.loading-text p {
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

.loading-bar {
    width: 200px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #fff, #e2e8f0);
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Discord Banner Styles */
.discord-banner {
    background: linear-gradient(135deg, #1a1a1a, #1a1a1a);
    color: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px #000;
    animation: slideDown 0.5s ease-out;
}

.discord-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.discord-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.discord-icon {
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
}

.discord-text h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.discord-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.discord-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-join-btn {
    background: white;
    color: #1a1a1a;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px #000;
}

.discord-join-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #000;
}

.discord-close-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-close-btn:hover {
    background: #262626;
    transform: scale(1.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Confetti Animation Styles */
.confetti-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-out;
}

.confetti-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintenance-message {
    text-align: center;
    z-index: 10001;
    animation: messageSlideIn 0.8s ease-out;
}

.maintenance-message h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #10b981;
    text-shadow: 0 0 20px #10b981, 0 0 40px #10b981;
    margin: 0 0 20px 0;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.celebration-icon {
    font-size: 3rem;
    color: #10b981;
    animation: iconBounce 1s ease-in-out infinite alternate;
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    animation: confettiFall 3s linear infinite;
}

.confetti-piece:nth-child(odd) {
    background: #4ecdc4;
    animation-delay: -0.5s;
}

.confetti-piece:nth-child(3n) {
    background: #45b7d1;
    animation-delay: -1s;
}

.confetti-piece:nth-child(4n) {
    background: #f9ca24;
    animation-delay: -1.5s;
}

.confetti-piece:nth-child(5n) {
    background: #6c5ce7;
    animation-delay: -2s;
}

.confetti-piece:nth-child(6n) {
    background: #a29bfe;
    animation-delay: -2.5s;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px #10b981, 0 0 40px #10b981;
    }
    100% {
        text-shadow: 0 0 30px #10b981, 0 0 60px #10b981, 0 0 80px #10b981;
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.2) rotate(10deg);
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px #000;
    animation: containerGlow 6s ease-in-out infinite alternate;
}

@keyframes containerGlow {
    0% {
        box-shadow: 0 8px 32px #000, 0 0 20px #262626;
    }
    50% {
        box-shadow: 0 8px 32px #000, 0 0 30px #1a1a1a;
    }
    100% {
        box-shadow: 0 8px 32px #000, 0 0 40px #262626;
    }
}

/* Header Styles */
.header {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.main-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.header h1 {
    font-size: 2.6rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #e5e7eb, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(15, 23, 42, 0.9);
}

.header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Controls Section */
.controls {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.server-input {
    margin-bottom: 25px;
}

.server-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
    color: var(--text-primary);
}

.input-group input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px #262626;
}

button {
    background: linear-gradient(135deg, #1a1a1a, #1a1a1a);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px #000;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #404040, transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: linear-gradient(135deg, #262626, #262626);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #000, 0 0 20px #1a1a1a;
    animation: buttonPulse 1.5s ease-in-out infinite alternate;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 8px 25px #000, 0 0 20px #1a1a1a;
    }
    100% {
        box-shadow: 0 8px 25px #000, 0 0 30px #262626;
    }
}

/* Preset Servers */
.preset-servers {
    margin-bottom: 2rem;
}

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

.preset-header label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-notification {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px #000;
}

.btn-notification:hover {
    background: #262626;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px #000;
}

.btn-notification:active {
    transform: translateY(0);
}

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

.btn-add-server {
    background: linear-gradient(135deg, #1a1a1a, #1a1a1a);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.6);
}

.btn-add-server:hover {
    background: linear-gradient(135deg, #262626, #262626);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.8);
}

.preset-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preset-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: #f9fafb;
    background-size: contain;      /* tek logoyu tamamen göster, taşma yok */
    background-position: center;
    background-repeat: no-repeat;  /* tek kopya, tekrar yok */
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.preset-btn.preset-with-bg {
    color: #ffffff;
    border-color: rgba(0, 0, 0, 0.6);
}

.preset-btn.preset-with-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.preset-btn.preset-with-bg span,
.preset-btn.preset-with-bg i {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.preset-btn:hover {
    border-color: #1a1a1a;
    background: linear-gradient(135deg, var(--hover-bg), rgba(139, 92, 246, 0.2));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
    animation: presetGlow 1.5s ease-in-out infinite alternate;
}

@keyframes presetGlow {
    0% {
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
    }
    100% {
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5), 0 0 30px rgba(99, 102, 241, 0.4);
    }
}

.remove-server-btn {
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.remove-server-btn:hover {
    background: #e53e3e;
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px #000;
    animation: modalSlideIn 0.3s ease-out;
}

/* Make Add Server modal a bit smaller and more compact */
#addServerModal .modal-content {
    max-width: 420px;
}

#addServerModal .modal-header {
    padding: 1rem 1.5rem;
}

#addServerModal .modal-body {
    padding: 14px 16px;
}

#addServerModal .modal-footer {
    padding: 12px 16px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: var(--accent-color);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
}

/* Add Server Modal: fields side by side */
.add-server-body {
    display: flex;
    gap: 16px;
}

.add-server-body .form-group {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .add-server-body {
        flex-direction: column;
    }
    .add-server-body .form-group {
        margin-bottom: 12px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
    color: var(--text-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px #262626;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Server Info */
.server-info {
    margin-bottom: 30px;
}

.info-card {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 15px;
    background: #111111;
    border-radius: 10px;
    border: 1px solid #262626;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.85);
}

.stat i {
    font-size: 1.5rem;
    color: #d4d4d4;
    margin-bottom: 10px;
    display: block;
}

.stat span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 5px;
}

.stat small {
    color: #9a9a9a;
    font-weight: 500;
}

/* Modern Team Tracking System */
.team-tracking {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border-radius: 24px;
    padding: 0;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    overflow: hidden;
}

.team-tracking-container {
    padding: 26px 28px 24px;
}

.team-header {
    margin-bottom: 26px;
}

.team-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.team-most-active-wrapper {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.most-active-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #3f3f3f;
    background: #111111;
    color: #e5e5e5;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.most-active-team-btn i {
    font-size: 12px;
}

.most-active-team-btn:hover {
    background: #1f2933;
    border-color: #e5e5e5;
    transform: translateY(-1px);
}

.most-active-team-result {
    font-size: 11px;
    color: var(--text-secondary);
}

.team-icon {
    position: relative;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #262626;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #f5f5f5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(245, 245, 245, 0.18);
    position: relative;
    overflow: hidden;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, #404040, transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.team-title h3 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
}

.team-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-title p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

/* Search Section */
.team-results, .team-members-section {
    margin-bottom: 30px;
}

.search-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.search-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.search-header i {
    color: var(--accent-primary);
}

.search-input-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-with-icon:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px #262626;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    font-size: 16px;
    z-index: 2;
}

.input-with-icon input {
    flex: 1;
    padding: 15px 15px 15px 45px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
}

.search-btn {
    background: var(--accent-primary);
    border: none;
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.search-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

.search-suggestions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.suggestion-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.suggestion-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-suggestion {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-suggestion:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-1px);
}

/* Results Section */
.team-results {
    animation: slideInUp 0.5s ease-out;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.results-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.results-title i {
    color: var(--accent-primary);
}

.team-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Modern Stats Dashboard */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.stat-card-modern {
    background: #111111;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
}

.stat-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.stat-icon-modern.percentage {
    background: #ef4444;
}

.stat-icon-modern.activity {
    background: #06b6d4;
}

.stat-content-modern {
    flex: 1;
}

.stat-number-modern {
    font-size: 32px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 5px;
}

.stat-label-modern {
font-size: 14px;
color: #9a9a9a;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.stat-trend {
color: var(--success-color);
font-size: 18px;
animation: bounce 2s infinite;
    color: var(--success-color);
    font-size: 18px;
    animation: bounce 2s infinite;
}

.stat-progress {
    width: 100%;
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ef4444;
    border-radius: 3px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stat-pulse {
    position: relative;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Team Members Preview */
.team-members-preview {
    margin-top: 20px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    animation: teamBoxFadeIn 0.4s ease-out;
}

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

.preview-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.team-copy-discord-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #3f3f3f;
    background: #111111;
    color: #e5e5e5;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-copy-discord-btn i {
    font-size: 12px;
}

.team-copy-discord-btn:hover {
    background: #1f2933;
    border-color: #e5e5e5;
    transform: translateY(-1px);
}

.team-copy-discord-btn.copied {
    border-color: #22c55e;
    color: #bbf7d0;
}

.view-all-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Takım Üyelerinde 'Tümünü Gör' butonunu gizle */
.team-members-preview .view-all-btn {
    display: none;
}

.view-all-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

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

/* Her takım üyesini dikdörtgen bir kart (box) içinde alt alta göster */
.member-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #18181b;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #3f3f3f;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    width: 100%;
    opacity: 1; /* her zaman görünür olsun */
    transform: translateY(0);
    overflow: hidden;
}

/* Ortak arka plan katmanı; her takım için background-image override ediliyor */
.member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.member-card > * {
    position: relative;
    z-index: 1;
}

/* 571 ekibi için banner arka plan */
.team-detail-571 .member-card::before {
    background-image: url('https://cdn.discordapp.com/banners/1182194452022960159/147267b78dbc3eaf0adb1f13fb550798.webp?size=1024');
}

/* RAVENS ekibi için banner arka plan */
.team-detail-ravens .member-card::before {
    background-image: url('https://cdn.discordapp.com/banners/1084084868440403999/2705570b133dd2edb34eb304560a7e6c.webp?size=1024');
}

/* YOUNGSTA ekibi için banner arka plan */
.team-detail-youngsta .member-card::before {
    background-image: url('https://cdn.discordapp.com/banners/1145379239567298681/569d75c66785ac816f47e284ca4f2583.webp?size=1024');
}

/* İNVERS ekibi için (banner yok, icon kullanılacak) */
.team-detail-invers .member-card::before {
    background-image: url('https://cdn.discordapp.com/icons/1422714382219087914/bffbefa1e65f4326ba1f3f4cda0c4f22.webp?size=1024');
}

/* MONTREAL ekibi için banner arka plan */
.team-detail-montreal .member-card::before {
    background-image: url('https://cdn.discordapp.com/banners/1424127185387782235/502a3f12c344dbc706d0f9c02dc25707.webp?size=1024');
}

/* GNG ekibi için banner arka plan */
.team-detail-gng .member-card::before {
    background-image: url('https://cdn.discordapp.com/banners/1125220258018496536/82eca6a49c51e3dacf5f0ffec3e464fa.webp?size=1024');
}

/* 74 ekibi için banner arka plan */
.team-detail-74 .member-card::before {
    background-image: url('https://cdn.discordapp.com/banners/1452917078381170741/ea4a18f46af81f031d982388ff308516.webp?size=1024');
}

/* JONES ekibi için banner arka plan (icon + banner kombinasyonu, banner kullanıyoruz) */
.team-detail-jones .member-card::before {
    background-image: url('https://cdn.discordapp.com/banners/1237073161737076756/ac5296a018b8f7da10e64e1953723fcc.webp?size=1024');
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
    border-color: var(--accent-primary);
}

.member-actions {
    margin-left: 16px;
    display: flex;
    align-items: center;
}

.member-discord-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #3f3f3f;
    background: #111111;
    color: #e5e5e5;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.member-discord-copy i {
    font-size: 12px;
}

.member-discord-copy:hover {
    background: #1f2933;
    border-color: #e5e5e5;
    transform: translateY(-1px);
}

.member-discord-copy.copied {
    border-color: #22c55e;
    color: #bbf7d0;
}

.member-no-discord {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Kartlara hafif stagger (ardışık gecikme) efekti verelim */
.member-card:nth-child(1) { animation-delay: 0.00s; }
.member-card:nth-child(2) { animation-delay: 0.03s; }
.member-card:nth-child(3) { animation-delay: 0.06s; }
.member-card:nth-child(4) { animation-delay: 0.09s; }
.member-card:nth-child(5) { animation-delay: 0.12s; }
.member-card:nth-child(6) { animation-delay: 0.15s; }
.member-card:nth-child(7) { animation-delay: 0.18s; }
.member-card:nth-child(8) { animation-delay: 0.21s; }
.member-card:nth-child(9) { animation-delay: 0.24s; }
.member-card:nth-child(10){ animation-delay: 0.27s; }

@keyframes teamBoxFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes memberCardIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3f3f3f, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.member-id {
    font-size: 12px;
    color: var(--text-muted);
}

.member-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background: var(--success-color);
    color: white;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-warning {
    border-left: 4px solid #f6ad55;
}

.notification-info {
    border-left: 4px solid var(--accent-primary);
}

.notification i {
    font-size: 16px;
}

.notification-success i {
    color: var(--success-color);
}

.notification-warning i {
    color: #f6ad55;
}

.notification-info i {
    color: var(--accent-primary);
}

.notification span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Loading States */
.loading-members {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-style: italic;
}

.loading-members i {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

.no-members {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.no-members i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-members p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

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

/* Enhanced Player List Styles */
.player-list {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.player-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.header-title {
    margin-bottom: 25px;
    text-align: center;
}

.header-title h3 {
    margin: 0 0 8px 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #f5f5f5, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 0 18px rgba(15, 23, 42, 0.9);
    position: relative;
}

.header-title p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.tabs.enhanced {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 8px;
    background: rgba(15, 15, 15, 0.9);
    border-radius: 15px;
    border: 1px solid rgba(38, 38, 38, 0.9);
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e5e5, #737373);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tab-btn:hover::before {
    opacity: 0.1;
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn:hover {
    color: #f5f5f5;
    transform: translateY(-2px);
}

.tab-btn.active {
    color: rgb(24, 24, 24);
    box-shadow: 0 6px 20px rgb(0, 0, 0);
    transform: translateY(-2px);
}

.tab-icon, .tab-content {
    position: relative;
    z-index: 1;
}

.tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tab-title {
    font-weight: 600;
    font-size: 13px;
}

.tab-count {
    font-size: 11px;
    padding: 2px 8px;
    background: #1f1f1f;
    border-radius: 10px;
    font-weight: 600;
}

.tab-btn.active .tab-count {
    background: #818181;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #111111;
    color: var(--text-secondary);
    border: 1px solid #262626;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: #18181b;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #e5e5e5;
    color: #050507;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.list-header h2 {
    color: #4a5568;
    font-size: 1.8rem;
    font-weight: 700;
}

.list-header h2 i {
    color: #e5e5e5;
    margin-right: 10px;
}

/* Advanced Search Styles */
.advanced-search {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-toggle {
    display: flex;
    justify-content: flex-end;
}

.btn-secondary {
    background: rgba(113, 128, 150, 0.1);
    color: #718096;
    border: 2px solid #718096;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: #718096;
    color: white;
    transform: translateY(-1px);
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.basic-search {
    position: relative;
}

.basic-search input {
    padding: 12px 40px 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
}

.basic-search input:focus {
    outline: none;
    border-color: #e5e5e5;
    box-shadow: 0 0 0 3px #262626;
}

.basic-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
}

.advanced-search-fields {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin-top: 10px;
}

.search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-field-compact {
    flex: 1;
    min-width: 150px;
}

.search-field-compact input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-field-compact input:focus {
    outline: none;
    border-color: #e5e5e5;
    box-shadow: 0 0 0 2px rgba(38, 38, 38, 0.4);
}

.btn-clear {
    background: #f56565;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.btn-clear:hover {
    background: #e53e3e;
    transform: translateY(-1px);
}

/* Players Table */
.table-container {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
}

.table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

#playersTable {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 10px;
    overflow: hidden;
}

/* Header */
#playersTable thead th {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Satırlar (tek renk) */
#playersTable tbody tr {
    background: rgba(15, 23, 42, 0.65);
    transition: background 0.2s ease;
}

/* Hover efekti (aynı rengin açığı) */
#playersTable tbody tr:hover {
    background: rgba(30, 41, 59, 0.9);
}

/* Hücreler */
#playersTable td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #d1d5db;
    font-size: 13px;
}


/* Ping column styling */
.ping-cell {
    font-weight: 600;
    text-align: right;
}

.ping-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
}

.ping-good {
    color: #4ade80;
}

.ping-ok {
    color: #facc15;
}

.ping-bad {
    color: #f97373;
}

.ping-unknown {
    color: var(--text-secondary);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

thead {
    background: #111111; /* Tek renk koyu şerit */
}

thead th {
    color: #f5f5f5;
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid #1f2933;
}

tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

tbody td {
    padding: 15px 12px;
    color: #4a5568;
    font-weight: 500;
}

.loading-row td {
    text-align: center;
    padding: 40px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #718096;
    font-size: 1.1rem;
}

.loading i {
    color: #e5e5e5;
}

.no-players {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 1.1rem;
}

/* Player list update animations */
@keyframes playerRowFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-row {
    animation: playerRowFadeIn 0.3s ease-out;
}

/* Arama tamamen temizlendiğinde anında yenileme için animasyonu kapatmak üzere */
.instant-reset .player-row {
    animation: none !important;
}

.player-row:nth-child(1) { animation-delay: 0.00s; }
.player-row:nth-child(2) { animation-delay: 0.02s; }
.player-row:nth-child(3) { animation-delay: 0.04s; }
.player-row:nth-child(4) { animation-delay: 0.06s; }
.player-row:nth-child(5) { animation-delay: 0.08s; }
.player-row:nth-child(6) { animation-delay: 0.10s; }
.player-row:nth-child(7) { animation-delay: 0.12s; }
.player-row:nth-child(8) { animation-delay: 0.14s; }
.player-row:nth-child(9) { animation-delay: 0.16s; }
.player-row:nth-child(10){ animation-delay: 0.18s; }

.table-container.refreshing {
    box-shadow: 0 0 0 1px var(--accent-primary), 0 0 20px rgba(129, 140, 248, 0.6);
    transition: box-shadow 0.25s ease-out;
}

.no-players p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Player Pagination Bar */
.player-pagination {
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.player-pagination-info {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.player-pagination-info strong {
    color: var(--text-primary);
}

.player-pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-page-btn {
    min-width: 32px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-primary);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.6);
}

.player-page-btn:hover:not(.disabled) {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-1px);
}

.player-page-btn.disabled {
    opacity: 0.4;
    cursor: default;
}

.player-pagination-controls span {
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .player-pagination {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .player-pagination-controls {
        justify-content: center;
    }
}

/* Favorite Star Styles */
.favorite-star {
    cursor: pointer;
    font-size: 1.2rem;
    color: #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    padding: 5px;
    z-index: 10;
    position: relative;
    pointer-events: auto;
}

.favorite-star:hover {
    color: #ffd700;
    transform: scale(1.2);
}

.favorite-star.favorited {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.favorite-star.favorited:hover {
    transform: scale(1.3);
}

/* Ensure table cells don't interfere with star clicks */
#playersTable tbody td:first-child {
    padding: 8px;
    text-align: center;
    position: relative;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-discord {
margin-top: 10px;
}

.footer-discord-link {
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: rgba(88, 101, 242, 0.2);
border-radius: 20px;
transition: all 0.3s ease;
border: 1px solid rgba(88, 101, 242, 0.3);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 212, 212, 0.25);
}

.footer-discord-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    color: white;
}

/* Status Colors */
.status-online {
    color: #48bb78 !important;
    font-weight: 600;
}

.status-offline {
    color: #f56565 !important;
    font-weight: 600;
}

/* Responsive Design for Team Tracking */
@media (max-width: 768px) {
    .team-header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .team-title h3 {
        font-size: 24px;
    }
    
    .stats-dashboard {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .search-suggestions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .preset-buttons {
        justify-content: center;
    }
    
    .server-stats {
        grid-template-columns: 1fr;
    }
    
    .list-header {
        flex-direction: column;
        text-align: center;
    }
    
    .basic-search input {
        max-width: 100%;
    }
    
    .discord-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .discord-info {
        justify-content: center;
    }
    
    .search-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-field-compact {
        min-width: 100%;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    thead th,
    tbody td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .controls,
    .info-card,
    .player-list {
        padding: 20px;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    thead th,
    tbody td {
        padding: 8px 6px;
    }
}

/* Animation for loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Smooth transitions */
* {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

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

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

/* Beautiful Glowing Card Effects */
.server-info, .controls, .tabs, .player-list, .team-results {
    position: relative;
    overflow: hidden;
}



@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(90deg, #e5e5e5, #c7c7c7, #a3a3a3, #737373, #525252);
    }
    50% {
        background: linear-gradient(90deg, #e5e5e5, #a3a3a3, #737373, #525252, #404040);
    }
}

.server-info:hover::before, .controls:hover::before, .tabs:hover::before, 
.player-list:hover::before, .team-results:hover::before {
    opacity: 1;
}

/* Enhanced Preset Button Effects */
.preset-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-bg), rgba(99, 102, 241, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
}

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

.preset-btn:hover::before {
    left: 100%;
}

.preset-btn:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--hover-bg), rgba(139, 92, 246, 0.2));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
    animation: presetGlow 1.5s ease-in-out infinite alternate;
}

@keyframes presetGlow {
    0% {
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
    }
    100% {
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5), 0 0 30px rgba(99, 102, 241, 0.4);
    }
}

/* Floating Animation for Status Indicators */
.status-online, .status-offline {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Sparkle Effect for Active Elements */
.tab-btn.active, .favorite-star.active {
    position: relative;
    overflow: hidden;
}

.tab-btn.active::after, .favorite-star.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Enhanced Loading Screen */
#loadingScreen {
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, rgba(0, 0, 0, 0.95) 70%);
    animation: loadingPulse 2s ease-in-out infinite alternate;
}

@keyframes loadingPulse {
    0% {
        background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, rgba(0, 0, 0, 0.95) 70%);
    }
    100% {
        background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3) 0%, rgba(0, 0, 0, 0.9) 70%);
    }
}

/* Modern Search System */
.modern-search-system {
    background: #0f0f23;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid #2d1b69;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px #000;
}

.horizontal-search-container {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.search-type-selector {
    flex-shrink: 0;
}

.search-type-dropdown {
    background: #1a1a2e;
    border: 1px solid #16213e;
    border-radius: 8px;
    color: #e2e8f0;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

.search-type-dropdown:focus {
    border-color: #e5e5e5;
    box-shadow: 0 0 0 2px #262626;
}

.search-input-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-clear-section {
    flex-shrink: 0;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.search-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-title .search-icon {
    font-size: 20px;
    color: var(--accent-primary);
    animation: searchPulse 2s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% {
        transform: scale(1);
        color: var(--accent-primary);
    }
    50% {
        transform: scale(1.1);
        color: #e5e5e5;
    }
}

.search-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #e2e8f0;
}

.search-toggle-btn {
    background: #111111;
    border: 1px solid #404040;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

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

.search-toggle-btn:hover::before {
    left: 100%;
}

.search-toggle-btn:hover {
    background: #18181b;
    border-color: #e5e5e5;
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px #000;
}

.primary-search {
    margin-bottom: 16px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 14px;
    z-index: 2;
    transition: all 0.3s ease;
}

.main-search-input {
    width: 100%;
    padding: 10px 16px 10px 36px;
    background: #1a1a2e;
    border: 1px solid #16213e;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.main-search-input::placeholder {
    color: #64748b;
}

.main-search-input:focus {
    outline: none;
    background: #09090b;
    border-color: #e5e5e5;
    box-shadow: 0 0 0 2px #262626;
}

.main-search-input:focus + .search-glow {
    opacity: 1;
}

.main-search-input:focus ~ i {
    color: #e5e5e5;
    transform: scale(1.05);
}

.search-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f0f23;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.advanced-search-panel {
    background: #0f0f23;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #2d1b69;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.search-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.search-field-group label i {
    font-size: 12px;
    color: #e5e5e5;
}

.search-field-group input {
    padding: 8px 12px;
    background: #1a1a2e;
    border: 1px solid #16213e;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 13px;
    transition: all 0.3s ease;
}

.search-field-group input::placeholder {
    color: #64748b;
}

.search-field-group input:focus {
    outline: none;
    border-color: #e5e5e5;
    box-shadow: 0 0 0 2px #262626;
    background: #09090b;
}

.search-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.clear-search-btn {
    background: #7c2d12;
    color: #fca5a5;
    border: 1px solid #991b1b;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

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

.clear-search-btn:hover::before {
    left: 100%;
}

.clear-search-btn:hover {
    background: #991b1b;
    border-color: #dc2626;
    color: #fecaca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px #000;
}

/* Key Authentication Modal */
.key-auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-auth-content {
    background: #0f0f23;
    border: 2px solid #2d1b69;
    border-radius: 16px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px #000;
    animation: keyModalSlideIn 0.5s ease-out;
}

@keyframes keyModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.key-auth-content h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
}

.key-auth-content p {
    color: #a1a1aa;
    margin-bottom: 30px;
    font-size: 14px;
}

.key-input-group {
    position: relative;
    margin-bottom: 20px;
}

.key-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    transition: color 0.3s ease;
}

.key-input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: #1e1e2e;
    border: 2px solid #374151;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.key-input-group input:focus {
    border-color: #e5e5e5;
    box-shadow: 0 0 0 3px #262626;
}

.key-input-group input::placeholder {
    color: #6b7280;
}

/* Key validation states */
.key-input-group.valid input {
    border-color: #10b981;
    box-shadow: 0 0 0 3px #10b981;
    background: #064e3b;
}

.key-input-group.valid i {
    color: #10b981;
}

.key-input-group.invalid input {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px #ef4444;
    background: #7f1d1d;
    animation: shake 0.5s ease-in-out;
}

.key-input-group.invalid i {
    color: #ef4444;
}

.key-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3f3f3f 0%, #111111 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.key-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
}

.key-submit-btn:active {
    transform: translateY(0);
}

.key-submit-btn.valid {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.key-submit-btn.valid:hover {
    box-shadow: 0 10px 25px #10b981;
}

.discord-login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.discord-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px #5865f2;
}

.discord-login-btn:active {
    transform: translateY(0);
}

.key-error {
    background: #dc2626;
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes keyModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design for Search */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* User Info Display */
.user-info-display {
    position: fixed;
    top: 20px;
    right: 80px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.user-info-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.user-info-display.hidden {
    display: none;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Key Change Button */
.key-change-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-change-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.key-change-btn.hidden {
    display: none;
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .modern-search-system {
        padding: 12px 16px;
    }
    
    .main-search-input {
        font-size: 14px;
        padding: 8px 12px 8px 32px;
    }
    
    .search-actions {
        justify-content: center;
    }
    
    .search-field-group input {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .key-auth-content {
        padding: 30px 20px;
        max-width: 350px;
    }
    
    .key-auth-logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .key-auth-header h2 {
        font-size: 20px;
    }
}

/* === Team Management - Simple Boxes === */

.team-management-main {
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 16px;
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-card {
    position: relative;
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: #020617;
    border: 1px solid #1f2937;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    border-color: #4f46e5;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.95);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.team-badge {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #4f46e5, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #e5e7eb;
    text-transform: uppercase;
}

.team-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.team-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #374151;
    background: rgba(15, 23, 42, 0.95);
}

.team-status i {
    font-size: 11px;
}

.status-locked {
    color: #f97373;
}

.status-unlocked {
    color: #4ade80;
}

.team-card-body {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.team-stats-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.team-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #374151;
    background: rgba(15, 23, 42, 0.9);
    font-size: 11px;
}

.team-stat i {
    font-size: 10px;
}

.team-stat-total {
    color: #e5e7eb;
}

.team-stat-online.has-online {
    border-color: rgba(34, 197, 94, 0.85);
    color: #bbf7d0;
    background: rgba(22, 163, 74, 0.25);
}

.team-stat-online.no-online {
    border-color: rgba(148, 163, 184, 0.7);
    color: #9ca3af;
    background: rgba(15, 23, 42, 0.9);
}

.team-password-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.team-password-input {
    flex: 1;
    background: #020617;
    border-radius: 999px;
    border: 1px solid #374151;
    padding: 5px 9px;
    font-size: 11px;
    color: #e5e7eb;
}

.team-password-input::placeholder {
    color: #6b7280;
}

.team-password-btn {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-password-btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.9);
}

.team-message {
    font-size: 11px;
    margin-top: 2px;
}

.team-message-error {
    color: #f97373;
}

.team-message-ok {
    color: #4ade80;
}

/* 571 Team: özel arkaplan ve icon */

.team-card[data-team-id="team_571"] {
    background-image: url('https://cdn.discordapp.com/banners/1182194452022960159/147267b78dbc3eaf0adb1f13fb550798.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_571"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.9));
    z-index: 0;
}

.team-card[data-team-id="team_571"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_571"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1182194452022960159/ad0c21276ff911be4c2ecc644f5b73aa.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

/* RAVENS Team */

.team-card[data-team-id="team_ravens"] {
    background-image: url('https://cdn.discordapp.com/banners/1084084868440403999/2705570b133dd2edb34eb304560a7e6c.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_ravens"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95));
    z-index: 0;
}

.team-card[data-team-id="team_ravens"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_ravens"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1084084868440403999/79b4a347d080ebe4c4a0dbb3c68ceb11.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

.team-detail-ravens .member-card {
    position: relative;
    overflow: hidden;
}

.team-detail-ravens .member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.discordapp.com/banners/1084084868440403999/2705570b133dd2edb34eb304560a7e6c.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.team-detail-ravens .member-card > * {
    position: relative;
    z-index: 1;
}

/* YOUNGSTA Team */

.team-card[data-team-id="team_youngsta"] {
    background-image: url('https://cdn.discordapp.com/banners/1145379239567298681/569d75c66785ac816f47e284ca4f2583.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_youngsta"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95));
    z-index: 0;
}

.team-card[data-team-id="team_youngsta"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_youngsta"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1145379239567298681/7672ced4460726b42827bce6469d954f.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

.team-detail-youngsta .member-card {
    position: relative;
    overflow: hidden;
}

.team-detail-youngsta .member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.discordapp.com/banners/1145379239567298681/569d75c66785ac816f47e284ca4f2583.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.team-detail-youngsta .member-card > * {
    position: relative;
    z-index: 1;
}

/* INVERSE Team (kendi Discord icon'u kullanılacak) */

.team-card[data-team-id="team_invers"] {
    background-image: url('https://cdn.discordapp.com/icons/1422714382219087914/bffbefa1e65f4326ba1f3f4cda0c4f22.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_invers"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.96));
    z-index: 0;
}

.team-card[data-team-id="team_invers"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_invers"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1422714382219087914/bffbefa1e65f4326ba1f3f4cda0c4f22.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

.team-detail-invers .member-card {
    position: relative;
    overflow: hidden;
}

.team-detail-invers .member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.discordapp.com/icons/1422714382219087914/bffbefa1e65f4326ba1f3f4cda0c4f22.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.team-detail-invers .member-card > * {
    position: relative;
    z-index: 1;
}

/* MONTREAL Team */

.team-card[data-team-id="team_montreal"] {
    background-image: url('https://cdn.discordapp.com/banners/1424127185387782235/502a3f12c344dbc706d0f9c02dc25707.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_montreal"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95));
    z-index: 0;
}

.team-card[data-team-id="team_montreal"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_montreal"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1424127185387782235/a_ee16f78ebedbaa68e77694d587ae6a6f.gif?animated=true&size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

.team-detail-montreal .member-card {
    position: relative;
    overflow: hidden;
}

.team-detail-montreal .member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.discordapp.com/banners/1424127185387782235/502a3f12c344dbc706d0f9c02dc25707.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.team-detail-montreal .member-card > * {
    position: relative;
    z-index: 1;
}

/* GNG Team */

.team-card[data-team-id="team_gng"] {
    background-image: url('https://cdn.discordapp.com/banners/1125220258018496536/82eca6a49c51e3dacf5f0ffec3e464fa.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_gng"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95));
    z-index: 0;
}

.team-card[data-team-id="team_gng"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_gng"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1125220258018496536/a_caf1f0e5270b9b454b5014e639bb21d1.gif?animated=true&size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

.team-detail-gng .member-card {
    position: relative;
    overflow: hidden;
}

.team-detail-gng .member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.discordapp.com/banners/1125220258018496536/82eca6a49c51e3dacf5f0ffec3e464fa.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.team-detail-gng .member-card > * {
    position: relative;
    z-index: 1;
}

/* 74 */

.team-card[data-team-id="team_74"] {
    background-image: url('https://cdn.discordapp.com/banners/1452917078381170741/ea4a18f46af81f031d982388ff308516.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_74"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95));
    z-index: 0;
}

.team-card[data-team-id="team_74"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_74"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1452917078381170741/16b95e03348b946a297b96b71a9fd06c.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

.team-detail-74 .member-card {
    position: relative;
    overflow: hidden;
}

.team-detail-74 .member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.discordapp.com/banners/1452917078381170741/ea4a18f46af81f031d982388ff308516.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.team-detail-74 .member-card > * {
    position: relative;
    z-index: 1;
}


/* JONES */

.team-card[data-team-id="team_jones"] {
    background-image: url('https://cdn.discordapp.com/icons/1237073161737076756/ae13774ebed50d9482344b1b19dd6ded.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-card[data-team-id="team_jones"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95));
    z-index: 0;
}

.team-card[data-team-id="team_jones"] > * {
    position: relative;
    z-index: 1;
}

.team-card[data-team-id="team_jones"] .team-badge {
    background-image: url('https://cdn.discordapp.com/icons/1237073161737076756/ae13774ebed50d9482344b1b19dd6ded.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
}

.team-detail-jones .member-card {
    position: relative;
    overflow: hidden;
}

.team-detail-jones .member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.discordapp.com/banners/1237073161737076756/ac5296a018b8f7da10e64e1953723fcc.webp?size=1024');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.team-detail-74 .member-card > * {
    position: relative;
    z-index: 1;
}