/* ------------------------------ */
/*       БАЗОВЫЕ СТИЛИ           */
/* ------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    cursor: auto !important;
}

body {
    min-height: 100vh;
    background: url(fon.png) no-repeat center center;
    background-size: cover;
    background-color: #0f1923;
    color: #F0F0F0;
    overflow-x: hidden;
    position: relative;
    cursor: auto !important;
}

/* затемнение фона */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 25, 35, 0.55);
    z-index: -1;
}

:root {
    --accent: #C9E4DE;
    --accent2: #C6DEF1;
    --accent3: #C8E3E3;
}

/* ------------------------------ */
/*            NAVBAR              */
/* ------------------------------ */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 28, 38, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(198, 222, 241, 0.12);
    border-radius: 14px;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent2), 0 0 20px var(--accent3);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    cursor: default;
}

.navigation {
    display: flex;
    align-items: center;
}

.navigation a {
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 35px;
    color: #F0F0F0;
    transition: 0.3s;
    cursor: pointer !important;
}

.navigation a:hover {
    color: var(--accent3);
    text-shadow: 0 0 5px var(--accent3);
}

.navigation .btn {
    width: 120px;
    height: 42px;
    margin-left: 40px;
    background: rgba(198, 222, 241, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 222, 241, 0.35);
    border-radius: 10px;
    color: #F0F0F0;
    font-size: 16px;
    cursor: pointer !important;
    transition: 0.3s;
}

.navigation .btn:hover {
    background: rgba(198, 222, 241, 0.18);
    transform: translateY(-2px);
}

/* ------------------------------ */
/*        HERO                   */
/* ------------------------------ */
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 70px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F0F0F0;
    text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent2);
}

.hero p {
    margin-top: 15px;
    font-size: 20px;
    color: #8A8A8A;
}

.ip {
    margin-top: 20px;
    font-size: 18px;
    cursor: pointer !important;
    color: #8A8A8A;
}

.ip span {
    color: var(--accent2);
}

/* ------------------------------ */
/*           КАНВАС ЧАСТИЦ       */
/* ------------------------------ */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ------------------------------ */
/*      ВСПЛЫВАЮЩАЯ ПОДСКАЗКА    */
/* ------------------------------ */
.copy-tip {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(198, 222, 241, 0.9);
    padding: 10px 25px;
    border-radius: 8px;
    color: #0f1923;
    font-weight: 600;
    z-index: 9999;
    animation: fadeTip 1.5s ease forwards;
}

@keyframes fadeTip {
    0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* ------------------------------ */
/*            МОДАЛКИ             */
/* ------------------------------ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(20, 28, 38, 0.95);
    border: 1px solid rgba(200, 227, 227, 0.15);
    padding: 20px 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    color: #F0F0F0;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer !important;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 480px) {
    header { width: 96%; padding: 10px 14px; }
    .logo { font-size: 18px; }
    .navigation a { font-size: 10px; margin-left: 6px; }
    .navigation .btn { width: 60px; height: 28px; font-size: 10px; margin-left: 6px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 12px; }
    .ip { font-size: 12px; }
}

@media (min-width: 481px) and (max-width: 768px) {
    header { width: 90%; padding: 12px 20px; }
    .hero h1 { font-size: 52px; }
}

@media (min-width: 1201px) {
    header { width: 75%; max-width: 1100px; }
    .hero h1 { font-size: 85px; }
}

/* ===== ФИКСЫ ДЛЯ ВИДЖЕТА УВЕДОМЛЕНИЙ ===== */
/* Все элементы с pointer */
button, a, .btn, .poll-option, .close-btn, [onclick], 
.navigation a, .ip, .modal .close, .navigation .btn,
.notification-bell, .notification-item,
.notification-bell *,
.notification-panel * {
    cursor: pointer !important;
}

/* Для текстовых элементов в виджете */
.notification-panel .notif-content,
.notification-panel .notif-message,
.notification-panel .notif-time {
    cursor: default !important;
}
/* Запрет выделения для заголовка RageX */
.hero h1 {
    font-size: 70px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F0F0F0;
    text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent2);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

/* Также запрещаем выделение для подписи и IP (опционально) */
.hero p, .ip {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Но IP должен оставаться кликабельным */
.ip {
    cursor: pointer !important;
    pointer-events: auto !important;
}
