body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #fff;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1500&q=80') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

/* sunset overlay */
#beach-sunset-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg, rgba(255,183,94,0.6) 0%, rgba(255,94,98,0.4) 50%, rgba(44,62,80,0.7) 100%);
    animation: beachSunsetFade 8s ease-in-out infinite alternate;
}

@keyframes beachSunsetFade {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Animated sun */
#floating-sun {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 60% 40%, #fffbe7 0%, #ffd700 60%, #ffb347 100%);
    border-radius: 50%;
    box-shadow: 0 0 80px 30px #ffd70088;
    z-index: 2;
    animation: floatingSunMove 4s ease-in-out infinite alternate;
}

@keyframes floatingSunMove {
    0% { top: 60px; }
    100% { top: 90px; }
}

/* Animated waves */
#animated-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

.beach-wave {
    position: absolute;
    width: 200%;
    height: 100px;
    left: -50%;
    background: rgba(0, 191, 255, 0.3);
    border-radius: 43% 57% 60% 40% / 60% 40% 60% 40%;
    animation: beachWaveMove 8s linear infinite;
}
.beach-wave.wave-back {
    top: 30px;
    background: rgba(0, 191, 255, 0.18);
    animation-duration: 12s;
}
@keyframes beachWaveMove {
    0% { left: -50%; }
    100% { left: 0%; }
}

header {
    background: transparent;
    color: rgb(255, 128, 9);
    padding: 40px 10px 20px 10px;
    text-align: center;
    animation: fadeIn 1.5s ease-in;
    z-index: 3;
    position: relative;
}

header h1 {
    margin: -50px;
    font-size: 3rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px #ffb347, 0 0 30px #ff7e5f;
    animation: bounceIn 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

header p {
    margin: 200px 0 0;
    font-size: 1.3rem;
    text-shadow: 0 1px 8px #ffb347;
    animation: fadeIn 2s 0.5s both;
}

main {
    padding: 20px;
    position: relative;
    z-index: 3;
}

/* Features section */
#features-section {
    margin-bottom: 30px;
    animation: fadeIn 1.5s ease-in;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    box-shadow: 0 2px 16px 0 rgba(255,183,94,0.12);
    padding: 16px 0 8px 0;
    text-align: center;
}

#features-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: rgb(255, 128, 9);
    text-shadow: 0 1px 8px #ffb347;
}

#features-section ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

#features-section li {
    background: rgba(255, 122, 89, 0.7);
    margin: 10px 0;
    padding: 10px 24px;
    border-left: 5px solid #ff7e5f;
    border-radius: 5px;
    transition: transform 0.3s ease, background 0.3s;
    font-weight: 500;
    box-shadow: 0 1px 8px #feb47b44;
    text-align: left;
}

#features-section li:hover {
    transform: scale(1.05) rotate(-2deg);
    background: rgba(255, 183, 94, 0.8);
}

/* Download section */
#download-section {
    text-align: center;
    animation: fadeIn 1.5s ease-in;
}

#download-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: rgb(255, 128, 9);
    text-shadow: 0 1px 8px #ffb347;
}

#download-game-btn {
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #ffd700);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 30px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 16px #ffb34755;
    font-weight: bold;
    margin-top: 10px;
    animation: pulse 2s infinite alternate;
}

#download-game-btn:hover {
    background: linear-gradient(90deg, #ffd700, #ff7e5f);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 4px 32px #ffd70099;
}

@keyframes pulse {
    0% { box-shadow: 0 2px 16px #ffb34755; }
    100% { box-shadow: 0 4px 32px #ffd70099; }
}

footer {
    background: linear-gradient(to right, #ff9a8b, #ff7e5f);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 3;
    animation: fadeIn 1.5s ease-in;
    box-shadow: 0 -2px 16px #ffb34744;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}