/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0f0f1e;
    background-image: linear-gradient(to bottom, #1a1a3a, #0f0f1e);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Game Wrapper */
.game-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Splash Screen */
.splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.splash-img {
    width: 80%;
    max-width: 300px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 36px;
    margin: 15px 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffcc00, #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* Game Button */
.game-button {
    background: linear-gradient(45deg, #ff8800, #ff4500);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-button:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #ff8800, #ff4500, #ff8800);
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
    z-index: -1;
    border-radius: 60px;
    opacity: 0.7;
}

.game-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 69, 0, 0.6);
}

.game-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(255, 69, 0, 0.4);
}

/* Pulse Animation */
.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(255, 69, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Privacy Link */
.privacy-link {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Game Screens */
.game-screens {
    width: 100%;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 15px;
}

.screen-slider {
    display: flex;
    width: 400%;
    animation: slide 20s infinite;
}

.screen-img {
    width: 25%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes slide {
    0%, 20% {
        transform: translateX(0);
    }
    25%, 45% {
        transform: translateX(-25%);
    }
    50%, 70% {
        transform: translateX(-50%);
    }
    75%, 95% {
        transform: translateX(-75%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Privacy Section */
.privacy-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.privacy-content {
    background-color: #1a1a3a;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.privacy-text {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}

.privacy-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffcc00;
    font-size: 24px;
}

.privacy-content h3 {
    margin: 20px 0 10px;
    color: #ff8800;
    font-size: 20px;
}

.privacy-content h4 {
    margin: 15px 0 10px;
    color: #ff6600;
    font-size: 18px;
}

.privacy-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }
    
    .game-button {
        padding: 12px 25px;
        font-size: 18px;
    }
    
    .privacy-content {
        padding: 20px;
    }
    
    .privacy-content h2 {
        font-size: 22px;
    }
    
    .privacy-content h3 {
        font-size: 18px;
    }
    
    .privacy-content h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
    
    .game-button {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .privacy-content {
        padding: 15px;
    }
    
    .privacy-content h2 {
        font-size: 20px;
    }
    
    .privacy-content h3 {
        font-size: 16px;
    }
    
    .privacy-content h4 {
        font-size: 14px;
    }
}
