/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
header {
    text-align: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.logo h1 {
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

/* Privacy Policy Section */
.privacy-section {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.privacy-section h2 {
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.privacy-content {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

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

.privacy-content h4 {
    color: #ff9d00;
    margin: 15px 0 10px;
    font-size: 1rem;
}

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

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

/* Scrollbar for privacy content */
.privacy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
    background: #ff9d00;
}

/* Main content styles */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.welcome-section {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.welcome-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.welcome-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ccc;
}

.splash-image {
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.splash-image:hover .main-image {
    transform: scale(1.03);
}

.play-btn {
    background: linear-gradient(to right, #ffd700, #ff9d00);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.play-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.play-btn:hover:before {
    left: 100%;
}

/* Game previews styles */
.game-previews {
    width: 100%;
    max-width: 900px;
    margin: 30px 0;
}

.game-previews h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.preview-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.preview-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.preview-item:hover img {
    transform: scale(1.05);
}

.info-section {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

.info-section a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s;
}

.info-section a:hover {
    color: #ff9d00;
    text-decoration: underline;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: #666;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
    overflow-y: auto;
}

.modal-content {
    background-color: #1a1a2e;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .logo-img {
        width: 50px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-content {
        max-height: 250px;
    }
    
    .welcome-section h2 {
        font-size: 1.5rem;
    }
    
    .welcome-section p {
        font-size: 1rem;
    }
    
    .play-btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    .preview-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .privacy-content {
        max-height: 200px;
    }
    
    .welcome-section h2 {
        font-size: 1.3rem;
    }
    
    .welcome-section p {
        font-size: 0.9rem;
    }
    
    .play-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
    }
}
