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

:root {
    --dark-bg: #0a0a0a;
    --dark-blue: #0d1b2a;
    --wave-blue: #1b263b;
    --wave-blue-light: #415a77;
    --text-secondary: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-brown: #8b4513;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-blue);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--dark-blue);
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--wave-blue);
    opacity: 0.8;
    animation: waveAnimation 4s ease-in-out infinite;
    clip-path: polygon(0 50%, 10% 45%, 20% 50%, 30% 45%, 40% 50%, 50% 45%, 60% 50%, 70% 45%, 80% 50%, 90% 45%, 100% 50%, 100% 100%, 0 100%);
}

.wave1 {
    animation-delay: 0s;
    background: var(--wave-blue);
    height: 150px;
    clip-path: polygon(0 60%, 12% 55%, 24% 60%, 36% 55%, 48% 60%, 60% 55%, 72% 60%, 84% 55%, 100% 60%, 100% 100%, 0 100%);
}

.wave2 {
    animation-delay: 1.3s;
    background: var(--wave-blue-light);
    height: 180px;
    opacity: 0.6;
    clip-path: polygon(0 55%, 8% 50%, 16% 55%, 24% 50%, 32% 55%, 40% 50%, 48% 55%, 56% 50%, 64% 55%, 72% 50%, 80% 55%, 88% 50%, 100% 55%, 100% 100%, 0 100%);
}

.wave3 {
    animation-delay: 2.6s;
    background: var(--wave-blue);
    height: 200px;
    opacity: 0.4;
    clip-path: polygon(0 50%, 15% 45%, 30% 50%, 45% 45%, 60% 50%, 75% 45%, 100% 50%, 100% 100%, 0 100%);
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) scaleY(1.15);
        opacity: 1;
    }
}

/* Cowboy Hat Animation */
.cowboy-hat {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 150px;
    animation: hatFloat 8s ease-in-out infinite;
}

.hat-brim {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 20px;
    background: var(--accent-brown);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: brimRotate 6s ease-in-out infinite;
}

.hat-crown {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100px;
    background: linear-gradient(135deg, #654321 0%, var(--accent-brown) 100%);
    border-radius: 50% 50% 0 0;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}

.hat-crown::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    border-radius: 50% 50% 0 0;
}

/* Cowboy Icon */
.cowboy-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 8rem;
    color: var(--accent-gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    animation: iconFloat 6s ease-in-out infinite;
}

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

/* Animations */
@keyframes hatFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-20px) rotate(5deg);
    }
}

@keyframes brimRotate {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) rotate(10deg);
    }
}


.centered-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
}

.centered-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    margin: 0;
    white-space: nowrap;
}

.centered-text .subheadline {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    margin-top: 1rem;
    opacity: 0.8;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cowboy-hat {
        width: 150px;
        height: 120px;
    }
    
    .hat-brim {
        width: 180px;
    }
    
    .hat-crown {
        width: 90px;
        height: 80px;
    }
    
    .cowboy-icon {
        font-size: 5rem;
    }
    
    .centered-text h1 {
        font-size: 2rem;
        padding: 0 1rem;
        white-space: normal;
    }
    
    .centered-text .subheadline {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    footer {
        font-size: 0.8rem;
        padding: 1.5rem 0;
    }
}
