:root {
    --primary-color: #4F46E5; /* İndigo */
    --primary-light: #818CF8;
    --primary-dark: #3730A3;
    --danger-color: #EF4444; /* Kırmızı */
    --late-color: #F59E0B; /* Amber */
    --success-color: #10B981; /* Yeşil */
    --warning-color: #F59E0B; /* Amber */
    --gray-color: #9CA3AF;
    --gray-light: #F3F4F6;
    --gray-dark: #4B5563;
    --background: #F9FAFB;
    --card-bg: #FFFFFF;
    --text-color: #1F2937;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    --dark-primary-color: #6366F1;
    --dark-primary-light: #818CF8;
    --dark-primary-dark: #4338CA;
    --dark-background: #111827;
    --dark-card-bg: #1F2937;
    --dark-text-color: #F9FAFB;
    --dark-gray-color: #9CA3AF;
    --dark-gray-light: #374151;
    --dark-gray-dark: #D1D5DB;
    --dark-danger-color: #F87171;
    --dark-success-color: #34D399;
    --dark-warning-color: #FBBF24;
}
[data-theme="dark"] {
    --primary-color: var(--dark-primary-color);
    --primary-light: var(--dark-primary-light);
    --primary-dark: var(--dark-primary-dark);
    --background: var(--dark-background);
    --card-bg: var(--dark-card-bg);
    --text-color: var(--dark-text-color);
    --gray-color: var(--dark-gray-color);
    --gray-light: var(--dark-gray-light);
    --gray-dark: var(--dark-gray-dark);
    /* diğer değişkenlerin dark mode değerlerine ataması */
}
/* Server Option için Dark Mode Stilleri */
[data-theme="dark"] .server-option {
    background-color: var(--dark-card-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .server-option:hover {
    border-color: var(--dark-primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background-color: rgba(99, 102, 241, 0.05);
}

[data-theme="dark"] .server-option.selected {
    border-color: var(--dark-primary-color);
    background-color: rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .server-name {
    color: var(--dark-text-color);
}

[data-theme="dark"] .server-location {
    color: var(--dark-gray-color);
}

[data-theme="dark"] .server-flag {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Game Preset için Dark Mode Stilleri */
[data-theme="dark"] .game-preset {
    background-color: var(--dark-card-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .game-preset:hover {
    border-color: var(--dark-gray-color);
    background-color: rgba(99, 102, 241, 0.05);
}

[data-theme="dark"] .game-preset.active {
    background-color: rgba(99, 102, 241, 0.15);
    border-color: var(--dark-primary-color);
}

[data-theme="dark"] .game-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
}

[data-theme="dark"] .game-preset.active .game-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.2) 100%);
}

[data-theme="dark"] .game-name {
    color: var(--dark-text-color);
}

[data-theme="dark"] .game-description {
    color: var(--dark-gray-color);
}

[data-theme="dark"] .game-preset.active .game-name {
    color: var(--dark-primary-light);
}

[data-theme="dark"] .game-preset.active .game-description {
    color: var(--dark-gray-dark);
}

/* About Section için Dark Mode Stilleri */
[data-theme="dark"] #about-section {
    background-color: var(--dark-card-bg);
}

[data-theme="dark"] #about-section .card-header {
    background: linear-gradient(135deg, var(--dark-primary-color), var(--dark-primary-dark));
}

[data-theme="dark"] #about-section h2,
[data-theme="dark"] #about-section h4 {
    color: var(--dark-primary-light);
}

[data-theme="dark"] #about-section p,
[data-theme="dark"] #about-section li {
    color: var(--dark-gray-dark);
}

[data-theme="dark"] #about-section strong {
    color: var(--dark-text-color);
}

[data-theme="dark"] #about-section code {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--dark-primary-light);
}

[data-theme="dark"] #about-section .alert {
    background-color: rgba(99, 102, 241, 0.05);
    border-left-color: var(--dark-primary-color) !important;
}

[data-theme="dark"] #about-section .alert-heading {
    color: var(--dark-primary-light);
}

/* Alert box'lar için dark mode ayarları */
[data-theme="dark"] .alert-info {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--dark-primary-light);
}

[data-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #F87171; /* Kırmızı dark mode versiyonu */
}

/* Form elemanaları için dark mode ayarlamaları */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: var(--dark-gray-light);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text-color);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--dark-primary-light);
}

[data-theme="dark"] .form-label {
    color: var(--dark-text-color);
}

[data-theme="dark"] .slider-value {
    background-color: var(--dark-gray-light);
    color: var(--dark-primary-light);
}

/* Yükleme göstergeleri ve diyagramlar için dark mode */
[data-theme="dark"] .circle {
    background-color: var(--dark-card-bg);
}

[data-theme="dark"] .circle .title {
    color: var(--dark-gray-dark);
}

[data-theme="dark"] .circle .value {
    color: var(--dark-primary-light);
}

[data-theme="dark"] .circle .total {
    color: var(--dark-gray-color);
}

[data-theme="dark"] .circle .percent {
    background-color: rgba(99, 102, 241, 0.15);
    color: var(--dark-primary-light);
}
/* Summary Evaluation için Dark Mode Stilleri */
[data-theme="dark"] .summary-evaluation {
    background-color: var(--dark-card-bg);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .summary-title {
    color: var(--dark-text-color);
}

[data-theme="dark"] .summary-title i {
    color: var(--dark-primary-light);
}

[data-theme="dark"] .score-display {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .score-text {
    color: var(--dark-gray-dark);
}

[data-theme="dark"] .score-value {
    color: var(--dark-primary-light);
}

[data-theme="dark"] .score-badge {
    background-color: var(--dark-primary-color);
}

[data-theme="dark"] .score-badge.excellent {
    background-color: var(--dark-success-color);
}

[data-theme="dark"] .score-badge.good {
    background-color: var(--dark-primary-color);
}

[data-theme="dark"] .score-badge.average {
    background-color: var(--dark-warning-color);
}

[data-theme="dark"] .score-badge.poor {
    background-color: var(--dark-danger-color);
}

[data-theme="dark"] .metric-list li {
    color: var(--dark-gray-dark);
}

[data-theme="dark"] .metric-list li:before {
    color: var(--dark-primary-light);
}

/* Result Item için Dark Mode Stilleri (genellikle summary-evaluation ile birlikte kullanılır) */
[data-theme="dark"] .result-item {
    background-color: var(--dark-gray-light);
    border-left-color: var(--dark-primary-color);
}

[data-theme="dark"] .result-item .label {
    color: var(--dark-text-color);
}

[data-theme="dark"] .result-item .value {
    background-color: var(--dark-gray-color);
}

[data-theme="dark"] .result-item .value.bg-success {
    background-color: var(--dark-success-color);
}

[data-theme="dark"] .result-item .value.bg-warning {
    background-color: var(--dark-warning-color);
}

[data-theme="dark"] .result-item .value.bg-danger {
    background-color: var(--dark-danger-color);
}

/* Chart Container için Dark Mode Stilleri */
[data-theme="dark"] .chart-container {
    background-color: var(--dark-card-bg);
}

[data-theme="dark"] .chart-title {
    color: var(--dark-text-color);
}

[data-theme="dark"] .chart-title i {
    color: var(--dark-primary-light);
}

/* Download Section için Dark Mode Stilleri */
[data-theme="dark"] .download-section {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .download-section h5 {
    color: var(--dark-text-color);
}

[data-theme="dark"] .download-btn.btn-outline-primary {
    color: var(--dark-primary-light);
    border-color: var(--dark-primary-light);
}

[data-theme="dark"] .download-btn.btn-outline-primary:hover {
    background-color: var(--dark-primary-color);
    color: white;
}
[data-theme="dark"] .navbar {
    background-color: var(--dark-background);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(17, 24, 39, 0.95); /* dark-background rengi ile uyumlu */
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="dark"] .navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(249, 250, 251, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark mode mobil açık menü düzeltmeleri */
[data-theme="dark"] .navbar-collapse.show {
    background-color: var(--dark-background);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .navbar.scrolled .navbar-collapse.show {
    background-color: var(--dark-card-bg);
}

[data-theme="dark"] .navbar-collapse.show .nav-link {
    color: var(--dark-text-color) !important;
}

[data-theme="dark"] .navbar-collapse.show .nav-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--dark-primary-light) !important;
}

[data-theme="dark"] .navbar-collapse.show .nav-link.active {
    background-color: rgba(99, 102, 241, 0.2);
    color: var(--dark-primary-light) !important;
}

/* Theme toggle düzeltmeleri */
[data-theme="dark"] .theme-toggle {
    color: var(--dark-text-color) !important;
}

/* Navbar scrolled dark mode düzeltmesi */
[data-theme="dark"] .navbar.scrolled {
    color: var(--dark-text-color) !important;
}

[data-theme="dark"] .navbar.scrolled .navbar-brand,
[data-theme="dark"] .navbar.scrolled .nav-link {
    color: var(--dark-text-color) !important;
}

[data-theme="dark"] .navbar.scrolled .nav-link:hover {
    color: var(--dark-primary-light) !important;
}

/* Media query ile mobil görünüm ayarları */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
        box-shadow: var(--shadow);
    }
    
    .navbar.scrolled .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    [data-theme="dark"] .navbar-collapse {
        background-color: var(--dark-card-bg);
    }
    
    [data-theme="dark"] .navbar.scrolled .navbar-collapse {
        background-color: var(--dark-card-bg);
    }
    
    .nav-link {
        color: var(--text-color) !important;
    }
    
    [data-theme="dark"] .nav-link {
        color: var(--dark-text-color) !important;
    }
}
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin: 0 0.3rem;
    color: white !important;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

[data-theme="dark"] .theme-toggle {
    color: white !important;
}

[data-theme="dark"] .navbar.scrolled .theme-toggle {
    color: var(--text-color) !important;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    padding: 0;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}
.card, .navbar, .footer, .info-section {
    transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

/* Modern transparent navbar */
.navbar {
    background-color: transparent;
    transition: var(--transition);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.7rem 0;
    box-shadow: var(--shadow);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--text-color) !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 41, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: white !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 0.5rem;
    font-size: 1.4rem;
}

.navbar-nav .nav-link {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin: 0 0.3rem;
    transition: all 0.4s;
    font-weight: 500;
    color: white !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: all 0.4s;
    transform: translateX(-50%);
    opacity: 0;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
    opacity: 1;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Modern Header */
.header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 70%, var(--primary-light) 100%);
    color: white;
    padding: 8rem 0 5rem;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0 0 0 0;
    overflow: hidden;
    z-index: 1;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiPjwvcmVjdD4KPC9zdmc+');
    opacity: 0.3;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--background), transparent);
    z-index: 1;
}

.header h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header h1 i {
    margin-right: 0.5rem;
    font-size: 0.9em;
    vertical-align: middle;
    opacity: 0.9;
}

.header p.lead {
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Floating elements in header */
.header .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    opacity: 0.08;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Main container with top margin */
.main-container {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding-bottom: 3rem;
}

/* Alert styling */
.alert {
    border-radius: var(--border-radius);
    padding: 1.2rem 1.5rem;
    border: none;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.alert-info {
    background-color: rgba(79, 70, 229, 0.08);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

.alert strong {
    font-weight: 600;
}

.alert-heading {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.error-alert {
    display: none;
    animation: fadeInDown 0.5s ease forwards;
}

#status-message {
    display: none;
    animation: fadeIn 0.5s ease forwards;
    font-weight: 500;
}

.status-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Card styling */
.card {
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--card-bg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.card-header i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.card-body {
    padding: 2rem;
}

.settings-card, .progress-card, .results-card {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

.progress-card, .results-card {
    display: none;
}

/* Form elements */
.form-label {
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group {
    margin-bottom: 2rem;
}

.form-control, .form-select {
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-light);
    background-color: var(--gray-light);
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background-color: white;
}

.form-range {
    height: 6px;
    cursor: pointer;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    cursor: pointer;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.slider-container {
    margin-bottom: 2rem;
    position: relative;
}

.slider-value {
    font-weight: 600;
    color: var(--primary-color);
    float: right;
    background-color: var(--gray-light);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

/* Button styles */
.btn {
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    background: rgba(255, 255, 255, 0.2);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.6s, height 0.6s, opacity 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: 0s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(55, 48, 163, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(55, 48, 163, 0.3);
}

.btn-primary:disabled {
    background-color: var(--gray-color);
    border-color: var(--gray-color);
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(55, 48, 163, 0.2);
}

.btn i {
    margin-right: 0.5rem;
}

/* Server selector */
.server-selector {
    margin-top: 1rem;
}

.server-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--gray-light);
    background-color: white;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.server-option:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
}

.server-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.05);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.server-flag {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid #f0f0f0;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.server-flag img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.server-info {
    flex-grow: 1;
}

.server-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.server-location {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-top: 0.25rem;
}

.server-check {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s;
}

.server-option.selected .server-check {
    opacity: 1;
}

/* Circle progress styles */
.circle-container {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.circle {
    position: relative;
    width: 180px;
    height: 180px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    margin: 1rem;
}

.circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.circle .title {
    font-size: 1rem;
    color: var(--gray-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.circle .title i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.circle .value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.circle .total {
    font-size: 1rem;
    color: var(--gray-color);
    margin-top: 0.25rem;
}

.circle .percent {
    display: block !important;
    opacity: 1 !important;
    position: relative;
    font-size: 0.875rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-top: 0.75rem;
    background-color: rgba(79, 70, 229, 0.1);
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.circle:hover .percent {
    transform: scale(1.05);
    background-color: rgba(79, 70, 229, 0.2);
}

canvas.circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Result items */
.result-item {
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    background-color: var(--gray-light);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.result-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.result-item .label {
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.result-item .label i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.result-item .value {
    font-weight: 700;
    background-color: var(--gray-color);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
    min-width: 80px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.result-item .value.bg-success {
    background-color: var(--success-color);
}

.result-item .value.bg-warning {
    background-color: var(--warning-color);
}

.result-item .value.bg-danger {
    background-color: var(--danger-color);
}

/* Chart container */
.chart-container {
    background-color: white;
    border-radius: var(--border-radius-sm);
    height: 350px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.chart-title {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.chart-title i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Summary evaluation */
.summary-evaluation {
    background-color: white;
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.summary-title {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.summary-title i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.score-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.score-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.score-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.score-badge {
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    background-color: var(--primary-color);
    margin-left: 0.75rem;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.score-badge.excellent {
    background-color: var(--success-color);
}

.score-badge.good {
    background-color: var(--primary-color);
}

.score-badge.average {
    background-color: var(--warning-color);
}

.score-badge.poor {
    background-color: var(--danger-color);
}

.metric-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metric-list li {
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    color: var(--gray-dark);
}

.metric-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.75rem;
    color: var(--primary-color);
}

/* Download section */
.download-section {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.download-section h5 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.download-section h5 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.download-btn {
    margin: 0 0.5rem;
    transition: var(--transition);
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
}

.download-btn i {
    margin-right: 0.5rem;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Game presets */
.game-preset-selector {
    margin-top: 1rem;
}

.game-preset {
    display: flex;
    align-items: center;
    background-color: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.25rem;
    transition: all 0.4s ease;
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.game-preset:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-light));
    opacity: 0;
    transition: all 0.3s ease;
}

.game-preset:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--gray-color);
}

.game-preset:hover:before {
    opacity: 1;
}

.game-preset.active {
    background-color: rgba(79, 70, 229, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.game-preset.active:before {
    opacity: 1;
    width: 8px;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-light));
}

.game-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    margin-right: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.game-preset.active .game-icon {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(79, 70, 229, 0.2) 100%);
}

.game-icon i {
    font-size: 1.5rem;
    color: var(--gray-color);
}

.game-preset.active .game-icon i {
    color: var(--primary-color);
}

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

.game-info {
    flex: 1;
}

.game-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.game-description {
    color: var(--gray-color);
    font-size: 0.85rem;
}

.game-preset.active .game-name {
    color: var(--primary-color);
}

.game-preset.active .game-description {
    color: var(--gray-dark);
}

.game-check {
    margin-left: 0.75rem;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.game-preset.active .game-check {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

/* İkon renk paletleri */
#cs2-icon {
    background-color: #1b2838;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#valorant-icon {
    background-color: #ff4654;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#dota-icon {
    background-color: #0e0c0c;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#fortnite-icon {
    background-color: #9d4dbb;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#lol-icon {
    background-color: #1a1c23;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Animasyon efektleri */
.preset-parameter-change {
    position: relative;
    animation: highlight 0.8s ease-in-out;
}

@keyframes highlight {
    0% { background-color: transparent; }
    20% { background-color: rgba(79, 70, 229, 0.15); }
    100% { background-color: transparent; }
}

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

/* About Section */
#about-section {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background-color: white;
}

#about-section .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

#about-section .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

#about-section .card-body {
    padding: 2.5rem;
}

#about-section h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

#about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

#about-section h2:first-child {
    margin-top: 0;
}

#about-section p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

#about-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

#about-section li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

#about-section strong {
    color: var(--text-color);
    font-weight: 600;
}

#about-section code {
    background-color: rgba(79, 70, 229, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-dark);
}

#about-section .alert {
    background-color: rgba(79, 70, 229, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
}

#about-section .alert-heading {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

#about-section .alert-heading i {
    margin-right: 0.75rem;
}

/* Modern Footer */
/* Daha Kompakt Footer Stil Düzenlemeleri */
.footer {
    background-color: #0F172A;
    color: #E2E8F0;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color),
        var(--primary-light));
}

.footer-brand {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: white;
    text-decoration: none;
    position: relative;
}

.footer-brand i {
    margin-right: 0.5rem;
}

.footer-about {
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}


.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #94A3B8;
    font-size: 0.9rem;
}

.contact-item i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    margin-right: 0.75rem;
    color: var(--primary-light);
    font-size: 0.8rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #E2E8F0;
    transition: all 0.3s;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Dark Mode ayarlaması */
[data-theme="dark"] .footer {
    background-color: #0a0f1a; /* Daha koyu bir arka plan */
}

[data-theme="dark"] .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    color: #94A3B8; /* Slate-400 */
}

.contact-item i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--primary-light);
}

/* Bülten aboneliği */
.footer-newsletter {
    margin-top: 2rem;
}

.footer-newsletter-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-newsletter-text {
    color: #94A3B8; /* Slate-400 */
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.footer-newsletter-form {
    position: relative;
}

.footer-newsletter-input {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.footer-newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50px;
    padding: 0 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-newsletter-btn:hover {
    filter: brightness(1.1);
    transform: translateX(3px);
}

/* Footer alt kısım */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748B; /* Slate-500 */
    font-size: 0.9rem;
}

/* Yatay link menüsü */
.footer-links-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links-horizontal a {
    color: #94A3B8; /* Slate-400 */
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.footer-links-horizontal a:hover {
    color: white;
}

/* Responsive ayarlamalar */
@media (max-width: 992px) {
    .circle {
        width: 160px;
        height: 160px;
    }
    
    .circle .value {
        font-size: 1.75rem;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .footer-about {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
        box-shadow: var(--shadow);
    }
    
    .navbar-collapse .nav-link {
        color: var(--text-color) !important;
    }
    
    .header {
        padding: 7rem 0 4rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .circle-container {
        flex-direction: column;
        align-items: center;
    }
    
    .circle {
        margin-bottom: 1.5rem;
        width: 180px;
        height: 180px;
    }
    
    .score-display {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .score-value {
        margin-top: 0.5rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-links-horizontal {
        justify-content: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 1.75rem;
    }
    
    .card-header {
        padding: 1rem 1.25rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .download-btn {
        margin-bottom: 0.75rem;
        width: 100%;
    }
    
    .footer-links-horizontal {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links-horizontal a {
        margin-bottom: 0.5rem;
    }
    
    #about-section .card-body {
        padding: 1.5rem;
    }
    
    #about-section h2 {
        font-size: 1.3rem;
    }
}

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

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

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

/* Custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}