/* ============================================================
   ESPORTPRO (moban-149) - Responsive CSS
   ============================================================ */

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

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

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

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

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

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

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

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

    .hero-swiper {
        height: 350px;
    }

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

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

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

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

    .esport-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .floating-sidebar {
        right: 5px;
    }

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

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

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 14px;
    }

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

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

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

    .content-area {
        flex-direction: column;
        padding: 15px 0;
    }

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

    .header-time {
        display: none;
    }

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

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

    .logo img {
        height: 40px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
        padding: 8px 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0d1526;
        border-top: 1px solid rgba(21,101,192,0.3);
        padding: 10px 0;
    }

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

    .nav-link {
        padding: 10px 15px;
        font-size: 14px;
        border-bottom: 1px solid rgba(21,101,192,0.1);
    }

    .nav-link:hover {
        border-bottom-color: #1565C0;
    }

    .main-navigation .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

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

    /* Hero */
    .hero-swiper {
        height: 250px;
    }

    .slide-content {
        bottom: 20px;
        left: 20px;
    }

    .slide-content h2 {
        font-size: 22px;
    }

    .slide-content p {
        font-size: 13px;
    }

    .hero-inner-content {
        padding: 25px 15px;
    }

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

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

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

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

    .hero-stat {
        min-width: 80px;
    }

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

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

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

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

    /* Grid sections */
    .esport-game-cards-grid {
        grid-template-columns: 1fr;
    }

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

    .esport-features-grid {
        grid-template-columns: 1fr;
    }

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

    .esport-promos-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    /* Section titles */
    .section-title {
        font-size: 20px;
        padding-top: 25px;
    }

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

    /* Feature cards */
    .esport-feature-card {
        padding: 20px 15px;
    }

    .esport-feature-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

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

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

    /* Stat cards */
    .esport-stat-card {
        padding: 20px 12px;
    }

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

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

    /* Promo cards */
    .esport-promo-inner {
        padding: 20px 15px;
    }

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

    /* CTA Section */
    .footer-cta-section {
        padding: 40px 0;
    }

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

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

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

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

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

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

    .license-icons {
        gap: 15px;
    }

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

    /* Breadcrumb */
    .breadcrumb {
        padding: 10px 0;
        font-size: 12px;
    }

    /* Category */
    .category-header {
        padding: 15px;
    }

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

    .provider-tabs {
        gap: 6px;
    }

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

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

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

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

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

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

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

    /* Error page */
    .error-page {
        padding: 50px 15px;
    }

    .error-code {
        font-size: 60px;
    }

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

    /* Floating sidebar */
    .floating-sidebar {
        position: fixed;
        bottom: 10px;
        top: auto;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
    }

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

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

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

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

    /* Article cards */
    .article-card-thumb {
        height: 160px;
    }

    .article-card-title {
        font-size: 15px;
        padding: 10px 12px 4px;
    }

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

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

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

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

    .logo img {
        height: 35px;
    }

    .btn-login {
        display: none;
    }

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

    /* Hero */
    .hero-swiper {
        height: 200px;
    }

    .slide-content {
        bottom: 15px;
        left: 15px;
    }

    .slide-content h2 {
        font-size: 18px;
    }

    .slide-content p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .slide-content .btn-esport-primary {
        padding: 8px 18px;
        font-size: 12px;
    }

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

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

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

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

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

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

    .hero-stat {
        min-width: 60px;
    }

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

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

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

    .esport-grid-node {
        padding: 15px 10px;
    }

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

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

    /* Game cards */
    .esport-game-card {
        padding: 20px 15px;
    }

    .esport-game-card-icon {
        font-size: 32px;
    }

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

    /* Feature cards */
    .esport-feature-card {
        padding: 18px 12px;
    }

    .esport-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Stats */
    .esport-stats {
        padding: 30px 0;
    }

    .esport-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .esport-stat-card {
        padding: 15px 10px;
    }

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

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

    .stat-esport-decoration {
        font-size: 16px;
    }

    /* Promos */
    .esport-promo-inner h3 {
        font-size: 15px;
    }

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

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

    .btn-promo {
        padding: 8px 20px;
        font-size: 13px;
    }

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

    .cta-esport-shield {
        width: 45px;
        height: 45px;
    }

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

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

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

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

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

    /* Related */
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

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

    .related-item-title {
        font-size: 12px;
        padding: 8px;
    }

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

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

    .article-meta {
        gap: 8px;
        font-size: 11px;
    }

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

    /* Category */
    .category-header {
        padding: 12px;
        margin-bottom: 15px;
    }

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

    .provider-tabs {
        gap: 4px;
    }

    .provider-tab {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Error page */
    .error-code {
        font-size: 50px;
    }

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

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

    .error-esport-shield {
        width: 60px;
        height: 60px;
    }

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

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

    .footer-col ul li {
        margin-bottom: 6px;
    }

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

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

    .license-icons {
        gap: 12px;
    }

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

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

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

    /* Floating sidebar mobile bottom bar */
    .floating-sidebar {
        bottom: 5px;
        gap: 5px;
    }

    .sidebar-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

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

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

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

    .announcement-badge {
        font-size: 9px;
        padding: 2px 6px;
    }

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

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

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

    /* Article grid */
    .article-grid {
        gap: 15px;
    }

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

    /* Pagination */
    .pagination {
        margin: 20px 0;
    }

    .pagination .page-numbers {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

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

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

    .page-content {
        font-size: 14px;
    }

    /* View more */
    .view-more-btn {
        padding: 8px 20px;
        font-size: 12px;
    }

    /* Section spacing */
    .esport-game-cards,
    .esport-grid-section,
    .esport-features,
    .esport-promos,
    .home-news-section {
        margin-bottom: 15px;
    }
}

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

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

    .hero-swiper {
        height: 170px;
    }

    .slide-content h2 {
        font-size: 16px;
    }

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

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

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

    .esport-grid-node {
        padding: 12px 8px;
    }

    .esport-node-icon {
        font-size: 18px;
    }

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

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

    .esport-stat-card {
        padding: 12px 8px;
    }

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

    .floating-sidebar {
        gap: 3px;
    }

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

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

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

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

/* === LARGE DESKTOP: 1400px+ === */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }

    .esport-game-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .hero-swiper {
        height: 450px;
    }

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

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

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

    .slide-content h2 {
        font-size: 42px;
    }
}

/* === ULTRA WIDE: 1920px+ === */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }

    .hero-swiper {
        height: 500px;
    }

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

/* === PRINT STYLES === */
@media print {
    .site-header,
    .site-footer,
    .floating-sidebar,
    .announcement-modal,
    .notification-bar,
    .hero-cta-group,
    .cta-features,
    .btn-esport-primary,
    .btn-outline-esport {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .main-content,
    .single-article,
    .page-article {
        background: none;
        border: none;
    }

    .article-title,
    .page-title,
    h1, h2, h3 {
        color: #000;
    }
}

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