* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1c1c24; /* Dark App Background */
    color: white;
    padding-bottom: 70px; /* Space for bottom nav */
}

/* Header */
.header {
    background-color: #232336;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
.header .title { text-align: center; line-height: 1.2; }
.wallet-info { display: flex; align-items: center; gap: 15px; }
.coins { background: white; color: black; padding: 5px 12px; border-radius: 20px; font-weight: bold; }

/* Main Content Wrapper */
.main-content { padding: 15px; }

/* Announcement Box */
.announcement-box { background: white; color: black; padding: 12px; border-radius: 8px; font-weight: bold; margin-bottom: 15px; display: flex; gap: 10px; align-items: center; }

/* Play Tab: Contest & Games Grid */
.my-contest-grid, .games-grid { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.contest-card { background: white; color: black; border-radius: 12px; padding: 20px 10px; text-align: center; width: 30%; }
.game-card { width: 31%; margin-bottom: 10px; background: #232336; border-radius: 8px; overflow: hidden; }
.game-card img { width: 100%; height: auto; }
.game-title { padding: 8px; text-align: center; font-size: 12px; background: #111119; }

/* Profile Tab */
.profile-header { text-align: center; margin-top: 20px; }
.profile-header .avatar { width: 80px; border-radius: 50%; border: 3px solid #232336; }
.stats-row { display: flex; justify-content: space-between; margin-top: 20px; }
.stat-box { background: white; color: #1c1c24; text-align: center; padding: 15px; border-radius: 10px; width: 31%; }
.stat-box h4 { color: #007bff; font-size: 18px; }
.stat-box p { font-size: 11px; margin-top: 5px; font-weight: bold;}

.menu-list { margin-top: 20px; background: white; border-radius: 10px; overflow: hidden; }
.menu-item { color: black; padding: 15px 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; font-weight: bold; }
.menu-item .text-blue { color: #007bff; margin-right: 15px; width: 20px; text-align: center; font-size: 18px;}
.menu-item .arrow { margin-left: auto; color: #ccc; }

/* Earn Tab */
.earn-container { display: flex; flex-direction: column; gap: 15px; }
.earn-card { display: flex; align-items: center; padding: 20px; border-radius: 15px; color: white; gap: 15px; }
.earn-card img { width: 60px; height: 60px; object-fit: contain;}
.earn-text h4 { margin-bottom: 5px; text-transform: uppercase; }

/* Bottom Navigation */
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: #000; display: flex; justify-content: space-around; padding: 10px 0; border-top: 1px solid #333; }
.nav-item { color: #aaa; text-align: center; text-decoration: none; font-size: 14px; display: flex; flex-direction: column; gap: 5px; }
.nav-item:hover, .nav-item:active { color: white; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 80px; right: 20px; background: #25d366; color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30px; box-shadow: 0px 4px 10px rgba(0,0,0,0.5); }