@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@300;400;600;700&display=swap');

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

:root {
    --zyph-orange: #f97316;
    --zyph-amber: #fbbf24;
    --zyph-dark: #1c1917;
    --zyph-stone: #292524;
    --zyph-warm: #fff7ed;
    --zyph-sand: #d6d3d1;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--zyph-dark);
    color: var(--zyph-warm);
    line-height: 1.7;
}

.flame-header {
    background: linear-gradient(90deg, var(--zyph-dark), var(--zyph-stone), var(--zyph-dark));
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--zyph-orange);
}

.header-flame {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zyph-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-flame {
    width: 50px;
    height: 50px;
    position: relative;
}

.brand-flame::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: linear-gradient(0deg, var(--zyph-orange), var(--zyph-amber));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 1s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% { transform: translateX(-50%) scale(1); }
    100% { transform: translateX(-50%) scale(1.05); }
}

.brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--zyph-amber);
    letter-spacing: 4px;
}

.blaze-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--zyph-orange);
    color: var(--zyph-amber);
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    cursor: pointer;
}

.zyph-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.zyph-nav a {
    color: var(--zyph-sand);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.zyph-nav a:hover {
    color: var(--zyph-amber);
}

.ignite-hero {
    background: radial-gradient(ellipse at center bottom, var(--zyph-stone) 0%, var(--zyph-dark) 70%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.ignite-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--zyph-amber);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.ignite-hero p {
    font-size: 1.1rem;
    color: var(--zyph-sand);
    max-width: 750px;
    margin: 0 auto 2rem;
}

.ignite-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--zyph-orange), var(--zyph-amber));
    color: var(--zyph-dark);
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ignite-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
}

.ember-notices {
    background: var(--zyph-stone);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.ember-notice {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--zyph-warm);
}

.ember-notice span:first-child {
    font-size: 1.2rem;
}

.furnace-section {
    padding: 4rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.furnace-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--zyph-amber);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.forge-container {
    background: var(--zyph-stone);
    border: 2px solid var(--zyph-orange);
    overflow: hidden;
}

.forge-frame {
    width: 100%;
    height: 580px;
    border: none;
    display: block;
}

.spark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.spark-card {
    background: var(--zyph-stone);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--zyph-orange);
    transition: transform 0.3s;
}

.spark-card:hover {
    transform: translateY(-5px);
}

.spark-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.spark-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--zyph-amber);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.spark-card p {
    color: var(--zyph-sand);
    font-size: 0.95rem;
}

.heat-content {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.heat-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--zyph-amber);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.heat-content p {
    color: var(--zyph-sand);
    margin-bottom: 1rem;
}

.heat-content ul {
    color: var(--zyph-sand);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.heat-content li {
    margin-bottom: 0.4rem;
}

.flame-footer {
    background: var(--zyph-stone);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    border-top: 3px solid var(--zyph-orange);
}

.footer-embers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-embers a {
    color: var(--zyph-sand);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-embers a:hover {
    color: var(--zyph-amber);
}

.footer-glow {
    color: var(--zyph-sand);
    font-size: 0.85rem;
}

.gate-fire {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fire-box {
    background: var(--zyph-stone);
    border: 2px solid var(--zyph-amber);
    padding: 3rem;
    max-width: 450px;
    text-align: center;
}

.fire-box h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--zyph-amber);
    margin-bottom: 1rem;
    font-size: 2rem;
    letter-spacing: 2px;
}

.fire-box p {
    color: var(--zyph-sand);
    margin-bottom: 2rem;
}

.fire-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-kindle {
    background: linear-gradient(135deg, var(--zyph-orange), var(--zyph-amber));
    color: var(--zyph-dark);
    border: none;
    padding: 0.9rem 2rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-extinguish {
    background: transparent;
    border: 1px solid var(--zyph-sand);
    color: var(--zyph-sand);
    padding: 0.9rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
}

.ashes-view {
    text-align: center;
    padding: 6rem 2rem;
}

.ashes-view h1 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--zyph-amber);
}

@media (max-width: 900px) {
    .blaze-toggle {
        display: block;
    }

    .zyph-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--zyph-stone);
        padding: 1rem;
        display: none;
    }

    .zyph-nav.blazing {
        display: block;
    }

    .zyph-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .ignite-hero h1 {
        font-size: 2.5rem;
    }

    .spark-grid {
        grid-template-columns: 1fr;
    }

    .ember-notices {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .forge-frame {
        height: 400px;
    }

    .fire-box {
        margin: 1rem;
    }

    .fire-btns {
        flex-direction: column;
    }
}
