/* Основные стили */
body {
    font-family: 'Comic Sans MS', 'Papyrus', fantasy;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    text-align: center;
    margin: 0;
    padding: 20px;
    animation: bg-pulse 5s infinite;
    cursor: none; /* Скрываем стандартный курсор */
}

/* Анимация фона */
@keyframes bg-pulse {
    0% { background-color: #ff00ff; }
    50% { background-color: #00ffff; }
    100% { background-color: #ffff00; }
}

/* Заголовок */
h1 {
    color: #ff0000;
    text-shadow: 0 0 10px #fff, 0 0 20px #ff0, 0 0 30px #f0f;
    font-size: 3em;
    transform: rotate(-5deg);
    animation: title-shake 0.5s infinite alternate;
}

@keyframes title-shake {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}

/* Стили для картинки Валакаса */
.valakas-img {
    border: 20px dotted #ff00ff;
    border-radius: 100% 0 100% 0;
    box-shadow: 0 0 50px #ff0000;
    max-width: 80%;
    margin: 20px auto;
    animation: spin 10s linear infinite, glow 2s ease-in-out infinite alternate;
    filter: sepia(100%) hue-rotate(90deg) contrast(200%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    from { box-shadow: 0 0 30px #ff0000; }
    to { box-shadow: 0 0 60px #00ff00; }
}

/* Стили для "фактов" */
.fact {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    margin: 20px;
    border: 3px dashed #ff0;
    border-radius: 50px;
}

/* Стили для кнопки */
.button {
    background: #ff00ff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    font-size: 1.5em;
    cursor: none; /* Отключаем стандартный курсор */
    animation: button-pulse 1s infinite;
    margin: 20px;
    position: relative;
    overflow: hidden;
}

.button:hover {
    background: #ff0;
    color: #f0f;
}

.button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: button-shine 3s infinite;
}

@keyframes button-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes button-shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Футер */
.footer {
    margin-top: 50px;
    font-size: 10px;
    color: #fff;
    text-shadow: 0 0 5px #000;
}

/* Кастомный курсор */
.custom-cursor {
    position: fixed;
    width: 64px;
    height: 64px;
    pointer-events: none;
    z-index: 9999;
    background-image: url('https://ceo0fhappiness.neocities.org/mfxrwbf3vabf1.jpg'); /* Замените на свою картинку */
    background-size: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px #ff00ff) hue-rotate(90deg);
    animation: cursor-pulse 0.5s infinite alternate;
    transform: translate(-50%, -50%);
}

@keyframes cursor-pulse {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.2); }
}

/* Дополнительные безумные эффекты */
::selection {
    background: #f0f;
    color: #0ff;
}

/* Анимация для всех изображений */
img:not(.custom-cursor) {
    transition: all 0.3s ease;
}

img:not(.custom-cursor):hover {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.5) contrast(1.5);
}