/* ============================================
   SIMPLE88 THEME - responsive.css (moban-132)
   Simple, Direct Vietnamese Theme
   ============================================ */

/* === TABLET LANDSCAPE (max-width: 1024px) === */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    /* Header */
    .header-top {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-time {
        display: none;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 12px 14px;
        font-size: 13px;
    }

    /* Hero */
    .simple88-hero {
        min-height: 480px;
    }

    .hero-brand {
        font-size: 48px;
        letter-spacing: 3px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .hero-stats-row {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 28px;
    }

    /* Vietnamese Star */
    .hero-vn-star {
        right: 30px;
        width: 130px;
        height: 130px;
        opacity: 0.05;
    }

    .hero-vn-star::before {
        font-size: 130px;
    }

    /* Game Star Cards */
    .game-star-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Game Grid */
    .game-grid-row {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

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

    /* News */
    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

/* === TABLET PORTRAIT (max-width: 768px) === */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }

    /* Header */
    .header-top {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .logo img {
        height: 42px;
    }

    .header-btn-group {
        gap: 6px;
    }

    .btn-login,
    .btn-register,
    .btn-demo {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation .container {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #FFFFFF;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        border: 1px solid #E0E0E0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

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

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #F5F5F5;
    }

    .nav-link {
        padding: 14px 22px;
        font-size: 14px;
    }

    /* Hero */
    .simple88-hero {
        min-height: 420px;
    }

    .hero-vn-star {
        display: none;
    }

    .hero-inner-content {
        padding: 30px 22px;
        text-align: center;
        max-width: 100%;
    }

    .hero-brand {
        font-size: 38px;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-divider-line {
        margin: 14px auto;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .hero-stat-number {
        font-size: 24px;
    }

    .hero-stat-label {
        font-size: 12px;
    }

    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-green-primary,
    .btn-outline-green {
        padding: 14px 28px;
        font-size: 14px;
    }

    /* Vietnamese Accent Line */
    .vn-accent-line {
        width: 60px;
    }

    /* Section Titles */
    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }

    /* Game Star Cards */
    .game-star-section {
        padding: 45px 0;
    }

    .game-star-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Game Grid */
    .game-grid-section {
        padding: 45px 0;
    }

    .game-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-grid-node {
        padding: 22px 10px;
    }

    .game-node-icon i {
        font-size: 24px;
    }

    .game-node-label {
        font-size: 13px;
    }

    /* Features */
    .features-section {
        padding: 45px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 28px 18px;
    }

    /* Stats */
    .stats-section {
        padding: 45px 0;
        margin: 0 10px;
    }

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

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Promos */
    .promos-section {
        padding: 45px 0;
    }

    .promos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Footer CTA */
    .footer-cta-section {
        padding: 55px 0;
    }

    .footer-cta-inner h2 {
        font-size: 28px;
    }

    .cta-features {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .cta-main-btn {
        padding: 16px 40px;
        font-size: 16px;
    }

    .cta-vn-lotus {
        font-size: 36px;
    }

    /* News */
    .home-news-section {
        padding: 45px 0;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Article Grid */
    .article-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Content Area */
    .content-area {
        flex-direction: column;
    }

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

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

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

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

    .related-item-thumb {
        height: 110px;
    }

    /* Footer */
    .site-footer {
        padding: 35px 0 22px;
    }

    .footer-columns-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col h4 {
        font-size: 15px;
    }

    .license-icons {
        gap: 12px;
    }

    .license-item {
        padding: 10px 14px;
    }

    /* Sidebar */
    .floating-sidebar {
        position: fixed;
        bottom: 12px;
        top: auto;
        right: 12px;
        transform: none;
        flex-direction: row;
        gap: 6px;
    }

    .sidebar-btn {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
    }

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

    .provider-tabs {
        gap: 6px;
    }

    .provider-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* Page */
    .page-article {
        padding: 22px;
    }

    .page-title {
        font-size: 26px;
    }

    /* Error Page */
    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 22px;
    }

    .error-page {
        padding: 60px 15px;
    }

    /* Pagination */
    .pagination .page-numbers {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* Announcement Modal */
    .announcement-content {
        padding: 25px;
        width: 95%;
    }

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

    .announcement-header-icon i {
        font-size: 38px;
    }

    .announcement-item {
        padding: 12px;
    }

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

    .announcement-cta {
        padding: 12px 35px;
        font-size: 15px;
    }

    /* Notification Bar */
    .notification-content {
        gap: 35px;
        font-size: 13px;
    }
}

/* === MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
    /* Header */
    .logo img {
        height: 36px;
    }

    .header-btn-group {
        gap: 4px;
    }

    .btn-login,
    .btn-register,
    .btn-demo {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Hero */
    .simple88-hero {
        min-height: 380px;
        border-radius: 10px;
    }

    .hero-brand {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-stat-number {
        font-size: 22px;
    }

    .btn-green-primary,
    .btn-outline-green {
        padding: 12px 22px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    /* Vietnamese Accent Line */
    .vn-accent-line {
        width: 50px;
        height: 3px;
    }

    .vn-accent-line-left {
        width: 40px;
    }

    /* Section Titles */
    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 28px;
    }

    /* Game Star Cards */
    .game-star-icon i {
        font-size: 34px;
    }

    .game-star-card h3 {
        font-size: 18px;
    }

    .game-star-card p {
        font-size: 13px;
    }

    /* Game Grid */
    .game-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .game-grid-node {
        padding: 18px 8px;
    }

    .game-node-icon i {
        font-size: 22px;
    }

    .game-node-label {
        font-size: 12px;
    }

    /* Features */
    .feature-icon i {
        font-size: 32px;
    }

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

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

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .stat-card {
        padding: 22px 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-icon i {
        font-size: 18px;
    }

    /* Promos */
    .promo-inner {
        padding: 25px 18px;
    }

    .promo-inner h3 {
        font-size: 16px;
    }

    .promo-inner p {
        font-size: 13px;
    }

    .promo-icon i {
        font-size: 32px;
    }

    .btn-promo {
        padding: 10px 25px;
        font-size: 13px;
    }

    /* Footer CTA */
    .footer-cta-inner h2 {
        font-size: 22px;
    }

    .footer-cta-inner p {
        font-size: 14px;
    }

    .cta-vn-lotus {
        font-size: 30px;
    }

    /* News */
    .article-card-thumb {
        height: 170px;
    }

    .article-card-title span,
    .article-card-title a {
        font-size: 15px;
    }

    .article-card-excerpt {
        font-size: 13px;
    }

    .view-more-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

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

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

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

    .article-nav {
        flex-direction: column;
        gap: 12px;
    }

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

    .related-item-thumb {
        height: 90px;
    }

    .related-item-title {
        font-size: 13px;
    }

    .related-posts-title {
        font-size: 20px;
    }

    /* Footer */
    .footer-brand-text {
        font-size: 13px;
    }

    .footer-18plus {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 13px;
    }

    .footer-social-links a {
        width: 36px;
        height: 36px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .footer-license-bar {
        padding: 20px 0;
    }

    .footer-license-bar h4 {
        font-size: 14px;
    }

    .license-icons {
        gap: 8px;
    }

    .license-item {
        padding: 8px 10px;
    }

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

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

    .footer-copyright {
        font-size: 13px;
    }

    /* Sidebar */
    .sidebar-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Error Page */
    .error-code {
        font-size: 65px;
    }

    .error-title {
        font-size: 20px;
    }

    .error-desc {
        font-size: 14px;
    }

    .error-icon i {
        font-size: 60px;
    }

    /* Page */
    .page-article {
        padding: 18px;
    }

    .page-title {
        font-size: 22px;
    }

    /* Pagination */
    .pagination .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    /* Announcement Modal */
    .announcement-content {
        padding: 18px;
    }

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

    .announcement-header-icon i {
        font-size: 32px;
    }

    .announcement-item {
        padding: 10px;
        gap: 8px;
    }

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

    .announcement-badge {
        font-size: 10px;
        min-width: 38px;
        padding: 3px 7px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        gap: 5px;
    }

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

    .provider-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Vietnamese Pattern */
    .hero-vn-pattern {
        opacity: 0.02;
    }

    /* DMCA & Disclaimer */
    .footer-disclaimer {
        font-size: 12px !important;
        padding: 18px 12px !important;
    }
}

/* === ULTRA SMALL (max-width: 360px) === */
@media (max-width: 360px) {
    .hero-brand {
        font-size: 26px;
    }

    .hero-tagline {
        font-size: 14px;
    }

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

    .game-star-card {
        padding: 22px 15px;
    }

    .btn-green-primary,
    .btn-outline-green {
        padding: 10px 18px;
        font-size: 12px;
    }

    .game-grid-row {
        gap: 5px;
    }

    .game-grid-node {
        padding: 14px 6px;
    }

    .stat-number {
        font-size: 24px;
    }

    .footer-cta-inner h2 {
        font-size: 20px;
    }

    .hero-stat-number {
        font-size: 20px;
    }

    .hero-description {
        font-size: 14px;
    }

    .cta-main-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .article-card-title span,
    .article-card-title a {
        font-size: 14px;
    }

    .footer-col h4 {
        font-size: 14px;
    }

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