* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background-image: url('bannder-webku.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(74, 24, 16, 0.8) 0%, rgba(45, 14, 8, 0.8) 100%);
    z-index: -1;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 14px;
    white-space: pre;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    animation: matrix-fall linear infinite;
}

@keyframes matrix-fall {
    0% {
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Header */
.header {
    background: #2d0e08;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header .logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hamburger-menu, .user-icon {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo {
        height: 75px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 70px;
        max-width: 170px;
    }
}

@media (max-width: 375px) {
    .logo {
        height: 32px;
    }
}

/* News Banner */
.news-banner {
    background: #666;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

@media (max-width: 480px) {
    .news-banner {
        padding: 5px 8px;
        font-size: 10px;
        gap: 6px;
    }
}

@media (max-width: 375px) {
    .news-banner {
        padding: 4px 6px;
        font-size: 9px;
        gap: 4px;
    }
}

.news-banner marquee {
    flex: 1;
    color: #fff;
}

.news-banner i {
    color: #ccc;
}

/* VIP Banner */
.vip-banner {
    position: relative;
    margin: 15px;
}

.vip-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin: 15px;
}

.action-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

.btn-deposit {
    background: #ff6b35;
    color: #fff;
}

.btn-transfer {
    background: #4CAF50;
    color: #fff;
}

.btn-withdraw {
    background: #2196F3;
    color: #fff;
}

/* Image Slider */
.image-slider {
    position: relative;
    margin: 20px 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    max-width: 100%;
}

.slider-dots {
    text-align: center;
    padding: 15px 0 10px 0;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #FFD700;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

/* Mobile responsiveness for slider */
@media (max-width: 768px) {
    .slider-container {
        height: 140px;
    }

    .slider-arrow {
        padding: 6px 8px;
        font-size: 12px;
    }

    .slider-arrow.prev {
        left: 8px;
    }

    .slider-arrow.next {
        right: 8px;
    }

    .dot {
        height: 8px;
        width: 8px;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 120px;
    }

    .slider-arrow {
        padding: 4px 6px;
        font-size: 10px;
    }

    .slider-arrow.prev {
        left: 5px;
    }

    .slider-arrow.next {
        right: 5px;
    }

    .dot {
        height: 6px;
        width: 6px;
        margin: 0 1px;
    }
}

/* Game Categories */
.game-categories {
    background: linear-gradient(90deg, #ca9112 0%, #f4cf3c 100%);
    padding: 15px 0;
    margin: 15px 0;
}

.category-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.nav-arrow {
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

.categories-container {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 0 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #000;
    font-weight: bold;
    font-size: 11px;
    position: relative;
    cursor: pointer;
}

.category-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.category-item.active {
    color: #2d0e08;
}

.promo-label {
    position: absolute;
    top: -8px;
    right: -15px;
    background: #ff0000;
    color: #fff;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

/* Progressive Jackpot */
.progressive-jackpot {
    background-image: url('progressive-jackpot1234.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 15px 10px;
    padding: 12px 8px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.progressive-jackpot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    z-index: 1;
}

.progressive-jackpot * {
    position: relative;
    z-index: 2;
}

.jackpot-label {
    font-size: 12px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.jackpot-amount {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #FFD700; }
    to { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #FFD700; }
}

.jackpot-wings {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.wing-left, .wing-right {
    font-size: 30px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Payment Methods */
.payment-methods {
    padding: 15px 10px;
}

@media (max-width: 480px) {
    .payment-methods {
        padding: 10px 8px;
    }
}

@media (max-width: 375px) {
    .payment-methods {
        padding: 8px 6px;
    }
}

.payment-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.payment-btn {
    flex: 1;
    background: linear-gradient(90deg, #ca9112 0%, #f4cf3c 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 8px;
    color: #000;
    font-weight: bold;
    font-size: 11px;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    min-height: 45px;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.status-indicator {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.online {
    background: #4CAF50;
    box-shadow: 0 0 5px #4CAF50;
}

.status-indicator.offline {
    background: #f44336;
    box-shadow: 0 0 5px #f44336;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    display: flex;
    padding: 8px 2px;
    border-top: 2px solid #ffd700;
    z-index: 100;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #2d0e08;
    cursor: pointer;
    padding: 3px 2px;
    min-width: 50px;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.nav-item.active {
    color: #8B0000;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: bold;
}

.nav-item i {
    font-size: 16px;
    margin-bottom: 2px;
}

.nav-item span {
    font-size: 8px;
    font-weight: 600;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .header {
        padding: 8px 15px;
    }

    .logo {
        height: 32px;
    }

    .categories-container {
        gap: 15px;
    }

    .category-item {
        font-size: 10px;
    }

    .category-item i {
        font-size: 22px;
    }

    .jackpot-amount {
        font-size: 18px;
    }

    .jackpot-label {
        font-size: 10px;
    }

    .payment-btn {
        font-size: 9px;
        padding: 8px 4px;
        min-height: 40px;
    }

    .action-buttons {
        margin: 10px;
        gap: 8px;
    }

    .action-buttons button {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .header {
        padding: 6px 12px;
    }

    .logo {
        height: 30px;
    }

    .categories-container {
        gap: 12px;
        padding: 0 5px;
    }

    .category-item {
        font-size: 9px;
    }

    .category-item i {
        font-size: 20px;
    }

    .jackpot-amount {
        font-size: 16px;
    }

    .jackpot-label {
        font-size: 9px;
    }

    .payment-btn {
        font-size: 8px;
        padding: 6px 3px;
        min-height: 38px;
    }

    .progressive-jackpot {
        margin: 10px 8px;
        padding: 10px 6px;
    }

    .action-buttons {
        margin: 8px;
        gap: 6px;
    }

    .action-buttons button {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* Add padding bottom to prevent content being hidden behind bottom nav */
body {
    padding-bottom: 70px;
}

/* Mobile container fixes */
@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .image-slider, .progressive-jackpot, .payment-methods, .game-categories, .games-section {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Games Section */
.games-section {
    padding: 20px 15px;
    margin-bottom: 20px;
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.games-header h3 {
    color: #f4cf3c;
    font-size: 18px;
    font-weight: bold;
}

.games-filter {
    display: flex;
    gap: 5px;
}

.filter-btn {
    padding: 6px 12px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #f4cf3c;
    color: #000;
    border-color: #f4cf3c;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.games-grid.compact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .games-grid.compact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .games-grid.compact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
}

.game-item {
    background: #2d0e08;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #444;
}

.compact-grid .game-item {
    border-radius: 8px;
    border: 1px solid #444;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(244, 207, 60, 0.3);
    border-color: #f4cf3c;
}

.compact-grid .game-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 207, 60, 0.2);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 120px;
}

.compact-grid .game-image {
    height: 80px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-item:hover .game-image img {
    transform: scale(1.1);
}

.compact-grid .game-item:hover .game-image img {
    transform: scale(1.05);
}

.game-title {
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

.compact-grid .game-title {
    padding: 6px 4px;
    font-size: 10px;
    line-height: 1.2;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-item:hover .game-overlay {
    opacity: 1;
}

.games-load-more {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    background: linear-gradient(90deg, #ca9112 0%, #f4cf3c 100%);
    border: none;
    color: #000;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced Mobile Touch and Performance */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Responsive adjustments for games */
@media (max-width: 375px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .game-image {
        height: 100px;
    }

    .game-title {
        font-size: 10px;
        padding: 8px 5px;
    }

    .games-filter {
        display: none;
    }
}

/* Ultra small screens optimization */
@media (max-width: 320px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .game-image {
        height: 90px;
    }

    .payment-btn {
        font-size: 8px;
        padding: 8px 4px;
        min-height: 40px;
    }

    .category-item i {
        font-size: 18px;
    }

    .category-item {
        font-size: 8px;
    }
}

/* Sidebar Menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #f5f5f5;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-header {
    background: linear-gradient(180deg, #4a1810 0%, #2d0e08 100%);
    padding: 20px 15px;
    color: #fff;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    margin-bottom: 20px;
}

.greeting {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.balance-info {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    gap: 8px;
}

.wallet-icon {
    width: 20px;
    height: 20px;
}

.balance {
    flex: 1;
    font-weight: bold;
}

.refresh-icon {
    cursor: pointer;
    font-size: 14px;
}

.action-buttons-top {
    display: flex;
    gap: 10px;
}

.btn-deposit-top, .btn-withdraw-top {
    flex: 1;
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

.btn-deposit-top {
    background: #4CAF50;
    color: #fff;
}

.btn-withdraw-top {
    background: #f44336;
    color: #fff;
}

.sidebar-content {
    padding: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.menu-item:hover {
    background: #f0f0f0;
}

.menu-item i {
    width: 20px;
    margin-right: 15px;
    color: #666;
}

.menu-item span {
    flex: 1;
    font-size: 14px;
}

.menu-item .fa-chevron-down {
    width: auto;
    margin-right: 0;
    margin-left: auto;
}

/* Additional Stars77 specific styles */
.text-yellow {
  color: #F2A238 !important;
}

h1, h2, h3, h4 {
  color: #F2A238 !important;
  text-align: left !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7.5px;
}

.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
  padding: 0 7.5px;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 7.5px;
}

.col-sm {
  flex: 1;
  padding: 0 7.5px;
}

@media (max-width: 576px) {
  .col-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.filter-section {
    padding: 20px 15px 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-section::-webkit-scrollbar {
    display: none;
}

/* Performance and Smooth Scrolling Enhancements */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body, html {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* GPU Acceleration for smooth animations */
.slide, .game-item, .payment-btn, .category-item, .nav-item {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Enhanced Touch Targets for Mobile */
@media (max-width: 768px) {
    .payment-btn, .category-item, .nav-item, .play-btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    .slider-arrow {
        min-height: 44px;
        min-width: 44px;
        padding: 12px;
    }

    .dot {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .dot::before {
        content: '';
        width: 12px;
        height: 12px;
        background-color: inherit;
        border-radius: 50%;
    }
}

/* Footer Provider Logo Mobile Responsiveness */
.footer_pwrd_by_logo {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 80px;
    overflow: hidden;
}

.footer_pwrd_by_logo img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .header {
        padding: 8px 12px;
    }

    .logo {
        height: 32px;
    }

    .hamburger-menu {
        font-size: 20px;
    }

    .image-slider {
        margin: 15px 10px;
    }

    .slider-container {
        height: 120px;
    }

    .action-buttons {
        margin: 12px 8px;
        gap: 6px;
    }

    .action-buttons button {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 15px;
    }

    .progressive-jackpot {
        margin: 12px 8px;
        padding: 10px 6px;
    }

    .jackpot-amount {
        font-size: 16px;
    }

    .jackpot-label {
        font-size: 9px;
    }

    .payment-methods {
        padding: 8px 6px;
    }

    .payment-row {
        gap: 6px;
        margin-bottom: 6px;
    }

    .payment-btn {
        font-size: 8px;
        padding: 8px 4px;
        min-height: 36px;
    }

    .category-item {
        font-size: 9px;
    }

    .category-item i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .categories-container {
        gap: 10px;
        padding: 0 8px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .game-image {
        height: 90px;
    }

    .game-title {
        font-size: 9px;
        padding: 6px 4px;
    }

    .footer_pwrd_by_logo {
        padding: 6px 8px;
        margin-bottom: 85px;
    }

    .footer_pwrd_by_logo img {
        max-width: 75%;
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 6px 10px;
    }

    .logo {
        height: 28px;
    }

    .news-banner {
        padding: 3px 6px;
        font-size: 8px;
    }

    .slider-container {
        height: 100px;
    }

    .progressive-jackpot {
        margin: 10px 6px;
        padding: 8px 5px;
    }

    .jackpot-amount {
        font-size: 14px;
    }

    .jackpot-label {
        font-size: 8px;
    }

    .payment-methods {
        padding: 6px 4px;
    }

    .payment-row {
        gap: 4px;
        margin-bottom: 4px;
    }

    .payment-btn {
        font-size: 7px;
        padding: 6px 3px;
        min-height: 32px;
    }

    .action-buttons {
        margin: 8px 6px;
        gap: 4px;
    }

    .action-buttons button {
        padding: 6px 10px;
        font-size: 10px;
    }

    .category-item {
        font-size: 8px;
    }

    .category-item i {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .categories-container {
        gap: 8px;
        padding: 0 6px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .game-image {
        height: 80px;
    }

    .game-title {
        font-size: 8px;
        padding: 5px 3px;
    }

    .bottom-nav {
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
        min-height: 55px;
    }

    .nav-item {
        padding: 3px 1px;
    }

    .nav-item i {
        font-size: 16px;
        margin-bottom: 1px;
    }

    .nav-item span {
        font-size: 8px;
        line-height: 1;
    }

    .footer_pwrd_by_logo {
        padding: 4px 6px;
        margin-bottom: 90px;
    }

    .footer_pwrd_by_logo img {
        max-width: 70%;
    }
}

@media (max-width: 375px) {
    .header {
        padding: 5px 8px;
    }

    .logo {
        height: 26px;
    }

    .hamburger-menu {
        font-size: 18px;
    }

    .news-banner {
        padding: 2px 4px;
        font-size: 7px;
    }

    .slider-container {
        height: 90px;
    }

    .progressive-jackpot {
        margin: 8px 4px;
        padding: 6px 4px;
    }

    .jackpot-amount {
        font-size: 12px;
    }

    .jackpot-label {
        font-size: 7px;
    }

    .payment-methods {
        padding: 4px 3px;
    }

    .payment-row {
        gap: 3px;
        margin-bottom: 3px;
    }

    .payment-btn {
        font-size: 6px;
        padding: 5px 2px;
        min-height: 30px;
    }

    .action-buttons {
        margin: 6px 4px;
        gap: 3px;
    }

    .action-buttons button {
        padding: 5px 8px;
        font-size: 9px;
    }

    .category-item {
        font-size: 7px;
    }

    .category-item i {
        font-size: 14px;
        margin-bottom: 1px;
    }

    .categories-container {
        gap: 6px;
        padding: 0 4px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .game-image {
        height: 70px;
    }

    .game-title {
        font-size: 7px;
        padding: 4px 2px;
    }

    .bottom-nav {
        padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
        min-height: 52px;
    }

    .nav-item {
        padding: 2px 1px;
    }

    .nav-item i {
        font-size: 14px;
        margin-bottom: 1px;
    }

    .nav-item span {
        font-size: 7px;
        line-height: 1;
    }

    .footer_pwrd_by_logo {
        padding: 3px 4px;
        margin-bottom: 95px;
    }

    .footer_pwrd_by_logo img {
        max-width: 65%;
    }
}

/* Ultra small screens optimization */
@media (max-width: 320px) {
    .header {
        padding: 4px 6px;
    }

    .logo {
        height: 24px;
    }

    .hamburger-menu {
        font-size: 16px;
    }

    .news-banner {
        padding: 2px 3px;
        font-size: 6px;
    }

    .slider-container {
        height: 80px;
    }

    .progressive-jackpot {
        margin: 6px 3px;
        padding: 5px 3px;
    }

    .jackpot-amount {
        font-size: 10px;
    }

    .jackpot-label {
        font-size: 6px;
    }

    .payment-methods {
        padding: 3px 2px;
    }

    .payment-row {
        gap: 2px;
        margin-bottom: 2px;
    }

    .payment-btn {
        font-size: 5px;
        padding: 4px 2px;
        min-height: 28px;
    }

    .action-buttons {
        margin: 4px 3px;
        gap: 2px;
    }

    .action-buttons button {
        padding: 4px 6px;
        font-size: 8px;
    }

    .category-item {
        font-size: 6px;
    }

    .category-item i {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .categories-container {
        gap: 4px;
        padding: 0 3px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }

    .game-image {
        height: 60px;
    }

    .game-title {
        font-size: 6px;
        padding: 3px 2px;
    }

    .bottom-nav {
        padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
        min-height: 50px;
    }

    .nav-item {
        padding: 2px 0px;
    }

    .nav-item i {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .nav-item span {
        font-size: 6px;
        line-height: 1;
    }

    .footer_pwrd_by_logo {
        padding: 2px 3px;
        margin-bottom: 100px;
    }

    .footer_pwrd_by_logo img {
        max-width: 60%;
    }
}

/* Article Section Styles */
.article-section {
    background: rgba(45, 14, 8, 0.95);
    margin: 20px 0;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.article-title {
    color: #f4cf3c !important;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.article-intro {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    margin-bottom: 30px;
}

.section-title {
    color: #f4cf3c !important;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features List */
.features-list {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-item {
    background: rgba(139, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.feature-title {
    color: #ffa500 !important;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left !important;
}

.feature-desc {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.advantage-item {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.4), rgba(74, 24, 16, 0.4));
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: #ffa500;
}

.advantage-icon {
    font-size: 32px;
    color: #f4cf3c;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(244, 207, 60, 0.5);
}

.advantage-title {
    color: #fff !important;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center !important;
}

.advantage-desc {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

/* Conclusion Box */
.conclusion-box {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(220, 20, 60, 0.2));
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #ffa500;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.conclusion-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffa500, #dc143c, #ffa500);
    z-index: -1;
    border-radius: 15px;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.conclusion-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsiveness for Article */
@media (max-width: 768px) {
    .article-container {
        padding: 20px 15px;
    }

    .article-title {
        font-size: 22px;
        line-height: 1.2;
    }

    .article-intro {
        font-size: 14px;
    }

    .section-title {
        font-size: 18px;
    }

    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .advantage-item {
        padding: 20px 15px;
    }

    .advantage-icon {
        font-size: 28px;
    }

    .advantage-title {
        font-size: 14px;
    }

    .advantage-desc {
        font-size: 12px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-desc {
        font-size: 13px;
    }

    .conclusion-box {
        padding: 20px 15px;
    }

    .conclusion-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .article-container {
        padding: 15px 5px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .article-title {
        font-size: 18px;
    }

    .section-title {
        font-size: 16px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .advantage-item {
        padding: 15px 12px;
    }

    .advantage-icon {
        font-size: 24px;
    }

    .advantage-title {
        font-size: 13px;
    }

    .advantage-desc {
        font-size: 11px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-title {
        font-size: 13px;
    }

    .feature-desc {
        font-size: 12px;
    }

    .conclusion-box {
        padding: 15px 12px;
    }

    .conclusion-text {
        font-size: 13px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 0 2px;
    }

    .advantage-item, .feature-item {
        padding: 10px 5px;
        margin: 0 2px;
    }
}

@media (max-width: 375px) {
    .article-title {
        font-size: 16px;
    }

    .article-intro {
        font-size: 12px;
    }

    .section-title {
        font-size: 14px;
    }

    .advantage-title {
        font-size: 12px;
    }

    .advantage-desc {
        font-size: 10px;
    }

    .feature-title {
        font-size: 12px;
    }

    .feature-desc {
        font-size: 11px;
    }

    .conclusion-text {
        font-size: 12px;
    }
}

/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background: #25D366;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 99;
    touch-action: manipulation;
}

@media (max-width: 768px) {
    .chat-button {
        width: 56px;
        height: 56px;
        bottom: 85px;
        left: 15px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .chat-button {
        width: 52px;
        height: 52px;
        bottom: 80px;
        left: 12px;
        font-size: 24px;
    }
}