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

body {
    font-family: 'Orbitron', 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    overflow-x: hidden;
    animation: fadeIn 1s ease-in-out;
}

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

header {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.2), transparent);
    animation: pulse 10s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.3; }
}

h1 {
    font-size: 4em;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #ff00ff;
    text-shadow: 0 0 20px #ff00ff, 0 0 40px #00ffff;
    animation: neon 1.5s ease-in-out infinite alternate;
}

@keyframes neon {
    from { text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff; }
    to { text-shadow: 0 0 20px #ff00ff, 0 0 40px #00ffff; }
}

p.slogan {
    font-size: 1.8em;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin: 10px 0;
}

.platform-info {
    background: linear-gradient(45deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.2));
    border: 2px solid #ff00ff;
    padding: 20px;
    text-align: center;
    margin: 30px auto;
    max-width: 1400px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.platform-text {
    font-size: 1.2em;
    color: #ffffff;
    text-shadow: 0 0 8px #00ffff;
    font-weight: bold;
}

.platform-text a {
    color: #ff00ff;
    text-decoration: none;
    border-bottom: 2px solid #ff00ff;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.platform-text a:hover {
    color: #00ffff;
    border-color: #00ffff;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    background: linear-gradient(45deg, #1a1a1a, #333);
    border: 2px solid #ff00ff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
    overflow: hidden;
}

.game-card:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.7), 0 0 60px rgba(255, 0, 255, 0.7);
    border-color: #00ffff;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 255, 255, 0.2));
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.game-card:hover::after {
    opacity: 1;
}

.game-icon {
    width: 150px;
    height: 150px;
    background: #222;
    border-radius: 10px;
    margin: 0 auto 15px auto;
    display: block;
    object-fit: cover;
    border: 1px solid #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.game-title {
    font-size: 2em;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 15px;
}

.game-desc {
    font-size: 1.1em;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-text {
    font-size: 1.1em;
    color: #00ffff;
    text-shadow: 0 0 8px #00ffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.store-badge {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.5));
    transition: all 0.3s ease;
    cursor: pointer;
}

.store-badge:hover {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7));
    transform: translateY(-3px);
}

.store-badge:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: clickRipple 0.5s ease-out;
}

@keyframes clickRipple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.android-badge {
    width: 120px;
}

.ios-badge {
    width: 120px;
}

.legal-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(45deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border: 2px solid #ff00ff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.legal-container h2 {
    font-size: 2em;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 20px;
}

.legal-container h3 {
    font-size: 1.5em;
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff;
    margin: 15px 0 10px;
}

.legal-container p, .legal-container ul {
    font-size: 1.1em;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-container ul {
    list-style: disc;
    margin-left: 20px;
}

.legal-container a {
    color: #ff00ff;
    text-decoration: none;
    border-bottom: 2px solid #ff00ff;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.legal-container a:hover {
    color: #00ffff;
    border-color: #00ffff;
}

footer {
    padding: 30px;
    background: rgba(0, 0, 0, 0.9);
    font-size: 0.9em;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    text-align: center;
    position: relative;
    z-index: 1;
}

footer a {
    color: #ff00ff;
    text-decoration: none;
    border-bottom: 1px dotted #ff00ff;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #00ffff;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    p.slogan { font-size: 1.2em; }
    .game-title { font-size: 1.5em; }
    .game-desc { font-size: 0.9em; }
    .game-icon { width: 120px; height: 120px; }
    .platform-text { font-size: 1em; padding: 10px; }
    .store-badge { width: 100px; }
    .download-text { font-size: 1em; }
    .legal-container { padding: 15px; }
    .legal-container h2 { font-size: 1.5em; }
    .legal-container h3 { font-size: 1.2em; }
    .legal-container p, .legal-container ul { font-size: 0.9em; }
}