/* Grungy, dusty desert palette */
:root {
    --dirt: #3a3226;
    --drab-green: #4f5a3b;
    --rust: #8b3a2b;
    --sand: #c9b99a;
    --old-paper: #e3d7bf;
    --stain: rgba(110, 55, 15, 0.25);
}

body {
    background-color: var(--dirt);
    /* Fake wood/dirty table texture using a repeating linear gradient */
    background-image: repeating-linear-gradient(
        45deg,
        #3a3226 25%,
        #352e22 25%,
        #352e22 50%,
        #3a3226 50%,
        #3a3226 75%,
        #352e22 75%,
        #352e22 100%
    );
    background-size: 40px 40px;
    color: #1a1a1a;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: hidden;
    padding-bottom: 50px;
}

h1, h2, h3 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
}

/* Messy Paper / Character Sheet Look */
.messy-paper {
    background-color: var(--old-paper);
    border: 5px solid #222;
    border-radius: 2px 255px 3px 255px / 255px 5px 225px 3px;
    box-shadow: 8px 10px 15px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
}

/* Rotations for scattered look */
.rot-right { transform: rotate(1.5deg); }
.rot-left { transform: rotate(-2deg); }
.rot-steep { transform: rotate(-4deg); }
.rot-steep-right { transform: rotate(3deg); }

/* Navigation looking like ripped masking tape */
.masking-tape {
    background-color: #d8d4b8;
    border: 1px solid #a8a488;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Comic Sans MS', 'Marker Felt', sans-serif;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: relative;
    transition: transform 0.1s;
}
.masking-tape:hover {
    background-color: #e8e4c8;
    transform: scale(1.05) rotate(1deg);
}
.masking-tape.active {
    color: var(--rust);
    border: 2px dashed var(--rust);
}

/* Masking tape jagged edges */
.masking-tape::before, .masking-tape::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 4px;
    background: transparent;
    border-left: 2px dotted #a8a488;
}
.masking-tape::before { left: -2px; }
.masking-tape::after { right: -2px; border-left: none; border-right: 2px dotted #a8a488; }

/* Sections */
.section-content {
    display: none;
    margin-top: 40px;
}
.section-content.active {
    display: block;
    animation: slapDown 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slapDown {
    0% { transform: scale(1.2) translateY(-50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Beer Stains */
.beer-stain {
    position: absolute;
    border-radius: 50%;
    border: 8px solid var(--stain);
    background-color: rgba(110, 55, 15, 0.05);
    pointer-events: none;
    z-index: 20;
}
.stain-1 { width: 140px; height: 140px; top: -20px; left: -30px; border-width: 6px 10px 4px 8px; }
.stain-2 { width: 90px; height: 90px; bottom: 10%; right: -20px; border-width: 5px 3px 8px 6px; border-color: rgba(60, 20, 10, 0.4); }

/* Paint Splatters */
.splatter-pink {
    position: absolute; width: 15px; height: 15px; background: #ff007f; border-radius: 50%;
    box-shadow: 20px 10px 0 -3px #ff007f, -15px 25px 0 -5px #ff007f, 35px -5px 0 -6px #ff007f;
    pointer-events: none; z-index: 20;
}
.splatter-green {
    position: absolute; width: 25px; height: 25px; background: #66ff00; border-radius: 40% 60% 50% 40%;
    box-shadow: -25px 15px 0 -8px #66ff00, 10px 30px 0 -10px #66ff00, 15px -20px 0 -12px #66ff00;
    pointer-events: none; z-index: 20;
}
.splatter-blue {
    position: absolute; width: 20px; height: 20px; background: #0088ff; border-radius: 50% 40% 60% 50%;
    box-shadow: 15px 25px 0 -6px #0088ff, -10px -15px 0 -8px #0088ff, 30px -5px 0 -10px #0088ff;
    pointer-events: none; z-index: 20;
}

/* Messy Polaroids */
.polaroid {
    background: #fff;
    padding: 10px 10px 30px 10px;
    border: 1px solid #ccc;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    display: inline-block;
}

.img-placeholder {
    background-color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-family: 'Courier New', Courier, monospace;
    border: 2px dashed #333;
    text-align: center;
    padding: 5px;
}

/* Buttons */
.btn-grungy {
    background-color: var(--rust);
    color: #fff;
    font-family: Impact, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    border: 4px solid #111;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 5px 5px 0px #111;
    transition: all 0.1s;
}
.btn-grungy:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #111;
}

/* Mascot Custom CSS Props */
.cane {
    position: absolute;
    width: 8px;
    height: 120px;
    background: #5c4033;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    z-index: 25;
}
.cane::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -15px;
    width: 30px;
    height: 20px;
    border: 6px solid #5c4033;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
}

.paintbrush {
    position: absolute;
    width: 10px;
    height: 90px;
    background: #8b2222;
    border-radius: 2px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    z-index: 25;
}
.paintbrush::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -1px;
    width: 12px;
    height: 15px;
    background: silver;
}
.paintbrush::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -2px;
    width: 14px;
    height: 25px;
    background: #222; /* dirty bristles */
    border-radius: 5px 5px 0 0;
    border-top: 5px solid #0088ff; /* blue paint on tip */
}