* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #b8860b 0%, #d4940a 25%, #e8a317 50%, #f5a623 75%, #ff9500 100%);
    min-height: 100vh;
    padding-bottom: 140px;
    overflow-x: hidden;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e9f0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #6b7c93;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 20px;
    color: #ffc107;
}

.nav-item.active .nav-icon-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -25px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.nav-item.active .nav-icon-circle i {
    color: #fff;
    font-size: 22px;
}

.nav-item:hover {
    color: #2196f3;
}

/* Floating Banner */
.floating-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
    margin: 15px;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    gap: 10px;
}

.banner-logo {
    width: 100px;
    min-width: 100px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.banner-logo i {
    font-size: 24px;
    color: #fff;
}

.banner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-content {
    display: flex;
    align-items: center;
    flex: 1;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.banner-content i {
    font-size: 18px;
}

.banner-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Featured Slider */
.featured-slider {
    padding: 0 15px;
    margin-bottom: 15px;
}

.slider-track {
    overflow: hidden;
    width: 100%;
}

.slider-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slide {
    min-width: calc(33.333% - 8px);
    background: linear-gradient(180deg, #1a237e 0%, #0d1442 100%);
    border-radius: 16px;
    padding: 12px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.slide-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    padding: 5px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.slide-badge i {
    color: #ffc107;
    font-size: 10px;
}

.slide-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    line-height: 1.1;
}

.slide-logo.betwoon {
    color: #e91e63;
    font-style: italic;
}

.slide-logo.pasha {
    color: #ffc107;
    font-size: 12px;
}

.slide-logo.dedebet {
    color: #fff;
    font-size: 14px;
}

.slide-logo.matbet-slide {
    color: #e91e63;
    font-size: 14px;
    font-weight: 800;
}

.slide-logo.betsin-slide {
    color: #ff5722;
    font-size: 16px;
    font-weight: 800;
}

.slide-logo.supertotobet-slide {
    color: #ff9800;
    font-size: 11px;
    font-weight: 800;
}

.slide-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    text-decoration: none;
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d5dd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2196f3;
    width: 20px;
    border-radius: 4px;
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    margin: 0 15px 12px;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e9f0;
}

.search-container i {
    color: #9ca3af;
    font-size: 16px;
}

.search-container input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #374151;
    font-family: 'Poppins', sans-serif;
}

.search-container input::placeholder {
    color: #9ca3af;
}

/* Filter Dropdown */
.filter-dropdown {
    margin: 0 15px 12px;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e9f0;
    cursor: pointer;
}

.dropdown-header i:first-child {
    color: #2196f3;
}

.dropdown-header span {
    flex: 1;
    font-weight: 500;
    color: #374151;
}

.dropdown-header i:last-child {
    color: #9ca3af;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    margin-bottom: 15px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e9f0;
    background: #fff;
    color: #2196f3;
    font-family: 'Poppins', sans-serif;
}

.tab.active {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.tab i {
    font-size: 12px;
}

/* Bonus List */
.bonus-list {
    padding: 0 15px;
}

.bonus-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e9f0;
    gap: 10px;
    flex-wrap: nowrap;
}

.bonus-logo {
    width: 100px;
    min-width: 100px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    border-radius: 8px;
    flex-shrink: 0;
}

.bonus-logo.spinco {
    background: linear-gradient(135deg, #1a237e 0%, #0d1442 100%);
    color: #fff;
    font-size: 14px;
}

.bonus-logo.spinco .logo-icon {
    color: #4caf50;
    margin-right: 3px;
}

.bonus-logo.betwild {
    background: #1a1a2e;
    color: #fff;
    font-size: 18px;
}

.bonus-logo.betwild span {
    color: #8bc34a;
}

.bonus-logo.grandpasha {
    background: linear-gradient(135deg, #1a237e 0%, #0d1442 100%);
    color: #ffc107;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    gap: 5px;
}

.bonus-logo.grandpasha i {
    font-size: 16px;
}

.bonus-logo.betsin {
    background: #0a1929;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.bonus-logo.betsin span {
    color: #ff5722;
}

.bonus-logo.dedebet-list {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: #fff;
    font-size: 13px;
    gap: 5px;
}

.bonus-logo.dedebet-list i {
    color: #64b5f6;
}

.bonus-logo.matbet {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.bonus-logo.supertotobet {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.bonus-logo.vdcasino {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.bonus-logo.bahsegel {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.bonus-logo.tipobet {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.bonus-logo.mobilbahis {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.bonus-logo.betnano {
    background: linear-gradient(135deg, #3f51b5 0%, #303f9f 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.bonus-logo.casibom {
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.bonus-logo.betpark {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.bonus-logo.imajbet {
    background: linear-gradient(135deg, #5e35b1 0%, #4527a0 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.bonus-logo.betboo {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.bonus-logo.superbetin {
    background: linear-gradient(135deg, #0288d1 0%, #01579b 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

/* Card hide/show animation */
.bonus-card {
    transition: all 0.3s ease;
}

.bonus-card.hidden {
    display: none !important;
}

.bonus-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bonus-amount {
    font-size: 16px;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.2;
}

.bonus-type {
    font-size: 11px;
    color: #2196f3;
    font-weight: 500;
    line-height: 1.2;
}

.bonus-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
    text-decoration: none;
}

.bonus-logo img {
    width: 100px;
    height: 45px;
    object-fit: contain;
    border-radius: 0;
}

.bonus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.bonus-btn i {
    font-size: 10px;
}

/* Sticky Banner */
.sticky-banner {
    position: fixed;
    bottom: 80px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1a237e 0%, #0d1442 100%);
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    gap: 10px;
}

.sticky-logo {
    width: 100px;
    min-width: 100px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.sticky-logo i {
    font-size: 24px;
    color: #ffc107;
}

.sticky-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sticky-content {
    display: flex;
    align-items: center;
    flex: 1;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.sticky-content i {
    font-size: 18px;
    color: #ffc107;
}

.sticky-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.sticky-btn:hover {
    transform: scale(1.05);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    background: #fff;
    padding: 10px 5px 15px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 101;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #9ca3af;
    font-size: 10px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 18px;
}

.nav-link.active {
    color: #2196f3;
}

.nav-link.center-link {
    margin-top: -25px;
}

.center-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    border: 4px solid #fff;
}

.nav-link:hover {
    color: #2196f3;
}

/* Responsive */
@media (max-width: 400px) {
    .slide {
        min-width: calc(50% - 6px);
    }
    
    .bonus-card {
        flex-wrap: nowrap;
        padding: 10px;
        gap: 8px;
    }
    
    .bonus-logo {
        width: 80px;
        min-width: 80px;
        height: 40px;
        font-size: 10px !important;
    }
    
    .bonus-logo img {
        width: 80px;
        height: 40px;
    }
    
    .bonus-info {
        flex: 1;
        min-width: 0;
        align-items: center;
        text-align: center;
    }
    
    .bonus-amount {
        font-size: 14px;
    }
    
    .bonus-type {
        font-size: 10px;
    }
    
    .bonus-btn {
        padding: 5px 8px;
        font-size: 9px;
        border-radius: 5px;
    }
    
    .bonus-btn i {
        font-size: 8px;
    }
}

@media (min-width: 768px) {
    body {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .sticky-banner {
        max-width: 450px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.bonus-btn:hover {
    animation: pulse 0.5s ease-in-out;
}

.bonus-card {
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Pop-up Styles */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
    gap: 15px;
}

.popup-container.hidden {
    display: none;
}

.popup-item {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: popupSlide 0.4s ease;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-link {
    display: block;
    width: 100%;
}

.popup-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .popup-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
    }
    
    .popup-item {
        max-width: 350px;
    }
}

