/* Основные стили для проекта Crealix */

:root {
    --emerald: #10b981;
    --emerald-dark: #0d9668;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: #12121a;
    --card-border: #1e1e2d;
    --text-light: #f8f9fa;
    --text-muted: #8a8fa3;
}

.text-muted {
    color: white !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Цвета */
.text-emerald {
    color: var(--emerald) !important;
}

.bg-emerald {
    background-color: var(--emerald) !important;
}

.bg-dark-custom {
    background-color: var(--darker-bg) !important;
}

/* Кнопки */
.btn-emerald {
    background-color: var(--emerald);
    border-color: var(--emerald);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-emerald:hover {
    background-color: var(--emerald-dark);
    border-color: var(--emerald-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-emerald-outline {
    background-color: transparent;
    border-color: var(--emerald);
    color: var(--emerald);
    font-weight: 500;
}

.btn-emerald-outline:hover {
    background-color: var(--emerald);
    border-color: var(--emerald);
    color: white;
}

/* Навигация */
header {
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1030;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-icon {
    color: var(--emerald);
    margin-right: 8px;
}

.logo-text {
    background: linear-gradient(90deg, var(--emerald), #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--emerald) !important;
}

.nav-link.active {
    color: var(--emerald) !important;
}

/* Hero секция */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.minecraft-world-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.minecraft-world-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.minecraft-world-img:hover img {
    transform: scale(1.03);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.1), rgba(5, 5, 8, 0.3));
    pointer-events: none;
}

/* Секции */
.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-section, .servers-section {
    padding: 100px 0;
}

/* Карточки особенностей */
.feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--emerald);
}

.feature-icon {
    font-size: 3rem;
    color: var(--emerald);
}

/* Карточки серверов */
.server-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--emerald);
}

.server-header {
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid var(--card-border);
}

.server-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-online {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--emerald);
}

.status-offline {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.server-body {
    padding: 1.5rem;
}

.server-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.progress-ring-circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-ring-bg {
    fill: none;
    stroke: var(--card-border);
    stroke-width: 6;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--emerald);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light);
}

.progress-label {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Футер */
.footer {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--card-border);
}

.footer-logo {
    font-weight: 700;
    font-size: 1.8rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--emerald);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--emerald);
    color: white;
    transform: translateY(-3px);
}

/* Модальное окно */
.modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-light);
}

.modal-header {
    border-bottom: 1px solid var(--card-border);
}

.modal-footer {
    border-top: 1px solid var(--card-border);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.launcher-icon {
    font-size: 4rem;
    color: var(--emerald);
}

/* Адаптивность */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .about-section, .servers-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .about-section, .servers-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}


