@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&family=Playfair+Display:wght@700;900&family=Space+Mono:wght@400;700&display=swap');

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

body {
    background: #0f0f0f;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 107, 53, 0.4) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 90%, rgba(255, 69, 0, 0.4) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 23, 68, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(255, 152, 0, 0.3) 0%, transparent 45%);
    animation: fireFlicker 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 60% 75%, rgba(255, 193, 7, 0.2) 0%, transparent 35%),
        radial-gradient(ellipse at 25% 60%, rgba(255, 87, 34, 0.25) 0%, transparent 45%);
    animation: fireWave 5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes fireFlicker {

    0%,
    100% {
        opacity: 0.8;
        filter: brightness(1);
    }

    25% {
        opacity: 0.6;
        filter: brightness(1.1);
    }

    50% {
        opacity: 0.9;
        filter: brightness(0.95);
    }

    75% {
        opacity: 0.7;
        filter: brightness(1.05);
    }
}

@keyframes fireWave {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-20px);
        opacity: 0.6;
    }
}

div {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 50px;
    position: relative;
    z-index: 1;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    box-shadow:
        0 8px 32px rgba(255, 107, 53, 0.2),
        0 0 30px rgba(255, 69, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    animation: cardSlideIn 1s ease-out forwards;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: brightness(1.1);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 25%, #ff1744 50%, #d32f2f 75%, #ff6b35 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 3px;
    animation: gradientFlow 8s ease infinite, slideInDown 1s ease-out forwards;
    text-transform: uppercase;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    background: linear-gradient(90deg, #00d4ff, #0099ff, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    letter-spacing: 2px;
    animation: textGlow 3s ease-in-out infinite, slideInUp 1.2s ease-out 0.2s forwards, pulse 2s ease-in-out 1.5s infinite;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .text {
        font-size: 1.4rem;
    }

    .logo {
        max-width: 280px;
    }

    div {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .logo {
        max-width: 220px;
        margin-bottom: 20px;
    }

    div {
        padding: 35px;
        max-width: 90%;
        margin: 20px;
        border: 2px solid rgba(255, 107, 53, 0.25);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .text {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .logo {
        max-width: 150px;
        margin-bottom: 15px;
    }

    div {
        padding: 25px;
        max-width: 95%;
        margin: 15px;
        border-radius: 10px;
        box-shadow:
            0 4px 16px rgba(255, 107, 53, 0.15),
            0 0 20px rgba(255, 69, 0, 0.08),
            inset 0 1px 1px rgba(255, 255, 255, 0.08);
    }

    body::before {
        background:
            radial-gradient(ellipse at 20% 80%, rgba(255, 107, 53, 0.3) 0%, transparent 40%),
            radial-gradient(ellipse at 80% 90%, rgba(255, 69, 0, 0.3) 0%, transparent 40%),
            radial-gradient(ellipse at 50% 100%, rgba(255, 23, 68, 0.2) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 70%, rgba(255, 152, 0, 0.2) 0%, transparent 45%);
    }
}

@keyframes textGlow {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    }

    50% {
        opacity: 0.9;
        filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}