* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d0914;
    color: #ffffff;
    padding-bottom: 75px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #151021;
    padding: 12px 16px;
    border-bottom: 1px solid #251d38;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    color: #ff2d55;
    letter-spacing: 1.5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.telegram-header-btn {
    background: #0088cc;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
}

.balance-box {
    background: #1f1730;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #00ffcc;
    cursor: pointer;
    border: 1px solid #32254f;
}

.balance-box .plus-icon {
    color: #ff2d55;
    font-size: 13px;
}

.profile-icon {
    background: #ff2d55;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 14px;
}

/* Category Tabs */
.cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 15px;
    background: #110c1c;
    white-space: nowrap;
    border-bottom: 1px solid #1f1730;
}

.cat-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tabs button {
    background: #1b1428;
    border: 1px solid #2d2245;
    color: #a89bc9;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.cat-tabs button.active {
    background: #ff2d55;
    color: white;
    border-color: #ff2d55;
}

/* Banner */
.banner-section {
    margin: 15px;
    background: linear-gradient(135deg, #2b1055, #ff2d55);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.banner-box-content h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.banner-box-content p {
    font-size: 12px;
    color: #ffd1dc;
    margin-bottom: 12px;
}

.banner-btn {
    background: #ffffff;
    color: #ff2d55;
    border: none;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: bold;
}

.view-all {
    color: #8c7fae;
    font-size: 11px;
    cursor: pointer;
}

/* Game Grid */
.game-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 15px !important;
}

.game-card {
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    background: #171124;
    border: 1px solid #2a2040;
    aspect-ratio: 16 / 10;
}

.game-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
}

.game-thumb i {
    font-size: 26px;
}

.game-thumb span {
    font-size: 12px;
    font-weight: bold;
}

.game-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #ff2d55;
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 2;
}

/* Floating Telegram Support Button */
.floating-support {
    position: fixed;
    bottom: 65px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.telegram-float {
    background: #0088cc;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    text-decoration: none;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #120d1c;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid #231a38;
    z-index: 1000;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #7d709e;
    font-size: 10px;
    gap: 2px;
}

.bottom-nav a i {
    font-size: 16px;
}

.bottom-nav a.active {
    color: #ff2d55;
}
