/* ============================================
   MOBOBET THEME - responsive.css (moban-127)
   Mobile Champion Theme - Purple/Gold/Black
   Mobile-first responsive design
   ============================================ */

/* === 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: 10px 12px;
        font-size: 12px;
    }

    /* Hero */
    .mobobet-hero {
        min-height: 500px;
    }

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

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

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

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

    /* Champion Games */
    .champion-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Trophy Grid */
    .trophy-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

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

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

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

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

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

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

    /* Content */
    .content-area {
        grid-template-columns: 1fr;
    }

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

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

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

    /* Trophy showcase */
    .trophy-showcase {
        gap: 20px;
    }

    .trophy-showcase-item i {
        font-size: 40px;
    }
}

/* === TABLET PORTRAIT (max-width: 768px) === */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

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

    /* Header */
    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

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

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

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        text-align: center;
        width: 100%;
        padding: 12px;
    }

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

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0D0D0D;
        border: 1px solid rgba(106, 27, 154, 0.3);
        border-radius: 8px;
        padding: 10px 0;
        margin-top: 5px;
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(106, 27, 154, 0.1);
        font-size: 14px;
    }

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

    /* Hero */
    .mobobet-hero {
        min-height: 450px;
        padding: 40px 15px;
    }

    .hero-brand {
        font-size: 36px;
        letter-spacing: 4px;
    }

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

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

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

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

    .hero-stat {
        flex: 0 0 calc(50% - 10px);
    }

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

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

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

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

    .trophy-main-icon {
        font-size: 120px;
    }

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

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

    /* Champion Games */
    .champion-games {
        padding: 40px 0;
    }

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

    .champion-game-card {
        padding: 25px 15px;
    }

    .champion-game-icon {
        font-size: 36px;
    }

    .champion-game-card h3 {
        font-size: 15px;
    }

    /* Trophy Grid */
    .trophy-grid-section {
        padding: 40px 0;
    }

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

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

    .trophy-node-icon {
        font-size: 26px;
    }

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

    /* Features */
    .champion-features {
        padding: 40px 0;
    }

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

    .champion-feature-card {
        padding: 25px 15px;
    }

    .champion-feature-icon {
        width: 55px;
        height: 55px;
    }

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

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

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

    /* Stats */
    .champion-stats {
        padding: 40px 0;
    }

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

    .champion-stat-card {
        padding: 25px 15px;
    }

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

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

    /* Promos */
    .champion-promos {
        padding: 40px 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .provider-tabs {
        gap: 6px;
    }

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

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

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

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

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

    .license-icons {
        gap: 15px;
    }

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

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

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

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

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

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

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

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

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

    .sidebar-label {
        display: none !important;
    }

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

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

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

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

    /* Trophy showcase */
    .trophy-showcase {
        gap: 15px;
        padding: 20px 0;
    }

    .trophy-showcase-item {
        padding: 15px;
    }

    .trophy-showcase-item i {
        font-size: 32px;
    }

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

    /* Notification bar */
    .notification-bar {
        height: 30px;
    }

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

/* === MOBILE SMALL (max-width: 480px) === */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }

    /* Header */
    .logo img {
        height: 35px;
    }

    .btn-login {
        display: none;
    }

    .btn-register,
    .btn-demo {
        padding: 6px 12px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    /* Hero */
    .mobobet-hero {
        min-height: 400px;
        padding: 30px 10px;
    }

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

    .hero-divider-line {
        width: 120px;
        height: 2px;
    }

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

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

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

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

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

    .btn-gold-primary,
    .btn-outline-gold,
    .btn-outline-purple {
        padding: 10px 25px;
        font-size: 13px;
        max-width: 250px;
    }

    .trophy-main-icon {
        font-size: 100px;
    }

    /* Champion Games */
    .champion-games-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .champion-game-card {
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .trophy-grid-node {
        padding: 12px 6px;
    }

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

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

    /* Features */
    .champion-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .champion-feature-card {
        padding: 20px 15px;
    }

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

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

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

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

    /* Promos */
    .champion-promo-inner h3 {
        font-size: 16px;
    }

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

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

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

    .cta-trophy-diamond {
        width: 45px;
        height: 45px;
    }

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

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

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

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

    .article-tags {
        gap: 6px;
    }

    .article-tags span {
        font-size: 11px;
        padding: 3px 10px;
    }

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

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

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

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

    /* Footer */
    .footer-license-bar h4 {
        font-size: 12px;
    }

    .license-icons {
        gap: 10px;
    }

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

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

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

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

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

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

    .footer-18plus {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

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

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

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

    .error-trophy-icon {
        width: 60px;
        height: 60px;
    }

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

    /* Sidebar floating mobile */
    .floating-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        background: linear-gradient(180deg, rgba(13, 13, 13, 0.95), #0D0D0D);
        border-top: 1px solid rgba(106, 27, 154, 0.3);
        padding: 8px 0;
        gap: 10px;
        z-index: 998;
    }

    .sidebar-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
        border-radius: 50%;
    }

    /* Announcement */
    .announcement-content {
        max-height: 90vh;
    }

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

    .announcement-title {
        font-size: 14px;
        letter-spacing: 1px;
    }

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

    /* Trophy showcase */
    .trophy-showcase {
        gap: 10px;
    }

    .trophy-showcase-item {
        padding: 10px;
    }

    .trophy-showcase-item i {
        font-size: 28px;
    }

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

    /* Victory divider */
    .victory-divider {
        margin: 25px 0;
    }

    .victory-divider i {
        font-size: 14px;
    }

    /* Champion badge */
    .champion-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    /* Winning ticker */
    .winning-ticker-item {
        font-size: 11px;
    }

    /* Provider tabs */
    .provider-tabs {
        gap: 4px;
    }

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

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

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

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

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

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

/* === MOBILE EXTRA SMALL (max-width: 360px) === */
@media (max-width: 360px) {
    .hero-brand {
        font-size: 24px;
        letter-spacing: 2px;
    }

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

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

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

    .champion-game-card {
        padding: 15px 10px;
    }

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

    .champion-stats-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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

    .champion-features-grid {
        gap: 30px;
    }

    .champion-stats-grid {
        gap: 30px;
    }

    .home-news-grid {
        gap: 30px;
    }
}

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

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

    .article-content {
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

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

/* === DARK MODE PREFERENCE (already dark, but lighter variant) === */
@media (prefers-color-scheme: light) {
    body {
        background: #1A1A1A;
        color: #E8E0F0;
    }
}

/* === LANDSCAPE ORIENTATION ON MOBILE === */
@media (max-height: 500px) and (orientation: landscape) {
    .mobobet-hero {
        min-height: 350px;
    }

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

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

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

    .floating-sidebar {
        flex-direction: column;
        right: 8px;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* === HIGH DPI DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }

    .article-card-thumb img,
    .related-item-thumb img {
        image-rendering: -webkit-optimize-contrast;
    }
}
