/* ============================================================
   MODERN HOMEPAGE - 100Games.fun
   Dark theme (#0d1117) + Gold (#FFD700) accent
   Mobile-first (375px base), scales up
   ============================================================ */

/* CSS Variables */
:root {
    --mhp-bg: #0A0A1A;
    --mhp-bg2: #101028;
    --mhp-card: #161630;
    --mhp-card-hover: #1e1e42;
    --mhp-input: #1a1a3a;
    --mhp-gold: #FFD700;
    --mhp-gold-dark: #B8860B;
    --mhp-gold-light: #FFE44D;
    --mhp-cyan: #00D4FF;
    --mhp-green: #00E676;
    --mhp-red: #FF1744;
    --mhp-orange: #FF9100;
    --mhp-purple: #7C4DFF;
    --mhp-pink: #FF4081;
    --mhp-text: #FFFFFF;
    --mhp-text2: #8B8BA3;
    --mhp-text3: #5A5A7A;
    --mhp-border: #2A2A4A;
    --mhp-grad-gold: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    --mhp-grad-fire: linear-gradient(135deg, #FF6B35 0%, #FF1744 100%);
    --mhp-grad-purple: linear-gradient(135deg, #7C4DFF 0%, #448AFF 100%);
    --mhp-grad-cyan: linear-gradient(135deg, #00D4FF 0%, #00E676 100%);
    --mhp-grad-green: linear-gradient(135deg, #00E676 0%, #00C853 100%);
    --mhp-shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.25);
    --mhp-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.4);
    --mhp-radius: 14px;
    --mhp-radius-sm: 10px;
}

/* Reset for modern homepage container */
.mhp-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== LIVE STATS BAR ===== */
.mhp-stats-bar {
    background: var(--mhp-bg2);
    border-bottom: 1px solid var(--mhp-border);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}
.mhp-stats-scroll {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: mhpScrollStats 25s linear infinite;
    white-space: nowrap;
    padding: 0 16px;
    will-change: transform;
}
@keyframes mhpScrollStats {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.mhp-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--mhp-text2);
    flex-shrink: 0;
    letter-spacing: 0.2px;
}
.mhp-stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: mhpPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
.mhp-stat-dot--green { background: var(--mhp-green); box-shadow: 0 0 6px var(--mhp-green); }
.mhp-stat-dot--gold { background: var(--mhp-gold); box-shadow: 0 0 6px var(--mhp-gold); }
.mhp-stat-dot--cyan { background: var(--mhp-cyan); box-shadow: 0 0 6px var(--mhp-cyan); }
@keyframes mhpPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}
.mhp-stat-item strong {
    color: var(--mhp-text);
    font-weight: 700;
}

/* ===== HERO CAROUSEL ===== */
.mhp-hero {
    padding: 12px 0;
}
.mhp-carousel {
    position: relative;
    border-radius: var(--mhp-radius);
    overflow: hidden;
}
.mhp-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.mhp-slide {
    min-width: 100%;
    padding: 28px 24px;
    position: relative;
    min-height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
/* Theme: Gold */
.mhp-slide--gold {
    background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 35%, #0A0A1A 100%);
    border: 1px solid rgba(255,215,0,0.2);
}
.mhp-slide--gold::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: mhpGlow 4s ease-in-out infinite alternate;
}
/* Theme: Purple */
.mhp-slide--purple {
    background: linear-gradient(135deg, #0a001a 0%, #1a003d 35%, #0A0A1A 100%);
    border: 1px solid rgba(124,77,255,0.2);
}
.mhp-slide--purple::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124,77,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: mhpGlow 4s ease-in-out infinite alternate;
}
/* Theme: Green */
.mhp-slide--green {
    background: linear-gradient(135deg, #001a0a 0%, #003d1a 35%, #0A0A1A 100%);
    border: 1px solid rgba(0,230,118,0.2);
}
.mhp-slide--green::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,230,118,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: mhpGlow 4s ease-in-out infinite alternate;
}
/* Theme: Cyan */
.mhp-slide--cyan {
    background: linear-gradient(135deg, #001a1a 0%, #003d3d 35%, #0A0A1A 100%);
    border: 1px solid rgba(0,212,255,0.2);
}
/* Theme: Red */
.mhp-slide--red {
    background: linear-gradient(135deg, #1a0000 0%, #3d0000 35%, #0A0A1A 100%);
    border: 1px solid rgba(255,23,68,0.2);
}

@keyframes mhpGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}
.mhp-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    width: fit-content;
}
.mhp-slide-badge--gold { background: rgba(255,215,0,0.15); color: var(--mhp-gold); }
.mhp-slide-badge--purple { background: rgba(124,77,255,0.15); color: var(--mhp-purple); }
.mhp-slide-badge--green { background: rgba(0,230,118,0.15); color: var(--mhp-green); }
.mhp-slide-badge--cyan { background: rgba(0,212,255,0.15); color: var(--mhp-cyan); }
.mhp-slide-badge--red { background: rgba(255,23,68,0.15); color: var(--mhp-red); }

.mhp-slide-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    color: var(--mhp-text);
    position: relative;
    z-index: 1;
}
.hl-gold { color: var(--mhp-gold) !important; }
.hl-purple { color: var(--mhp-purple) !important; }
.hl-green { color: var(--mhp-green) !important; }
.hl-cyan { color: var(--mhp-cyan) !important; }
.hl-red { color: var(--mhp-red) !important; }

.mhp-slide-sub {
    font-size: 13px;
    color: var(--mhp-text2);
    margin-bottom: 16px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}
.mhp-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--mhp-radius-sm);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.mhp-slide-cta--gold { background: var(--mhp-grad-gold); color: #000; }
.mhp-slide-cta--purple { background: var(--mhp-grad-purple); color: #fff; }
.mhp-slide-cta--green { background: var(--mhp-grad-cyan); color: #000; }
.mhp-slide-cta--cyan { background: var(--mhp-grad-cyan); color: #000; }
.mhp-slide-cta--red { background: var(--mhp-grad-fire); color: #fff; }
.mhp-slide-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.mhp-slide-cta:active { transform: scale(0.97); }

/* Carousel Dots */
.mhp-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.mhp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mhp-text3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.mhp-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--mhp-gold);
    box-shadow: 0 0 8px rgba(255,215,0,0.4);
}

/* ===== WELCOME BONUS BANNER ===== */
.mhp-bonus {
    margin: 12px 0;
    background: linear-gradient(135deg, #1C1200 0%, #332200 50%, #1C1200 100%);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: var(--mhp-radius);
    padding: 18px;
    position: relative;
    overflow: hidden;
}
.mhp-bonus::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,215,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.mhp-bonus-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.mhp-bonus-header i { color: var(--mhp-gold); font-size: 18px; }
.mhp-bonus-header span {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mhp-gold);
}
.mhp-bonus-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--mhp-text);
}
.mhp-bonus-title span { color: var(--mhp-gold); }
.mhp-bonus-tiers {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.mhp-tier {
    flex: 1;
    background: rgba(255,215,0,0.06);
    border: 1px solid rgba(255,215,0,0.12);
    border-radius: var(--mhp-radius-sm);
    padding: 10px 6px;
    text-align: center;
    transition: all 0.3s;
}
.mhp-tier:hover {
    border-color: rgba(255,215,0,0.3);
    background: rgba(255,215,0,0.1);
}
.mhp-tier-label {
    font-size: 9px;
    color: var(--mhp-text2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.mhp-tier-value {
    font-size: 20px;
    font-weight: 900;
    color: var(--mhp-gold);
    text-shadow: 0 0 12px rgba(255,215,0,0.3);
}
.mhp-tier-min {
    font-size: 10px;
    color: var(--mhp-text3);
    margin-top: 2px;
}
.mhp-bonus-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: var(--mhp-grad-gold);
    color: #000;
    border: none;
    border-radius: var(--mhp-radius-sm);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.mhp-bonus-cta:hover { transform: translateY(-2px); box-shadow: var(--mhp-shadow-gold); }

/* ===== RECENT WINS TICKER ===== */
.mhp-wins {
    margin: 16px 0;
}
.mhp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.mhp-section-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mhp-text);
}
.mhp-section-title i { color: var(--mhp-gold); font-size: 18px; }
.mhp-section-link {
    font-size: 12px;
    color: var(--mhp-gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}
.mhp-section-link:hover { opacity: 0.8; }

.mhp-wins-ticker {
    overflow: hidden;
    border-radius: 12px;
    background: var(--mhp-bg2);
    border: 1px solid var(--mhp-border);
}
.mhp-wins-scroll {
    display: flex;
    gap: 10px;
    padding: 10px;
    animation: mhpScrollWins 35s linear infinite;
    will-change: transform;
}
@keyframes mhpScrollWins {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.mhp-win-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--mhp-card);
    border-radius: var(--mhp-radius-sm);
    padding: 10px 14px;
    min-width: 195px;
    border: 1px solid rgba(255,255,255,0.03);
}
.mhp-win-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}
.mhp-win-info { flex: 1; min-width: 0; }
.mhp-win-user {
    font-size: 12px;
    font-weight: 600;
    color: var(--mhp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mhp-win-game {
    font-size: 10px;
    color: var(--mhp-text3);
}
.mhp-win-amount {
    font-size: 13px;
    font-weight: 800;
    color: var(--mhp-green);
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(0,230,118,0.2);
}

/* ===== GAME CATEGORIES ===== */
.mhp-categories {
    margin: 16px 0;
}
.mhp-cat-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 0 12px 0;
    -webkit-overflow-scrolling: touch;
}
.mhp-cat-tabs::-webkit-scrollbar { display: none; }
.mhp-cat-tab {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--mhp-radius-sm);
    background: var(--mhp-bg2);
    border: 1px solid var(--mhp-border);
    color: var(--mhp-text2);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    user-select: none;
}
.mhp-cat-tab:hover {
    border-color: var(--mhp-gold);
    color: var(--mhp-gold);
}
.mhp-cat-tab.active {
    background: rgba(255,215,0,0.1);
    border-color: var(--mhp-gold);
    color: var(--mhp-gold);
    box-shadow: 0 0 12px rgba(255,215,0,0.1);
}
.mhp-cat-tab i { font-size: 13px; }
.mhp-cat-count {
    background: rgba(255,215,0,0.12);
    color: var(--mhp-gold);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 700;
}

/* ===== GAME GRID ===== */
.mhp-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.mhp-game-card {
    background: var(--mhp-card);
    border: 1px solid var(--mhp-border);
    border-radius: var(--mhp-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    display: block;
}
.mhp-game-card:hover {
    border-color: rgba(255,215,0,0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(255,215,0,0.12);
}
.mhp-game-card:active { transform: scale(0.96); }
.mhp-game-thumb {
    width: 100%;
    aspect-ratio: 1;
    background: var(--mhp-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.mhp-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mhp-game-thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, var(--mhp-card));
    pointer-events: none;
}
.mhp-game-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.mhp-badge-hot { background: var(--mhp-grad-fire); color: #fff; }
.mhp-badge-new { background: var(--mhp-grad-cyan); color: #000; }
.mhp-badge-popular { background: var(--mhp-grad-purple); color: #fff; }
.mhp-badge-live {
    background: rgba(255,23,68,0.9);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 3px;
}
.mhp-badge-live::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    animation: mhpPulse 1.5s infinite;
}
.mhp-game-players {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9px;
    color: var(--mhp-text2);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
}
.mhp-game-players i { color: var(--mhp-green); font-size: 6px; }
.mhp-game-info {
    padding: 8px 10px 10px;
}
.mhp-game-name {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    color: var(--mhp-text);
}
.mhp-game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mhp-game-cat {
    font-size: 9px;
    color: var(--mhp-text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mhp-game-rtp {
    font-size: 9px;
    color: var(--mhp-green);
    font-weight: 600;
}

/* ===== DAILY REWARDS ===== */
.mhp-daily {
    margin: 20px 0;
}
.mhp-daily-card {
    background: linear-gradient(135deg, #0a1a00 0%, #001a1a 100%);
    border: 1px solid rgba(0,230,118,0.2);
    border-radius: var(--mhp-radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.mhp-daily-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,230,118,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.mhp-daily-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0,230,118,0.12);
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
    color: var(--mhp-green);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}
.mhp-daily-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--mhp-text);
}
.mhp-daily-title span { color: var(--mhp-green); }
.mhp-daily-desc {
    font-size: 12px;
    color: var(--mhp-text2);
    margin-bottom: 14px;
    line-height: 1.4;
}
.mhp-streak {
    display: flex;
    gap: 5px;
    margin-bottom: 14px;
}
.mhp-streak-day {
    flex: 1;
    text-align: center;
    padding: 8px 2px;
    border-radius: var(--mhp-radius-sm);
    background: rgba(0,230,118,0.04);
    border: 1px solid rgba(0,230,118,0.08);
    transition: all 0.3s;
    min-width: 0;
}
.mhp-streak-day--claimed {
    background: rgba(0,230,118,0.12);
    border-color: rgba(0,230,118,0.3);
}
.mhp-streak-day--today {
    background: rgba(0,230,118,0.18);
    border-color: var(--mhp-green);
    box-shadow: 0 0 14px rgba(0,230,118,0.15);
    animation: mhpStreakPulse 2s ease-in-out infinite;
}
@keyframes mhpStreakPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(0,230,118,0.15); }
    50% { box-shadow: 0 0 20px rgba(0,230,118,0.3); }
}
.mhp-streak-label {
    font-size: 8px;
    color: var(--mhp-text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mhp-streak-amount {
    font-size: 12px;
    font-weight: 800;
    color: var(--mhp-green);
    margin-top: 2px;
}
.mhp-streak-day--claimed .mhp-streak-amount { color: var(--mhp-text3); text-decoration: line-through; }
.mhp-streak-check {
    font-size: 14px;
    color: var(--mhp-green);
    margin-bottom: 2px;
}
.mhp-daily-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--mhp-grad-green);
    color: #000;
    border: none;
    border-radius: var(--mhp-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
}
.mhp-daily-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,230,118,0.3); }
.mhp-daily-cta:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== VIP SECTION ===== */
.mhp-vip {
    margin: 20px 0;
}
.mhp-vip-card {
    background: linear-gradient(135deg, #1a0a2e 0%, #0a0a1a 100%);
    border: 1px solid rgba(124,77,255,0.2);
    border-radius: var(--mhp-radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.mhp-vip-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(124,77,255,0.12);
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
    color: var(--mhp-purple);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}
.mhp-vip-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--mhp-text);
}
.mhp-vip-title span { color: var(--mhp-purple); }
.mhp-vip-desc {
    font-size: 12px;
    color: var(--mhp-text2);
    margin-bottom: 14px;
    line-height: 1.4;
}
/* VIP Progress bar (for logged-in users) */
.mhp-vip-progress {
    margin-bottom: 14px;
}
.mhp-vip-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.mhp-vip-current {
    font-size: 12px;
    font-weight: 700;
    color: var(--mhp-purple);
}
.mhp-vip-next {
    font-size: 11px;
    color: var(--mhp-text3);
}
.mhp-vip-bar {
    height: 6px;
    background: rgba(124,77,255,0.15);
    border-radius: 3px;
    overflow: hidden;
}
.mhp-vip-bar-fill {
    height: 100%;
    background: var(--mhp-grad-purple);
    border-radius: 3px;
    transition: width 1s ease;
}
.mhp-vip-remaining {
    font-size: 10px;
    color: var(--mhp-text3);
    margin-top: 4px;
    text-align: right;
}
.mhp-vip-tiers {
    display: flex;
    gap: 6px;
}
.mhp-vip-tier {
    flex: 1;
    text-align: center;
    padding: 10px 2px;
    border-radius: var(--mhp-radius-sm);
    background: rgba(124,77,255,0.05);
    border: 1px solid rgba(124,77,255,0.1);
    transition: all 0.3s;
    min-width: 0;
}
.mhp-vip-tier:hover {
    border-color: rgba(124,77,255,0.3);
    background: rgba(124,77,255,0.1);
}
.mhp-vip-tier.active {
    border-color: var(--mhp-purple);
    background: rgba(124,77,255,0.15);
    box-shadow: 0 0 12px rgba(124,77,255,0.15);
}
.mhp-vip-tier-icon { font-size: 18px; margin-bottom: 3px; }
.mhp-vip-tier-name {
    font-size: 9px;
    font-weight: 700;
    color: var(--mhp-purple);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.mhp-vip-tier-bonus {
    font-size: 11px;
    font-weight: 800;
    color: var(--mhp-text);
    margin-top: 2px;
}

/* ===== REFERRAL BANNER ===== */
.mhp-referral {
    margin: 20px 0;
}
.mhp-referral-card {
    background: linear-gradient(135deg, #1a1200 0%, #0a0a1a 100%);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: var(--mhp-radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.mhp-referral-card:hover {
    border-color: rgba(255,215,0,0.4);
    transform: translateY(-2px);
}
.mhp-referral-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,215,0,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.mhp-referral-icon i { color: var(--mhp-gold); }
.mhp-referral-info { flex: 1; }
.mhp-referral-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--mhp-text);
    margin-bottom: 3px;
}
.mhp-referral-title span { color: var(--mhp-gold); }
.mhp-referral-desc {
    font-size: 11px;
    color: var(--mhp-text2);
    line-height: 1.3;
}
.mhp-referral-arrow { color: var(--mhp-gold); font-size: 18px; }

/* ===== PROMO GRID ===== */
.mhp-promos {
    margin: 20px 0;
}
.mhp-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mhp-promo-card {
    background: var(--mhp-card);
    border: 1px solid var(--mhp-border);
    border-radius: var(--mhp-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.mhp-promo-card:hover {
    border-color: rgba(255,215,0,0.3);
    transform: translateY(-2px);
}
.mhp-promo-icon { font-size: 26px; margin-bottom: 8px; color: var(--mhp-gold); }
.mhp-promo-name { font-size: 13px; font-weight: 700; color: var(--mhp-text); margin-bottom: 3px; }
.mhp-promo-detail { font-size: 10px; color: var(--mhp-text2); }

/* ===== PAYMENT METHODS ===== */
.mhp-payments {
    margin: 24px 0;
    text-align: center;
}
.mhp-payments-title {
    font-size: 11px;
    color: var(--mhp-text3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.mhp-pay-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mhp-pay-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--mhp-text2);
    padding: 6px 12px;
    background: var(--mhp-bg2);
    border-radius: 8px;
    border: 1px solid var(--mhp-border);
}
.mhp-pay-icon i { font-size: 14px; }

/* ===== TRUST BADGES ===== */
.mhp-trust {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.mhp-trust-item { text-align: center; }
.mhp-trust-icon { font-size: 22px; color: var(--mhp-gold); margin-bottom: 4px; }
.mhp-trust-label {
    font-size: 9px;
    color: var(--mhp-text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BOTTOM NAVIGATION ===== */
.mhp-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 10, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--mhp-border);
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}
.mhp-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}
.mhp-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.mhp-nav-item i {
    font-size: 20px;
    color: var(--mhp-text3);
    transition: color 0.2s;
}
.mhp-nav-item span {
    font-size: 9px;
    color: var(--mhp-text3);
    font-weight: 600;
    transition: color 0.2s;
}
.mhp-nav-item.active i,
.mhp-nav-item:hover i { color: var(--mhp-gold); }
.mhp-nav-item.active span,
.mhp-nav-item:hover span { color: var(--mhp-gold); }
.mhp-nav-deposit { position: relative; top: -14px; }
.mhp-nav-deposit-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--mhp-grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(255,215,0,0.35);
    transition: all 0.25s;
}
.mhp-nav-deposit-btn:hover { transform: scale(1.08); }
.mhp-nav-deposit-btn i { font-size: 22px; color: #000 !important; }

/* ===== FOOTER (modern) ===== */
.mhp-footer {
    text-align: center;
    padding: 20px 16px 90px;
    border-top: 1px solid var(--mhp-border);
    margin-top: 20px;
}
.mhp-footer-age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid var(--mhp-red);
    border-radius: 50%;
    color: var(--mhp-red);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}
.mhp-footer-text {
    font-size: 11px;
    color: var(--mhp-text3);
    line-height: 1.6;
}
.mhp-footer-text a {
    color: var(--mhp-gold);
    text-decoration: none;
}

/* ===== ANIMATIONS ===== */
.mhp-fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.mhp-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .mhp-game-grid { grid-template-columns: repeat(4, 1fr); }
    .mhp-bonus-tiers { gap: 12px; }
    .mhp-streak { gap: 8px; }
    .mhp-vip-tiers { gap: 10px; }
    .mhp-bottom-nav { display: none; }
    .mhp-footer { padding-bottom: 20px; }
}
@media (max-width: 360px) {
    .mhp-game-grid { gap: 6px; }
    .mhp-slide-title { font-size: 22px; }
    .mhp-bonus-title { font-size: 18px; }
    .mhp-tier-value { font-size: 17px; }
    .mhp-streak { gap: 3px; }
    .mhp-streak-day { padding: 6px 1px; }
    .mhp-streak-amount { font-size: 10px; }
    .mhp-vip-tiers { gap: 4px; }
}

/* Hide modern body padding when bottom nav is present */
body.mhp-has-bottom-nav {
    padding-bottom: 75px;
}
@media (min-width: 768px) {
    body.mhp-has-bottom-nav { padding-bottom: 0; }
}
