/* ============================================
   PANTHER88 THEME - responsive.css (moban-66)
   Responsive Breakpoints & Mobile Optimization
   ============================================ */

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

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

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

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

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

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

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

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

    .floating-sidebar {
        right: 5px;
    }

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

    .panther-eyes-container {
        gap: 60px;
    }

    .panther-eye {
        width: 40px;
        height: 20px;
    }

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

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

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

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

/* === TABLET PORTRAIT (max-width: 992px) === */
@media (max-width: 992px) {
    .panther-hero {
        min-height: 500px;
    }

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

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

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

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

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

    .panther-promos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .panther-promos-grid .panther-promo-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

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

    .panther-news-grid > .panther-news-placeholder > a:last-child,
    .home-news-grid > .home-news-placeholder > a:last-child {
        display: none;
    }

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

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

    .game-matrix-grid {
        gap: 12px;
    }

    .content-area {
        flex-direction: column;
    }

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

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

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

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

    .cta-features {
        gap: 20px;
    }

    .single-article {
        padding: 25px;
    }

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

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

    .floating-sidebar {
        right: 5px;
        gap: 6px;
    }

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

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

    .panther-eyes-container {
        top: 12%;
        gap: 50px;
    }

    .claw-mark {
        display: none;
    }

    .shadow-tendril {
        opacity: 0.5;
    }
}

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

    .container {
        padding: 0 15px;
    }

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

    .logo img {
        height: 40px;
    }

    .header-time {
        display: none;
    }

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

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

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

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

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0D0D1A;
        border: 1px solid rgba(123, 45, 142, 0.3);
        border-radius: 0 0 12px 12px;
        z-index: 100;
        max-height: 400px;
        overflow-y: auto;
    }

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

    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(123, 45, 142, 0.1);
        font-size: 13px;
    }

    .nav-link:hover {
        border-bottom-color: rgba(123, 45, 142, 0.1);
    }

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

    /* Hero Mobile */
    .panther-hero {
        min-height: 450px;
        margin: 15px 0;
        border-radius: 12px;
    }

    .panther-eyes-container {
        top: 10%;
        gap: 40px;
    }

    .panther-eye {
        width: 30px;
        height: 15px;
    }

    .eye-pupil {
        width: 8px;
        height: 14px;
    }

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

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

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

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

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

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

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

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

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

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

    /* Section Titles */
    .section-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

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

    /* Game Cards */
    .panther-star-games,
    .panther-game-matrix,
    .panther-features,
    .panther-stats,
    .panther-promos,
    .panther-news-section,
    .home-news-section {
        padding: 30px 0;
    }

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

    .panther-game-card {
        padding: 20px 15px;
    }

    .panther-game-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

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

    .panther-game-card p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .panther-game-players {
        font-size: 11px;
    }

    /* Game Matrix */
    .matrix-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .matrix-node {
        padding: 18px 10px;
    }

    .node-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

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

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

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

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

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

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

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

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

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

    /* Promotions */
    .panther-promos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .panther-promos-grid .panther-promo-card:last-child {
        max-width: 100%;
    }

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

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

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

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

    .panther-news-grid > .panther-news-placeholder > a:nth-child(n+3),
    .home-news-grid > .home-news-placeholder > a:nth-child(n+3) {
        display: none;
    }

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

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

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

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

    /* Footer CTA */
    .panther-footer-cta {
        padding: 40px 0;
        margin: 20px 0;
        border-radius: 12px;
    }

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

    .panther-footer-cta p {
        font-size: 13px;
        padding: 0 10px;
    }

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

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

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

    .cta-panther-eyes {
        gap: 25px;
    }

    .cta-eye {
        width: 22px;
        height: 11px;
    }

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

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

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

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

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

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

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

    .license-icons {
        gap: 15px;
    }

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

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

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

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

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

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

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

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

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

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

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

    .provider-tabs {
        gap: 6px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* Floating Sidebar */
    .floating-sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 0;
        background: linear-gradient(180deg, rgba(10,10,10,0.95), #0A0A0A);
        border-top: 1px solid rgba(123, 45, 142, 0.3);
        padding: 8px 0;
    }

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

    .sidebar-btn:hover {
        transform: none;
        box-shadow: none;
    }

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

    /* View More */
    .view-more-btn {
        max-width: 180px;
        padding: 10px 25px;
        font-size: 13px;
    }

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

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

    .container {
        padding: 0 10px;
    }

    /* Header */
    .header-top {
        justify-content: space-between;
    }

    .logo img {
        height: 35px;
    }

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

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

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

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

    .panther-eyes-container {
        top: 8%;
        gap: 30px;
    }

    .panther-eye {
        width: 24px;
        height: 12px;
    }

    .eye-pupil {
        width: 6px;
        height: 10px;
    }

    .hero-inner-content {
        margin-top: 30px;
        padding: 20px 10px;
    }

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

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

    .hero-divider-line {
        width: 40px;
        margin: 8px auto;
    }

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

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

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

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

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

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

    /* Games Grid */
    .panther-games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .panther-game-card {
        padding: 15px 10px;
        border-radius: 10px;
    }

    .panther-game-icon {
        font-size: 26px;
    }

    .panther-game-rating i {
        font-size: 10px;
    }

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

    .panther-game-card p {
        font-size: 11px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .panther-game-players {
        font-size: 10px;
    }

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

    .matrix-node {
        padding: 15px 8px;
        border-radius: 8px;
    }

    .node-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

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

    /* Features */
    .panther-feature-card {
        padding: 20px 15px;
    }

    .eye-icon-glow {
        width: 45px;
        height: 22px;
    }

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

    .panther-stat-card {
        padding: 20px 10px;
    }

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

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

    .stat-eye-decoration {
        font-size: 12px;
    }

    /* Promotions */
    .panther-promo-inner {
        padding: 20px 15px;
    }

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

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

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

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

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

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

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

    .article-card-meta {
        font-size: 11px;
        padding: 0 12px;
    }

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

    .article-card {
        border-radius: 10px;
    }

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

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

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

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

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

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

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

    .article-content h3 {
        font-size: 16px;
    }

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

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

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

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

    .footer-brand-logo img {
        height: 32px;
    }

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

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

    .license-icons {
        gap: 10px;
    }

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

    /* CTA */
    .panther-footer-cta h2 {
        font-size: 18px;
    }

    .panther-footer-cta p {
        font-size: 12px;
    }

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

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

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

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

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

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

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

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

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

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

    .error-panther-eyes {
        gap: 30px;
    }

    .error-eye {
        width: 30px;
        height: 15px;
    }

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

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

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

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

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

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

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

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

    .panther-games-grid {
        grid-template-columns: 1fr;
    }

    .matrix-row {
        grid-template-columns: 1fr 1fr;
    }

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

    .header-btn-group .btn-demo {
        display: none;
    }

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

    .hero-stat {
        flex: 1 1 100%;
    }
}

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

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

    .article-content,
    .page-content {
        color: #000;
    }

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