/* =============================================
   LIVECLASSIC - Responsive Stylesheet
   Theme: moban-169
   ============================================= */

/* === Tablet Landscape (max-width: 1200px) === */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .content-area {
        gap: 25px;
    }

    .sidebar {
        width: 260px;
    }

    .live-table-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

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

    .live-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

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

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

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

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

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

/* === Tablet Portrait (max-width: 1024px) === */
@media (max-width: 1024px) {
    .content-area {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    .live-promos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .hero-brand {
        font-size: 42px;
    }

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

    .liveclassic-hero {
        padding: 60px 25px;
    }

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

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

    .single-post-title {
        font-size: 26px;
    }

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

/* === Small Tablet (max-width: 900px) === */
@media (max-width: 900px) {
    .live-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

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

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

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

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

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

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

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

    .nav-link {
        padding: 10px 12px;
        font-size: 11px;
    }

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

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

    .license-icons {
        gap: 20px;
    }

    .cta-features {
        gap: 20px;
    }

    .error-404-code {
        font-size: 80px;
    }
}

/* === Mobile Large (max-width: 768px) === */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .content-area {
        padding: 20px 0;
        gap: 20px;
    }

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

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

    .header-time {
        display: none;
    }

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

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

    .logo img {
        height: 40px;
    }

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

    .main-navigation .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 13px;
        border-bottom: 1px solid var(--border-color);
    }

    .has-dropdown .sub-menu {
        position: relative;
        top: 0;
        left: 0;
        min-width: 100%;
        background: var(--dark-bg-3);
        border: none;
        border-radius: 0;
    }

    .sub-menu .nav-link {
        padding-left: 30px;
    }

    /* Hero Mobile */
    .liveclassic-hero {
        padding: 50px 20px;
        margin-bottom: 25px;
    }

    .camera-lens-frame {
        width: 200px;
        height: 200px;
    }

    .lens-ring-outer {
        width: 200px;
        height: 200px;
    }

    .lens-ring-inner {
        width: 140px;
        height: 140px;
    }

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

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

    .hero-divider-line {
        width: 60px;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

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

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

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

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn-gold-primary,
    .btn-outline-gold {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Grid Sections Mobile */
    .live-table-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

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

    .game-node-icon {
        width: 40px;
        height: 40px;
    }

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

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

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

    .live-feature-card {
        padding: 25px 20px;
    }

    .live-feature-icon {
        width: 60px;
        height: 60px;
    }

    .live-feature-icon i {
        font-size: 24px;
    }

    /* Stats Mobile */
    .live-stats {
        padding: 40px 20px;
    }

    .live-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .live-stat-card {
        padding: 20px 15px;
    }

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

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

    /* Promos Mobile */
    .live-promos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .promo-inner {
        padding: 25px 20px;
    }

    .promo-icon {
        width: 55px;
        height: 55px;
    }

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

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

    .article-card-thumb {
        height: 160px;
    }

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

    /* Footer CTA Mobile */
    .footer-cta-section {
        padding: 40px 20px;
    }

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

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

    .cta-main-btn {
        font-size: 15px;
        padding: 14px 30px;
        width: 100%;
        max-width: 280px;
    }

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

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

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

    .license-icons {
        gap: 15px;
    }

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

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

    /* Sidebar Mobile */
    .sidebar-inner {
        grid-template-columns: 1fr;
    }

    /* Section Title Mobile */
    .section-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .section-title i {
        font-size: 20px;
    }

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

    /* Single Post Mobile */
    .single-post-header,
    .single-post-content,
    .single-post-tags,
    .single-post-navigation {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-post-thumb {
        margin: 0 20px 20px;
    }

    .single-post-title {
        font-size: 22px;
    }

    .single-post-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .single-post-cta {
        margin: 20px;
        padding: 20px;
    }

    .single-post-cta h3 {
        font-size: 18px;
    }

    /* Single Page Mobile */
    .single-page-header,
    .single-page-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-page-title {
        font-size: 24px;
    }

    /* 404 Mobile */
    .error-404-code {
        font-size: 70px;
    }

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

    .error-404-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .error-404-links {
        flex-direction: column;
        align-items: center;
    }

    /* Pagination Mobile */
    .pagination-wrapper .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }

    /* View More Mobile */
    .gold-view-more {
        max-width: 100%;
    }

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

    /* Notification Mobile */
    .notification-content {
        gap: 25px;
        font-size: 12px;
    }

    /* Search Mobile */
    .search-results-section .archive-title {
        font-size: 18px;
    }

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

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

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

    .announcement-item {
        padding: 10px 12px;
    }

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

    .announcement-cta {
        padding: 10px 30px;
        font-size: 14px;
    }
}

/* === Mobile Small (max-width: 480px) === */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Header Small Mobile */
    .header-top {
        padding: 10px 0;
    }

    .logo img {
        height: 35px;
    }

    .btn-login,
    .btn-register {
        padding: 5px 12px;
        font-size: 10px;
    }

    .btn-demo {
        display: none;
    }

    /* Hero Small Mobile */
    .liveclassic-hero {
        padding: 40px 15px;
    }

    .hero-brand {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

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

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

    .btn-gold-primary,
    .btn-outline-gold {
        padding: 10px 24px;
        font-size: 13px;
    }

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

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

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

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

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

    .live-stats {
        padding: 30px 15px;
    }

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

    .section-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    /* Footer Small Mobile */
    .site-footer {
        padding: 25px 0 15px;
    }

    .footer-columns-grid {
        gap: 20px;
    }

    .footer-social-links {
        gap: 8px;
    }

    .footer-social-links a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .footer-18plus {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

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

    /* Single Small Mobile */
    .single-post-title {
        font-size: 20px;
    }

    .single-post-header {
        padding: 20px 15px;
    }

    .single-post-content {
        padding: 0 15px 20px;
    }

    .single-post-thumb {
        margin: 0 15px 15px;
    }

    .single-post-meta {
        gap: 12px;
        font-size: 12px;
    }

    .single-page-title {
        font-size: 20px;
    }

    /* 404 Small Mobile */
    .error-404-code {
        font-size: 60px;
    }

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

    .error-404-title {
        font-size: 18px;
    }

    .error-404-description {
        font-size: 13px;
    }

    /* Live Table Card Small Mobile */
    .live-table-card {
        padding: 22px 18px;
    }

    .live-table-icon {
        width: 55px;
        height: 55px;
    }

    .live-table-icon i {
        font-size: 22px;
    }

    .live-table-card h3 {
        font-size: 17px;
    }

    .live-table-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    /* Feature Card Small Mobile */
    .live-feature-card {
        padding: 20px 15px;
    }

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

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

    /* Promo Card Small Mobile */
    .promo-inner {
        padding: 20px 15px;
    }

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

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

    .btn-promo {
        padding: 8px 24px;
        font-size: 12px;
    }

    /* Article Card Small Mobile */
    .article-card-title span {
        font-size: 14px;
    }

    .article-card-thumb {
        height: 140px;
    }

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

    /* CTA Small Mobile */
    .footer-cta-section {
        padding: 30px 15px;
    }

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

    .cta-camera-icon {
        width: 55px;
        height: 55px;
    }

    .cta-camera-icon i {
        font-size: 22px;
    }

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

    /* Archive Small Mobile */
    .archive-title {
        font-size: 20px;
        padding-bottom: 10px;
    }

    /* Sidebar Small Mobile */
    .sidebar-widget {
        padding: 20px 15px;
    }

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

    /* Announcement Small Mobile */
    .announcement-content {
        padding: 20px 15px;
    }

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

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

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

    .announcement-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* === Extra Small Mobile (max-width: 360px) === */
@media (max-width: 360px) {
    .hero-brand {
        font-size: 24px;
    }

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

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

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

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

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

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

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

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

    .single-post-title {
        font-size: 18px;
    }

    .error-404-code {
        font-size: 50px;
    }
}

/* === Landscape Mode === */
@media (max-height: 500px) and (orientation: landscape) {
    .liveclassic-hero {
        padding: 30px 20px;
    }

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

    .announcement-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    .camera-lens-frame {
        width: 150px;
        height: 150px;
    }
}

/* === Print Styles === */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .notification-bar,
    .announcement-modal,
    .hero-cta-group,
    .footer-cta-section,
    .single-post-cta,
    .btn-gold-primary,
    .btn-outline-gold,
    .view-more-btn {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .main-content {
        width: 100%;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .single-post-content,
    .single-page-content {
        padding: 0;
    }
}

/* === High DPI / Retina === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .notification-content {
        animation: none;
    }

    .scan-line,
    .lens-ring,
    .lens-flare,
    .rec-dot {
        animation: none;
    }
}
