:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --primary-color: #8e44ad;
    --accent-color: #f39c12;
    --card-bg: #1e1e1e;
    --wumpus-color: #6c3483;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #2c3e50, #000000);
    padding: 4rem 1rem;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin: 0.5rem 0;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: #bdc3c7;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-family: 'Cinzel', serif;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card h3 {
    margin-top: 0;
    color: var(--accent-color);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #000;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Wumpus CSS Monster */
.monster-container {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.wumpus {
    position: relative;
    width: 140px;
    height: 140px;
}

.wumpus .body {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--wumpus-color);
    border-radius: 50% 50% 45% 45%;
    box-shadow: 0 0 20px rgba(142, 68, 173, 0.6);
    overflow: hidden;
}

/* Fur effect with linear gradients */
.wumpus .body::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(0,0,0,0.1) 5px,
        rgba(0,0,0,0.1) 10px
    );
}

.wumpus .eye {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    top: 35px;
}

.wumpus .eye.left { left: 30px; }
.wumpus .eye.right { right: 30px; }

.wumpus .eye::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    top: 9px;
    left: 9px;
    animation: blink 4s infinite;
}

.wumpus .nose {
    position: absolute;
    width: 15px;
    height: 10px;
    background-color: #3d1b49;
    border-radius: 40%;
    top: 75px;
    left: 62px;
}

.wumpus .mouth {
    position: absolute;
    width: 60px;
    height: 30px;
    background-color: #2c0e35;
    border-radius: 10px 10px 40px 40px;
    top: 95px;
    left: 40px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    overflow: hidden;
}

.wumpus .tooth {
    width: 12px;
    height: 12px;
    background-color: #ecf0f1;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
}
