:root {
    --primary-color: #17ff81;
    --primary-light: #4dffab;
    --primary-dark: #00cc66;
    --accent-color: #17ff81;
    --danger-color: #ff1744;
    --warning-color: #ffa726;
    --success-color: #17ff81;
    
    --background: #ffffff;
    --secondary-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    
    --border-color: #e0e0e0;
    --border-hover: #17ff81;
    
    --border-radius: 24px;
    --border-radius-sm: 16px;
    --border-radius-xs: 12px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 4px 24px rgba(23, 255, 129, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
}

.navbar-brand i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    margin: 0 0.25rem;
    transition: var(--transition-fast);
    font-weight: 500;
    color: var(--text-secondary) !important;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(23, 255, 129, 0.08);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background-color: rgba(23, 255, 129, 0.12);
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-toggler {
    border: 2px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(23, 255, 129, 0.15);
    border-color: var(--primary-color);
}

.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(26, 26, 26, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header */
.header {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 8rem 0 5rem;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
    /*border-bottom: 3px solid var(--primary-color);*/
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(23, 255, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(23, 255, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.header h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-primary);
    z-index: 1;
}

.header h1 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9em;
}

.header p.lead {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

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

.floating-element {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

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

/* Main Container */
.main-container {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 4rem;
}

/* Alerts */
.alert {
    border-radius: var(--border-radius-sm);
    padding: 1.25rem 1.5rem;
    border: 2px solid;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.alert-info {
    background-color: rgba(23, 255, 129, 0.08);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

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

.alert-danger {
    background-color: rgba(255, 23, 68, 0.08);
    border-color: var(--danger-color);
    color: var(--text-primary);
}

.alert-danger i {
    color: var(--danger-color);
}

.alert i {
    font-size: 1.3rem;
    margin-right: 1rem;
    margin-top: 0.1rem;
}

.alert strong {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(23, 255, 129, 0.3);
}

.card-header {
    background: linear-gradient(135deg, rgba(23, 255, 129, 0.08) 0%, rgba(23, 255, 129, 0.04) 100%);
    border-bottom: 2px solid var(--primary-color);
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.card-header i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.4rem;
}

.card-body {
    padding: 2rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-xs);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    border: 2px solid;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000000;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    color: #000000;
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary-color);
    color: #000000;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-outline-success {
    background: transparent;
    border-color: var(--primary-color);
    color: #000000;
}

.btn-outline-success:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* Provider Cards */
.provider-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    height: 100%;
}

.provider-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-accent);
    transform: translateY(-4px);
}

.provider-card.active {
    border-color: var(--primary-color);
    background: rgba(23, 255, 129, 0.05);
    box-shadow: var(--shadow-accent);
}

.provider-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.provider-logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

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

.provider-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.provider-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.provider-features .badge {
    background: rgba(23, 255, 129, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(23, 255, 129, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.provider-check {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 1rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.provider-card.active .provider-check {
    opacity: 1;
}

/* Detail Boxes */
.detail-box {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-box h5 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
}

.detail-box h5 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.infrastructure-types,
.speed-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infrastructure-types li,
.speed-options li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.infrastructure-types li:last-child,
.speed-options li:last-child {
    border-bottom: none;
}

.infrastructure-types li i,
.speed-options li i {
    margin-right: 0.5rem;
}

/* Provider Detail Header */
.provider-detail-header {
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.provider-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    box-shadow: var(--shadow-accent);
}

.provider-logo-large i {
    font-size: 2.5rem;
    color: #000000;
}

.provider-detail-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.provider-detail-header .text-muted {
    color: var(--text-secondary) !important;
}

/* About Section */
#about-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

#about-section .card-header {
    background: linear-gradient(135deg, rgba(23, 255, 129, 0.1) 0%, rgba(23, 255, 129, 0.05) 100%);
}

#about-section h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1rem;
}

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

#about-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-color);
    border-radius: 2px;
}

#about-section h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

#about-section h4 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

#about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

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

#about-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

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

#about-section code {
    background: rgba(23, 255, 129, 0.1);
    color: var(--primary-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid rgba(23, 255, 129, 0.2);
}

#about-section .alert {
    background: rgba(23, 255, 129, 0.05);
    border-color: var(--primary-color);
    margin: 2rem 0;
}

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

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 3px solid var(--primary-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

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

.footer-about {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(23, 255, 129, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1rem;
}

.footer-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-color);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

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

.footer-links a i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(23, 255, 129, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-outline-light {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000000;
}

/* Form Elements */
.form-control,
.form-select {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-xs);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 255, 129, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.slider-value {
    background: rgba(23, 255, 129, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(23, 255, 129, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

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

.circle {
    position: relative;
    width: 180px;
    height: 180px;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    margin: 1rem;
    transition: var(--transition);
}

.circle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-accent);
    border-color: var(--primary-color);
}

.circle .title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

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

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

.circle .total {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.circle .percent {
    background: rgba(23, 255, 129, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(23, 255, 129, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* Result Items */
.result-item {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius-xs);
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.result-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    border-left-width: 6px;
}

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

.result-item .label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.result-item .value {
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    min-width: 80px;
    text-align: center;
}

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

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

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

/* Chart Container */
.chart-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.chart-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

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

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

.summary-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

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

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

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

.score-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.score-badge {
    background: var(--primary-color);
    color: #000000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-left: 1rem;
}

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

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

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

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

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

.metric-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.metric-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Game/Server Options */
.server-option,
.game-preset {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-xs);
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.server-option:hover,
.game-preset:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.server-option.selected,
.game-preset.active {
    border-color: var(--primary-color);
    background: rgba(23, 255, 129, 0.05);
    box-shadow: var(--shadow-accent);
}

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

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

.server-name {
    font-weight: 700;
    color: var(--text-primary);
}

.server-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.server-check,
.game-check {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: auto;
    opacity: 0;
    transition: var(--transition-fast);
}

.server-option.selected .server-check,
.game-preset.active .game-check {
    opacity: 1;
}

.game-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

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

.game-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

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

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    border: 2px solid var(--secondary-bg);
}

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

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

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

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

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-sm);
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: var(--shadow);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 7rem 0 4rem;
    }
    
    .header h1 {
        font-size: 2.25rem;
    }
    
    .provider-card {
        flex-direction: column;
        text-align: center;
    }
    
    .provider-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .provider-check {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin-left: 0;
    }
    
    .provider-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .provider-logo-large {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 1.75rem;
    }
    
    .card-header {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Animations */
@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);
    }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(23, 255, 129, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

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