/* ============================================
   SCRATCH88 THEME - responsive.css (moban-115)
   Scratch Cards Theme - Multi-color + Silver
   ============================================ */

/* === 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 */
    .scratch88-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;
    }

    /* Scratch Card Hero */
    .scratch-card-hero {
        right: 20px;
        width: 170px;
        height: 125px;
    }

    .coin {
        width: 32px;
        height: 32px;
        margin-top: -20px;
    }

    /* Scratch Star Games */
    .scratch-star-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Scratch Grid */
    .scratch-grid-row {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Scratch Features */
    .scratch-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Scratch Stats */
    .scratch-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Scratch Promos */
    .scratch-promos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

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

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

    /* Header */
    .header-top {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .logo img {
        height: 40px;
    }

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

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

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

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

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0e0e14;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        border: 1px solid rgba(189, 189, 189, 0.2);
    }

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

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(189, 189, 189, 0.08);
    }

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

    /* Hero */
    .scratch88-hero {
        min-height: 450px;
    }

    .scratch-card-hero {
        display: none;
    }

    .hero-inner-content {
        padding: 30px 20px;
        text-align: center;
        max-width: 100%;
    }

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

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

    .hero-divider-line {
        margin: 12px auto;
    }

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

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

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

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

    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-silver-primary,
    .btn-outline-silver {
        padding: 12px 25px;
        font-size: 13px;
    }

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

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

    /* Scratch Star Games */
    .scratch-star-games {
        padding: 40px 0;
    }

    .scratch-star-games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .scratch-star-game-card {
        border-radius: 12px;
    }

    /* Scratch Grid */
    .scratch-grid-section {
        padding: 40px 0;
    }

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

    .scratch-grid-node {
        padding: 20px 10px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .cta-scratch-card-icon {
        width: 45px;
        height: 30px;
    }

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

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

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

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

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

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

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

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

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

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

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

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

    .license-icons {
        gap: 10px;
    }

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

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

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

    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

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

    .provider-tabs {
        gap: 5px;
    }

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

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

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

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

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

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

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

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

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

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

    .announcement-item {
        padding: 10px;
    }

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

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

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

/* === MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
    /* Header */
    .logo img {
        height: 35px;
    }

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

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

    /* Hero */
    .scratch88-hero {
        min-height: 400px;
        border-radius: 10px;
    }

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

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

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

    .btn-silver-primary,
    .btn-outline-silver {
        padding: 10px 20px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

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

    /* Scratch Particles */
    .scratch-particle {
        opacity: 0.3;
    }

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

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

    /* Scratch Star Games */
    .scratch-star-game-icon i {
        font-size: 30px;
    }

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

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

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

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

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

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

    /* Scratch Features */
    .scratch-feature-icon i {
        font-size: 28px;
    }

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

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

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

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

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

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

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

    /* Scratch Promos */
    .scratch-promo-inner {
        padding: 20px 15px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* Related Posts */
    .related-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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

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

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

    .license-icons {
        gap: 8px;
    }

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

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

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

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

    /* Sidebar */
    .sidebar-btn {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

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

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

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

    .error-scratch-card {
        width: 60px;
        height: 40px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /* Scratch Particles */
    .scratch-particle {
        display: none;
    }

    /* Scratch Shimmer */
    .scratch-star-game-card::before {
        display: none;
    }

    /* DMCA & Disclaimer */
    .footer-disclaimer {
        font-size: 11px !important;
        padding: 15px 10px !important;
    }
}

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

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

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

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

    .btn-silver-primary,
    .btn-outline-silver {
        padding: 10px 15px;
        font-size: 11px;
    }

    .scratch-grid-row {
        gap: 5px;
    }

    .scratch-grid-node {
        padding: 12px 5px;
    }

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

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

    .cta-scratch-card-icon {
        width: 35px;
        height: 24px;
    }

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

    .error-scratch-card {
        width: 50px;
        height: 35px;
    }

    .error-scratch-card::after {
        font-size: 18px;
    }

    .scratch-star-game-icon i {
        font-size: 26px;
    }

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

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

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

    .footer-18plus {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 11px;
    }

    .announcement-content {
        padding: 12px;
    }

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

    .announcement-list {
        gap: 6px;
    }

    .announcement-item {
        padding: 6px;
        gap: 6px;
    }

    .announcement-cta {
        padding: 8px 20px;
        font-size: 12px;
    }

    .scratch-promos-grid {
        gap: 10px;
    }

    .scratch-promo-inner {
        padding: 15px 10px;
    }

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

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

    .single-article {
        padding: 12px;
    }

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

    .related-grid {
        gap: 8px;
    }

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