/* ============================================================
   789Win WordPress Theme - Responsive Stylesheet
   ============================================================ */

/* ============================================================
   Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {

    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Header */
    .header-time {
        display: none;
    }

    /* Navigation */
    .nav-link {
        padding: 12px 8px;
        font-size: 11px;
    }

    .nav-icon {
        font-size: 11px;
        margin-right: 4px;
    }

    /* Hero Slider */
    .hero-slider .swiper-slide img {
        height: 300px;
    }

    /* Hot Games */
    .hot-games-section {
        padding: 20px 0;
    }

    /* Home Nav Grid */
    .home-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-nav-item-large {
        grid-column: span 1;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Poster */
    .poster-section {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Guide */
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Category Page */
    .content-area {
        flex-direction: column;
    }

    .sidebar-area {
        width: 100%;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Related Posts */
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section Title */
    .section-title {
        font-size: 20px;
    }

    /* Download */
    .download-section {
        padding: 30px 20px;
    }

    /* Jackpot */
    .jackpot-card img {
        height: 150px;
    }

    /* Notification */
    .notification-bar {
        padding: 10px 0;
    }

    .notification-content {
        font-size: 12px;
        gap: 30px;
        line-height: 1.4;
    }


    /* Floating Sidebar */
    .floating-sidebar {
        right: 8px;
    }

    .sidebar-btn {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .sidebar-label {
        display: none;
    }
}

/* ============================================================
   Mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Header */
    .site-header {
        position: relative;
    }

    .header-top {
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
    }

    .header-btn-group {
        width: auto;
        justify-content: center;
    }

    .header-time {
        display: none;
    }

    /* Navigation */
    .main-navigation {
        padding: 0;
    }

    .mobile-menu-toggle {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #333;
        border-radius: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        max-height: 60vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 13px;
        border-bottom: 1px solid #1a1a1a;
    }

    .nav-item.has-dropdown .nav-link::after {
        margin-left: auto;
    }

    .nav-dropdown,
    .sub-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-top: none;
        box-shadow: none;
        min-width: 100%;
        background: #151515;
    }

    .nav-item.has-dropdown.open .nav-dropdown,
    .nav-item.has-dropdown.open .sub-menu {
        display: block;
    }

    .nav-dropdown li a,
    .sub-menu li a {
        padding-left: 30px;
    }

    /* Hero Slider */
    .hero-slider {
        border-radius: 0;
        margin-bottom: 20px;
    }

    .hero-slider .swiper-slide img {
        height: 200px;
    }

    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }

    /* Section Title */
    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    /* Home Nav Grid */
    .home-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .home-nav-item-large {
        grid-column: span 1;
    }

    .home-nav-icon {
        font-size: 28px;
    }

    .home-nav-item-large h3,
    .home-nav-item-small h3 {
        font-size: 13px;
    }

    .home-nav-item-large p,
    .home-nav-item-small p {
        font-size: 11px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 20px 12px;
    }

    .feature-icon {
        font-size: 30px;
    }

    .feature-card h3 {
        font-size: 13px;
    }

    .feature-card p {
        font-size: 12px;
    }

    /* Poster */
    .poster-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Download */
    .download-section {
        padding: 25px 15px;
    }

    .download-section h2 {
        font-size: 20px;
    }

    .download-section p {
        font-size: 13px;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Guide */
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .guide-card {
        padding: 20px 10px;
    }

    .guide-card i {
        font-size: 24px;
    }

    /* Jackpot */
    .jackpot-card img {
        height: 120px;
    }

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

    /* Bets Table */
    .bets-table thead th {
        padding: 10px 8px;
        font-size: 11px;
    }

    .bets-table tbody td {
        padding: 8px;
        font-size: 12px;
    }

    /* Category Page */
    .content-area {
        flex-direction: column;
        padding: 20px 0;
    }

    .sidebar-area {
        width: 100%;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .provider-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
    }

    .provider-tab {
        flex-shrink: 0;
    }

    /* Single Article */
    .single-article {
        padding: 20px 15px;
    }

    .article-header h1 {
        font-size: 22px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-meta {
        gap: 10px;
        font-size: 12px;
    }

    /* Related Posts */
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Post Navigation */
    .post-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .post-nav-prev,
    .post-nav-next {
        max-width: 100%;
    }

    /* Category Header */
    .category-title {
        font-size: 22px;
    }

    /* Share Buttons */
    .share-buttons {
        flex-wrap: wrap;
    }

    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-top {
        padding: 25px 0;
    }

    .footer-section {
        padding: 20px 0;
    }

    .footer-license .license-icons,
    .footer-protection .protection-icons {
        gap: 12px;
    }

    .license-item,
    .protection-item {
        min-width: 80px;
        padding: 12px 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-links {
        gap: 6px 15px;
    }

    .notification-content {
        font-size: 12px;
        gap: 25px;
    }

    /* Floating Sidebar */
    .floating-sidebar {
        right: 5px;
        gap: 4px;
    }

    .sidebar-btn {
        width: 42px;
        height: 42px;
        font-size: 14px;
        border-radius: 8px;
    }

    .sidebar-label {
        display: none;
    }


    /* Widget */
    .game-icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   Small Mobile (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

    .container {
        padding: 0 10px;
    }

    /* Buttons */
    .btn-login,
    .btn-register,
    .btn-demo {
        padding: 6px 14px;
        font-size: 13px;
    }

    .logo img {
        max-height: 35px;
    }

    /* Home Nav */
    .home-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .home-nav-item-large,
    .home-nav-item-small {
        padding: 15px 8px;
    }

    .home-nav-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Guide */
    .guide-grid {
        grid-template-columns: 1fr;
    }

    /* Poster */
    .poster-section {
        grid-template-columns: 1fr;
    }

    /* Download */
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    /* Related Posts */
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    /* Jackpot */
    .jackpot-card img {
        height: 100px;
    }

    /* Pagination */
    .nav-links a,
    .nav-links .current,
    .nav-links span.page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 6px 10px;
        font-size: 13px;
    }

    /* Widget */
    .game-icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Floating Sidebar */
    .floating-sidebar {
        bottom: 80px;
        top: auto;
        transform: none;
        right: 5px;
    }

    .sidebar-btn {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    /* Single Article */
    .article-header h1 {
        font-size: 20px;
    }

    .single-article {
        padding: 15px 12px;
    }

    /* Footer */
    .footer-col-title {
        font-size: 14px;
    }

    .partners-scroll {
        gap: 25px;
    }

    .partner-item {
        font-size: 12px;
    }

    .license-item i,
    .protection-item i {
        font-size: 22px;
    }

    .license-item span,
    .protection-item span {
        font-size: 11px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .footer-logo {
        max-width: 100px;
    }

    .notification-bar {
        padding: 6px 0;
    }

    .notification-content {
        font-size: 11px;
        gap: 20px;
    }

    /* Bets Table */
    .bets-table-wrapper {
        font-size: 12px;
    }

    /* Footer Social */
    .footer-social-section .footer-social {
        gap: 10px;
    }

    /* Footer Copyright */
    .footer-copyright {
        font-size: 12px;
    }
}
