:root {
    --dark-bg: #12050C;       /* Темный фон с розоватым оттенком */
    --main-text: #F0F2F5;
    --accent-color: #FF1493;  /* DeepPink - Основной цвет Фембой */
    --accent-secondary: #FF69B4; /* HotPink - Дополнительный */
    --highlight-color: #FFB6C1; /* LightPink */
    --glass-bg: rgba(255, 20, 147, 0.05); /* Розоватое стекло */
    --glass-bg-dark: #12040C;
    --border-color: rgba(255, 105, 180, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.6);
    --liquid-highlight: rgba(255, 255, 255, 0.05);
    --snowflake-color: #FFC0CB; /* Розовый снег */
    --box-bg: rgba(30, 10, 20, 0.6);
}

body {
    margin: 0;
    font-family: 'Inter', 'Arial', sans-serif;
    color: var(--main-text);
    background-color: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    /* Рекомендую заменить картинку на что-то в стиле Sakura или Cyberpunk Pink */
    background-image: url('images/default_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.header {
    background-color: rgba(20, 5, 10, 0.8);
    backdrop-filter: blur(8px);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    height: 50px;
}

.logo {
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu.hidden { display: none; }
.header .header-title { display: flex; align-items: center; }
.header .header-title .header-right { display: none }

.nav-link {
    color: var(--main-text);
    text-decoration: none;
    font-size: 1.05em;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 15px var(--accent-color);
    border-color: #fff;
}

.menu-icon {
    height: 20px;
    width: 20px;
    margin-right: 8px;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    z-index: 5;
}

/* Общие стили блоков */
section {
    background-color: rgba(20, 5, 10, 0.7);
    backdrop-filter: blur(10px);
    margin: 30px 0;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--accent-color);
    max-width: 900px;
    width: 100%;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

h1, h2, h3 {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.6);
}

a {
    color: var(--accent-secondary);
    transition: color 0.2s;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

/* IP Copy Styles */
.ip-address-copy {
    display: flex;
    justify-content: center;
    margin: 15px auto;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    overflow: hidden;
    max-width: 400px;
}

#server-ip {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 18px;
    font-size: 1.4em;
    font-weight: bold;
    color: #fff;
    flex-grow: 1;
}

.ip-address-copy button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.0em;
    cursor: pointer;
    font-weight: bold;
}

.ip-address-copy button:hover {
    background-color: var(--accent-secondary);
}

.status-online { color: #00FF7F; font-weight: bold; text-shadow: 0 0 5px #00FF7F;}
.status-offline { color: #FF0000; font-weight: bold; text-shadow: 0 0 5px #FF0000;}

/* Features Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255,20,147,0.1), rgba(0,0,0,0.4));
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--accent-color);
}

/* Rules Styles */
.rules-section { text-align: left; }
.rules-section h1 { text-align: center }
.rule-category li {
    background-color: rgba(255, 20, 147, 0.1);
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    list-style: none;
}

/* News Styles */
.news-article {
    border-left: 6px solid var(--accent-color);
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 0 15px 15px 0;
    text-align: left;
}

/* Donation Buttons */
.donate-btn {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    margin: 15px 0;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.donate-main {
    background: linear-gradient(45deg, #FF1493, #FF69B4);
    color: white;
    box-shadow: 0 0 15px #FF1493;
}

.donate-ua {
    background: linear-gradient(45deg, #0057B8, #FFD700); /* UA Colors */
    color: white;
    box-shadow: 0 0 15px #0057B8;
}

.donate-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Footer */
.footer {
    background-color: rgba(0,0,0,0.8);
    color: var(--highlight-color);
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

.anketa-section p {
    font-size: 1.1em;
    line-height: 150%;
}

.anketa-section p.subtitle {
    font-weight: bold;
    margin: 60px 0 0 0;
    font-family: "Press Start 2P";
}

h1 {
    font-family: "Press Start 2P";
}

/* Mobile */
@media screen and (max-width: 768px) {
    .header, .nav-menu { flex-direction: column; }
    .nav-link { width: 100%; justify-content: center; }
    .header .header-title .header-right { display: block; position: absolute; right: 30px; }
    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%; /* hidden off-screen */
        flex: 1;
        width: 100%;
        background: var(--glass-bg-dark);
        padding: 80px 0 80px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: right 0.3s ease, border-bottom 0.5s ease, box-shadow 0.5s ease;
    }

    .nav-menu a {
        width: 80%;
        align-self: center;
    }

    .nav-menu.active {
        right: 0;

        border-bottom: 2px solid var(--accent-color);
        box-shadow: 0 0 15px var(--accent-color);
    }

    section {
        width: 80%;
    }
}
