:root {
    --hot-pink: #50C878;
    --electric-blue: #98FB98;
    --sunshine: #ADFF2F;
    --lime-crime: #00FF00;
    --grape-soda: #228B22;
    --peach: #90EE90;
    --cream: #F0FFF0;
    --dark-green: #006400;
    --moss: #8A9A5B;
    --swamp: #4A5D23;
}

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

html {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext y='24' font-size='24'%3E🦎%3C/text%3E%3C/svg%3E"), auto;
}

body {
    font-family: 'Comic Neue', cursive;
    background: 
        radial-gradient(circle at 20px 20px, var(--peach) 2px, transparent 2px),
        radial-gradient(circle at 70px 70px, var(--electric-blue) 2px, transparent 2px),
        radial-gradient(circle at 50px 110px, var(--hot-pink) 1px, transparent 1px),
        radial-gradient(circle at 100px 50px, var(--sunshine) 1.5px, transparent 1.5px),
        linear-gradient(135deg, var(--cream) 0%, #e8f5e9 50%, var(--cream) 100%);
    background-size: 120px 120px, 120px 120px, 120px 120px, 120px 120px, 100% 100%;
    background-position: 0 0, 30px 30px, 60px 10px, 10px 80px, 0 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Sparkle cursor trail */
.sparkle {
    position: fixed;
    pointer-events: none;
    font-size: 20px;
    animation: sparkle-fade 1s ease-out forwards;
    z-index: 9999;
}

@keyframes sparkle-fade {
    0% { opacity: 1; transform: scale(1) rotate(0deg); }
    100% { opacity: 0; transform: scale(0) rotate(180deg); }
}

/* Marquee banner */
.marquee-container {
    background: linear-gradient(90deg, var(--dark-green), var(--grape-soda), var(--swamp));
    padding: 10px 0;
    overflow: hidden;
    border-top: 4px dashed var(--sunshine);
    border-bottom: 4px dashed var(--sunshine);
}

.marquee {
    display: flex;
    animation: scroll 15s linear infinite;
    white-space: nowrap;
}

.marquee span {
    font-family: 'VT323', monospace;
    font-size: 28px;
    color: var(--sunshine);
    text-shadow: 2px 2px 0 #000;
    padding: 0 50px;
}

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

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    background-image: url('WhatsApp Image 2025-11-22 at 14.41.25.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(80,200,120,0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(152,251,152,0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(240,255,240,0.7) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300FF00' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.construction-gif {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 14px;
    background: #000;
    color: var(--lime-crime);
    padding: 5px 10px;
    font-family: 'VT323', monospace;
    border: 2px solid var(--lime-crime);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.visitor-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #000;
    color: var(--lime-crime);
    padding: 8px 15px;
    font-family: 'VT323', monospace;
    font-size: 16px;
    border: 2px inset #888;
}

.main-title {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(2rem, 8vw, 6rem);
    text-align: center;
    color: var(--hot-pink);
    text-shadow: 
        4px 4px 0 var(--electric-blue),
        8px 8px 0 var(--grape-soda),
        12px 12px 0 var(--sunshine);
    animation: wobble 2s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.subtitle {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--grape-soda);
    text-align: center;
    margin-top: 20px;
    transform: rotate(-3deg);
    background: var(--sunshine);
    padding: 10px 30px;
    display: inline-block;
    box-shadow: 5px 5px 0 #000;
    position: relative;
    z-index: 10;
}

.grad-cap {
    font-size: 150px;
    animation: bounce 0.5s ease infinite alternate;
    filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.3));
    position: relative;
    z-index: 10;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

/* Photo frame section */
.photo-section {
    padding: 50px 20px;
    background: 
        linear-gradient(135deg, var(--peach) 25%, transparent 25%) -50px 0,
        linear-gradient(225deg, var(--peach) 25%, transparent 25%) -50px 0,
        linear-gradient(315deg, var(--peach) 25%, transparent 25%),
        linear-gradient(45deg, var(--peach) 25%, transparent 25%);
    background-size: 100px 100px;
    background-color: var(--cream);
}

.polaroid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.polaroid {
    background: white;
    padding: 15px 15px 60px 15px;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.1),
        0 10px 20px rgba(0,0,0,0.15),
        inset 0 0 40px rgba(0,0,0,0.05);
    transform: rotate(var(--rotation, 0deg));
    transition: transform 0.3s ease;
    position: relative;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.1);
    z-index: 10;
}

.polaroid::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Permanent Marker', cursive;
    font-size: 18px;
    color: #333;
    white-space: nowrap;
}

.photo-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--hot-pink), var(--grape-soda));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scrapbook section */
.scrapbook {
    padding: 60px 20px;
    background: #e8f5e9;
    position: relative;
    overflow: hidden;
}

.scrapbook::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2350C878' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.section-title {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    text-align: center;
    color: var(--grape-soda);
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title span {
    background: var(--sunshine);
    padding: 10px 30px;
    display: inline-block;
    transform: rotate(-1deg);
    box-shadow: 5px 5px 0 var(--hot-pink);
}

.section-title span.prettiest-girl {
    background: #FFB6D9;
    color: #FF69B4;
    box-shadow: 5px 5px 0 #FFC0E5;
}

.section-title span.shitty-font {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Bradley Hand', cursive;
    font-size: 2rem;
    text-transform: lowercase;
    letter-spacing: -2px;
    font-weight: 100;
    font-style: italic;
    text-decoration: underline wavy;
    color: #8B4513;
    background: #DCDCDC;
    transform: rotate(-3deg) skew(-5deg);
    text-shadow: 2px 2px 1px rgba(255,0,255,0.3), -1px -1px 1px rgba(0,255,0,0.3);
}

.tape {
    position: absolute;
    width: 80px;
    height: 30px;
    background: rgba(173, 255, 47, 0.7);
    transform: rotate(var(--tape-rotation, 45deg));
}

/* Featured Video */
.featured-video {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: white;
    padding: 20px;
    box-shadow: 
        6px 6px 0 var(--hot-pink),
        12px 12px 0 var(--electric-blue),
        18px 18px 0 var(--sunshine);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.featured-video:hover {
    transform: rotate(0deg) scale(1.02);
}

.featured-video video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 4px solid var(--grape-soda);
    border-radius: 8px;
}

.featured-video::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    width: 100px;
    height: 30px;
    background: rgba(173, 255, 47, 0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

.video-caption {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    color: var(--grape-soda);
    margin-top: 15px;
    text-transform: uppercase;
}

/* The Kidnapping Section */
.kidnapping-container {
    max-width: 800px;
    margin: 60px auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.arrow-pointer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.arrow-text {
    font-family: 'Permanent Marker', cursive;
    font-size: 2rem;
    color: #FF1493;
    background: white;
    padding: 10px 20px;
    border: 4px solid #FF1493;
    box-shadow: 5px 5px 0 var(--grape-soda);
    transform: rotate(-5deg);
    white-space: nowrap;
}

.arrow-line {
    font-size: 4rem;
    color: #FF1493;
    animation: arrow-bounce 1s ease-in-out infinite;
    filter: drop-shadow(3px 3px 0 var(--grape-soda));
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.kidnapping-photo {
    background: white;
    padding: 20px;
    box-shadow: 
        6px 6px 0 #FF1493,
        12px 12px 0 var(--grape-soda),
        18px 18px 0 var(--sunshine);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.kidnapping-photo:hover {
    transform: rotate(0deg) scale(1.05);
}

.kidnapping-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border: 4px solid var(--grape-soda);
}

.kidnapping-photo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-8deg);
    width: 100px;
    height: 30px;
    background: rgba(173, 255, 47, 0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Story cards */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.story-card {
    background: white;
    padding: 30px;
    border-radius: 0;
    position: relative;
    transform: rotate(var(--card-rotation, 0deg));
    box-shadow: 
        4px 4px 0 var(--hot-pink),
        8px 8px 0 var(--electric-blue);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.story-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(var(--tape-rotation, 0deg));
    width: 60px;
    height: 25px;
    background: rgba(173, 255, 47, 0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.story-card h3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    color: var(--grape-soda);
    margin-bottom: 15px;
}

.story-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.story-card .emoji-deco {
    position: absolute;
    font-size: 40px;
    opacity: 0.8;
}

.story-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Timeline section */
.timeline-section {
    padding: 140px 20px;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0,0,0,.05) 35px, rgba(0,0,0,.05) 70px),
        linear-gradient(135deg, #FF69B4 0%, #FFB6D9 25%, #ADFF2F 50%, #98FB98 75%, #50C878 100%);
    background-size: 100% 100%;
    animation: trippy-bg 10s ease infinite;
    position: relative;
}

@keyframes trippy-bg {
    0%, 100% { 
        filter: hue-rotate(0deg) saturate(1);
    }
    25% { 
        filter: hue-rotate(15deg) saturate(1.2);
    }
    50% { 
        filter: hue-rotate(0deg) saturate(1);
    }
    75% { 
        filter: hue-rotate(-15deg) saturate(1.2);
    }
}

/* Timeline photos grid inside Initial Meeting */
.timeline-photos-grid {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    text-align: center;
}

.timeline-photos-grid img {
    width: 100%;
    max-width: 263px;
    height: auto;
    object-fit: cover;
    border: 3px solid var(--sunshine);
    border-radius: 5px;
    box-shadow: 3px 3px 0 var(--hot-pink);
    transition: transform 0.3s ease;
}

.timeline-photos-grid img:hover {
    transform: scale(1.05) rotate(2deg);
    z-index: 10;
}

.timeline-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('WhatsApp Image 2025-11-22 at 18.16.15.jpeg'),
        url('WhatsApp Image 2025-11-22 at 18.13.24.jpeg'),
        url('WhatsApp Image 2025-11-22 at 18.14.00.jpeg'),
        url('WhatsApp Image 2025-11-22 at 18.10.46.jpeg'),
        url('WhatsApp Image 2025-11-22 at 18.32.08 (1).jpeg'),
        url('WhatsApp Image 2025-11-22 at 18.32.08 (2).jpeg'),
        url('WhatsApp Image 2025-11-22 at 18.32.08 (4).jpeg');
    background-size: 294px 294px, 315px 315px, 284px 284px, 305px 305px, 326px 326px, 299px 299px, 310px 310px;
    background-position: 8% 12%, 92% 20%, 10% 88%, 88% 82%, 50% 50%, 15% 45%, 85% 60%;
    background-repeat: no-repeat;
    opacity: 1;
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 0;
    animation: photo-float 20s ease-in-out infinite;
}

@keyframes photo-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(10px) rotate(-2deg);
    }
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100%;
    background: 
        repeating-linear-gradient(
            to bottom,
            var(--sunshine) 0px,
            var(--sunshine) 20px,
            transparent 20px,
            transparent 30px
        );
    border-radius: 4px;
}

.timeline-item {
    padding: 20px;
    width: 45%;
    position: relative;
    margin-bottom: 70px;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    margin-left: 5%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-content {
    background: white;
    padding: 25px;
    border: 4px solid var(--sunshine);
    position: relative;
}

.timeline-content::before {
    content: attr(data-year);
    position: absolute;
    top: -30px;
    left: 20px;
    font-family: 'VT323', monospace;
    font-size: 24px;
    background: var(--dark-green);
    color: var(--sunshine);
    padding: 5px 15px;
}

.timeline-content h4 {
    font-family: 'Permanent Marker', cursive;
    color: var(--grape-soda);
    margin-bottom: 10px;
}

.timeline-disclaimer {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Quotes section */
.quotes-section {
    padding: 70px 20px;
    background: var(--cream);
    position: relative;
}

.quotes-section::before {
    content: '🌿';
    position: absolute;
    top: 50px;
    left: 10%;
    font-size: 100px;
    opacity: 0.2;
}

.quote-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quote.active {
    display: block;
}

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

.quote blockquote {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--grape-soda);
    line-height: 1.6;
    position: relative;
    padding: 40px;
}

.quote blockquote::before,
.quote blockquote::after {
    content: '"';
    font-size: 6rem;
    color: var(--hot-pink);
    opacity: 0.3;
    position: absolute;
}

.quote blockquote::before {
    top: 0;
    left: 0;
}

.quote blockquote::after {
    bottom: -30px;
    right: 0;
}

.quote cite {
    font-family: 'Permanent Marker', cursive;
    color: var(--hot-pink);
    font-style: normal;
}

.quote-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.quote-nav button {
    width: 50px;
    height: 50px;
    border: 4px solid var(--grape-soda);
    background: var(--sunshine);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-nav button:hover {
    background: var(--hot-pink);
    transform: scale(1.1);
}

.quote-image {
    max-width: 600px;
    margin: 60px auto 0;
    text-align: center;
    background: white;
    padding: 20px;
    box-shadow: 
        6px 6px 0 var(--hot-pink),
        12px 12px 0 var(--grape-soda);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.quote-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.quote-image img {
    width: 100%;
    height: auto;
    border: 4px solid var(--grape-soda);
    border-radius: 8px;
}

.quote-image .image-caption {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    color: var(--grape-soda);
    margin-top: 15px;
    text-transform: lowercase;
}

/* Facts Reveal Section */
.facts-reveal-section {
    padding: 80px 20px;
    background: 
        radial-gradient(circle at 30% 40%, rgba(80,200,120,0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(173,255,47,0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--cream) 0%, #e8f5e9 50%, var(--peach) 100%);
    position: relative;
    overflow: hidden;
}

.facts-reveal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2350C878' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.facts-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Carousel Wrapper */
.facts-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.facts-carousel-track {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 350px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    position: absolute;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    z-index: 1;
}

/* Navigation Buttons */
.carousel-nav-btn {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border: 4px solid var(--grape-soda);
    background: var(--sunshine);
    color: var(--grape-soda);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 var(--grape-soda);
    flex-shrink: 0;
}

.carousel-nav-btn:hover {
    background: var(--hot-pink);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 5px 5px 0 var(--grape-soda);
}

.carousel-nav-btn:active {
    transform: translateY(1px) scale(1);
    box-shadow: 2px 2px 0 var(--grape-soda);
}

.carousel-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.carousel-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--grape-soda);
    background: var(--sunshine);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    background: var(--hot-pink);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--grape-soda);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(34, 139, 34, 0.5);
}

.fact-card {
    background: white;
    padding: 40px;
    border: 4px solid var(--sunshine);
    position: relative;
    box-shadow: 
        4px 4px 0 var(--hot-pink),
        8px 8px 0 var(--electric-blue),
        12px 12px 0 var(--grape-soda);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        6px 6px 0 var(--hot-pink),
        12px 12px 0 var(--electric-blue),
        18px 18px 0 var(--grape-soda);
}

.fact-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    width: 60px;
    height: 25px;
    background: rgba(173, 255, 47, 0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fact-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.number-placeholder {
    display: inline-block;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    color: var(--grape-soda);
    background: var(--sunshine);
    padding: 5px 15px;
    border-radius: 5px;
    min-width: 80px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    word-break: break-word;
    max-width: 100%;
}

.number-placeholder::before {
    content: '----';
    display: inline-block;
}

.number-placeholder.revealed::before {
    content: '';
}

.number-placeholder.revealed {
    background: var(--hot-pink);
    color: white;
    animation: numberReveal 0.6s ease-out;
    transform: scale(1);
    font-size: 1.6rem;
    padding: 8px 12px;
}

@keyframes numberReveal {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.reveal-btn {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.2rem;
    padding: 12px 30px;
    background: var(--sunshine);
    border: 3px solid var(--grape-soda);
    color: var(--grape-soda);
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--grape-soda);
    transition: all 0.3s ease;
    align-self: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reveal-btn:hover {
    background: var(--hot-pink);
    color: white;
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 var(--grape-soda);
}

.reveal-btn:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 0 var(--grape-soda);
}

.reveal-btn.revealed {
    background: var(--grape-soda);
    color: white;
    cursor: default;
    opacity: 0.7;
}

.reveal-btn.revealed:hover {
    transform: none;
    box-shadow: 3px 3px 0 var(--grape-soda);
}

/* Sparkle effect for revealed numbers */
.fact-card .sparkle-emoji {
    position: absolute;
    font-size: 20px;
    pointer-events: none;
    animation: sparkle-float 1s ease-out forwards;
    z-index: 10;
}

@keyframes sparkle-float {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .facts-carousel-wrapper {
        gap: 10px;
    }
    
    .carousel-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .facts-carousel-track {
        max-width: 100%;
        height: 320px;
    }
    
    .fact-card {
        padding: 25px;
    }
    
    .fact-text {
        font-size: 1.1rem;
    }
    
    .number-placeholder {
        font-size: 1.5rem;
    }
    
    .carousel-indicator {
        width: 12px;
        height: 12px;
    }
}

/* Message wall */
.message-wall {
    padding: 70px 20px;
    background: 
        linear-gradient(135deg, var(--grape-soda) 0%, var(--dark-green) 100%);
    position: relative;
    overflow: visible;
    min-height: 700px;
}

/* Large Canvas Container */
.canvas-container {
    width: 100%;
    max-width: 1400px;
    height: 600px;
    margin: 30px auto;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.main-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
    touch-action: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background: transparent;
    pointer-events: all;
    user-select: none;
    -webkit-user-select: none;
}

.main-canvas:active {
    cursor: crosshair;
}

/* Ensure canvas is interactive when game is active */
.canvas-container.game-active .main-canvas {
    pointer-events: all;
    cursor: crosshair;
}

/* Canvas Toolbar */
.canvas-toolbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px 30px;
    border-radius: 40px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 4px var(--grape-soda);
    z-index: 1000;
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: 'Comic Neue', cursive;
    animation: toolbar-float 3s ease-in-out infinite;
}

@keyframes toolbar-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.canvas-toolbar .tool-btn {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    padding: 10px 25px;
    background: white;
    border: 3px solid var(--grape-soda);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.canvas-toolbar .tool-btn.active {
    background: var(--sunshine);
    color: var(--grape-soda);
    box-shadow: 3px 3px 0 var(--grape-soda);
    transform: scale(1.05);
}

.canvas-toolbar .tool-btn:not(.active):hover {
    background: var(--electric-blue);
    transform: scale(1.05);
}

.canvas-toolbar .tool-btn[data-tool="eraser"].active {
    background: #FF6B6B;
    color: white;
    box-shadow: 3px 3px 0 var(--grape-soda);
}

.canvas-toolbar .tool-info {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-left: 10px;
}

/* Color Picker Container */
.color-picker-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

.color-label {
    font-size: 1.3rem;
    cursor: pointer;
    user-select: none;
}

.color-input {
    width: 50px;
    height: 40px;
    border: 3px solid var(--grape-soda);
    border-radius: 8px;
    cursor: pointer;
    background: white;
    padding: 2px;
    transition: all 0.3s ease;
}

.color-input:hover {
    border-color: var(--dark-green);
    transform: scale(1.1);
}

.color-preview {
    width: 30px;
    height: 30px;
    border: 2px solid var(--grape-soda);
    border-radius: 50%;
    background: #000000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Legacy sticky note styles (kept for compatibility, not used) */
.sticky-notes {
    display: none; /* Hidden */
}

.sticky-note {
    display: none; /* Hidden */
}

/* Grazie Mille Section */
.grazie-section {
    padding: 80px 20px;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255,182,217,0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(173,255,47,0.3) 0%, transparent 50%),
        linear-gradient(135deg, #FFB6D9 0%, #ADFF2F 50%, #98FB98 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.grazie-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.grazie-photo {
    width: 100%;
    max-width: 700px;
    height: auto;
    border: 15px solid white;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        0 20px 60px rgba(0,0,0,0.2),
        inset 0 0 50px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.grazie-photo:hover {
    transform: rotate(0deg) scale(1.02);
}

.grazie-text {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #228B22;
    text-shadow: 
        3px 3px 0 #FFB6D9,
        6px 6px 0 #ADFF2F,
        9px 9px 15px rgba(0,0,0,0.3);
    animation: grazie-bounce 2s ease-in-out infinite;
    margin: 0;
}

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

/* Final celebration */
.celebration {
    padding: 100px 20px;
    text-align: center;
    background: 
        radial-gradient(circle at center, var(--sunshine) 0%, transparent 70%),
        linear-gradient(45deg, var(--hot-pink), var(--grape-soda), var(--dark-green));
    position: relative;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 15px;
    height: 15px;
    animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
    0% { transform: translateY(-100vh) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(720deg); }
}

.celebration h2 {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(2rem, 8vw, 5rem);
    color: white;
    text-shadow: 
        4px 4px 0 var(--hot-pink),
        8px 8px 0 var(--grape-soda);
    margin-bottom: 30px;
    animation: pulse 1s ease-in-out infinite;
}

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

.celebration p {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: white;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.heart-button {
    font-size: 100px;
    background: none;
    border: none;
    cursor: pointer;
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(80,200,120,0.8));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

/* Footer */
footer {
    background: #000;
    color: var(--lime-crime);
    padding: 40px 20px;
    text-align: center;
    font-family: 'VT323', monospace;
}

footer p {
    font-size: 18px;
    margin-bottom: 10px;
}

.guestbook-link {
    color: var(--hot-pink);
    text-decoration: underline;
    font-size: 20px;
}

.webring {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.webring a {
    color: var(--electric-blue);
    text-decoration: none;
    border: 1px solid var(--electric-blue);
    padding: 5px 15px;
}

/* Floating decorations */
.floating-emoji {
    position: fixed;
    font-size: 30px;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1000;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Under construction gif placeholder */
.under-construction {
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 10px,
        var(--sunshine) 10px,
        var(--sunshine) 20px
    );
    padding: 10px;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 20px;
    color: #000;
}

.under-construction span {
    background: #fff;
    padding: 5px 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }
    
    .polaroid {
        transform: rotate(0deg) !important;
    }
    
    .kidnapping-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .arrow-line {
        transform: rotate(90deg);
    }
    
    @keyframes arrow-bounce {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(10px); }
    }
}

/* ========================================
   COLLABORATIVE MESSAGE WALL GAME STYLES
   ======================================== */

/* Game Controls */
.game-controls {
    text-align: center;
    margin: 30px 0;
    position: relative;
    z-index: 5;
}

.join-btn {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--sunshine) 0%, var(--hot-pink) 100%);
    border: 4px solid var(--grape-soda);
    color: var(--grape-soda);
    cursor: pointer;
    box-shadow: 5px 5px 0 #000;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.join-btn:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #000;
}

.join-btn:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 #000;
}

.game-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.game-status span {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.2rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 20px;
}

.save-btn {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.2rem;
    padding: 12px 30px;
    background: white;
    border: 3px solid var(--grape-soda);
    color: var(--grape-soda);
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--grape-soda);
    transition: all 0.3s ease;
}

.save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 var(--grape-soda);
}

/* Join Modal */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 40px;
    border: 5px solid var(--grape-soda);
    box-shadow: 10px 10px 0 var(--sunshine);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal-content h2 {
    font-family: 'Bungee Shade', cursive;
    color: var(--grape-soda);
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-content p {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}

.modal-content input {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-family: 'Comic Neue', cursive;
    border: 3px solid var(--grape-soda);
    margin-bottom: 20px;
}

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

.modal-btn {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.1rem;
    padding: 12px 30px;
    border: 3px solid var(--grape-soda);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.primary {
    background: var(--sunshine);
    color: var(--grape-soda);
}

.modal-btn:not(.primary) {
    background: white;
    color: var(--grape-soda);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 3px 3px 0 var(--grape-soda);
}

.join-error {
    color: #d32f2f;
    background: #ffebee;
    padding: 10px;
    margin-top: 10px;
    border: 2px solid #d32f2f;
    font-family: 'Comic Neue', cursive;
}

/* Game Active Notes */
.sticky-note.game-active {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-note.game-active:hover {
    transform: rotate(0deg) scale(1.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Cursor Container for Main Canvas */
.cursor-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.remote-cursor {
    position: absolute;
    pointer-events: none;
    transform: translate(-2px, -2px);
    transition: all 0.1s ease;
    z-index: 100;
}

.cursor-pointer {
    width: 20px;
    height: 20px;
    position: relative;
}

.cursor-name {
    position: absolute;
    left: 22px;
    top: 0;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-family: 'Comic Neue', cursive;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Note Overlay (Enlarged View) */
.note-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.note-enlarged {
    background: white;
    padding: 30px;
    border: 6px solid var(--grape-soda);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    max-width: 700px;
    width: 90%;
    position: relative;
}

.close-note {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--grape-soda);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-note:hover {
    background: var(--dark-green);
    transform: rotate(90deg);
}

.note-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    color: var(--grape-soda);
    margin-bottom: 15px;
    text-align: center;
}

.note-canvas-container {
    position: relative;
    background: #fff;
    border: 4px solid var(--grape-soda);
    margin-bottom: 20px;
    width: 100%;
    min-height: 400px;
    overflow: visible;
}

.note-canvas-container .note-canvas {
    width: 100% !important;
    height: 400px !important;
    display: block !important;
    cursor: crosshair;
    pointer-events: all !important;
    touch-action: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.note-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-btn {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    padding: 10px 20px;
    background: white;
    border: 3px solid var(--grape-soda);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-btn.active {
    background: var(--sunshine);
    color: var(--grape-soda);
    box-shadow: 3px 3px 0 var(--grape-soda);
}

.tool-btn:not(.active):hover {
    background: var(--electric-blue);
}

.tool-info {
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Text Input Popup */
.text-input-popup {
    position: fixed;
    background: white;
    padding: 15px;
    border: 3px solid var(--grape-soda);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 10000;
    min-width: 250px;
    border-radius: 8px;
    transform: translate(-50%, -50%);
}

.text-input-popup input {
    width: 100%;
    padding: 8px;
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    border: 2px solid var(--grape-soda);
    margin-bottom: 10px;
}

.text-input-popup button {
    font-family: 'Comic Neue', cursive;
    padding: 8px 15px;
    border: 2px solid var(--grape-soda);
    cursor: pointer;
    margin-right: 5px;
}

.text-input-popup .text-submit {
    background: var(--sunshine);
    color: var(--grape-soda);
}

.text-input-popup .text-cancel {
    background: white;
    color: var(--grape-soda);
}

/* Game Notifications */
.game-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grape-soda);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 10001;
    transition: bottom 0.3s ease;
}

.game-notification.show {
    bottom: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .message-wall {
        padding: 50px 15px;
        min-height: 500px;
    }
    
    .canvas-container {
        height: 450px;
        margin: 20px auto;
        border-radius: 8px;
    }
    
    .canvas-toolbar {
        bottom: 15px;
        padding: 12px 20px;
        gap: 12px;
        font-size: 0.9rem;
        border-radius: 30px;
    }
    
    .canvas-toolbar .tool-btn {
        font-size: 0.95rem;
        padding: 8px 18px;
    }
    
    .canvas-toolbar .tool-info {
        font-size: 0.8rem;
        display: none; /* Hide on mobile for space */
    }
    
    .color-picker-container {
        gap: 6px;
        padding: 0 5px;
    }
    
    .color-input {
        width: 40px;
        height: 35px;
    }
    
    .color-preview {
        width: 25px;
        height: 25px;
    }
    
    .color-label {
        font-size: 1.1rem;
    }
    
    .join-btn {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .game-status {
        flex-direction: column;
        gap: 10px;
    }
    
    .game-status span,
    .save-btn {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .canvas-container {
        height: 400px;
    }
    
    .canvas-toolbar {
        flex-wrap: wrap;
        justify-content: center;
        width: 90%;
        max-width: 300px;
    }
    
    .canvas-toolbar .tool-btn {
        font-size: 0.85rem;
        padding: 6px 15px;
    }
}

