/* ===== BASE ===== */
body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: #0b0b0c;
    color: #f5f5f5;
    overflow-x: hidden;   /* оставляем */
    overflow-y: auto;     /* разрешаем вертикальный скролл */
}



/* ===== BACKGROUND ===== */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* световые формы */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.55;
}

/* золотое свечение */
.b1 {
    background: radial-gradient(circle, rgba(212,175,55,0.9), rgba(212,175,55,0.2));
    top: 10%;
    left: 15%;
    animation: move1 10s ease-in-out infinite alternate;
}

/* дополнительный свет */
.b2 {
    background: radial-gradient(circle, rgba(255,215,120,0.6), rgba(255,255,255,0.05));
    bottom: 5%;
    right: 10%;
    animation: move2 12s ease-in-out infinite alternate;
}

/* движение */
@keyframes move1 {
    from { transform: translate(0,0); }
    to { transform: translate(120px, -80px); }
}

@keyframes move2 {
    from { transform: translate(0,0); }
    to { transform: translate(-140px, 100px); }
}

/* ===== СВЕЧЕНИЕ ===== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212,175,55,0.18), transparent 60%);
    animation: pulse 6s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}

@keyframes pulse {
    0%   { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.2); }
}

/* ===== ГЛУБИНА ===== */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.85)
    );
    z-index: 1;
    pointer-events: none;
}

/* ===== CONTENT ===== */

.container {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    padding-bottom: 40px;
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* заголовок */
h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.2;
    color: #f1d27a;

    text-shadow:
        0 2px 10px rgba(0,0,0,0.9),
        0 0 30px rgba(212,175,55,0.35);
}

/* текст */
p {
    margin-top: 12px;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* футер */
.footer {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: auto;
    padding-bottom: 20px;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 600px) {

    .blob {
        width: 400px;
        height: 400px;
        filter: blur(100px);
        opacity: 0.45;
    }

    .b1 {
        top: 5%;
        left: 5%;
    }

    .b2 {
        bottom: 5%;
        right: 5%;
    }
}