:root {
    --primary-color: #ffd700; /* Gold */
    --secondary-color: #ffb700;
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --success: #00e676;
    --danger: #ff1744;
    --gradient: linear-gradient(45deg, #ffd700, #ffb700);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    max-width: 480px; /* Mobile View Constraint */
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    padding-bottom: 70px; /* For bottom nav */
}

a { 
    text-decoration: none; 
    color: inherit; 
}

/* Utilities */
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-2 { margin-top: 10px; }
.mb-2 { margin-bottom: 10px; }
.p-2 { padding: 10px; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* Components */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: var(--gradient);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin: 10px 0;
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: var(--card-bg);
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.input-group input:focus {
    border-color: var(--primary-color);
}

/* Card */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

/* Header */
header {
    background: var(--card-bg);
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: var(--card-bg);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #333;
}

.nav-item {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 3px;
}

/* Game Cards */
.game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-card img {
    width: 60px;
    height: 60px;
}

.floating-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 99;
}
