/* ========================================
   burzum.net — Coming Soon
   Static, pure black, gothic, fire.
   ======================================== */

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

:root {
    --gothic: 'UnifrakturCook', cursive;
    --serif: 'EB Garamond', Georgia, serif;
    --text-primary: #d4cfc8;
    --text-muted: #7a756e;
}

html {
    font-size: 16px;
}

body {
    background: #000;
    color: var(--text-primary);
    font-family: var(--serif);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 640px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* ---- Logo ---- */
.logo-wrapper {
    display: flex;
    justify-content: center;
}

.logo {
    width: 320px;
    max-width: 80vw;
    height: auto;
    /* blend away any non-black background in the image */
    mix-blend-mode: lighten;
    filter: contrast(1.3) brightness(1.05);
}

/* ---- Announcement ---- */
.announcement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.tagline {
    font-family: var(--gothic);
    font-size: 1.3rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ---- Church — fire text ---- */
.church-wrapper {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.church {
    position: relative;
    line-height: 1.1;
    margin: 0;
    z-index: 2;
}

.fire-text {
    font-family: var(--gothic);
    font-size: clamp(4rem, 12vw, 7.5rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    /* fire gradient — tall so we can animate position */
    background: linear-gradient(
        180deg,
        #fff8e0 0%,
        #ffe566 5%,
        #ffcc33 12%,
        #ff9900 22%,
        #e05500 35%,
        #aa2200 50%,
        #550800 65%,
        #aa2200 75%,
        #ff9900 85%,
        #ffe566 95%,
        #fff8e0 100%
    );
    background-size: 100% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 0 8px rgba(255, 130, 0, 0.5))
            drop-shadow(0 0 20px rgba(255, 80, 0, 0.3))
            drop-shadow(0 -6px 30px rgba(255, 60, 0, 0.25));
    animation: fireFlicker 3s ease-in-out infinite;
}



/* ambient fire glow behind the word */
.fire-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(
        ellipse at center bottom,
        rgba(255, 100, 0, 0.18) 0%,
        rgba(255, 60, 0, 0.08) 40%,
        transparent 70%
    );
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 2.5s ease-in-out infinite;
}

.fire-glow-soft {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 80, 0, 0.06) 0%,
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
    animation: glowPulse 3.5s ease-in-out infinite 0.5s;
}

/* ember particles */
.embers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
}

.ember {
    position: absolute;
    bottom: 30%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ff9500;
    box-shadow: 0 0 4px #ff6600, 0 0 8px rgba(255, 100, 0, 0.5);
    opacity: 0;
}

/* 4 different rise paths for organic movement */
.e1  { animation: riseLeft   2.4s ease-out 0.0s infinite; }
.e2  { animation: riseRight  3.1s ease-out 0.4s infinite; width: 2px; height: 2px; }
.e3  { animation: riseStraight 2.7s ease-out 1.0s infinite; }
.e4  { animation: riseWide   3.4s ease-out 0.2s infinite; width: 2px; height: 2px; }
.e5  { animation: riseRight  2.2s ease-out 1.5s infinite; background: #ffcc44; box-shadow: 0 0 5px #ffaa00, 0 0 10px rgba(255, 170, 0, 0.6); }
.e6  { animation: riseStraight 3.0s ease-out 0.7s infinite; width: 2px; height: 2px; }
.e7  { animation: riseLeft   2.9s ease-out 1.2s infinite; }
.e8  { animation: riseWide   2.5s ease-out 0.1s infinite; background: #ffdd66; box-shadow: 0 0 6px #ffbb22, 0 0 12px rgba(255, 190, 30, 0.6); width: 4px; height: 4px; }
.e9  { animation: riseRight  3.3s ease-out 0.9s infinite; width: 2px; height: 2px; }
.e10 { animation: riseStraight 2.6s ease-out 1.8s infinite; background: #ff7722; box-shadow: 0 0 4px #ff5500, 0 0 8px rgba(255, 80, 0, 0.5); }
.e11 { animation: riseLeft   3.5s ease-out 0.5s infinite; width: 2px; height: 2px; }
.e12 { animation: riseWide   2.3s ease-out 1.3s infinite; }
.e13 { animation: riseRight  2.8s ease-out 0.3s infinite; background: #ff6600; box-shadow: 0 0 3px #cc4400, 0 0 6px rgba(200, 60, 0, 0.4); width: 2px; height: 2px; }
.e14 { animation: riseStraight 3.2s ease-out 1.6s infinite; }
.e15 { animation: riseLeft   2.1s ease-out 0.8s infinite; background: #ffcc44; box-shadow: 0 0 5px #ffaa00, 0 0 10px rgba(255, 170, 0, 0.5); width: 4px; height: 4px; }
.e16 { animation: riseWide   3.6s ease-out 0.6s infinite; width: 2px; height: 2px; }
.e17 { animation: riseStraight 2.5s ease-out 2.0s infinite; background: #ff8833; }
.e18 { animation: riseLeft   3.0s ease-out 1.4s infinite; width: 2px; height: 2px; background: #ffdd66; box-shadow: 0 0 5px #ffbb22, 0 0 10px rgba(255, 190, 30, 0.5); }
.e19 { animation: riseRight  2.7s ease-out 0.2s infinite; }
.e20 { animation: riseWide   3.1s ease-out 1.1s infinite; background: #ff7722; width: 2px; height: 2px; }

/* ---- Online line ---- */
.online {
    font-family: var(--gothic);
    font-size: 1.25rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    margin-top: 0.35rem;
}

/* ---- Divider ---- */
.divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #4a4540,
        transparent
    );
}

/* ---- Description ---- */
.description {
    max-width: 480px;
}

.description p {
    font-family: var(--serif);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.description p:last-child {
    margin-bottom: 0;
}

.description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.description em {
    font-style: italic;
    color: var(--text-primary);
}

/* ---- Telegram Section ---- */
.telegram-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.telegram-text {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--serif);
    font-size: 1rem;
    color: #d4cfc8;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(90, 85, 80, 0.4);
    border-radius: 3px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.telegram-btn:hover {
    color: #fff;
    border-color: #2aabee;
    box-shadow: 0 0 12px rgba(42, 171, 238, 0.2);
}

.telegram-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---- Fire Animations ---- */
@keyframes fireFlicker {
    0%, 100% {
        background-position: 0% 0%;
        filter: drop-shadow(0 0 8px rgba(255, 130, 0, 0.5))
                drop-shadow(0 0 20px rgba(255, 80, 0, 0.3))
                drop-shadow(0 -6px 30px rgba(255, 60, 0, 0.25));
    }
    25% {
        background-position: 0% 15%;
        filter: drop-shadow(0 0 12px rgba(255, 150, 0, 0.6))
                drop-shadow(0 0 28px rgba(255, 90, 0, 0.4))
                drop-shadow(0 -8px 35px rgba(255, 70, 0, 0.3));
    }
    50% {
        background-position: 0% 30%;
        filter: drop-shadow(0 0 6px rgba(255, 110, 0, 0.4))
                drop-shadow(0 0 16px rgba(255, 70, 0, 0.25))
                drop-shadow(0 -4px 25px rgba(255, 50, 0, 0.2));
    }
    75% {
        background-position: 0% 12%;
        filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.55))
                drop-shadow(0 0 24px rgba(255, 85, 0, 0.35))
                drop-shadow(0 -7px 32px rgba(255, 65, 0, 0.28));
    }
}

@keyframes lineFlicker {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(255, 140, 0, 0.6),
                    0 0 20px rgba(255, 100, 0, 0.3);
    }
    30% {
        opacity: 0.85;
        box-shadow: 0 0 12px rgba(255, 160, 0, 0.7),
                    0 0 30px rgba(255, 120, 0, 0.4);
    }
    60% {
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(255, 120, 0, 0.4),
                    0 0 14px rgba(255, 80, 0, 0.2);
    }
    80% {
        opacity: 0.95;
        box-shadow: 0 0 10px rgba(255, 150, 0, 0.65),
                    0 0 25px rgba(255, 110, 0, 0.35);
    }
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateX(-50%) scale(1.05); }
}

@keyframes riseLeft {
    0%   { opacity: 0; transform: translateY(0) translateX(0); }
    10%  { opacity: 0.9; }
    40%  { opacity: 0.7; transform: translateY(-35px) translateX(-6px); }
    70%  { opacity: 0.35; transform: translateY(-70px) translateX(-12px); }
    100% { opacity: 0; transform: translateY(-110px) translateX(-8px); }
}

@keyframes riseRight {
    0%   { opacity: 0; transform: translateY(0) translateX(0); }
    12%  { opacity: 0.85; }
    35%  { opacity: 0.65; transform: translateY(-30px) translateX(7px); }
    65%  { opacity: 0.3; transform: translateY(-65px) translateX(14px); }
    100% { opacity: 0; transform: translateY(-100px) translateX(10px); }
}

@keyframes riseStraight {
    0%   { opacity: 0; transform: translateY(0) translateX(0); }
    8%   { opacity: 0.95; }
    30%  { opacity: 0.7; transform: translateY(-30px) translateX(2px); }
    60%  { opacity: 0.4; transform: translateY(-65px) translateX(-2px); }
    100% { opacity: 0; transform: translateY(-120px) translateX(1px); }
}

@keyframes riseWide {
    0%   { opacity: 0; transform: translateY(0) translateX(0); }
    10%  { opacity: 0.8; }
    25%  { opacity: 0.7; transform: translateY(-20px) translateX(-10px); }
    50%  { opacity: 0.5; transform: translateY(-50px) translateX(8px); }
    75%  { opacity: 0.25; transform: translateY(-80px) translateX(-5px); }
    100% { opacity: 0; transform: translateY(-105px) translateX(6px); }
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .description p {
        font-size: 1rem;
    }

    .logo {
        width: 260px;
    }
}
