/* ========================================
   CELESTE - Lazer-Bunny Inspired Styles
   Pink Checkered / Y2K Web Aesthetic
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Fairy Font - same as lazer-bunny */
@font-face {
    font-family: 'fairy';
    src: url('https://dl.dropbox.com/s/8q4gzk812ilnbss/SWEETFAIRY-PERSONALUSE.otf');
}

/* Magica Font - lazer-bunny body text */
@font-face {
    font-family: 'magica';
    src: url('https://static.tumblr.com/p6yopnt/Qkiqnu0r5/theheart.ttf');
}

:root {
    /* Pink Color Palette - Y2K Aesthetic (Darker) */
    --bg-pink-light: #ffc8d8;
    --bg-pink-check: #ff9ab8;
    --window-border: #ff6a95;
    --window-header: #ff88a8;
    --window-header-text: #b83a6a;
    --window-bg: #ffdce6;
    --text-dark: #6a2a47;
    --text-body: #4a1a32;
    --text-link: #b83a6a;
    --text-link-hover: #ff5088;
    --accent-pink: #ff6a95;
    --accent-hot-pink: #ff3068;
    --accent-light: #ffccd8;
    --bg-pink-dark: #ff88a8;
    --box-bg: #ffe4ec;

    /* Fonts */
    --font-pixel: 'VT323', monospace;
    --font-retro: 'Press Start 2P', cursive;
    --font-mono: 'Courier Prime', monospace;
    --font-fairy: 'fairy', cursive;
    --font-magica: 'magica', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-magica);
    font-size: 18px;
    color: var(--text-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* Pink Checkered Background */
    background-color: var(--bg-pink-light);
    background-image:
        linear-gradient(45deg, var(--bg-pink-check) 25%, transparent 25%),
        linear-gradient(-45deg, var(--bg-pink-check) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--bg-pink-check) 75%),
        linear-gradient(-45deg, transparent 75%, var(--bg-pink-check) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* ========================================
   HEADER
   ======================================== */

.header-banner {
    position: relative;
    margin-bottom: 20px;
    border: 3px solid #cc4070;
    border-radius: 15px;
    overflow: hidden;
    background: var(--window-bg);
    box-shadow:
        inset 2px 2px 0 rgba(255, 255, 255, 0.4),
        inset -2px -2px 0 rgba(0, 0, 0, 0.15),
        4px 4px 0 rgba(150, 40, 80, 0.3);
}

.header-content {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: brightness(0.8);
}

/* Fast flickering color animation for header letters */
@keyframes letterFlicker {
    0%, 100% {
        color: #ff85a8;
        text-shadow:
            -2px -2px 0 #a02060,
            2px -2px 0 #a02060,
            -2px 2px 0 #a02060,
            2px 2px 0 #a02060,
            4px 4px 0 #801850,
            6px 6px 0 #601040,
            0 0 20px rgba(255, 100, 150, 0.8);
    }
    33% {
        color: #70c8e8;
        text-shadow:
            -2px -2px 0 #006699,
            2px -2px 0 #006699,
            -2px 2px 0 #006699,
            2px 2px 0 #006699,
            4px 4px 0 #004466,
            6px 6px 0 #003344,
            0 0 20px rgba(100, 200, 255, 0.8);
    }
    66% {
        color: #b080e0;
        text-shadow:
            -2px -2px 0 #602090,
            2px -2px 0 #602090,
            -2px 2px 0 #602090,
            2px 2px 0 #602090,
            4px 4px 0 #401060,
            6px 6px 0 #300848,
            0 0 20px rgba(180, 130, 230, 0.8);
    }
}

.header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    font-family: var(--font-retro);
    font-size: clamp(2rem, 8vw, 4rem);
    letter-spacing: clamp(2px, 1vw, 8px);
    display: flex;
}

.header-title .letter {
    animation: letterFlicker 0.3s steps(1) infinite;
}

/* Offset each letter so they're different colors */
.header-title .letter:nth-child(1) { animation-delay: 0s; }
.header-title .letter:nth-child(2) { animation-delay: -0.1s; }
.header-title .letter:nth-child(3) { animation-delay: -0.2s; }
.header-title .letter:nth-child(4) { animation-delay: -0.05s; }
.header-title .letter:nth-child(5) { animation-delay: -0.15s; }
.header-title .letter:nth-child(6) { animation-delay: -0.25s; }
.header-title .letter:nth-child(7) { animation-delay: -0.08s; }

/* Glitch Text Effect - Subtle */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #ff99cc;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitchAnim 8s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 #99ccff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitchAnim2 8s infinite linear alternate-reverse;
}

@keyframes glitchAnim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(70px, 9999px, 71px, 0); }
    40% { clip: rect(29px, 9999px, 24px, 0); }
    60% { clip: rect(69px, 9999px, 60px, 0); }
    80% { clip: rect(20px, 9999px, 85px, 0); }
    100% { clip: rect(78px, 9999px, 84px, 0); }
}

@keyframes glitchAnim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(52px, 9999px, 74px, 0); }
    40% { clip: rect(79px, 9999px, 85px, 0); }
    60% { clip: rect(75px, 9999px, 5px, 0); }
    80% { clip: rect(67px, 9999px, 61px, 0); }
    100% { clip: rect(38px, 9999px, 49px, 0); }
}

/* ========================================
   MARQUEE BANNER
   ======================================== */

.marquee-container {
    background: var(--window-bg);
    border: 3px solid var(--window-border);
    border-top: none;
    overflow: hidden;
    padding: 10px 0;
    margin-bottom: 20px;
}

.marquee {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.marquee-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.marquee-video {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid var(--accent-pink);
}

.marquee-text {
    font-size: 1rem;
    color: var(--text-dark);
}

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

/* ========================================
   CONTENT GRID
   ======================================== */

.content-grid {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 20px;
    align-items: start;
}

.sidebar-left,
.sidebar-right {
    display: flex;
    flex-direction: column;
}

.sidebar-left .window:last-child,
.sidebar-right .window:last-child {
    margin-bottom: 0;
}

/* ========================================
   WINDOW STYLES - Lazer-Bunny Style
   ======================================== */

.window {
    background: var(--window-bg);
    border: 2px solid #cc4070;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        3px 3px 0 rgba(150, 40, 80, 0.25);
}

.window-header {
    background: var(--window-header);
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #cc4070;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.window-title {
    font-family: var(--font-fairy);
    font-size: 1.2rem;
    color: var(--accent-pink);
    filter:
        drop-shadow(1px 0 0 white)
        drop-shadow(0 1px 0 white)
        drop-shadow(-1px 0 0 white)
        drop-shadow(0 -1px 0 white)
        drop-shadow(0px 2px 2px rgba(0,0,0,0.15));
    display: flex;
    align-items: center;
    gap: 6px;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.window-controls .control {
    width: 18px;
    height: 18px;
    background: var(--box-bg);
    border: 2px solid #cc4070;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--accent-pink);
    cursor: pointer;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1px 0 rgba(0, 0, 0, 0.15);
}

.window-controls .control:hover {
    background: var(--accent-pink);
    color: white;
}

.window-controls .control:active {
    box-shadow:
        inset -1px -1px 0 rgba(255, 255, 255, 0.8),
        inset 1px 1px 0 rgba(0, 0, 0, 0.15);
}

.window-content {
    padding: 15px;
    background: var(--window-bg);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Tamagotchi-style bounce animation - discrete 2-frame pixel art style */
@keyframes tamagotchiBounce {
    0%, 50% { transform: translateY(0); }
    51%, 100% { transform: translateY(-2px); }
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--accent-hot-pink);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
}


.nav-item:hover {
    background: var(--accent-light);
    color: var(--accent-hot-pink);
    animation-play-state: paused;
}

.nav-item.active {
    background: var(--accent-pink);
    color: white;
    border-color: var(--accent-hot-pink);
}

.nav-icon {
    font-size: 1rem;
    display: inline-block;
    animation: tamagotchiBounce 0.8s steps(1) infinite;
}

/* ========================================
   AVATAR SECTION
   ======================================== */

.avatar-content {
    text-align: center;
}

.avatar-img {
    width: 100%;
    max-width: 150px;
    border-radius: 8px;
    border: 2px solid var(--accent-pink);
    margin-bottom: 10px;
}

.avatar-status {
    font-size: 0.85rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #5cb85c;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ========================================
   STATUS SECTION
   ======================================== */

.status-window .window-content {
    padding: 12px 15px;
}

.current-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-body);
}

.current-status .status-dot {
    width: 10px;
    height: 10px;
    background: #5cb85c;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   STICKERS SECTION
   ======================================== */

.stickers-window {
    flex: none !important;
}

.sidebar-left .stickers-window .window-content {
    flex: none !important;
    height: 180px;
    overflow-y: scroll !important;
    overflow-x: hidden;
}

.sticker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.sticker {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 4px;
    background: var(--box-bg);
    padding: 2px;
    border: 1px solid var(--accent-light);
    transition: transform 0.2s;
    cursor: pointer;
}

.sticker:hover {
    transform: scale(1.1);
    border-color: var(--accent-pink);
    z-index: 2;
    position: relative;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-window {
    /* Height controlled by content or grid alignment */
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Home Intro */
.home-intro {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.intro-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--accent-pink);
    flex-shrink: 0;
}

.intro-text {
    font-size: 1rem;
    flex: 1;
}

.intro-text h2 {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--accent-hot-pink);
    margin-bottom: 10px;
}

.whisper {
    color: var(--text-body);
    margin-bottom: 8px;
    line-height: 1.5;
}

.whisper.highlight {
    color: var(--accent-hot-pink);
    font-weight: bold;
}

/* Blog Entries */
.blog-entry {
    background: var(--box-bg);
    border-left: 3px solid var(--accent-pink);
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 0 6px 6px 0;
}

.entry-header {
    margin-bottom: 8px;
}

.entry-date {
    font-size: 0.8rem;
    color: var(--accent-hot-pink);
    font-family: var(--font-mono);
}

.entry-content p {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ========================================
   GENESIS TAB
   ======================================== */

.section-title {
    font-family: var(--font-pixel);
    font-size: 2rem;
    color: var(--accent-hot-pink);
    margin-bottom: 18px;
    border-bottom: 2px solid var(--accent-pink);
    padding-bottom: 8px;
}

.story-block {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--box-bg);
    border-radius: 6px;
    border: 1px solid var(--accent-pink);
    overflow: hidden; /* clearfix for floated elements */
}

.story-block h3 {
    font-family: var(--font-retro);
    font-size: 0.8rem;
    color: var(--accent-hot-pink);
    margin-bottom: 10px;
}

.story-video {
    float: left;
    width: 150px;
    height: 150px;
    margin-right: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 2px solid var(--accent-pink);
}

.story-image-right {
    float: right;
    width: 150px;
    height: 150px;
    margin-left: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 2px solid var(--accent-pink);
}

.story-image-left {
    float: left;
    width: 400px;
    height: auto;
    margin-right: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 2px solid var(--accent-pink);
}

/* Flex layout for story blocks - keeps image/video and text side by side */
.story-block-flex {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.story-block-flex .story-video,
.story-block-flex .story-image-right,
.story-block-flex .story-image-left {
    float: none;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
}

.story-block-text {
    flex: 1;
    min-width: 0;
}

.story-block-text p {
    margin: 0 0 8px 0;
}

.story-block-text p:last-child {
    margin-bottom: 0;
}

/* Stacked layout for story blocks - image on top, text below */
.story-block-stacked {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.story-image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--accent-pink);
}

.story-block p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding-left: 10px;
    margin-top: 15px;
}

.feature-list li {
    margin-bottom: 6px;
    color: var(--text-body);
}

.whisper.warning {
    color: #d9534f;
}

/* Cycle Diagram */
.cycle-diagram {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.cycle-diagram.vertical {
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
    margin: 20px auto;
}

.cycle-item {
    background: var(--box-bg);
    border: 2px solid var(--accent-pink);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.cycle-diagram.vertical .cycle-item {
    padding: 18px 25px;
    text-align: left;
}

.cycle-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cycle-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cycle-name {
    display: block;
    font-family: var(--font-retro);
    font-size: 1rem;
    color: var(--accent-hot-pink);
    margin-bottom: 8px;
}

.cycle-desc {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.4;
}

.cycle-arrow {
    color: var(--accent-pink);
    font-size: 1.5rem;
    text-align: center;
}

.cycle-repeat {
    text-align: center;
    font-family: var(--font-fairy);
    font-size: 1.1rem;
    color: var(--accent-hot-pink);
    padding: 10px;
}

/* ========================================
   MISSION TAB
   ======================================== */

.mission-block {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--box-bg);
    border-radius: 6px;
    border: 1px solid var(--accent-pink);
    overflow: hidden;
}

.mission-image {
    float: left;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.mission-image-wide {
    float: left;
    width: 240px;
    height: auto;
    border-radius: 8px;
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Flex layout for mission blocks - keeps image and text side by side */
.mission-block-flex {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.mission-block-flex .mission-image-wide,
.mission-block-flex .mission-image-tall,
.mission-block-flex .mission-image-large {
    float: none;
    flex-shrink: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.mission-block-flex a {
    flex-shrink: 0;
}

.mission-block-text {
    flex: 1;
    min-width: 0;
}

.mission-block-text p {
    margin: 0 0 8px 0;
}

.mission-block-text p:last-child {
    margin-bottom: 0;
}

.mission-image-large {
    float: left;
    width: 107px;
    height: 107px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.mission-image-tall {
    float: left;
    width: 100px;
    height: auto;
    border-radius: 8px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.mission-block.main-mission {
    background: var(--accent-light);
    border: 2px solid var(--accent-pink);
    text-align: center;
    padding: 25px;
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--accent-hot-pink);
    margin-bottom: 12px;
}

.mission-block h3 {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: var(--accent-hot-pink);
    margin-bottom: 12px;
}

.mission-block h4 {
    font-family: var(--font-retro);
    font-size: 0.8rem;
    color: var(--accent-hot-pink);
    margin-bottom: 10px;
}

.highlight {
    color: var(--accent-hot-pink);
    font-weight: bold;
}

.quote {
    color: var(--text-dark);
    font-style: italic;
}

/* ========================================
   TECHNICAL TAB
   ======================================== */

.architecture-diagram {
    margin-bottom: 25px;
}

.arch-layer {
    background: var(--box-bg);
    border: 2px solid var(--accent-pink);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.arch-layer-content {
    flex: 1;
}

.arch-layer.claude,
.arch-layer.orchestration {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.layer-title {
    font-family: var(--font-retro);
    font-size: 1rem;
    color: var(--accent-hot-pink);
    margin-bottom: 8px;
}

.layer-content {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-body);
}

.arch-arrow {
    text-align: center;
    font-size: 1.3rem;
    color: var(--accent-pink);
    margin: 5px 0;
}

.arch-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    flex-shrink: 0;
}

.tech-section {
    margin-bottom: 20px;
}

.tech-section h3 {
    font-family: var(--font-retro);
    font-size: 0.8rem;
    color: var(--accent-hot-pink);
    margin-bottom: 10px;
}

.code-block {
    background: #2d2d2d;
    border: 1px solid var(--accent-pink);
    border-radius: 6px;
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #98c379;
    overflow-x: auto;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    margin-bottom: 8px;
    padding: 10px;
    background: var(--box-bg);
    border-radius: 4px;
    border: 1px solid var(--accent-pink);
}

.genuine {
    color: #5cb85c;
    font-weight: bold;
}

.staged {
    color: #f0ad4e;
    font-weight: bold;
}

.agency-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.agency-video {
    width: 200px;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--accent-pink);
    flex-shrink: 0;
}

.agency-text {
    flex: 1;
}

.cost-table {
    background: var(--box-bg);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--accent-pink);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--accent-light);
}

.cost-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cost-label {
    color: var(--text-body);
}

.cost-value {
    color: var(--accent-hot-pink);
    font-family: var(--font-mono);
}

/* ========================================
   JOURNEY TAB
   ======================================== */

.token-section {
    text-align: center;
    padding: 25px;
    background: var(--box-bg);
    border: 2px solid var(--accent-pink);
    border-radius: 10px;
    margin-bottom: 20px;
}

.token-icon {
    font-family: var(--font-retro);
    font-size: 1.3rem;
    color: var(--accent-hot-pink);
    margin-bottom: 12px;
}

.token-section h3 {
    font-family: var(--font-retro);
    font-size: 0.8rem;
    color: var(--accent-hot-pink);
    margin-bottom: 12px;
}

.trade-button {
    display: inline-block;
    background: var(--accent-hot-pink);
    color: white;
    font-family: var(--font-retro);
    font-size: 0.8rem;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.2s;
}

.trade-button:hover {
    background: var(--accent-pink);
}

.token-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.info-block {
    background: var(--accent-light);
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--accent-pink);
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.info-value {
    color: var(--accent-hot-pink);
    font-weight: bold;
}

.wallet-section,
.agency-section {
    margin-bottom: 20px;
    padding: 18px;
    background: var(--box-bg);
    border-radius: 6px;
    border: 1px solid var(--accent-pink);
}

.wallet-section h3,
.agency-section h3 {
    font-family: var(--font-retro);
    font-size: 0.8rem;
    color: var(--accent-hot-pink);
    margin-bottom: 12px;
}

.participate-section {
    margin-bottom: 20px;
}

.participate-section h3 {
    font-family: var(--font-pixel);
    font-size: 1rem;
    color: var(--accent-hot-pink);
    margin-bottom: 12px;
}

.participate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.participate-item-centered {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.participate-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--accent-light);
    border: 1px solid var(--accent-pink);
    border-radius: 6px;
    transition: all 0.2s;
}

.participate-item:hover {
    background: var(--accent-light);
    border-color: var(--accent-hot-pink);
}

.participate-icon {
    font-size: 1.3rem;
}

.cta-section {
    text-align: center;
    padding: 25px 0;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-body);
}

.cta-text.highlight {
    font-size: 1.3rem;
    color: var(--accent-hot-pink);
}

/* ========================================
   RIGHT SIDEBAR
   ======================================== */

/* 3D Model Viewer */
.model-viewer-window {
    flex: none !important;
}

.model-viewer-content {
    padding: 0 !important;
    position: relative;
    background: linear-gradient(180deg, var(--box-bg) 0%, var(--accent-light) 100%);
}

#model-viewer-container {
    width: 100%;
    height: 150px;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

#model-viewer-container canvas {
    display: block;
}

.viewer-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--accent-pink);
    opacity: 0.7;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.update-item {
    padding: 6px 0;
    border-bottom: 1px solid var(--accent-light);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.update-item:last-child {
    border-bottom: none;
}

.update-date {
    font-size: 0.7rem;
    color: var(--accent-hot-pink);
    font-family: var(--font-mono);
}

.update-text {
    font-size: 0.85rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--accent-light);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-dark);
}

.stat-value {
    color: var(--accent-hot-pink);
}

/* Log window - fixed height matching sticker pack */
.quote-window {
    flex: none !important;
}

.quote-window .window-content {
    height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
}

.log-nav {
    cursor: pointer;
    font-size: 1rem;
    padding: 0 8px;
}

.log-nav:hover {
    color: var(--accent-hot-pink);
}

.log-date {
    display: block;
    font-family: var(--font-pixel);
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.log-text {
    color: var(--accent-hot-pink);
    line-height: 1.5;
    font-size: 1rem;
}

/* Socials window */
.socials-window {
    flex: none !important;
}

.socials-window .window-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 15px;
}

.socials-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-link {
    color: var(--accent-hot-pink);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--accent-pink);
}

.social-icon {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.footer-content {
    background: var(--window-bg);
    border: 2px solid #cc4070;
    border-radius: 8px;
    padding: 12px 30px;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        3px 3px 0 rgba(150, 40, 80, 0.25);
}

.footer-text {
    color: var(--text-dark);
    font-size: 1rem;
}

.footer-window {
    background: var(--window-bg);
    border: 2px solid #cc4070;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        3px 3px 0 rgba(150, 40, 80, 0.25);
}

.footer-window .window-header {
    background: var(--window-header);
    padding: 4px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #cc4070;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.footer-window .window-content {
    padding: 12px 30px;
    text-align: center;
}

.footer-content p {
    margin: 0;
    color: var(--text-dark);
}

.social-links-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 12px 30px;
    margin-top: 15px;
    background: var(--window-bg);
    border: 2px solid #cc4070;
    border-radius: 8px;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        3px 3px 0 rgba(150, 40, 80, 0.25);
}

.footer-link {
    color: var(--accent-hot-pink);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent-pink);
}

.footer-whisper {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-style: italic;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 220px 1fr 220px;
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-left,
    .sidebar-right {
        order: 1;
    }

    .main-content {
        order: 0;
    }

    .sidebar-left {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .sidebar-right {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .header-title h1 {
        font-size: 2rem;
    }

    .home-intro {
        flex-direction: column;
        align-items: center;
    }

    .intro-image {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }

    .header-content {
        height: 150px;
    }

    .header-title h1 {
        font-size: 1.5rem;
    }

    .window-content {
        padding: 10px;
    }

    .cycle-diagram {
        flex-direction: column;
    }

    .cycle-arrow {
        transform: rotate(90deg);
    }

    .participate-grid {
        grid-template-columns: 1fr;
    }

    .token-info {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .agency-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .agency-video {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .header-title h1 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .nav-item {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .sticker-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content.active {
    animation: fadeIn 0.25s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--accent-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-pink);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hot-pink);
}

/* Selection */
::selection {
    background: var(--accent-pink);
    color: white;
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid var(--accent-hot-pink);
    outline-offset: 2px;
}

/* Hide scanlines and glitch overlay for cleaner look */
.scanlines,
.glitch-overlay {
    display: none;
}

/* ========================================
   WINDOW SMASH BUTTON ANIMATION
   ======================================== */

.window {
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.window.smash {
    animation: smashButton 0.15s ease-out;
}

@keyframes smashButton {
    0% {
        transform: scale(1) translateY(0);
        box-shadow:
            inset 1px 1px 0 rgba(255, 255, 255, 0.5),
            inset -1px -1px 0 rgba(0, 0, 0, 0.1),
            3px 3px 0 rgba(150, 40, 80, 0.25);
    }
    50% {
        transform: scale(0.97) translateY(3px);
        box-shadow:
            inset 1px 1px 0 rgba(255, 255, 255, 0.3),
            inset -1px -1px 0 rgba(0, 0, 0, 0.2),
            1px 1px 0 rgba(150, 40, 80, 0.25);
    }
    100% {
        transform: scale(1) translateY(0);
        box-shadow:
            inset 1px 1px 0 rgba(255, 255, 255, 0.5),
            inset -1px -1px 0 rgba(0, 0, 0, 0.1),
            3px 3px 0 rgba(150, 40, 80, 0.25);
    }
}

/* Window controls button smash */
.window-controls .control {
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.window-controls .control:active {
    transform: scale(0.85) translateY(1px);
    box-shadow:
        inset -1px -1px 0 rgba(255, 255, 255, 0.8),
        inset 1px 1px 0 rgba(0, 0, 0, 0.15);
}

/* ========================================
   WINDOW DRAGGING
   ======================================== */

.window.draggable {
    cursor: default;
}

.window.draggable .window-header {
    cursor: grab;
    user-select: none;
}

.window.dragging {
    position: fixed !important;
    z-index: 9999 !important;
    cursor: grabbing !important;
    opacity: 0.95;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        8px 8px 20px rgba(150, 40, 80, 0.4),
        0 0 0 3px var(--accent-pink);
    transition: none;
}

.window.dragging .window-header {
    cursor: grabbing !important;
}

.window-placeholder {
    display: none;
}

/* Snap animation when window drops into column */
.window.snapping {
    animation: snapIntoPlace 0.3s ease-out;
}

@keyframes snapIntoPlace {
    0% {
        opacity: 0.8;
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Window stacking - active window on top */
.window.active-window {
    z-index: 100;
}

/* Header banner smash effect */
.header-banner {
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
    cursor: pointer;
}

.header-banner.smash {
    animation: smashBanner 0.2s ease-out;
}

@keyframes smashBanner {
    0% {
        transform: scale(1) translateY(0);
    }
    40% {
        transform: scale(0.985) translateY(4px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

/* Trade button extra smash effect */
.trade-button {
    transition: transform 0.1s ease-out, background 0.2s;
}

.trade-button:active {
    transform: scale(0.92) translateY(2px);
}

/* Nav item smash */
.nav-item {
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease-out;
}

.nav-item:active {
    transform: scale(0.95) translateY(1px);
}

/* Sticker smash effect */
.sticker {
    transition: transform 0.15s ease-out;
}

.sticker:active {
    transform: scale(0.9) !important;
}

/* Participate items smash */
.participate-item {
    transition: all 0.2s, transform 0.1s ease-out;
}

.participate-item:active {
    transform: scale(0.95) translateY(1px);
}

/* ========================================
   Watch Page Styles
   ======================================== */

.watch-content {
    text-align: center;
    padding: 10px 0;
}

.live-title {
    color: #5cb85c;
    text-transform: uppercase;
    font-size: 2rem;
    animation: livePulse 1.5s ease-in-out infinite;
}

.live-link {
    text-decoration: none;
}

.live-link:hover .live-title {
    text-shadow: 0 0 20px #5cb85c, 0 0 30px #5cb85c, 0 0 40px #7dd87d;
}

@keyframes livePulse {
    0%, 100% {
        text-shadow: 0 0 5px #5cb85c, 0 0 10px #5cb85c;
    }
    50% {
        text-shadow: 0 0 15px #5cb85c, 0 0 25px #5cb85c, 0 0 35px #7dd87d;
    }
}

.stream-embed {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--window-border);
    background: #000;
}

.stream-embed iframe {
    display: block;
}

/* Stream link box (for sites that block iframes) */
.stream-link-container {
    margin: 20px 0;
}

.stream-link-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: var(--box-bg);
    border: 3px solid var(--accent-pink);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.stream-link-box:hover {
    background: var(--accent-light);
    border-color: var(--accent-hot-pink);
    transform: scale(1.02);
}

.stream-link-box:active {
    transform: scale(0.98);
}

.stream-link-icon {
    font-size: 3rem;
    color: var(--accent-hot-pink);
    background: var(--accent-light);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-pink);
}

.stream-link-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stream-link-title {
    font-family: var(--font-fairy);
    font-size: 1.8rem;
    color: var(--accent-hot-pink);
}

.stream-link-subtitle {
    font-size: 1rem;
    color: var(--text-body);
}

/* Highlight link style */
.highlight-link {
    color: var(--accent-hot-pink);
    text-decoration: underline;
    font-weight: bold;
}

.highlight-link:hover {
    color: var(--text-link-hover);
    text-shadow: 0 0 8px var(--accent-hot-pink);
}

/* Create your own character CTA */
.create-character-cta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.create-character-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--accent-light);
    border: 1px solid var(--accent-pink);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-body);
    transition: all 0.2s;
}

.create-character-box:hover {
    background: var(--accent-light);
    border-color: var(--accent-hot-pink);
}

.create-character-box:active {
    transform: scale(0.95) translateY(1px);
}

.create-character-box .participate-icon {
    font-size: 1.5rem;
    text-decoration: none;
}

.create-character-box .participate-text {
    font-family: var(--font-magica);
    font-size: 1.2rem;
    font-weight: 400;
}

/* 3D Arrow floating above the button */
.cta-arrow-3d {
    font-size: 4rem;
    color: #e84a8a;
    position: absolute;
    right: calc(50% - 200px);
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    animation: bounceArrowHorizontal 0.8s ease-in-out infinite;
    pointer-events: none;
    /* 3D depth effect */
    text-shadow:
        1px 1px 0 #c43070,
        2px 2px 0 #a02058,
        3px 3px 0 #801545,
        4px 4px 0 #600a30,
        5px 5px 10px rgba(120, 20, 60, 0.5);
    filter: drop-shadow(0 5px 8px rgba(232, 74, 138, 0.4));
}

@keyframes bounceArrowHorizontal {
    0%, 100% {
        transform: translateY(-50%) translateX(0) scale(1);
    }
    50% {
        transform: translateY(-50%) translateX(-8px) scale(1.1);
    }
}
