/* SILLY PAGE - 90S CARTOON X OUTBACK AESTHETICS */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@700&family=Fredoka:wght@600;700&display=swap');

:root {
    --maxx-purple: #3d0959;
    --maxx-dark-purple: #1e032e;
    --maxx-pink: #ff2a8d;
    --maxx-magenta: #e91e63;
    --maxx-yellow: #f5d042;
    --maxx-green: #76f011;
    --maxx-black: #120318;
}

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

body {
    background-color: var(--maxx-dark-purple);
    background-image: url('/images/silly_outback_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* REALITY BAR */
.reality-bar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(30, 3, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 3px solid var(--maxx-yellow);
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(245, 208, 66, 0.4);
    align-items: center;
}

.reality-badge {
    color: var(--maxx-yellow);
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 var(--maxx-black);
}

.reality-btn {
    background: var(--maxx-pink);
    color: #fff;
    border: 2px solid var(--maxx-black);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 2px 2px 0 var(--maxx-black);
}

.reality-btn:hover {
    transform: scale(1.08) rotate(-2deg);
    background: var(--maxx-green);
    color: var(--maxx-black);
    box-shadow: 3px 3px 0 var(--maxx-black);
}

/* CONTAINER */
.outback-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* BANNER HEADER */
.comic-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.comic-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    letter-spacing: 5px;
    color: var(--maxx-yellow);
    text-shadow: 
        5px 5px 0 var(--maxx-pink),
        9px 9px 0 var(--maxx-black),
        0 0 30px rgba(245, 208, 66, 0.6);
    transform: rotate(-2deg);
    animation: wobbly-title 3s ease-in-out infinite alternate;
}

@keyframes wobbly-title {
    0% { transform: rotate(-2deg) scale(1); }
    50% { transform: rotate(1.5deg) scale(1.02); }
    100% { transform: rotate(-1deg) scale(0.99); }
}

.comic-subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--maxx-green);
    background: var(--maxx-black);
    padding: 6px 20px;
    border-radius: 15px;
    border: 3px solid var(--maxx-yellow);
    display: inline-block;
    box-shadow: 4px 4px 0 var(--maxx-pink);
    transform: rotate(1deg);
}

/* CHARACTER SELECTOR PILLS */
.char-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    background: rgba(18, 3, 24, 0.85);
    padding: 10px 18px;
    border-radius: 30px;
    border: 3px solid var(--maxx-pink);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.char-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.char-pill:hover {
    transform: scale(1.08) rotate(-1deg);
    background: var(--maxx-yellow);
    color: var(--maxx-black);
    border-color: var(--maxx-black);
}

.char-pill.active {
    background: var(--maxx-green);
    color: var(--maxx-black);
    border-color: var(--maxx-black);
    box-shadow: 0 0 15px var(--maxx-green);
    transform: scale(1.05);
}

/* HERO SECTION */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    width: 100%;
}

.mascot-card {
    position: relative;
    cursor: pointer;
}

.mascot-img-box {
    width: 320px;
    height: 320px;
    border-radius: 30px;
    border: 6px solid var(--maxx-black);
    background: var(--maxx-purple);
    box-shadow: 
        10px 10px 0 var(--maxx-yellow),
        18px 18px 0 var(--maxx-pink);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mascot-card:hover .mascot-img-box {
    transform: scale(1.04) rotate(-3deg);
}

.mascot-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mascot-title {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: var(--maxx-yellow);
    text-shadow: 3px 3px 0 var(--maxx-black);
    margin-top: 10px;
}

/* COMIC SPEECH BUBBLE */
.speech-bubble {
    position: absolute;
    top: -45px;
    right: -30px;
    background: #ffffff;
    color: var(--maxx-black);
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    padding: 12px 20px;
    border-radius: 30px;
    border: 4px solid var(--maxx-black);
    box-shadow: 5px 5px 0 var(--maxx-pink);
    z-index: 20;
    max-width: 260px;
    text-align: center;
    transform: rotate(4deg);
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.speech-bubble.active {
    opacity: 1;
    transform: rotate(2deg) scale(1.05);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    border-width: 15px 15px 0 0;
    border-style: solid;
    border-color: #ffffff transparent;
    display: block;
    width: 0;
}

/* NAVIGATION CARDS GRID */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}

.nav-card {
    background: rgba(30, 3, 46, 0.88);
    border: 4px solid var(--maxx-black);
    border-radius: 25px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 6px 6px 0 var(--maxx-black);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 10px 10px 0 var(--maxx-black);
}

.nav-card.music { border-color: var(--maxx-pink); }
.nav-card.gaming { border-color: var(--maxx-yellow); }
.nav-card.tools { border-color: var(--maxx-green); }
.nav-card.tower { border-color: #00e5ff; }

.nav-card.music:hover { background: rgba(233, 30, 99, 0.25); }
.nav-card.gaming:hover { background: rgba(245, 208, 66, 0.25); }
.nav-card.tools:hover { background: rgba(118, 240, 17, 0.25); }
.nav-card.tower:hover { background: rgba(0, 229, 255, 0.25); }

.nav-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--maxx-black);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    box-shadow: 3px 3px 0 var(--maxx-pink);
}

.nav-title {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.music .nav-title { color: var(--maxx-pink); }
.gaming .nav-title { color: var(--maxx-yellow); }
.tools .nav-title { color: var(--maxx-green); }
.tower .nav-title { color: #00e5ff; }

.nav-desc {
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    line-height: 1.4;
    color: #e0d0f0;
}

/* FLOATING CRITTER CANVAS LAYER */
#isz-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

/* FOOTER */
.silly-footer {
    margin-top: 60px;
    font-family: 'Comic Neue', cursive;
    font-size: 0.9rem;
    color: var(--maxx-yellow);
    text-shadow: 1px 1px 0 var(--maxx-black);
    background: var(--maxx-black);
    padding: 10px 25px;
    border-radius: 20px;
    border: 2px solid var(--maxx-pink);
}
