/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --accent-mc: #22c55e;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

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

body {
    /* Фоновый цвет, имитирующий ночное небо Майнкрафта */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-main);
    font-family: 'Nunito', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- КАРТОЧКА --- */
.container {
    background-color: var(--card-bg);
    backdrop-filter: blur(12px); /* Эффект стекла */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 460px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* --- ЗАГОЛОВОК --- */
.header {
    margin-bottom: 30px;
}

.mc-title {
    font-family: 'Press Start 2P', cursive; /* Пиксельный шрифт */
    font-size: 1.6rem;
    color: #ffffff;
    text-shadow: 2px 2px 0 #3b82f6, 4px 4px 0 rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* --- СТАТУС --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.paused {
    background-color: #f59e0b; /* Желтый */
    box-shadow: 0 0 10px #f59e0b;
}

.status-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fca5a5; /* Красноватый оттенок для межсезонья */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- ТЕКСТ --- */
.content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.highlight {
    font-weight: 700;
    color: var(--text-main);
}

/* --- КНОПКА TELEGRAM (как на основном сайте) --- */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-top: 10px;
}

.link-btn i {
    font-size: 1.3rem;
}

.telegram {
    background-color: rgba(0, 136, 204, 0.15);
    border: 1px solid rgba(0, 136, 204, 0.3);
    color: var(--text-main);
}

.telegram:hover {
    background-color: rgba(0, 136, 204, 0.9);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.4);
}

.hidden {
    display: none !important;
}

/* --- КНОПКА IP --- */
.ip-btn {
    background-color: rgba(34, 197, 94, 0.15); /* Зеленоватый оттенок */
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--text-main);
}
.ip-btn:hover {
    background-color: rgba(34, 197, 94, 0.9);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(34, 197, 94, 0.4);
}

/* --- ВЫПАДАЮЩЕЕ МЕНЮ IP --- */
.mc-wrapper {
    position: relative;
    width: 100%;
}

.mc-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    width: 100%;
}

/* Показываем меню по классу active (а не по hover, для надежности) */
.mc-dropdown.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.ip-copy-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0,0,0,0.3);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.ip-copy-block:hover {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

.mc-ip {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.mc-copy-icon {
    color: var(--accent-mc);
    font-size: 1.2rem;
}

.mc-instructions {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    background-color: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
}

/* --- TOAST NOTIFICATION --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #22c55e;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 200;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
