/* ============================================
   SOFTWIN THEME - responsive.css (moban-135)
   Soft & Gentle 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 */
    .softwin-hero {
        min-height: 500px;
        padding: 40px 20px;
    }

    .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;
    }

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

    /* Soft Grid */
    .soft-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    .main-navigation .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #FFFFFF;
        border-radius: 16px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 5px 20px rgba(248, 189, 208, 0.15);
        border: 2px solid #F5F5F5;
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 15px;
        border-radius: 12px;
        font-size: 14px;
        display: block;
    }

    .nav-link:hover {
        background: #FCE4EC;
    }

    .main-navigation {
        padding: 10px 0;
    }

    /* Header */
    .header-top {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

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

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

    /* Hero */
    .softwin-hero {
        min-height: 450px;
        border-radius: 20px;
        padding: 35px 15px;
    }

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

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

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

    .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: 10px;
    }

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

    /* Clouds */
    .cloud-1 { width: 200px; height: 130px; }
    .cloud-2 { width: 170px; height: 120px; }
    .cloud-3 { width: 140px; height: 100px; }
    .cloud-4 { width: 120px; height: 80px; }
    .cloud-5 { width: 150px; height: 110px; }

    .floating-orb { transform: scale(0.7); }

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

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

    /* Soft Star Games */
    .soft-star-games {
        padding: 30px 0;
    }

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

    .soft-star-game-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

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

    /* Soft Grid */
    .soft-grid-section {
        padding: 30px 0;
        border-radius: 20px;
    }

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

    .soft-grid-node {
        padding: 18px 10px;
        border-radius: 16px;
    }

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

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

    /* Soft Features */
    .soft-features {
        padding: 30px 0;
    }

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

    .soft-feature-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .soft-feature-icon {
        width: 60px;
        height: 60px;
    }

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

    /* Soft Stats */
    .soft-stats {
        padding: 40px 15px;
        border-radius: 20px;
    }

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

    .soft-stat-card {
        padding: 25px 15px;
        border-radius: 20px;
    }

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

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

    /* Soft Promos */
    .soft-promos {
        padding: 30px 0;
    }

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

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

    .soft-promo-card {
        border-radius: 20px;
    }

    /* Footer CTA */
    .footer-cta-section {
        padding: 40px 15px;
        border-radius: 20px;
    }

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

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

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

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

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

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

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

    .article-card-thumb {
        height: 160px;
        border-radius: 14px 14px 0 0;
    }

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

    /* Category */
    .category-header {
        padding: 18px;
        border-radius: 16px;
    }

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

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

    .provider-tab {
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 16px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .license-icons {
        gap: 15px;
    }

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

    /* Announcement Modal */
    .announcement-content {
        padding: 25px;
        border-radius: 20px;
    }

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

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

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

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

    /* Floating sidebar - bottom bar on mobile */
    .floating-sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        background: #FFFFFF;
        padding: 8px 10px;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
        border-top: 2px solid #F8BBD0;
        gap: 12px;
        z-index: 1000;
    }

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

    /* Pagination */
    .pagination .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 10px;
    }

    /* Content area */
    .content-area {
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
    }

    /* Notification bar */
    .notification-content {
        font-size: 11px;
    }
}

/* === MOBILE SMALL (max-width: 480px) === */
@media (max-width: 480px) {
    /* Header */
    .header-top {
        justify-content: center;
        text-align: center;
    }

    .logo img {
        height: 35px;
    }

    .header-btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    /* Hero */
    .softwin-hero {
        min-height: 380px;
        padding: 30px 12px;
    }

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

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

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

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

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

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

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

    /* Buttons */
    .btn-pink-primary,
    .btn-outline-pink {
        padding: 10px 24px;
        font-size: 13px;
    }

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

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

    /* Star game cards */
    .soft-star-game-card {
        padding: 20px 15px;
    }

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

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

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

    /* Grid nodes */
    .soft-grid-node {
        padding: 14px 8px;
    }

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

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

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

    .soft-feature-icon {
        width: 50px;
        height: 50px;
    }

    .soft-feature-icon i {
        font-size: 20px;
    }

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

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

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

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

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

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

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

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

    .btn-promo {
        padding: 10px 24px;
        font-size: 12px;
    }

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

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

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

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

    .view-more-btn {
        padding: 12px 28px;
        font-size: 13px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    .footer-social-links a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

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

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

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

    .announcement-cta {
        padding: 12px 30px;
        font-size: 13px;
    }

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

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

    .floating-sidebar {
        gap: 8px;
        padding: 6px 8px;
    }

    /* Provider tabs */
    .provider-tab {
        padding: 5px 10px;
        font-size: 11px;
    }

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

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

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

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

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

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

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

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

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

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

    .license-icons {
        gap: 10px;
    }

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

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

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

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

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

    .article-grid {
        gap: 30px;
    }

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

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

    .softwin-hero {
        min-height: 700px;
    }
}

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

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

    .single-article,
    .page-article {
        border: none;
        padding: 0;
    }

    .article-content {
        font-size: 12pt;
        line-height: 1.6;
    }

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

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

    .softwin-hero,
    .soft-cloud,
    .floating-orb,
    .hero-brand {
        animation: none !important;
    }

    .notification-content {
        animation: none !important;
    }
}

/* === DARK MODE SUPPORT (optional) === */
@media (prefers-color-scheme: dark) {
    /* Keep the light theme as designed - SOFTWIN is intentionally light/pink */
    /* This block is intentionally left empty to preserve the design intent */
}
