:root {
    --bg: #030303;
    --concrete: #1a1a1a;
    --gold: #ffb300; --cyan: #00e5ff; --purple: #9200ff; --pink: #ff0055; --sun: #ff6a00;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: #fff;
    font-family: 'Arial Black', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ЭФФЕКТЫ ОКРУЖЕНИЯ */
.void-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 30%, #000 120%);
    z-index: 5; pointer-events: none;
}

.glitch-scanner {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 3px);
    z-index: 6; pointer-events: none;
}

/* --- HUD КУРСОР --- */
#god-hud {
    position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none;
    transform: translate(-50%, -50%); transition: transform 0.04s linear;
}

.target-lock {
    width: 60px; height: 60px; border: 1px solid rgba(255,255,255,0.2);
    position: relative; animation: pulse-lock 1s infinite;
}
@keyframes pulse-lock { 0%, 100% { scale: 1; } 50% { scale: 1.1; border-color: #fff; } }

.axis-x, .axis-y { position: absolute; background: rgba(255,255,255,0.05); }
.axis-x { top: 50%; left: -100vw; width: 200vw; height: 1px; }
.axis-y { left: 50%; top: -100vh; width: 1px; height: 200vh; }

.hud-data {
    position: absolute; top: 70px; left: 10px;
    font-family: monospace; font-size: 10px; color: #555;
    text-transform: uppercase; letter-spacing: 2px;
}

/* --- ЦИТАДЕЛЬ --- */
.citadel { max-width: 1900px; margin: 0 auto; padding: 100px 20px; position: relative; z-index: 10; }

.monolith-head { text-align: center; margin-bottom: 150px; }
.core-logo { width: 200px; filter: grayscale(1) drop-shadow(0 0 20px rgba(255,255,255,0.1)); transition: 0.5s; }
.god-title { font-size: 6vw; letter-spacing: 25px; margin: 40px 0; font-weight: 900; -webkit-text-stroke: 1px rgba(255,255,255,0.2); color: transparent; background: linear-gradient(#fff, #333); -webkit-background-clip: text; }

/* ПАНТЕОН (5 БОГОВ) */
.pantheon {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 в ряд - железно */
    gap: 15px;
    width: 100%;
}

.entity { position: relative; transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

.monument {
    position: relative; width: 100%; aspect-ratio: 1/1.2;
    background: var(--concrete);
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    overflow: hidden; transition: 0.5s;
}

.shrine { width: 100%; height: 100%; background: #000; position: relative; }

.god-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1) brightness(0.4);
    transition: 0.6s; scale: 1.1;
}

/* ЛОГИКА ПЕРСИКА */
.persik-logic { filter: grayscale(1) brightness(0) blur(10px); }

/* ЭФФЕКТЫ ПРИ НАВЕДЕНИИ */
.entity:hover { transform: translateY(-40px) scale(1.05); z-index: 20; }
.entity:hover .monument { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); background: #fff; }
.entity:hover .god-img { filter: grayscale(0) brightness(1.2); scale: 1.3; }

.sigil {
    position: absolute; bottom: 20px; left: -100%;
    background: #fff; color: #000; font-size: 12px; padding: 5px 20px;
    transition: 0.4s; font-weight: 900;
}
.entity:hover .sigil { left: 0; }

.meta { margin-top: 30px; text-align: center; opacity: 0.3; transition: 0.5s; }
.entity:hover .meta { opacity: 1; }
.meta h2 { font-size: 2.5rem; letter-spacing: 5px; }
.meta p { font-size: 10px; color: #555; letter-spacing: 3px; margin-top: 10px; }

/* ЦВЕТА ЭНЕРГИИ */
.gold-cell:hover h2 { color: var(--gold); text-shadow: 0 0 30px var(--gold); }
.cyan-cell:hover h2 { color: var(--cyan); text-shadow: 0 0 30px var(--cyan); }
.purple-cell:hover h2 { color: var(--purple); text-shadow: 0 0 30px var(--purple); }
.pink-cell:hover h2 { color: var(--pink); text-shadow: 0 0 30px var(--pink); }
.sun-cell:hover h2 { color: var(--sun); text-shadow: 0 0 30px var(--sun); }

/* ФУТЕР */
.abyss-footer { margin-top: 200px; padding: 100px 0; border-top: 1px solid #111; }
.warning-monolith { max-width: 1000px; margin: 0 auto; background: #080808; padding: 50px; border: 1px solid #151515; }
.warning-monolith p { font-size: 14px; line-height: 2; color: #333; text-transform: uppercase; letter-spacing: 2px; text-align: justify; }
.warning-monolith span { color: #fff; border-bottom: 2px solid #fff; }

/* МОБИЛКА */
@media (max-width: 1200px) { .pantheon { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .pantheon { grid-template-columns: 1fr; } #god-hud { display: none; } * { cursor: auto !important; } }
/* --- УНИВЕРСАЛЬНЫЙ РЕКЛАМНЫЙ БАННЕР --- */

/* Контейнер баннера - плавает справа внизу */
.ad-floating-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: rgba(10, 10, 30, 0.95); /* Чуть темнее карт */
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent); /* Фиолетовая граница */
    border-radius: 12px;
    padding: 15px;
    z-index: 2000; /* Выше всего контента, но ниже модалок */
    box-shadow: 0 0 20px rgba(145, 71, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none; /* Убираем подчеркивание со всей ссылки */
    overflow: hidden;
}

/* Пульсирующее свечение при наведении */
.ad-floating-widget:hover {
    transform: translateY(-3px);
    border-color: var(--neon);
    box-shadow: 0 0 30px rgba(255, 77, 255, 0.4);
}

/* Эффект гало позади виджета */
.ad-floating-widget::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%; width: 100%; height: 100%;
    background: var(--accent);
    filter: blur(40px);
    opacity: 0.1;
    z-index: -1;
    transform: translate(-50%, -50%);
}

/* Стилизация предоставленной пиксельной иконки */
.ad-widget-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--accent));
    transition: 0.3s;
}

.ad-floating-widget:hover .ad-widget-icon {
    filter: drop-shadow(0 0 10px var(--neon));
}

/* Блок текста */
.ad-widget-text-block {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ad-widget-title_1 {
    color: rgba(255, 77, 255);
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.ad-widget-title {
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ad-widget-subtitle {
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

/* Стилизация ссылки как кнопки */
.ad-widget-link-btn {
    font-size: 0.75rem;
    padding: 5px 12px;
    background: linear-gradient(45deg, var(--accent), var(--neon));
    color: white;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    width: fit-content;
}

/* Кнопка закрытия */
.ad-widget-close {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}
.ad-widget-close:hover { color: var(--neon); }

/* --- АДАПТИВНОСТЬ ДЛЯ МОБИЛОК --- */
@media (max-width: 768px) {
    .ad-floating-widget {
        width: calc(100% - 20px); /* Почти во всю ширину */
        bottom: 10px;
        right: 10px;
        left: 10px;
        padding: 10px;
    }
    .ad-widget-icon { width: 40px; height: 40px; }
    .ad-widget-title { font-size: 0.85rem; }
}

