:root {
    --glass-bg: rgba(20, 5, 20, 0.6);
    --glass-border: 3px solid #ff00ff;
    --glass-shadow: 10px 10px 0px rgba(0, 255, 255, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #ff00ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    /* Оставляем Comic Sans для рофла */
    font-family: 'Comic Sans MS', 'Comic Sans', cursive; 
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #020510; 
    overflow: hidden;
    color: var(--text-primary);
}

/* Возвращаем спокойное, но странное небо (vaporwave vibes) */
.sky-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, #110022, #330044, #001133);
    z-index: -4;
}

/* Облака, но немного кислотные (фиолетовые), медленные и плавные */
.cloud {
    position: fixed;
    top: -50%; left: -50%; width: 200vw; height: 200vh;
    background: url('https://images.unsplash.com/photo-1509803874385-db7c23652552?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    mix-blend-mode: screen;
    opacity: 0;
    z-index: -3;
    animation: flyThrough 20s linear infinite;
    filter: brightness(0.4) contrast(1.5) hue-rotate(270deg); /* Маджента облака */
}

.cloud-2 {
    animation-delay: 6s;
    transform-origin: 40% 60%;
}

.cloud-3 {
    animation-delay: 12s;
    transform-origin: 60% 40%;
}

@keyframes flyThrough {
    0% { transform: scale(0.8); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Слегка корявый контейнер, умеренно шатающийся как пьяный */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 10px;
    padding: 3rem 4rem;
    text-align: center;
    max-width: 90%;
    width: 500px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Умеренный расколбас без вылета за экран */
    animation: drunkSway 4s ease-in-out infinite alternate;
}

@keyframes drunkSway {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
    100% { transform: translateY(-5px) rotate(1deg); }
}

.brand-logo {
    width: 150px;
    height: 150px;
    border-radius: 20px; /* Форма мыла */
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid #00ffff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    /* Медленно и тупо крутится как диск */
    animation: slowSpin 5s linear infinite;
}

@keyframes slowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.2);
    /* Добавляем рофляный прыжок */
    animation: textJump 0.3s ease-in-out infinite alternate;
}

@keyframes textJump {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(3deg) scale(1.1); }
}

.slogan {
    font-size: 1.2rem;
    color: #00ffff;
    margin-bottom: 2.5rem;
    background: rgba(0,0,0,0.5);
    padding: 5px;
    border-radius: 5px;
    /* Прыгает в противофазе к основному заголовку */
    animation: sloganJump 0.4s ease-in-out infinite alternate-reverse;
}

@keyframes sloganJump {
    0% { transform: translateY(0px) rotate(-2deg); }
    100% { transform: translateY(15px) rotate(3deg) scale(0.95); }
}

.tg-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff00ff;
    border: 2px solid #00ffff;
    padding: 1rem 2rem;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 4px 4px 0px #00ffff;
    transition: all 0.2s;
}

.tg-button:hover {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #00ffff;
}

#start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #020510;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ff00ff;
    text-shadow: 4px 4px 0px #00ffff;
}

#start-overlay h1 {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 20px;
}

#start-overlay p {
    font-size: 2rem;
    color: #fff;
    text-shadow: none;
}

footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
    z-index: 100;
    opacity: 0.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

