* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f111a;
    color: #ffffff;
    padding-top: 95px;
    padding-bottom: 80px;
}

.top-bar {
    width: 100%;
    background: #00d639;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.top-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}

.btn-download-apk {
    display: block;
    width: 90%;
    max-width: 420px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #00ff66, #00a83b);
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    border: 2px solid #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.35);
}

.btn-download-apk {
    display: block;
    width: 92%;
    max-width: 420px;
    padding: 13px 20px;

    background: linear-gradient(135deg, #00ff66, #00b83d);
    color: #ffffff !important;

    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-align: center;

    text-decoration: none !important;
    border: 2px solid #ffffff;
    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.2s;
}

.btn-download-apk:hover {
    background: linear-gradient(135deg, #00e65c, #009f35);
    transform: translateY(-1px);
}

.btn-download-apk:active {
    transform: scale(0.98);
}
</style>

/* Main Header */
.main-header {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    background-color: #171b2a;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #252b42;
    z-index: 999;
}

.brand-logo {
    font-style: italic;
    font-weight: 900;
    font-size: 24px;
    color: #ffffff;
}

.sub-brand {
    font-size: 10px;
    display: block;
    color: #00e676;
    letter-spacing: 1px;
}

.balance-badge {
    background: #ff6d00;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    margin-right: 10px;
}

/* Category Navigation Tabs */
.category-tabs {
    display: flex;
    background: #1f2438;
    overflow-x: auto;
    position: sticky;
    top: 0;
}

.tab-item {
    flex: 1;
    background: none;
    border: none;
    color: #a0a5b5;
    padding: 12px 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.tab-item.active {
    color: #ffffff;
    border-bottom: 3px solid #ff1744;
}

/* Content Container & Sections */
.content-container {
    padding: 15px;
}

.tab-content {
    display: none;
}

.tab-content.active-content {
    display: block;
}

/* UI Cards Styles */
.hero-card {
    background: linear-gradient(135deg, #4a0e17 0%, #1a052e 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #3d1424;
    margin-bottom: 20px;
}

.tag-live {
    background: #ff3d00;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.hero-card h2 {
    font-size: 20px;
    margin: 12px 0;
    line-height: 1.4;
}

.trust-badge {
    color: #00e676;
    font-size: 12px;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.cta-buttons button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary { background: #00c853; color: white; }
.btn-secondary { background: transparent; border: 2px solid white !important; color: white; }

/* Suggested Prediction Section */
.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #ff9100;
    margin: 15px 0 10px 0;
}

.prediction-card {
    background: #ffffff;
    color: #222;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.predict-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.predict-options button {
    flex: 1;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    font-weight: bold;
    cursor: pointer;
}

.btn-yes { color: #00c853; border-color: #00c853 !important; }
.btn-no { color: #d50000; border-color: #d50000 !important; }

.trending-tag {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 8px;
}

/* Games Grid Section */
.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.game-card {
    background: #171b2a;
    border: 1px solid #252b42;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    position: relative;
}

.game-thumb {
    height: 90px;
    background: #252b42;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
}

.game-card h3 { font-size: 14px; margin-bottom: 4px; }
.playing-count { font-size: 11px; color: #a0a5b5; }

/* Rummy Section */
.rummy-banner {
    background: linear-gradient(to right, #7b0000, #b71c1c);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wheel-icon { font-size: 30px; }
.btn-play-now {
    background: #00c853;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

/* Rewards Box Common Stylings */
.reward-box {
    background: #171b2a;
    border: 1px solid #252b42;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.reward-box h3 { color: #00e676; font-size: 15px; margin-bottom: 8px; }
.reward-highlight span { color: #ffea00; font-weight: bold; font-size: 18px; }

.btn-share {
    width: 100%;
    background: #2979ff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
}

.pool-amount { font-size: 24px; color: #ffea00; font-weight: bold; margin: 5px 0; }
.leader-item { font-size: 13px; padding: 4px 0; border-bottom: 1px solid #252b42; }

/* Fixed Bottom Footer CTA */
.bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #d50000;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.btn-final-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2196f3, #0057d9);
    border: 2px solid #ffffff;
    box-shadow: 0 5px 18px rgba(33, 150, 243, 0.45);
    transition: 0.3s ease;
}

.btn-final-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.65);
}
}