/* --- style.css --- */
:root {
    --bg-color: #0b0c10;
    --card-bg: #1f2833;
    --accent-green: #66fcf1;
    --accent-red: #ff4d4d;
    --text-main: #c5c6c7;
    --text-white: #ffffff;
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Навигация */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 12, 16, 0.95);
    border-bottom: 1px solid rgba(102, 252, 241, 0.1);
    z-index: 1000;
}

.logo {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
}
.logo span { color: var(--accent-green); }

nav ul { display: flex; gap: 30px; }
nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
    text-transform: uppercase;
}
nav a:hover, nav a.active { color: var(--accent-green); }

/* Основной контейнер для страниц (кроме главной) */
.page-container {
    padding-top: 120px; /* Отступ от шапки */
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

/* Hero секция (только для главной) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://forums.terraria.org/data/social_share/index/1/1001.jpg'); 
    background-size: cover;
    background-position: center;
}
.hero-content h1 {
    font-family: var(--font-head);
    font-size: 60px;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-content p { font-size: 20px; margin-bottom: 40px; color: #fff; }

/* Кнопки и блоки */
.cta-box {
    background: rgba(102, 252, 241, 0.1);
    border: 2px solid var(--accent-green);
    padding: 20px 40px;
    display: inline-block;
    border-radius: 5px;
}
.ip-text {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-white);
    margin-right: 15px;
}
.copy-btn {
    background: var(--accent-green);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}
.copy-btn:hover { background: #fff; }

/* --- Новый стиль для единого блока особенностей --- */

.features-block {
    background: var(--card-bg); /* Темно-серый фон */
    border-radius: 8px;
    border: 1px solid #333;
    /* Свечение слева, чтобы выделить блок */
    border-left: 6px solid var(--accent-green); 
    overflow: hidden; /* Чтобы углы не обрезались */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-row {
    display: flex;
    align-items: flex-start; /* Выравнивание по верху */
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Разделительная полоска */
    transition: background 0.3s;
}

/* Убираем полоску у последнего элемента */
.feature-row:last-child {
    border-bottom: none;
}

/* Эффект при наведении на строку */
.feature-row:hover {
    background: rgba(102, 252, 241, 0.05);
}

.feature-icon {
    font-size: 32px;
    margin-right: 25px;
    min-width: 50px; /* Фиксированная ширина для иконки */
    text-align: center;
    padding-top: 5px; /* Чуть опустить иконку */
}

.feature-content h3 {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 8px;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-content p {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.5;
}

/* Адаптив для телефонов */
@media (max-width: 600px) {
    .feature-row {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
}
/* Правила */
.rule-item {
    background: var(--card-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--accent-red);
    color: #fff;
    display: flex;
    align-items: center;
}

/* Заголовки страниц */
.page-title {
    font-family: var(--font-head);
    font-size: 40px;
    color: var(--text-white);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
}

/* Footer */
footer {
    background: #000;
    padding: 30px;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: auto;
}

/* Мобилка */
@media (max-width: 768px) {
    header { padding: 15px; flex-direction: column; }
    nav ul { margin-top: 15px; gap: 15px; }
    .hero-content h1 { font-size: 36px; }
    .ip-text { display: block; margin-bottom: 10px; }
}