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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #1e3c72, #2a5298, #06b6d4);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

#game-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Screen Management */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.screen.active {
    display: flex;
}

/* Fishing screen specific layout */
#fishing-screen.screen {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Sound Toggle */
.sound-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
}

.sound-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Opening Screen */
.opening-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    position: relative;
}

/* Black Screen Animation */
.opening-black-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sound-waves {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.wave {
    width: 4px;
    height: 60px;
    background: linear-gradient(to top, #1e40af, #3b82f6);
    border-radius: 2px;
    animation: wave-pulse 1.5s infinite ease-in-out;
}

.wave:nth-child(2) {
    animation-delay: 0.2s;
}

.wave:nth-child(3) {
    animation-delay: 0.4s;
}

.wave:nth-child(4) {
    animation-delay: 0.6s;
}

.wave:nth-child(5) {
    animation-delay: 0.8s;
}

.loading-text {
    color: white;
    font-size: 24px;
    opacity: 0.8;
}

/* Explosion Animation */
.explosion-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9;
    opacity: 0;
    transform: scale(0.5);
}

.explosion-fish {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.fish-jump {
    position: absolute;
    font-size: 60px;
    animation: fish-explosion 2s ease-out forwards;
}

.fish-jump:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.fish-jump:nth-child(2) {
    left: 80%;
    top: 30%;
    animation-delay: 0.2s;
}

.fish-jump:nth-child(3) {
    left: 20%;
    top: 60%;
    animation-delay: 0.4s;
}

.fish-jump:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 0.6s;
}

.fish-jump:nth-child(5) {
    left: 50%;
    top: 10%;
    animation-delay: 0.8s;
}

.fish-jump:nth-child(6) {
    left: 30%;
    top: 80%;
    animation-delay: 1s;
}

.fish-jump:nth-child(7) {
    left: 90%;
    top: 50%;
    animation-delay: 1.2s;
}

.fish-jump:nth-child(8) {
    left: 60%;
    top: 40%;
    animation-delay: 1.4s;
}

.explosion-text {
    text-align: center;
    z-index: 11;
}

.explosion-title {
    font-size: 48px;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    animation: text-glow 1s ease-in-out infinite alternate;
}

.explosion-challenge {
    font-size: 36px;
    font-weight: bold;
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    animation: text-glow 1s ease-in-out infinite alternate;
}

/* Main Game Logo */
.game-logo {
    opacity: 1;
    transform: scale(1);
    transition: all 1s ease-out;
}

.logo-icon {
    font-size: 120px;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

.logo-title {
    font-size: 60px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

.logo-subtitle {
    font-size: 30px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.logo-challenge {
    font-size: 40px;
    color: #ef4444;
    font-weight: bold;
    margin-bottom: 40px;
    animation: pulse 2s infinite;
}

.wave-emoji {
    font-size: 120px;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

.game-title {
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
}

.subtitle {
    font-size: 40px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.japanese-subtitle {
    font-size: 30px;
    margin-bottom: 30px;
}

.challenge-text {
    font-size: 50px;
    color: #ef4444;
    font-weight: bold;
    margin-bottom: 50px;
    animation: pulse 2s infinite;
}

.start-button {
    background: linear-gradient(45deg, #f97316, #dc2626);
    color: white;
    font-size: 40px;
    font-weight: bold;
    padding: 25px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.start-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

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

.floating-fish span {
    font-size: 50px;
    animation: bounce 2s infinite;
}

.floating-fish span:nth-child(1) { animation-delay: 0s; }
.floating-fish span:nth-child(2) { animation-delay: 0.2s; }
.floating-fish span:nth-child(3) { animation-delay: 0.4s; }
.floating-fish span:nth-child(4) { animation-delay: 0.6s; }
.floating-fish span:nth-child(5) { animation-delay: 0.8s; }

/* Game Selector Screen */
#game-selector-screen {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 50%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.selector-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.selector-header {
    text-align: center;
    margin-bottom: 40px;
    animation: headerSlideIn 1s ease-out;
}

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

.logo-fish {
    font-size: 3em;
    animation: fishSwim 2s ease-in-out infinite;
}

.logo-title {
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.logo-subtitle {
    font-size: 1.5em;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 1.2em;
    color: #E0F6FF;
    margin-top: 10px;
    animation: taglineFade 3s ease-in-out infinite alternate;
}

.logo-challenge {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: challengePulse 2s ease-in-out infinite alternate;
}

.game-cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: cardsSlideUp 1.5s ease-out 0.5s both;
}

.game-card {
    width: 320px;
    height: 450px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
}

.game-card:nth-child(1) { animation-delay: 0s; }
.game-card:nth-child(2) { animation-delay: 2s; }
.game-card:nth-child(3) { animation-delay: 4s; }

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.game-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #e9ecef;
}

.card-back {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 4em;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
    animation: iconBounce 2s ease-in-out infinite;
}

.card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2d3748;
}

.card-subtitle {
    font-size: 1em;
    color: #718096;
    margin-bottom: 15px;
    font-style: italic;
}

.card-description {
    font-size: 0.9em;
    line-height: 1.4;
    color: #4a5568;
    margin-bottom: 15px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.card-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 25px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4);
    background-size: 400% 400%;
    animation: glowRotate 4s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.game-card:hover .card-glow {
    opacity: 0.8;
}

.back-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.back-content h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.back-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    width: 100%;
}

.back-content li {
    margin-bottom: 8px;
    font-size: 0.9em;
    text-align: left;
    padding-left: 10px;
    position: relative;
}

.back-content li:before {
    content: "•";
    color: #ffd700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.back-description {
    font-size: 0.85em;
    line-height: 1.4;
    text-align: center;
    opacity: 0.9;
}

.selection-hint {
    text-align: center;
    animation: hintFadeIn 2s ease-out 2s both;
}

.hint-text {
    color: #ffffff;
    font-size: 1.1em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hint-arrows {
    font-size: 2em;
    animation: arrowsBounce 1.5s ease-in-out infinite;
}

/* Game Selector Animations */
@keyframes headerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fishSwim {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    25% { transform: translateX(10px) rotate(5deg); }
    50% { transform: translateX(0px) rotate(0deg); }
    75% { transform: translateX(-10px) rotate(-5deg); }
}

@keyframes titleGlow {
    0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
    100% { text-shadow: 2px 2px 8px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.4); }
}

@keyframes taglineFade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes challengePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

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

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

@keyframes glowRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hintFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Floating Background Elements */
.selector-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Responsive Design for Game Selector */
@media (max-width: 1024px) {
    .game-cards-container {
        gap: 20px;
    }

    .game-card {
        width: 280px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .game-cards-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .game-card {
        width: 300px;
        height: 400px;
    }

    .logo-title {
        font-size: 2.5em;
    }

    .logo-subtitle {
        font-size: 1.3em;
    }
}

/* World Map Screen */
.world-map-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.world-map-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.world-map-subtitle {
    font-size: 30px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.world-map {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 8px solid #1e40af;
    margin: 0 auto 40px;
    overflow: hidden;
    perspective: 1000px;
}

/* 3D Globe */
.globe-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Three.js Globe */
.three-globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

/* Country Markers Overlay */
.country-markers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.country-markers-overlay .country-marker {
    pointer-events: auto;
}

.globe {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: globe-rotate 20s linear infinite;
}

.globe-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 
        inset -20px -20px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(59, 130, 246, 0.3);
}

.globe-texture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: texture-rotate 20s linear infinite reverse;
}

/* Country Markers */
.country-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
    min-width: 120px;
    min-height: 80px;
}

.country-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Red hover effect for Japan and Mongolia */
.country-marker.japan-marker:hover .marker-pin,
.country-marker.mongolia-marker:hover .marker-pin {
    background: rgba(239, 68, 68, 0.9);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
    transform: scale(1.2);
}

.country-marker.japan-marker:hover .marker-label,
.country-marker.mongolia-marker:hover .marker-label {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
}

.country-marker.locked-marker {
    cursor: not-allowed;
    opacity: 0.6;
}

.marker-pin {
    font-size: 40px;
    margin-bottom: 8px;
    animation: marker-pulse 2s infinite;
}

.marker-pin.locked {
    animation: none;
    opacity: 0.5;
}

.marker-label {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.lock-icon {
    font-size: 16px;
    margin-top: 5px;
    color: #ef4444;
}

/* Marker positions */
.japan-marker {
    left: 75%;
    top: 45%;
}

.mongolia-marker {
    left: 60%;
    top: 35%;
}

.usa-marker {
    left: 20%;
    top: 40%;
}

.europe-marker {
    left: 45%;
    top: 30%;
}

.africa-marker {
    left: 50%;
    top: 60%;
}

.australia-marker {
    left: 80%;
    top: 80%;
}

/* Airplane Animation */
.airplane {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: airplane-fly 8s linear infinite;
    z-index: 5;
}

.airplane-body {
    font-size: 24px;
    animation: airplane-wiggle 0.5s ease-in-out infinite alternate;
}

.airplane-trail {
    position: absolute;
    top: 50%;
    left: -20px;
    width: 20px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8));
    transform: translateY(-50%);
    animation: trail-extend 0.5s ease-in-out infinite alternate;
}

/* Globe Animations */
@keyframes globe-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

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

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

@keyframes airplane-fly {
    0% { left: -50px; }
    100% { left: 850px; }
}

@keyframes airplane-wiggle {
    0% { transform: rotate(-2deg); }
    100% { transform: rotate(2deg); }
}

@keyframes trail-extend {
    0% { width: 20px; }
    100% { width: 40px; }
}

.world-map-svg {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.country-label {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0.6;
}

.country-label.locked {
    cursor: not-allowed;
}

.country-button {
    position: absolute;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.country-button:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.country-button.unlocked:hover {
    filter: brightness(1.2);
}

.country-emoji {
    font-size: 40px;
    margin-bottom: 5px;
}

.country-name {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lock-icon {
    font-size: 20px;
    margin-top: 5px;
    color: #ef4444;
}

.world-map-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.robot-world-button {
    background: #dc2626;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.robot-world-button:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Robot World Button Inside Globe */
.robot-world-button-globe {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.robot-world-button-globe:hover {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-color: rgba(239, 68, 68, 0.8);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Country Map Screen */
.country-map-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.country-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.country-subtitle {
    font-size: 30px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.country-map {
    position: relative;
    width: 600px;
    height: 400px;
    background: #86efac;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 8px solid #1e40af;
    margin: 0 auto 40px;
}

.country-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Robot World Screen */
.robot-world-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.robot-world-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #dc2626, #7c2d12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.robot-world-subtitle {
    font-size: 30px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.robot-world-map {
    position: relative;
    width: 600px;
    height: 400px;
    margin: 0 auto 40px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.robot-environment {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f2937, #374151, #4b5563);
}

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

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, #10b981 1px, transparent 1px),
        linear-gradient(180deg, #10b981 1px, transparent 1px);
    background-size: 20px 20px;
    animation: circuit-flow 10s linear infinite;
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #10b981, transparent);
    animation: data-flow 3s linear infinite;
}

.data-stream:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
}

.data-stream:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

.robot-fishing-spot {
    position: absolute;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.robot-fishing-spot:hover {
    transform: translate(-50%, -50%) scale(1.25);
}

.robot-fishing-spot .spot-emoji {
    font-size: 50px;
    animation: pulse 2s infinite;
    filter: hue-rotate(180deg);
}

.robot-fishing-spot .spot-name {
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.robot-fishing-spot:hover .spot-name {
    background: rgba(16, 185, 129, 1);
    transform: scale(1.1);
}

.robot-world-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Passport Tabs */
.passport-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.passport-tab {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.passport-tab.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.passport-tab:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Robot World Animations */
@keyframes circuit-flow {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(20px) translateY(20px); }
}

@keyframes data-flow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Fishing Screen */
.fishing-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 1400px; /* Increased for larger guidance area */
    margin: 0 auto;
}

/* Split Screen Layout */
.fishing-split-screen {
    display: grid;
    grid-template-columns: 1fr 550px;
    gap: 30px;
    align-items: start;
    margin: 40px 0;
}

.fishing-main-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.fishing-guidance-area {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.guidance-container {
    text-align: center;
}

.guidance-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fbbf24;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.guidance-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.guidance-text {
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
}

.guidance-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.guidance-actions .back-button {
    margin: 0;
    font-size: 16px;
    padding: 12px 24px;
}

/* Responsive Design for Split Screen */
@media (max-width: 1024px) {
    .fishing-split-screen {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fishing-guidance-area {
        order: -1; /* Show guidance first on mobile */
        max-width: 100%;
    }

    .guidance-image {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .fishing-content {
        padding: 15px;
    }

    .fishing-split-screen {
        margin: 20px 0;
        gap: 15px;
    }

    .fishing-main-area {
        gap: 15px;
    }

    .guidance-container {
        padding: 15px;
    }

        .guidance-title {
            font-size: 24px;
            margin-bottom: 15px;
        }

        .guidance-image {
            max-width: 300px;
            margin-bottom: 15px;
        }

    .guidance-text {
        font-size: 14px;
    }

    .guidance-actions {
        margin-top: 15px;
    }

    .guidance-actions .back-button {
        font-size: 18px;
        padding: 15px 30px;
    }
}

.fishing-title {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.fishing-instruction {
    font-size: 25px;
    color: #fbbf24;
    margin-bottom: 40px;
}

.fishing-area {
    position: relative;
    margin-bottom: 50px;
}

.fishing-rod {
    font-size: 120px;
    margin-bottom: 20px;
}

.bubble {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #93c5fd;
    border: 4px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.1s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bubble.show {
    opacity: 0.8;
}

.bubble span {
    font-size: 20px;
    font-weight: bold;
    color: #1e40af;
}

.timing-bar {
    width: 400px;
    height: 30px;
    background: #374151;
    border-radius: 15px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.timing-fill {
    height: 100%;
    background: #ef4444;
    transition: all 0.1s ease;
    border-radius: 15px;
}

.timing-fill.good {
    background: #fbbf24;
}

.timing-fill.perfect {
    background: #10b981;
}

.action-button {
    font-size: 30px;
    font-weight: bold;
    padding: 20px 50px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin: 0 10px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.action-button.cast {
    background: #059669;
    color: white;
}

.action-button.catch {
    background: #dc2626;
    color: white;
    animation: pulse 1s infinite;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-button {
    background: #6b7280;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #4b5563;
}

/* Gachan Screen */
.gachan-content {
    text-align: center;
    color: white;
    animation: pulse 1s infinite;
}

.gachan-fish {
    font-size: 120px;
    margin-bottom: 20px;
    animation: bounce 1s infinite;
}

.gachan-text {
    font-size: 100px;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 20px;
    animation: pulse 1s infinite;
}

.gachan-sparkles {
    font-size: 80px;
}

/* Caught Fish Screen */
.caught-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fish-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.fish-emoji {
    font-size: 100px;
    margin-bottom: 20px;
}

.fish-name {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

.fish-stars {
    font-size: 40px;
    margin-bottom: 20px;
}

.fish-description {
    color: #374151;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
}

.new-fish-notification {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.new-fish-notification p:first-child {
    color: #92400e;
    font-weight: bold;
    font-size: 24px;
}

.new-fish-notification p:last-child {
    color: #a16207;
    font-size: 18px;
}

.caught-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.fish-again-button {
    background: #059669;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fish-again-button:hover {
    background: #047857;
    transform: translateY(-2px);
}

/* Passport Screen */
.passport-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: white;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #1e293b;
}

.passport-content::-webkit-scrollbar {
    width: 12px;
}

.passport-content::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 10px;
}

.passport-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 10px;
    border: 2px solid #1e293b;
}

.passport-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2563eb, #1e40af);
}

/* Passport Cover Design */
.passport-cover {
    background: linear-gradient(135deg, #1e3a8a, #1e40af, #3b82f6);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid #fbbf24;
    position: relative;
    overflow: hidden;
}

.passport-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.passport-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.passport-emblem {
    font-size: 60px;
    margin-bottom: 15px;
    animation: emblem-glow 2s ease-in-out infinite alternate;
}

.passport-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    color: #fbbf24;
}

.passport-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    letter-spacing: 2px;
    font-weight: 300;
}

.passport-info {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.passport-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-label {
    display: block;
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 10px;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.progress-text {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Passport Tabs */
.passport-tabs {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.passport-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.passport-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.passport-tab.active {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #f59e0b;
    color: #1e293b;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.3);
}

.tab-icon {
    font-size: 20px;
}

.tab-text {
    font-size: 16px;
}

/* Passport Pages */
.passport-pages {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
}

/* Animations */
@keyframes emblem-glow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.3);
    }
}



.fish-collection {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
    max-height: 400px;
}

.fish-card-passport {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    min-width: 200px;
    flex-shrink: 0;
}

.fish-card-passport.caught {
    border: 4px solid #10b981;
}

.fish-card-passport.not-caught {
    border: 4px solid #9ca3af;
    opacity: 0.5;
}

.fish-card-passport .fish-emoji {
    font-size: 60px;
    margin-bottom: 15px;
}

.fish-card-passport .fish-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.fish-card-passport .fish-stars {
    font-size: 20px;
    margin-bottom: 15px;
}

.fish-card-passport .fish-description {
    color: #6b7280;
    font-style: italic;
    font-size: 16px;
}

.fish-card-passport .fish-card-image {
    position: relative;
    margin-bottom: 15px;
}

.fish-card-passport .fish-card-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.fish-card-passport .caught-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #10b981;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.fish-card-passport .fish-count {
    margin-top: 8px;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.1);
    color: #6b7280;
}

/* Floating Background */
.floating-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.floating-fish-bg {
    position: absolute;
    font-size: 40px;
    opacity: 0.2;
    animation: float 6s infinite linear;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Background Images */
.fishing-screen.japan {
    background-image: url('../assets/images/japan-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fishing-screen.mongolia {
    background-image: url('../assets/images/mongolia-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fishing-screen.robot {
    background-image: url('../assets/images/robot-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Robot World Background */
.robot-world-map {
    background-image: url('../assets/images/robot-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fishing-screen.robot {
    background-image: url('../assets/images/robot-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Transition Animations */
.world-transition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    pointer-events: none;
}

.world-transition.active {
    opacity: 1;
    transform: scale(1);
}

.transition-plane {
    font-size: 80px;
    margin-bottom: 20px;
    animation: plane-fly 2s ease-in-out infinite;
}

.transition-text {
    font-size: 24px;
    color: white;
    text-align: center;
}

.country-transition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    pointer-events: none;
}

.country-transition.active {
    opacity: 1;
    transform: scale(1);
}

.transition-fish {
    font-size: 80px;
    margin-bottom: 20px;
    animation: fish-swim 2s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes wave-pulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1.5);
        opacity: 1;
    }
}

@keyframes fish-explosion {
    0% {
        transform: translateY(0) scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

@keyframes text-glow {
    0% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 40px rgba(251, 191, 36, 0.3);
    }
}

@keyframes plane-fly {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(20px) rotate(5deg);
    }
    75% {
        transform: translateX(-20px) rotate(-5deg);
    }
}

@keyframes fish-swim {
    0%, 100% {
        transform: translateX(0) scaleX(1);
    }
    25% {
        transform: translateX(20px) scaleX(-1);
    }
    75% {
        transform: translateX(-20px) scaleX(1);
    }
}

/* Pose Detection Styles */
.pose-fishing-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
}

.webcam-container {
    position: relative;
    width: 640px;
    height: 480px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 4px solid #3b82f6;
}

.webcam-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Mirror the video */
}

.pose-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: scaleX(-1); /* Mirror the canvas to match video */
}

.pose-status-display {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    min-width: 600px;
    backdrop-filter: blur(10px);
    border: 2px solid #3b82f6;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.status-emoji {
    font-size: 24px;
}

.status-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    flex: 1;
}

.status-text.detected {
    color: #4CAF50;
}

.status-progress {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.fishing-state {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.lean-timer {
    margin-top: 15px;
}

.timer-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.timer-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 15px;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.timer-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.enable-pose-button {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 25px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    margin: 0 10px 20px;
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: camera-pulse 2s infinite;
}

.enable-pose-button .camera-icon {
    font-size: 50px;
    line-height: 1;
}

.enable-pose-button:hover {
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6);
}

.enable-pose-button.active {
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    animation: none;
}

@keyframes camera-pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 32px rgba(59, 130, 246, 0.7);
        transform: scale(1.05);
    }
}

/* Fish Card Screen */
#fish-card-screen.screen {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.fish-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    overflow-y: auto;
}

.fish-card-container {
    perspective: 1000px;
}

.fish-card {
    width: 500px;
    height: 800px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af, #3b82f6);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 4px #fbbf24,
        0 0 0 8px rgba(251, 191, 36, 0.3);
    transform-style: preserve-3d;
    animation: card-flip 1s ease-out;
    position: relative;
    overflow: hidden;
}

.fish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 48px;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    animation: title-glow 2s ease-in-out infinite alternate;
}

.card-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    font-weight: 300;
}

.card-image-container {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-fish-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #fbbf24;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: image-float 3s ease-in-out infinite;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

.card-info {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.fish-name {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.fish-rarity {
    font-size: 20px;
    color: #fbbf24;
    margin-bottom: 15px;
    font-weight: 500;
}

.fish-description {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.5;
    font-style: italic;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
    margin-top: 30px;
    padding-top: 20px;
}

.continue-button, .passport-button, .back-button {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.continue-button {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.continue-button:hover {
    background: linear-gradient(135deg, #059669, #10b981);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.passport-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.passport-button:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Card Animations */
@keyframes card-flip {
    0% {
        transform: rotateY(-90deg) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: rotateY(0deg) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes title-glow {
    0% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 40px rgba(251, 191, 36, 0.3);
    }
}

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

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

/* Fish Selection Screen */
.fish-selection-content {
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
}

.fish-selection-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: title-glow 2s ease-in-out infinite alternate;
}

.fish-selection-subtitle {
    font-size: 1.2rem;
    color: #e0e7ff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.fish-selection-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.fish-selection-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.fish-selection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.fish-selection-card:hover::before {
    left: 100%;
}

.robot-fish-card {
    border-color: rgba(0, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
}

.robot-fish-card:hover {
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.3);
}

.fish-card-image {
    margin-bottom: 15px;
    position: relative;
}

.fish-card-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.caught-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.fish-status {
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.fish-selection-card:hover .fish-card-image img {
    transform: scale(1.1);
    border-color: rgba(251, 191, 36, 0.8);
}

.fish-card-info {
    margin-bottom: 15px;
}

.fish-card-emoji {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: image-float 3s ease-in-out infinite;
}

.fish-card-name {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fish-card-rarity {
    font-size: 1.1rem;
    color: #fbbf24;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fish-card-desc {
    font-size: 0.9rem;
    color: #e0e7ff;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.select-fish-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.select-fish-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.fish-selection-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design for Fish Selection */
@media (max-width: 768px) {
    .fish-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .fish-selection-card {
        padding: 15px;
    }
    
    .fish-card-image img {
        width: 100px;
        height: 100px;
    }
    
    .fish-selection-title {
        font-size: 2rem;
    }
    
    .fish-selection-subtitle {
        font-size: 1rem;
    }
}