* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #1a1a2e; color: #eee; }
header { background: #16213e; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
header h1 { color: #eee; }
nav a { color: #eee; margin-left: 20px; text-decoration: none; }
nav a:hover { color: #e94560; }

main { padding: 20px; max-width: 1200px; margin: 0 auto; }

.search-bar { margin-bottom: 30px; display: flex; gap: 10px; }
.search-bar form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-bar input, .search-bar select { padding: 10px; border: none; border-radius: 5px; background: #0f3460; color: #eee; }
.search-bar button { padding: 10px 20px; background: #e94560; color: white; border: none; border-radius: 5px; cursor: pointer; }

.empty-note { color: #aaa; margin: 20px 0; }

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.game-card { background: #16213e; padding: 15px; border-radius: 10px; text-align: center; }
.game-card img { width: 100%; height: 300px; object-fit: cover; border-radius: 5px; }
.game-card h3 { margin: 10px 0; }
.game-card .region, .game-card .size { color: #aaa; font-size: 14px; }
.game-card .downloads { color: #e94560; font-size: 12px; }
.btn { display: inline-block; padding: 10px 20px; background: #e94560; color: white; text-decoration: none; border-radius: 5px; margin-top: 10px; }
.btn:hover { background: #ff6b6b; }

.game-detail { display: flex; flex-direction: column; gap: 30px; }
.game-header { display: flex; gap: 30px; flex-wrap: wrap; }
.game-header img { width: 300px; height: 400px; object-fit: cover; border-radius: 10px; }
.game-info { flex: 1; min-width: 250px; }
.game-info p { margin: 8px 0; }
.download-btn { background: #0f3460; font-size: 18px; padding: 15px 30px; }
.game-description { background: #16213e; padding: 20px; border-radius: 10px; }
.game-description h3 { margin-bottom: 10px; }

form { display: flex; flex-direction: column; gap: 10px; max-width: 500px; margin-bottom: 30px; }
form input, form select, form textarea { padding: 10px; border: none; border-radius: 5px; background: #0f3460; color: #eee; }
form input::placeholder, form textarea::placeholder { color: #aaa; }
form button { padding: 10px; background: #e94560; color: white; border: none; border-radius: 5px; cursor: pointer; }

.progress-wrap { max-width: 500px; height: 12px; background: #0f3460; border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.progress-bar { height: 100%; width: 0%; background: #e94560; transition: width 0.2s; }
#upload-result { color: #aaa; font-size: 14px; margin-bottom: 30px; word-break: break-all; }

table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { padding: 10px; text-align: left; border-bottom: 1px solid #333; }
th { background: #16213e; }
