:root {
    --bg: #000000;
    --card-bg: #121212;
    --border: #262626;
    --text: #ffffff;
    --text-muted: #a8a8a8;
    --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Header */
.global-header {
    width: 100%;
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.btn-nav-account {
    background: #1c1c1e;
    color: white;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Main Content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 { font-size: 32px; font-weight: 800; margin: 0; text-align: center; }
.gradient-text { background: var(--ig-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { text-align: center; color: var(--text-muted); margin-top: 10px; margin-bottom: 40px; }

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.2s, border-color 0.2s;
}

.game-card:active { transform: scale(0.97); }

.game-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
}

.game-info { padding: 20px; }
.game-info h2 { margin: 0; font-size: 20px; }
.game-info p { margin: 8px 0 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.4; }

/* Desktop Hover */
@media (member: hover: hover) {
    .game-card:hover { border-color: #444; transform: translateY(-5px); }
}