:root {
    --bg-color: #0a0505;
    /* Slightly red-tinted black */
    --text-color: #dcd0c0;
    --text-muted: #968c83;

    /* Darker, Redder Palette */
    --fire-red: #8B0000;
    /* Dark Red */
    --fire-orange: #C04000;
    /* Burnt Orange/Rust */
    --fire-gold: #cc5500;
    /* Darker Orange-Gold (Burnt) */

    --glow-color: rgba(139, 0, 0, 0.15);
    /* Dark Red Glow */

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Typography Enhancements */
h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
    color: var(--fire-gold);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

h2 {
    font-size: 2.5rem;
    color: var(--fire-orange);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

strong {
    color: var(--fire-gold);
    font-weight: 700;
}

em {
    color: var(--fire-orange);
    font-style: italic;
}

/* Layout */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.title {
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.definition {
    border-left: 3px solid var(--fire-orange);
    padding-left: 1.5rem;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    color: var(--text-muted);
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.highlighted {
    background: linear-gradient(180deg, rgba(255, 69, 0, 0.05) 0%, transparent 100%);
    border-top: 1px solid rgba(255, 69, 0, 0.1);
    border-bottom: 1px solid rgba(255, 69, 0, 0.1);
}

/* Grid & Cards */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Burns Grid & Note */
.burns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .burns-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.poem-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 0, 0, 0.3);
    /* Dark Red Border */
    padding: 1.5rem;
    border-left: 3px solid var(--fire-orange);
}

.poem-card h3 {
    font-size: 1.25rem;
    color: var(--fire-gold);
    margin-bottom: 0.5rem;
}

.poem-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.poem-card blockquote {
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
    color: var(--text-color);
    font-style: italic;
}

.poem-card blockquote::before {
    content: none;
}

.note-box {
    background: rgba(200, 50, 0, 0.05);
    border: 1px solid var(--fire-red);
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 4px;
}

.note-box h3 {
    color: var(--fire-red);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--fire-orange);
}

/* Blockquote */
blockquote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--fire-gold);
    text-align: center;
    margin: 3rem 0;
    position: relative;
    line-height: 1.4;
}

blockquote::before {
    content: "“";
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: 0;
    opacity: 0.2;
}

figure.poem {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-left: 4px solid var(--fire-red);
    margin: 2rem 0;
}

figure.poem blockquote {
    font-size: 1.25rem;
    color: var(--text-color);
    text-align: left;
    margin: 0;
}

figcaption {
    margin-top: 1rem;
    font-style: italic;
    color: var(--fire-orange);
    text-align: right;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* FIRE ANIMATION (GIF) */
.fire-gif-container {
    position: relative;
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.fire-gif {
    width: 100%;
    height: auto;
    opacity: 0.9;
    /* Optional: Blend it if the GIF has a black background */
    mix-blend-mode: screen;
    mask-image: linear-gradient(to top, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

.glow-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    background: radial-gradient(ellipse at bottom, rgba(255, 69, 0, 0.4) 0%, transparent 70%);
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.arrow {
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}