/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    height: 100vh;
    color: #fff;
}

body, html {
    cursor: auto !important;
}

.game-container {
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* Screen Management */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.screen.active {
    display: flex;
}

/* Loading Screen */
#loading-screen {
    background: linear-gradient(135deg, #87CEEB 0%, #98FB98 50%, #F0E68C 100%);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.loading-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.totoro-silhouette {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: totoroBreathing 4s ease-in-out infinite;
}

.umbrella {
    position: absolute;
    top: 30%;
    left: 15%;
    font-size: 3rem;
    animation: umbrellaFloat 6s ease-in-out infinite;
}

.raindrops {
    position: absolute;
    width: 100%;
    height: 100%;
}

.raindrop {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #87CEEB);
    border-radius: 0 0 2px 2px;
    animation: rainFall 2s linear infinite;
}

.raindrop:nth-child(1) { left: 10%; animation-delay: 0s; }
.raindrop:nth-child(2) { left: 20%; animation-delay: 0.2s; }
.raindrop:nth-child(3) { left: 30%; animation-delay: 0.4s; }
.raindrop:nth-child(4) { left: 40%; animation-delay: 0.6s; }
.raindrop:nth-child(5) { left: 50%; animation-delay: 0.8s; }
.raindrop:nth-child(6) { left: 60%; animation-delay: 1s; }
.raindrop:nth-child(7) { left: 70%; animation-delay: 1.2s; }
.raindrop:nth-child(8) { left: 80%; animation-delay: 1.4s; }
.raindrop:nth-child(9) { left: 90%; animation-delay: 1.6s; }
.raindrop:nth-child(10) { left: 95%; animation-delay: 1.8s; }

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.totoro-loading {
    margin-bottom: 2rem;
    position: relative;
}

.totoro-body {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    animation: totoroBounce 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.totoro-belly {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F5DEB3, #DEB887);
    border-radius: 50%;
    border: 3px solid #8B4513;
}

.totoro-eyes {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.eye {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    animation: totoroBlink 4s ease-in-out infinite;
}

.totoro-nose {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

.totoro-whiskers {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 40px;
}

.whisker {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #000;
    border-radius: 1px;
}

.whisker:nth-child(1) { top: 10px; left: -15px; transform: rotate(-15deg); }
.whisker:nth-child(2) { top: 15px; left: -15px; transform: rotate(-5deg); }
.whisker:nth-child(3) { top: 20px; left: -15px; transform: rotate(5deg); }
.whisker:nth-child(4) { top: 10px; right: -15px; transform: rotate(15deg); }
.whisker:nth-child(5) { top: 15px; right: -15px; transform: rotate(5deg); }
.whisker:nth-child(6) { top: 20px; right: -15px; transform: rotate(-5deg); }

.loading-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.loading-bar {
    width: 300px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    margin: 2rem auto;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.5);
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    animation: loadingProgress 3s ease-in-out infinite;
}

.loading-text {
    font-size: 1.2rem;
    opacity: 0.8;
    animation: blink 1.5s infinite;
}

/* Main Menu */
#main-menu {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.menu-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.game-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-style: italic;
}

.menu-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.menu-btn {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    min-width: 200px;
}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #4ecdc4, #ff6b6b);
}

.menu-btn:active {
    transform: translateY(-1px);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-totoro, .floating-spirit, .floating-leaf, .floating-acorn, .floating-umbrella {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-totoro {
    top: calc(8% - 500px);
    left: 0;
    animation-delay: 0s;
}

.floating-spirit {
    top: calc(60% - 500px);
    left: 0;
    animation-delay: 2s;
}

.floating-leaf {
    top: calc(18% - 500px);
    right: 0;
    animation-delay: 4s;
}

.floating-acorn {
    bottom: calc(12% + 500px);
    left: 0;
    animation-delay: 1s;
}

.floating-umbrella {
    top: calc(35% - 500px);
    right: 0;
    animation-delay: 3s;
}

.floating-soot {
    bottom: calc(18% + 500px);
    right: 0;
    font-size: 1.7rem;
    color: #222;
    text-shadow: 0 0 6px #fff, 0 0 2px #000;
    animation: sootFloat 5s ease-in-out infinite;
}
@keyframes sootFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.1); }
}

.floating-catbus {
    bottom: calc(7% + 500px);
    right: 0;
    font-size: 2.2rem;
    animation: catbusDrive 8s linear infinite;
}
@keyframes catbusDrive {
    0% { left: 60%; }
    50% { left: 80%; }
    100% { left: 60%; }
}

.floating-noface {
    top: calc(55% - 500px);
    left: 0;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 0 8px #000, 0 0 2px #fff;
    animation: nofaceFloat 6s ease-in-out infinite;
}
@keyframes nofaceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.floating-haku {
    top: calc(25% - 500px);
    right: 0;
    font-size: 2.3rem;
    color: #b3e6ff;
    text-shadow: 0 0 10px #fff, 0 0 4px #b3e6ff;
    animation: hakuFloat 7s ease-in-out infinite;
}
@keyframes hakuFloat {
    0%, 100% { transform: translateX(0) scaleX(1); }
    50% { transform: translateX(30px) scaleX(1.1); }
}

/* Game World */
#game-world {
    background: linear-gradient(to bottom, #87CEEB 0%, #98FB98 50%, #F0E68C 100%);
    position: relative;
    overflow: hidden;
}

.game-ui {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.health-bar {
    width: 200px;
    height: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.health-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    transition: width 0.3s ease;
}

.score {
    font-size: 1.2rem;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.world-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.character {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    /* 2D movement support - transform handled by JavaScript */
}

.character-sprite {
    font-size: 3rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    animation: characterIdle 2s ease-in-out infinite;
    transition: all 0.2s ease;
}

.character-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    animation: shadowPulse 2s ease-in-out infinite;
}

.character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: characterGlow 3s ease-in-out infinite;
    pointer-events: none;
}

/* Map Locations */
.map-locations {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.location {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.location-icon {
    font-size: 2.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    animation: locationPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.location-label {
    font-size: 0.8rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-top: 5px;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.location-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: locationGlow 3s ease-in-out infinite;
    pointer-events: none;
}

.photo-gallery-location {
    top: 25%; /* Move down by half a grid for better hitbox alignment */
    left: 20%;
}

.video-location {
    top: 60%;
    right: 20%;
}

.menu-location {
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
}

.snake-location {
    top: 25%;
    right: 20%;
    left: auto;
    transform: none;
}

.location:hover .location-icon {
    transform: scale(1.2);
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.5));
}

.location:hover .location-label {
    opacity: 1;
    transform: translateY(-5px);
}

.location:hover .location-glow {
    animation: locationGlowHover 1s ease-in-out infinite;
}

.location.active {
    animation: locationActive 1s ease-in-out infinite;
}

.location.active .location-icon {
    animation: locationActivePulse 0.5s ease-in-out infinite;
}

.world-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tree, .flower, .cloud, .butterfly, .totoro-friend, .catbus, .umbrella-world {
    position: absolute;
    font-size: 2rem;
    animation: sway 4s ease-in-out infinite;
}

.large-tree { font-size: 3rem; bottom: 50px; left: 10%; animation-delay: 0s; }
.medium-tree { font-size: 2.5rem; bottom: 50px; right: 15%; animation-delay: 1s; }
.small-tree { font-size: 2rem; bottom: 50px; left: 60%; animation-delay: 0.5s; }

.sakura { font-size: 1.8rem; bottom: 80px; left: 30%; animation-delay: 0.5s; color: #FFB7C5; }
.daisy { font-size: 1.6rem; bottom: 80px; right: 40%; animation-delay: 1.5s; color: #FFD700; }
.rose { font-size: 1.7rem; bottom: 80px; left: 70%; animation-delay: 1s; color: #FF69B4; }

.fluffy-cloud { font-size: 2.5rem; top: 20%; left: 20%; animation: float 8s ease-in-out infinite; }
.rain-cloud { font-size: 2.2rem; top: 30%; right: 25%; animation: float 8s ease-in-out infinite 2s; }

.blue-butterfly { font-size: 1.5rem; top: 40%; left: 60%; animation: flutter 3s ease-in-out infinite; color: #87CEEB; }
.yellow-butterfly { font-size: 1.5rem; top: 60%; right: 60%; animation: flutter 3s ease-in-out infinite 1.5s; color: #FFD700; }

.totoro-friend { font-size: 2.5rem; bottom: 120px; left: 25%; animation: totoroHop 5s ease-in-out infinite; }
.catbus { font-size: 3rem; top: 15%; left: 50%; animation: catbusDrive 10s ease-in-out infinite; }
.umbrella-world { font-size: 2rem; bottom: 150px; right: 30%; animation: umbrellaSpin 6s ease-in-out infinite; }

.collectibles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.acorn-collectible, .spirit-collectible, .leaf-collectible {
    position: absolute;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.acorn-collectible:nth-child(1) { top: 30%; left: 20%; animation-delay: 0s; }
.acorn-collectible:nth-child(2) { top: 50%; right: 30%; animation-delay: 0.5s; }
.acorn-collectible:nth-child(3) { top: 70%; left: 40%; animation-delay: 1s; }
.spirit-collectible:nth-child(4) { top: 40%; left: 70%; animation-delay: 0.7s; }
.spirit-collectible:nth-child(5) { top: 60%; right: 20%; animation-delay: 1.2s; }
.leaf-collectible:nth-child(6) { top: 35%; right: 60%; animation-delay: 0.3s; }
.leaf-collectible:nth-child(7) { top: 65%; left: 25%; animation-delay: 0.9s; }

.acorn-collectible:hover, .spirit-collectible:hover, .leaf-collectible:hover {
    transform: scale(1.2);
}

.acorn-collectible.collected, .spirit-collectible.collected, .leaf-collectible.collected {
    opacity: 0.3;
    transform: scale(0.5);
}

/* Remove the ground from the game world by commenting out or deleting the .ground class */
/* .ground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #8B4513, #A0522D);
    z-index: 1;
} */

.grass-patches {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
}

.grass-patch {
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 30px;
    background: linear-gradient(to top, #228B22, #32CD32);
    border-radius: 30px 30px 0 0;
    animation: grassWave 3s ease-in-out infinite;
}

.grass-patch:nth-child(1) { left: 15%; animation-delay: 0s; }
.grass-patch:nth-child(2) { left: 35%; animation-delay: 0.5s; }
.grass-patch:nth-child(3) { left: 55%; animation-delay: 1s; }
.grass-patch:nth-child(4) { left: 75%; animation-delay: 1.5s; }
.grass-patch:nth-child(5) { left: 85%; animation-delay: 2s; }

.game-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.control-btn {
    min-width: 120px;
    height: 50px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-family: 'VT323', monospace;
    padding: 0 1rem;
    margin: 0 0.5rem;
}

.control-btn:hover {
    transform: scale(1.1);
}

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

.action-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    animation: actionBtnGlow 2s ease-in-out infinite;
}

.action-btn:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700) !important;
    animation: actionBtnGlowHover 1s ease-in-out infinite;
}

.location-indicator {
    font-size: 1rem;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    margin-top: 5px;
}

/* Photo Gallery */
#photo-gallery {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 10;
}

.gallery-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.gallery-header p {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.photo-slot {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.photo-slot:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.02);
}

.photo-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.photo-placeholder span {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.photo-placeholder p {
    font-size: 1rem;
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-slot img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Photo Modal */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.photo-modal.active {
    opacity: 1;
    visibility: visible;
}

.photo-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.photo-modal.active .photo-modal-content {
    transform: scale(1);
}

.photo-modal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.photo-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.photo-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.photo-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.photo-modal-nav:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.photo-modal-prev {
    left: 20px;
}

.photo-modal-next {
    right: 20px;
}

.slideshow-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.slideshow-btn {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.slideshow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.slideshow-btn.playing {
    background: linear-gradient(45deg, #4ecdc4, #ff6b6b);
    animation: slideshowPlaying 2s ease-in-out infinite;
}

.slideshow-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.gallery-instructions {
    text-align: center;
    opacity: 0.9;
    font-style: italic;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    position: relative;
    z-index: 10;
}

/* Carousel Styles */
.gallery-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100vw;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
}

.gallery-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: rgba(102, 126, 234, 0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1rem 2rem;
    border-radius: 0 0 15px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-header .back-btn, .gallery-header .gallery-label {
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.carousel-container {
    padding-top: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 480px;
    position: relative;
    padding-left: 0;
    box-sizing: border-box;
    overflow: visible;
}

.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 1.3s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  overflow: visible;
}

/* Remove fade from carousel animation */
@keyframes carouselSlideIn {
  0% {
    transform: translateX(60px);
  }
  100% {
    transform: translateX(0);
  }
}

.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 20px;
    box-shadow: none;
    min-width: unset;
    width: auto;
    height: auto;
    opacity: 0.3;
    transition: opacity 0.7s cubic-bezier(0.77, 0, 0.175, 1), transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    transform: scale(0.95);
    pointer-events: none;
    margin: 0 32px; /* Add horizontal spacing between slides */
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
    pointer-events: auto;
}

.carousel-slide img {
    display: block;
    max-width: 420px;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: #fff;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #333;
    font-weight: bold;
}

.carousel-btn:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.6);
}

.carousel-indicator.active {
    background: rgba(255,255,255,1);
    transform: scale(1.3);
    border-color: rgba(255,255,255,1);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Video Section */
#video-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.video-container {
    max-width: 600px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.video-container h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: white;
}

.video-wrapper {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#anniversary-video {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.video-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.video-btn {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.video-message {
    margin-bottom: 2rem;
    color: white;
    font-size: 1.1rem;
    font-style: italic;
}

.video-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Final Message */
#final-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.final-message-container {
    max-width: 800px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.unlock-animation {
    text-align: center;
    margin-bottom: 3rem;
    animation: unlockFadeIn 2s ease-out;
}

.unlock-sparkles {
    margin-bottom: 1rem;
}

.unlock-sparkles span {
    font-size: 2rem;
    margin: 0 0.5rem;
    animation: sparkleFloat 2s ease-in-out infinite;
}

.unlock-sparkles span:nth-child(1) { animation-delay: 0s; }
.unlock-sparkles span:nth-child(2) { animation-delay: 0.4s; }
.unlock-sparkles span:nth-child(3) { animation-delay: 0.8s; }
.unlock-sparkles span:nth-child(4) { animation-delay: 1.2s; }
.unlock-sparkles span:nth-child(5) { animation-delay: 1.6s; }

.unlock-animation h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.unlock-text {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
}

.final-message-content {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.final-message-content h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #667eea;
}

.final-message-text {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.final-message-text p {
    margin-bottom: 1rem;
}

.signature {
    font-style: italic;
    font-weight: bold;
    text-align: right;
    margin-top: 2rem;
    color: #667eea;
}

.date {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 1rem;
}

.final-message-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.print-final-btn, .share-btn {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.print-final-btn:hover, .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Disabled button styling */
.menu-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(45deg, #999, #666) !important;
}

.menu-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

/* Special Message */
#special-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.message-container {
    max-width: 800px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.message-container h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.message-editor {
    margin-bottom: 2rem;
}

#message-text {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    line-height: 1.6;
    resize: vertical;
    color: #333;
}

#message-text:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.message-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.save-btn, .print-btn {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.save-btn:hover, .print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.message-preview {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.message-preview h3 {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.preview-content {
    background: rgba(255,255,255,0.9);
    padding: 1rem;
    border-radius: 8px;
    color: #333;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
    min-height: 100px;
}

/* Back Button */
.back-btn {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

@keyframes blink {
    0%, 50% { opacity: 0.8; }
    51%, 100% { opacity: 0.3; }
}

@keyframes titleGlow {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3); }
    to { text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.6); }
}

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

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

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

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

/* Ghibli-themed animations */
@keyframes totoroBreathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes totoroBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0; }
}

@keyframes umbrellaFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes rainFall {
    0% { transform: translateY(-100vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

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

@keyframes totoroHop {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes catbusDrive {
    0% { transform: translateX(-100px) rotate(0deg); }
    50% { transform: translateX(calc(100vw - 100px)) rotate(0deg); }
    51% { transform: translateX(calc(100vw - 100px)) rotateY(180deg); }
    100% { transform: translateX(-100px) rotateY(180deg); }
}

@keyframes umbrellaSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes grassWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

@keyframes characterIdle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

@keyframes shadowPulse {
    0%, 100% { opacity: 0.2; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.3; transform: translateX(-50%) scale(1.1); }
}

@keyframes specialFloat {
    0% { transform: translateY(0px) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(1.5); opacity: 0; }
}

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

@keyframes leafFall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

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

/* Game-like animations */
@keyframes characterGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

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

@keyframes locationGlow {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes locationGlowHover {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

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

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

@keyframes actionBtnGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 10px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 20px rgba(255,215,0,0.6); }
}

@keyframes actionBtnGlowHover {
    0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 20px rgba(255,215,0,0.6); }
    50% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 30px rgba(255,215,0,0.9); }
}

@keyframes slideshowPlaying {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(-4px); }
}

@keyframes photoSlideIn {
    0% { transform: translateX(100%) scale(0.8); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes photoSlideOut {
    0% { transform: translateX(0) scale(1); opacity: 1; }
    100% { transform: translateX(-100%) scale(0.8); opacity: 0; }
}

@keyframes photoFadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes photoFadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.9); }
}

@keyframes teleportEffect {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(0.5) rotate(180deg); opacity: 0.5; }
    100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

@keyframes gameParticle {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

@keyframes unlockFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes teleportSpin {
    0% { transform: translateX(-50%) rotate(0deg) scale(1); }
    80% { transform: translateX(-50%) rotate(720deg) scale(1.2); }
    100% { transform: translateX(-50%) rotate(1080deg) scale(0.7); opacity: 0.2; }
}

@keyframes loadingScreenFadeOut {
  0% { opacity: 1; filter: blur(0px); }
  80% { opacity: 0.7; filter: blur(2px); }
  100% { opacity: 0; filter: blur(8px); }
}

.loading-screen-exit {
  animation: loadingScreenFadeOut 1s cubic-bezier(0.77,0,0.175,1) forwards;
  pointer-events: none;
}

.loading-sparkle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: 0;
  pointer-events: none;
  animation: sparklePop 0.8s cubic-bezier(0.77,0,0.175,1) forwards;
}

@keyframes sparklePop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(0deg); }
  40% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(180deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-title {
        font-size: 1.8rem;
    }
    
    .menu-btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .message-container {
        padding: 1rem;
    }
    
    .game-controls {
        gap: 0.5rem;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .message-controls {
        flex-direction: column;
        align-items: center;
    }
} 

.video-back-btn-container {
    position: fixed;
    top: 24px;
    right: 32px;
    z-index: 9999;
}

.video-back-btn {
    position: relative;
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-family: 'VT323', monospace;
}

.video-back-btn:hover {
    background: linear-gradient(45deg, #4ecdc4, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
} 

.emoji-animate {
    animation: emojiPulse 0.7s infinite alternate;
    filter: drop-shadow(0 0 8px #FFD700) drop-shadow(0 0 16px #fff7b2);
}

.emoji-animate-teleport {
    animation: emojiTeleport 0.7s linear;
}

@keyframes emojiPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.18) rotate(-8deg); }
}

@keyframes emojiTeleport {
    0% { transform: scale(1) rotate(0deg); filter: brightness(1); }
    80% { transform: scale(1.3) rotate(360deg); filter: brightness(1.5); }
    100% { transform: scale(0.7) rotate(720deg); filter: brightness(2); opacity: 0.2; }
} 

.main-menu-btn-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 200;
} 

.totoro-main-img {
    display: block;
    margin: 0 auto 1.5rem auto;
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    background: rgba(255,255,255,0.12);
} 

#snake-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
#snake-overlay[style*="display: none"] {
    display: none !important;
}
.snake-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100000;
    position: relative;
    margin: 0;
    max-width: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.snake-btn-row {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    margin-bottom: 0;
}
.snake-btn-row .back-btn,
.snake-btn-row .snake-start-btn {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.snake-title {
    font-family: 'Press Start 2P', cursive;
    color: #7fff00;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px #000;
}

#snake-canvas {
    background: #111;
    border: 4px solid #7fff00;
    box-shadow: 0 0 24px #7fff00a0;
    image-rendering: pixelated;
    margin-bottom: 1.2rem;
}

.snake-scoreboard {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 320px;
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.snake-instructions {
    color: #aaa;
    font-size: 0.9rem;
    font-family: 'VT323', monospace;
    margin-bottom: 1.5rem;
    text-align: center;
} 

.chloe-sticker {
    position: absolute;
    top: 10%;
    right:-40%;
    width: 120px;
    z-index: 20;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
    pointer-events: none;
    animation: stickerFloat 4s ease-in-out infinite;
} 

.snake-start-btn {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #4ecdc4, #ff6b6b);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    margin: 1.2rem 0 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.snake-start-btn:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
} 

.snake-container .back-btn {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    height: 48px;
    background: linear-gradient(45deg, #4ecdc4, #ff6b6b);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin: 0;
    display: flex;
    align-items: center;
}
.snake-container .back-btn:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
} 