@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Roboto+Condensed:wght@400;700&display=swap');

body {
    font-family: 'Roboto Condensed', sans-serif;
    background: linear-gradient(180deg, #0a4a6e 0%, #1e3a5f 50%, #0d2438 100%);
    min-height: 100vh
}

.ocean-bg {
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, transparent 2px, transparent 40px, rgba(255, 255, 255, 0.03) 42px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, transparent 2px, transparent 40px, rgba(255, 255, 255, 0.03) 42px);
    animation: waves 20s linear infinite
}

@keyframes waves {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 40px 40px
    }
}

.ship {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: grab
}

.ship:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5)
}

.ship.dragging {
    opacity: 0.5;
    cursor: grabbing
}

.dock {
    min-height: 120px;
    transition: all 0.3s ease
}

.dock.drag-over {
    background-color: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: scale(1.02)
}

.dock.correct {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: #22c55e
}

.dock.incorrect {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    animation: shake 0.3s
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-10px)
    }

    75% {
        transform: translateX(10px)
    }
}

.font-pirate {
    font-family: 'Pirata One', cursive
}

.wave-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    animation: waveLine 3s ease-in-out infinite
}

@keyframes waveLine {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.compass {
    width: 80px;
    height: 80px;
    border: 3px solid #fbbf24;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1), transparent)
}

.compass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 40px solid #ef4444
}

.compass::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 40px solid #3b82f6
}