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

:root {
    --ocean-deep: #0d1421;
    --ocean-blue: #1a237e;
    --treasure-gold: #ffd700;
    --ship-wood: #5d4037;
    --parchment: #f5f5dc;
    --compass-bronze: #cd7f32;
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --glow-gold: rgba(255, 215, 0, 0.6);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--ocean-deep);
    color: var(--parchment);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Ocean Background Animation */
.ocean-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        180deg,
        var(--ocean-deep) 0%,
        var(--ocean-blue) 50%,
        var(--ocean-deep) 100%
    );
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 C300,120 900,0 1200,60 L1200,120 L0,120 Z" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    animation: wave 20s linear infinite;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--treasure-gold), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--parchment), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--treasure-gold), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--parchment), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--treasure-gold), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 10s ease-in-out infinite alternate;
}

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

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 
        0 0 10px var(--glow-gold),
        0 0 20px var(--glow-gold),
        0 0 30px var(--glow-gold);
}

.site-title .tor {
    color: var(--treasure-gold);
}

.site-title .compass {
    color: var(--parchment);
}

.site-subtitle {
    font-family: 'Pirata One', cursive;
    font-size: 1.5rem;
    color: var(--treasure-gold);
    opacity: 0.9;
    letter-spacing: 2px;
}

/* Main Content */
.compass-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.navigation-hint {
    margin-top: 40px;
    text-align: center;
    font-style: italic;
    color: var(--treasure-gold);
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 0;
    margin-top: auto;
    border-top: 1px solid var(--compass-bronze);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.main-footer p {
    margin-bottom: 10px;
    color: var(--parchment);
    opacity: 0.8;
}

.pirate-motto {
    font-family: 'Pirata One', cursive;
    color: var(--treasure-gold);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-subtitle {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2rem;
    }
    
    .site-subtitle {
        font-size: 1rem;
    }
    
    .main-header {
        padding: 20px 0;
    }
}

