/* ===== SIDEQUEST SIDESHOW - SHARED STYLES =====
   Palette matched to camp banner gradients:
   Navy: #273e6e | Orange: #ee7021 | Yellow: #fedc03
   Amber: #f8a318 | Dark Red: #8c2220 | Light Blue: #9ed7e3
*/

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

:root {
    --navy: #273e6e;
    --orange: #ee7021;
    --yellow: #fedc03;
    --red: #8c2220;
    --light-blue: #9ed7e3;
    --sky: #c2e6fa;
    --white: #ffffff;
    --cream: #fff8e7;
    --pink: #ff6b9d;
    /* Retro neon accents */
    --cyan: #00FFFF;
    --magenta: #FF00FF;
    --neon-green: #00ff00;
    --hot-pink: #FF69B4;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'VT323', 'Courier New', monospace;
    color: var(--navy);
    background: var(--cream);
    min-height: 100vh;
    overflow-x: hidden;
    image-rendering: pixelated;
    font-size: 18px;
}

/* ===== PATCHWORK + STRIPE TILED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255, 136, 24, 0.7) 0px,
            rgba(255, 136, 24, 0.7) 10px,
            rgba(255, 208, 0, 0.7) 10px,
            rgba(255, 208, 0, 0.7) 20px
        ),
        url('img/drawings/patchwork.webp') repeat center/600px;
    image-rendering: pixelated;
    z-index: -2;
    opacity: 0.4;
}

/* ===== CRT SCANLINE OVERLAY ===== */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
    /* Scanlines + vignette via radial gradient */
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 2px,
            rgba(0,0,0,0.10) 2px,
            rgba(0,0,0,0.10) 4px
        ),
        radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
    animation: crtFlicker 0.12s steps(2) infinite;
}

/* Rolling bars via pseudo-elements — two bars at different speeds */
.crt-overlay::before,
.crt-overlay::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.crt-overlay::before {
    height: 80px;
    background: linear-gradient(
        0deg,
        transparent 0%,
        rgba(255,255,255,0.06) 40%,
        rgba(255,255,255,0.06) 60%,
        transparent 100%
    );
    animation: crtBar 3s linear infinite;
}

.crt-overlay::after {
    height: 40px;
    background: linear-gradient(
        0deg,
        transparent 0%,
        rgba(255,255,255,0.04) 40%,
        rgba(255,255,255,0.04) 60%,
        transparent 100%
    );
    animation: crtBar 5s linear infinite;
    animation-delay: -2s;
}

.crt-overlay.off {
    display: none;
}

@keyframes crtBar {
    0%   { top: -100px; }
    100% { top: 100vh; }
}

@keyframes crtFlicker {
    0%   { opacity: 1; }
    25%  { opacity: 0.94; }
    50%  { opacity: 1; }
    75%  { opacity: 0.96; }
    100% { opacity: 1; }
}

/* CRT toggle button */
.crt-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    background: #000;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.45em;
    padding: 6px 8px;
    cursor: pointer;
    box-shadow: 0 0 6px #00ff00, inset 0 0 6px rgba(0,255,0,0.1);
    text-shadow: 0 0 4px #00ff00;
    transition: none;
}

.crt-toggle:hover {
    background: var(--neon-green);
    color: #000;
    text-shadow: none;
}

/* ===== FLOATING CONFETTI (CSS-only) ===== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 0 !important;
    top: -20px;
    animation: confettiFall steps(12) infinite;
}

@keyframes confettiFall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(1080deg); opacity: 0.5; }
}

/* ===== NAVIGATION ===== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #450053;
    border-bottom: 5px solid var(--cyan);
    padding: 0;
    display: flex;
    align-items: center;
    overflow: visible;
}

/* ===== PAGE-SPECIFIC (centralized from inline styles) ===== */

/* Index: hero background */
.hero-group-photo {
    position: absolute;
    inset: 0;
    background: url('img/photos/PXL_20250829_081648196.webp') center 48% / cover;
    filter: brightness(0.4) saturate(1.3);
}

/* Index: hero banner */
.hero-banner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 20px;
    line-height: 0;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(4px 4px 0 #000);
}

/* Index: intro grid */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.intro-drawing {
    max-width: 100%;
    border-radius: 0;
    animation: drawingBounce 3s ease-in-out infinite;
    filter: drop-shadow(6px 6px 0 var(--magenta)) saturate(1.5);
}

/* Index: highlight cards */
.highlight-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.highlight-card {
    background: var(--white);
    border: 3px dotted var(--magenta);
    border-radius: 0;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 8px 8px 0 var(--cyan);
    transition: transform 0.1s steps(3), box-shadow 0.1s steps(3);
}

.highlight-card:hover {
    transform: translateY(-5px) rotate(-3deg);
    box-shadow: 10px 12px 0 var(--magenta);
}

.highlight-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--navy);
    font-size: 0.8em;
    margin-bottom: 10px;
}

.highlight-card p {
    color: #555;
    line-height: 1.6;
}

/* Index: photo strip */
.photo-strip {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.photo-strip img {
    height: 250px;
    border-radius: 0;
    border: 4px solid var(--cyan);
    box-shadow: 6px 6px 0 var(--magenta);
    scroll-snap-align: center;
    flex-shrink: 0;
    object-fit: cover;
    transition: transform 0.1s steps(3);
}

.photo-strip img:hover {
    transform: scale(1.08) rotate(-3deg);
}

/* Index: CTA section */
.cta-section {
    text-align: center;
    padding: 50px 20px;
    background: #450053;
    border-radius: 0;
    margin: 40px 0;
    border: 5px double var(--cyan);
}

.cta-section h2 {
    font-family: 'Press Start 2P', monospace;
    color: var(--yellow);
    font-size: clamp(0.9em, 2.5vw, 1.4em);
    margin-bottom: 15px;
    text-shadow: 3px 3px 0 var(--magenta), 6px 6px 0 var(--cyan);
}

.cta-section p {
    color: var(--light-blue);
    font-size: 1.15em;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About: hero image */
.about-hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 0;
    border: 4px solid var(--cyan);
    box-shadow: 8px 8px 0 var(--magenta);
    margin: 30px 0;
}

/* About: two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* About: stat bubbles */
.stat-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
}

.stat-bubble {
    background: var(--hot-pink);
    color: var(--white);
    border-radius: 0;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--cyan);
    box-shadow: 5px 5px 0 #000;
    text-align: center;
    transition: transform 0.1s steps(3);
}

.stat-bubble:hover {
    transform: scale(1.1) rotate(-5deg);
}

.stat-bubble .num {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2em;
    line-height: 1;
}

.stat-bubble .label {
    font-size: 0.8em;
    margin-top: 5px;
    font-weight: 600;
}

/* About: values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.value-card {
    text-align: center;
    padding: 25px 15px;
    border-radius: 0 !important;
    background: var(--white);
    border: 3px dotted var(--magenta);
    transition: all 0.1s steps(3);
}

.value-card:hover {
    border-color: var(--cyan);
    transform: translateY(-3px) rotate(-2deg);
}

.value-card .emoji { font-size: 2.5em; margin-bottom: 10px; }
.value-card h4 {
    font-family: 'Press Start 2P', monospace;
    color: var(--navy);
    margin-bottom: 8px;
}
.value-card p { font-size: 0.95em; color: #555; line-height: 1.5; }

/* Events: countdown */
.countdown {
    text-align: center;
    background: #450053;
    border-radius: 0;
    padding: 30px;
    margin: 30px 0;
    border: 4px double var(--cyan);
}

.countdown h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--yellow);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.countdown-digits {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-box {
    background: var(--hot-pink);
    color: var(--white);
    border-radius: 0;
    padding: 15px 20px;
    min-width: 80px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
}

.countdown-box .num {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5em;
    line-height: 1;
}

.countdown-box .label {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Events: drawing */
.event-drawing {
    max-width: 250px;
    margin: 20px auto;
    display: block;
    animation: drawingBounce 3s ease-in-out infinite;
    filter: drop-shadow(4px 4px 0 var(--orange));
}

/* Responsive */
@media (max-width: 768px) {
    .intro-grid, .two-col { grid-template-columns: 1fr; }
}

/* Banner positioned to the left of centered nav links */
.sticky-banner {
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
    pointer-events: none;
    padding: 0;
    line-height: 0;
    transition: opacity 0.15s steps(3), transform 0.15s steps(3);
    cursor: pointer;
    white-space: nowrap;
}

.sticky-banner img {
    height: 40px;
    width: auto;
    display: block;
}

.sticky-banner.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.top-nav a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65em;
    padding: 15px 20px;
    transition: all 0.1s steps(3);
    letter-spacing: 1px;
    position: relative;
}

.top-nav a:hover, .top-nav a.active {
    color: var(--cyan);
    text-shadow: 2px 2px 0 var(--magenta);
    background: rgba(255,0,255,0.15);
}

.top-nav a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--cyan);
    border-radius: 0;
    transition: all 0.1s steps(3);
    transform: translateX(-50%);
}

.top-nav a:hover::after, .top-nav a.active::after {
    width: 100%;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2em;
    cursor: pointer;
    padding: 10px 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-row { justify-content: flex-end; }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
    }
    .nav-links.open { display: flex; }
    .top-nav a { width: 100%; text-align: center; }
}

/* ===== PAGE HEADER / HERO ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #450053;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.5) saturate(1.2);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(1.5em, 5vw, 3em);
    color: var(--yellow);
    text-shadow:
        3px 3px 0 var(--magenta),
        6px 6px 0 var(--cyan),
        9px 9px 0 var(--red);
    letter-spacing: 2px;
    animation: heroWobble 4s ease-in-out infinite, rainbowText 3s linear infinite;
    line-height: 1.4;
}

@keyframes heroWobble {
    0%, 100% { transform: rotate(-1deg) scale(1); }
    25% { transform: rotate(0.5deg) scale(1.02); }
    50% { transform: rotate(1deg) scale(1); }
    75% { transform: rotate(-0.5deg) scale(1.01); }
}

.hero .subtitle {
    font-family: 'VT323', monospace;
    font-size: clamp(1.2em, 3vw, 2em);
    color: var(--cyan);
    margin-top: 15px;
    text-shadow: 2px 2px 0 var(--magenta);
    font-weight: 600;
}

.hero .tagline {
    font-size: 1.1em;
    color: var(--white);
    margin-top: 10px;
    opacity: 0.9;
}

/* ===== SECTION STYLING ===== */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 25px;
}

.section-title {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(1em, 3vw, 1.5em);
    color: var(--navy);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0 var(--magenta), 6px 6px 0 var(--cyan);
    position: relative;
}

.section-title::after {
    content: '★ ★ ★';
    display: block;
    font-size: 0.4em;
    color: var(--magenta);
    text-shadow: none;
    margin: 10px auto 0;
    letter-spacing: 10px;
}

/* ===== CARD SYSTEM ===== */
.card {
    background: var(--white);
    border: 4px dashed var(--cyan);
    border-radius: 0;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 8px 8px 0 var(--magenta);
    transition: transform 0.1s steps(3), box-shadow 0.1s steps(3);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: 10px 12px 0 var(--cyan);
}

.card h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--orange);
    font-size: 0.9em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 var(--magenta);
}

.card p, .card li {
    font-size: 1.05em;
    line-height: 1.7;
    color: #333;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    padding: 6px 0 6px 30px;
    position: relative;
}

.card ul li::before {
    content: '🤡';
    position: absolute;
    left: 0;
}

/* ===== PHOTO GRID ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.photo-card {
    border-radius: 0;
    overflow: hidden;
    border: 4px solid var(--cyan);
    box-shadow: 6px 6px 0 var(--magenta);
    transition: transform 0.1s steps(3);
    background: var(--white);
}

.photo-card:hover {
    transform: rotate(-1deg) scale(1.02);
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-card .caption {
    padding: 12px 15px;
    font-weight: 600;
    text-align: center;
    background: var(--navy);
    color: var(--yellow);
    font-size: 0.95em;
}

/* ===== DRAWING GALLERY (animated) ===== */
.drawing-float {
    display: none;
}

.drawing-float.left {
    left: -50px;
    top: 30%;
    width: 200px;
}

.drawing-float.right {
    right: -50px;
    top: 60%;
    width: 180px;
    animation-delay: -10s;
    animation-direction: reverse;
}

@keyframes floatDoodle {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(10px) rotate(-3deg); }
    75% { transform: translateY(-20px) rotate(8deg); }
}

/* ===== ANIMATED DRAWING COMPONENT ===== */
.drawing-showcase {
    text-align: center;
    margin: 30px 0;
}

.drawing-showcase img {
    max-width: 300px;
    width: 100%;
    animation: drawingBounce 3s ease-in-out infinite;
    filter: drop-shadow(4px 4px 0 var(--orange));
    cursor: pointer;
    transition: filter 0.1s steps(3);
}

.drawing-showcase img:hover {
    animation: drawingSpin 0.6s ease-in-out;
    filter: drop-shadow(6px 6px 0 var(--red));
}

@keyframes drawingBounce {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes drawingSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

/* ===== EVENT CARDS ===== */
.event-card {
    background: var(--white);
    border: 3px dashed var(--cyan);
    border-radius: 0;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 8px 8px 0 var(--magenta);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: transform 0.1s steps(3);
}

.event-card:hover {
    transform: translateX(5px);
}

.event-date {
    background: var(--hot-pink);
    color: var(--white);
    border-radius: 0;
    padding: 15px;
    text-align: center;
    min-width: 90px;
    font-family: 'Press Start 2P', monospace;
    box-shadow: 4px 4px 0 #000;
    border: 3px solid #000;
    flex-shrink: 0;
}

.event-date .month {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.event-date .day {
    font-size: 2.2em;
    line-height: 1;
    margin: 5px 0;
}

.event-info h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--navy);
    font-size: 0.85em;
    margin-bottom: 8px;
}

.event-info p {
    line-height: 1.6;
    color: #444;
}

.event-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.8em;
    font-weight: 700;
    margin-top: 10px;
    border: 2px solid #000;
}

@media (max-width: 600px) {
    .event-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7em;
    border: 4px solid #000;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.1s steps(3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: #ff0800;
    color: var(--white);
    box-shadow: 5px 5px 0 #000;
}

.btn-primary:hover {
    background: var(--yellow);
    color: #000;
    transform: rotate(-2deg) translateY(-3px);
    box-shadow: 7px 8px 0 #000;
}

.btn-secondary {
    background: var(--hot-pink);
    color: var(--white);
    box-shadow: 5px 5px 0 #000;
}

.btn-secondary:hover {
    background: var(--cyan);
    color: #000;
    transform: rotate(2deg) translateY(-3px);
    box-shadow: 7px 8px 0 #000;
}

/* ===== MARQUEE BANNER ===== */
.clown-marquee {
    background: var(--magenta);
    color: var(--yellow);
    padding: 10px 0;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75em;
    letter-spacing: 3px;
    overflow: hidden;
    white-space: nowrap;
    border-top: none;
    border-bottom: 4px solid var(--cyan);
    text-shadow: 2px 2px 0 #000;
}

.clown-marquee .scroll-text {
    display: inline-block;
    animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #450053;
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    border-top: 5px solid var(--cyan);
    position: relative;
}

.site-footer .footer-art {
    max-width: 120px;
    margin: 0 auto 20px;
    animation: drawingBounce 4s ease-in-out infinite;
    filter: drop-shadow(4px 4px 0 var(--magenta));
}

.site-footer p {
    margin: 8px 0;
    opacity: 0.85;
    font-size: 0.95em;
}

.site-footer a {
    color: var(--cyan);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--magenta);
}

.visitor-counter {
    display: inline-block;
    padding: 10px 25px;
    background: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    border: 3px solid #00ff00;
    margin: 15px 0;
    border-radius: 0;
    font-size: 1.1em;
    box-shadow: 0 0 10px #00ff00, inset 0 0 10px rgba(0,255,0,0.1);
    text-shadow: 0 0 5px #00ff00;
    animation: crtFlicker 4s infinite;
}

@keyframes crtFlicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
    97% { opacity: 1; }
}

/* ===== HONK BUTTON (Easter Egg) ===== */
.honk-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5em;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.1s steps(3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.honk-btn:hover {
    transform: scale(1.15) rotate(-10deg);
}

.honk-btn:active {
    transform: scale(0.95);
}

.honk-popup {
    position: fixed;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2em;
    color: var(--cyan);
    text-shadow: 3px 3px 0 var(--magenta);
    pointer-events: none;
    z-index: 998;
    animation: honkFloat 1.5s ease-out forwards;
}

@keyframes honkFloat {
    0% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translateY(-200px) scale(2) rotate(20deg); }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes rainbowText {
    0%   { color: #FF0000; }
    16%  { color: #FF7F00; }
    33%  { color: #FFFF00; }
    50%  { color: #00FF00; }
    66%  { color: #0000FF; }
    83%  { color: #8B00FF; }
    100% { color: #FF0000; }
}

/* ===== NOSE BOOP GAME ===== */
.nose-game {
    text-align: center;
    padding: 30px;
    background: var(--cream);
    border: 4px double var(--magenta);
    border-radius: 0;
    margin: 30px 0;
}

.clown-nose {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff0000;
    display: inline-block;
    cursor: pointer;
    position: relative;
    transition: transform 0.1s steps(3);
    box-shadow: 4px 4px 0 #000;
    border: 3px solid #660000;
}

.clown-nose:hover {
    transform: scale(1.1);
}

.clown-nose.booped {
    animation: boopNose 0.4s ease;
}

@keyframes boopNose {
    0% { transform: scale(1); }
    30% { transform: scale(0.6); }
    60% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.boop-score {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2em;
    color: var(--navy);
    margin: 15px 0;
}

/* ===== ACCORDION (for How to Burn) ===== */
.accordion-item {
    margin: 15px 0;
}

.accordion-header {
    background: var(--orange);
    color: var(--white);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7em;
    padding: 18px 25px;
    border: 3px solid #000;
    border-radius: 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.1s steps(3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 5px 5px 0 #000;
}

.accordion-header:hover {
    background: var(--cyan);
    color: #000;
}

.accordion-header .icon {
    transition: transform 0.1s steps(3);
    font-size: 1.3em;
}

.accordion-header.open .icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s steps(4), padding 0.2s steps(4);
    background: var(--white);
    border: 0 solid #000;
    border-radius: 0;
    margin-top: -5px;
}

.accordion-body.open {
    max-height: 800px;
    padding: 25px;
    border-width: 0 3px 3px 3px;
}

.accordion-body p, .accordion-body li {
    line-height: 1.7;
    color: #333;
}

.accordion-body ul {
    list-style: none;
    padding: 0;
}

.accordion-body ul li {
    padding: 5px 0 5px 25px;
    position: relative;
}

.accordion-body ul li::before {
    content: '🎪';
    position: absolute;
    left: 0;
}

/* ===== WHACK-A-CLOWN GAME ===== */
.whack-game {
    background: var(--sky);
    border: 5px double var(--magenta);
    border-radius: 0;
    padding: 30px;
    text-align: center;
    box-shadow: 8px 8px 0 var(--cyan);
}

.whack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 350px;
    margin: 20px auto;
}

.whack-hole {
    width: 100px;
    height: 100px;
    background: #3d2510;
    border-radius: 50%;
    border: 3px solid #2a1a0a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    transition: transform 0.1s steps(3);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.whack-hole:active {
    transform: scale(0.95);
}

.whack-hole .mole {
    transition: transform 0.1s steps(3);
    transform: translateY(100%);
    position: absolute;
}

.whack-hole .mole.up {
    transform: translateY(0);
}

/* ===== PAGE BANNER (sub-pages) ===== */
.page-banner {
    background: #450053;
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--cyan);
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent 0px,
        transparent 15px,
        rgba(255,0,255,0.08) 15px,
        rgba(255,0,255,0.08) 30px
    );
}

.page-banner h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(1.2em, 4vw, 2em);
    color: var(--yellow);
    text-shadow: 3px 3px 0 var(--magenta), 6px 6px 0 var(--cyan), 9px 9px 0 var(--red);
    position: relative;
    animation: rainbowText 4s linear infinite;
}

.page-banner .banner-drawing {
    max-width: 150px;
    margin: 15px auto 0;
    animation: drawingBounce 3s ease-in-out infinite;
    filter: drop-shadow(4px 4px 0 var(--cyan));
}

/* ===== LINK STYLES ===== */
.content-link {
    color: var(--magenta);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.1s steps(2);
}

.content-link:hover {
    color: var(--cyan);
    text-shadow: 2px 2px 0 var(--cyan);
}

/* ===== GALLERY PAGE ===== */

/* Masonry photo grid */
.gallery-grid {
    columns: 3;
    column-gap: 20px;
    margin: 30px 0;
}

@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 500px) { .gallery-grid { columns: 1; } }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 0;
    overflow: hidden;
    border: 3px solid var(--cyan);
    box-shadow: 6px 6px 0 var(--magenta);
    transition: transform 0.1s steps(3), box-shadow 0.1s steps(3);
    background: var(--white);
    cursor: pointer;
}

.gallery-item:hover {
    transform: rotate(-3deg) scale(1.04);
    box-shadow: 8px 10px 0 var(--cyan);
}

.gallery-item img {
    width: 100%;
    display: block;
}

.gallery-item .caption {
    padding: 10px 15px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--navy);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0;
    border: 5px solid var(--cyan);
    box-shadow: 8px 8px 0 var(--magenta);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--yellow);
    font-size: 1.5em;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
}

/* Drawing wall */
.drawing-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
}

.drawing-wall-card {
    position: relative;
    cursor: pointer;
    text-align: center;
}

.drawing-wall-card:nth-child(odd) {
    animation: drawingBounce 3s ease-in-out infinite;
}

.drawing-wall-card:nth-child(even) {
    animation: drawingBounce 3.5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.drawing-wall-card:hover {
    transform: scale(1.15) rotate(5deg) !important;
    z-index: 10;
}

.drawing-wall-item {
    width: 200px;
    display: block;
    transition: filter 0.1s steps(3);
    filter: drop-shadow(5px 5px 0 var(--magenta)) saturate(1.4);
}

.drawing-wall-card:hover .drawing-wall-item {
    filter: drop-shadow(7px 7px 0 var(--cyan)) saturate(2) brightness(1.1);
}

.drawing-credit {
    display: block;
    font-size: 0.8em;
    color: #888;
    font-style: italic;
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.1s steps(2);
}

.drawing-wall-card:hover .drawing-credit {
    opacity: 1;
}

/* Boop the Nose game */
.game-section {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    background: var(--cream);
    border: 5px double var(--cyan);
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--magenta);
}

.game-section h2 {
    font-family: 'Press Start 2P', monospace;
    color: var(--navy);
    font-size: 1em;
    margin-bottom: 10px;
}

.nose-target {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #cc0000;
    display: inline-block;
    margin: 20px;
    cursor: pointer;
    border: 4px solid #800000;
    box-shadow: 4px 4px 0 #000;
    transition: transform 0.1s steps(3);
    position: relative;
}

.nose-target:hover {
    transform: scale(1.05);
}

.nose-target:active {
    transform: scale(0.9);
}

.nose-target.moving {
    animation: noseWander 2s ease-in-out infinite;
}

@keyframes noseWander {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -20px); }
    50% { transform: translate(-20px, 15px); }
    75% { transform: translate(15px, 25px); }
}

.boop-counter {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5em;
    color: var(--navy);
    margin: 15px 0;
    text-shadow: 2px 2px 0 var(--yellow);
}

.boop-msg {
    font-size: 1.1em;
    color: var(--navy);
    font-weight: 600;
    min-height: 1.5em;
}

/* Guestbook */
.guestbook {
    background: var(--white);
    border: 4px dashed var(--magenta);
    border-radius: 0;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 8px 8px 0 var(--cyan);
}

.guestbook h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--magenta);
    font-size: 0.9em;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 2px 2px 0 var(--cyan);
}

.guestbook-entries {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #fafafa;
    border-radius: 0;
    border: 2px dashed var(--light-blue);
}

.gb-entry {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.gb-entry .name {
    font-weight: 700;
    color: var(--orange);
}

.gb-entry .msg {
    color: #444;
    margin-top: 3px;
}

.gb-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.gb-form input, .gb-form textarea {
    padding: 10px 15px;
    border: 3px solid var(--magenta);
    border-radius: 0;
    font-family: 'VT323', monospace;
    font-size: 1em;
}

.gb-form input { flex: 1; min-width: 150px; }
.gb-form textarea { width: 100%; min-height: 60px; resize: vertical; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
