/* ============================================
   DARKNEON THEME - responsive.css (moban-145)
   Neon Dark Cyberpunk 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: 10px 12px;
        font-size: 12px;
    }

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

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

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

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

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

    /* Neon Star Games */
    .neon-star-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Neon Grid */
    .neon-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

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

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

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

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

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

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

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

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

    /* Sidebar */
    .floating-sidebar {
        display: none;
    }
}

/* === TABLET PORTRAIT (max-width: 768px) === */
@media (max-width: 768px) {
    .container {
        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 14px;
        font-size: 11px;
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
        margin: 10px auto;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(13, 13, 13, 0.98);
        border: 1px solid rgba(0, 255, 255, 0.15);
        border-radius: 8px;
        padding: 10px;
        margin-top: 10px;
    }

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

    .nav-link {
        padding: 12px 15px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 255, 255, 0.05);
    }

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

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

    /* Hero */
    .darkneon-hero {
        min-height: 450px;
        margin: 10px 0;
    }

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

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

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

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

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

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

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

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

    .btn-neon-primary,
    .btn-outline-neon {
        padding: 12px 28px;
        font-size: 12px;
        width: 80%;
        text-align: center;
    }

    /* Neon Star Games */
    .neon-star-games-grid {
        grid-template-columns: 1fr;
    }

    .neon-star-game-card {
        padding: 20px;
    }

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

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

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

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

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

    /* Features */
    .neon-features-grid {
        grid-template-columns: 1fr;
    }

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

    .neon-feature-icon {
        font-size: 30px;
    }

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

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

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

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

    /* Promos */
    .neon-promos-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .provider-tabs {
        gap: 6px;
    }

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

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

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

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

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

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

    .license-icons {
        gap: 15px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    .container {
        padding: 0 10px;
    }

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

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

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

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

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

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

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

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

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

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

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

    .btn-neon-primary,
    .btn-outline-neon {
        padding: 10px 22px;
        font-size: 11px;
        width: 90%;
    }

    /* Star Games */
    .neon-star-game-card {
        padding: 15px;
    }

    .neon-star-game-icon {
        font-size: 28px;
    }

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

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

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

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

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

    .neon-node-icon {
        font-size: 20px;
        margin-bottom: 5px;
    }

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

    /* Features */
    .neon-feature-card {
        padding: 20px 12px;
    }

    .neon-feature-icon {
        font-size: 26px;
    }

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

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

    /* Stats */
    .neon-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

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

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

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

    .stat-neon-decoration {
        font-size: 14px;
    }

    /* Promos */
    .neon-promo-card {
        border-radius: 8px;
    }

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

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

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

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

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

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

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

    .cta-neon-ring {
        width: 45px;
        height: 45px;
    }

    /* News */
    .article-card-title {
        font-size: 12px;
        padding: 12px 12px 6px;
        min-height: 45px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* Tags */
    .article-tags {
        gap: 5px;
    }

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

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

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

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

    .provider-tabs {
        gap: 5px;
    }

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

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

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

    .footer-18plus {
        font-size: 14px;
        padding: 4px 10px;
    }

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

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

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

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

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

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

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

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

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

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

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

    .btn-neon {
        padding: 10px 22px;
        font-size: 12px;
    }

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

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

    .error-title {
        font-size: 14px;
        letter-spacing: 2px;
    }

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

    .error-neon-ring {
        width: 60px;
        height: 60px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .floating-sidebar {
        display: none;
    }
}

/* === PRINT STYLES === */
@media print {
    .site-header,
    .main-navigation,
    .notification-bar,
    .floating-sidebar,
    .announcement-modal,
    .site-footer,
    .footer-disclaimer {
        display: none !important;
    }

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

    .single-article {
        border: none;
        background: none;
    }

    .article-title {
        color: #000;
    }

    .article-content {
        color: #333;
    }
}
