/* Maritime Prestige Visual System */

/* Smooth Gradient Animation */
@keyframes deep-sea-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-ocean-animate {
    background: linear-gradient(270deg, #0C1826, #11253a, #0e1c2e, #0C1826);
    background-size: 400% 400%;
    animation: deep-sea-flow 20s ease infinite;
}

/* Stat Icons Interaction */
.stat-icon {
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transform-origin: center;
}

.group:hover .stat-icon {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Harbor Mist */
.harbor-mist {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
}

/* Ship Animation */
.ships-animation {
    position: absolute;
    bottom: 20%;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.ship {
    position: absolute;
    width: 120px;
    height: 15px;
    background: #000;
    border-bottom: 2px solid #4a5568;
}

.ship::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 15%;
    width: 30px;
    height: 20px;
    background: #1a202c;
    box-shadow: 40px 0 0 #1a202c;
}

.ship-1 {
    left: -150px;
    bottom: 30px;
    animation: sail-right 45s linear infinite;
}

.ship-2 {
    right: -150px;
    bottom: 60px;
    transform: scale(0.7);
    animation: sail-left 60s linear infinite;
}

@keyframes sail-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 300px)); }
}

@keyframes sail-left {
    0% { transform: translateX(0) scale(0.7); }
    100% { transform: translateX(calc(-100vw - 300px)) scale(0.7); }
}

/* CTA Button Nautical Theme */
.cta-primary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #CD7F32, #B87333);
    color: #F5F5F0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.3);
}

.cta-anchor {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-primary:hover .cta-anchor {
    transform: translateY(2px) rotate(-10deg);
}

/* Compass Navigator */
.compass-navigator {
    width: 80px;
    height: 80px;
    position: relative;
}

.compass-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(205, 127, 50, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.1);
    animation: pulse-ring 4s ease-in-out infinite;
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CD7F32' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 16.24 7.76 12 22 7.76 7.76 12 2'/%3E%3C/svg%3E");
    transform: translate(-50%, -50%);
    animation: compass-spin 10s ease-in-out infinite alternate;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes compass-spin {
    0% { transform: translate(-50%, -50%) rotate(-15deg); }
    100% { transform: translate(-50%, -50%) rotate(15deg); }
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }

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