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

html {
    height: 100%;
    width: 100%;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EFFFFE;
    font-family: 'Inter', sans-serif;
    color: #333333;
}

#splash-screen {
    display: flex;
    font-weight: bold;
}

.letter {
    animation: bounce 0.5s ease forwards;
    opacity: 0;
    transform: translateY(0);
    color: white;
    background: linear-gradient(135deg, #4FBDDB, #2A9BC7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(79, 189, 219, 0.3);
    font-size: 1.3rem;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.letter:nth-child(4) { animation-delay: 0.4s; }
.letter:nth-child(5) { animation-delay: 0.5s; }
.letter:nth-child(6) { animation-delay: 0.6s; }
.letter:nth-child(7) { animation-delay: 0.7s; }
.letter:nth-child(8) { animation-delay: 0.8s; }
.letter:nth-child(9) { animation-delay: 0.9s; }

@keyframes bounce {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    50% {
        opacity: 1;
        transform: translateY(-30%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#main-content {
    text-align: center;
    padding: 20px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#main-content #splash-screen {
    margin-bottom: 0px;
}

.video-section {
    margin: 0;
}

.game-video {
    width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

nav {
    margin-top: 30px;
    text-align: center;
}

/* For content pages, use different nav positioning */
body:has(.privacy-content) nav {
    position: static;
    text-align: right;
    margin-bottom: 20px;
    padding: 20px 30px 0 30px;
}

nav a {
    color: #888888;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav a:hover {
    color: #333333;
}

.download-section {
    margin-top: 0px;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.app-store-button img {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

/* Privacy and How to Play page styles */
.privacy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.6;
    padding: 20px 30px 40px 30px;
}

/* Adjust body for content pages */
body:has(.privacy-content) {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
}

body:has(.privacy-content) #main-content {
    height: auto;
    min-height: 100vh;
    justify-content: flex-start;
    padding: 0;
}

.privacy-content h1 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    color: #333333;
    font-weight: 700;
}

.privacy-content h2 {
    font-size: 1.2rem;
    margin-top: 35px;
    margin-bottom: 12px;
    color: #4FBDDB;
    font-weight: 600;
}

.privacy-content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
    color: #555555;
    line-height: 1.5;
}

.privacy-content em {
    color: #888888;
    font-size: 0.85rem;
}
