/* ============================================================
   SWIPEWIN (moban-48) - Responsive Stylesheet
   ============================================================ */

/* ===================== TABLET (max-width: 1024px) ===================== */
@media (max-width: 1024px) {
    /* Header */
    .header-top {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-time {
        display: none;
    }

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

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

    /* Navigation */
    .nav-menu {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 10px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Hero */
    .hero-brand-text {
        font-size: 60px;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 22px;
        letter-spacing: 4px;
    }

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

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

    /* Content Area */
    .content-area {
        grid-template-columns: 1fr 250px;
        gap: 20px;
    }

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

    /* Games */
    .game-showcase-card {
        padding: 30px 20px;
        min-height: 280px;
    }

    .game-card-icon {
        font-size: 40px;
    }

    /* Bonuses */
    .bonus-card {
        flex-direction: column;
    }

    .bonus-card-left {
        min-width: auto;
        padding: 20px;
        flex-direction: row;
        gap: 15px;
    }

    .bonus-amount {
        font-size: 36px;
    }

    /* Section Titles */
    .section-header-light .section-title,
    .section-header-dark .section-title {
        font-size: 28px;
    }

    /* CTA */
    .cta-main-title {
        font-size: 40px;
        letter-spacing: 3px;
    }

    .cta-form {
        padding: 25px;
    }

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

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

    .single-article-title {
        font-size: 26px;
    }
}

/* ===================== MOBILE LANDSCAPE (max-width: 768px) ===================== */
@media (max-width: 768px) {
    html {
        scroll-snap-type: y proximity;
    }

    /* Header */
    .site-header {
        padding: 0;
    }

    .header-top {
        padding: 8px 0;
    }

    .logo img {
        height: 35px;
    }

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

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

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

    .main-navigation {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        padding: 10px 0;
        background: rgba(13, 17, 23, 0.98);
    }

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

    .nav-link {
        padding: 12px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Notification */
    .notification-content {
        animation-duration: 15s;
    }

    /* Story Progress */
    .story-progress-bar {
        padding: 6px 8px;
    }

    .story-progress-segment {
        height: 2px;
    }

    /* Swipe Hint */
    .swipe-hint {
        bottom: 25px;
    }

    .swipe-hint-text {
        font-size: 10px;
    }

    .swipe-arrow {
        font-size: 18px;
    }

    /* Hero */
    .hero-brand-text {
        font-size: 44px;
        letter-spacing: 3px;
    }

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

    .hero-desc {
        font-size: 14px;
        padding: 0 15px;
    }

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

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

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

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

    .hero-cta-group .btn-coral-primary,
    .hero-cta-group .btn-outline-white {
        width: 80%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 16px;
        letter-spacing: 1px;
    }

    .hero-scroll-arrow {
        bottom: 20px;
    }

    .hero-scroll-arrow span {
        font-size: 9px;
    }

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

    /* Sidebar */
    .sidebar {
        order: 2;
    }

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

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

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

    .license-icons {
        gap: 20px;
    }

    /* Games */
    .games-swiper-wrapper {
        padding: 0 10px;
    }

    .game-showcase-card {
        padding: 25px 18px;
        min-height: 260px;
    }

    .game-showcase-card h3 {
        font-size: 18px;
    }

    /* Bonuses */
    .bonuses-list {
        gap: 18px;
    }

    .bonus-card-right {
        padding: 20px;
    }

    .bonus-card-right h3 {
        font-size: 17px;
    }

    .bonus-card-right p {
        font-size: 13px;
    }

    /* Winners */
    .winners-total-amount {
        font-size: 32px;
    }

    .winners-total-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .winner-item {
        padding: 12px 18px;
        gap: 10px;
    }

    .winner-name {
        font-size: 13px;
    }

    .winner-amount {
        font-size: 14px;
    }

    /* CTA */
    .cta-main-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .cta-subtitle {
        font-size: 15px;
    }

    .cta-form {
        padding: 20px;
    }

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

    .cta-input {
        padding: 12px 16px;
    }

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

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

    .btn-cta-alt {
        width: 80%;
        justify-content: center;
    }

    .cta-trust {
        font-size: 11px;
    }

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

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

    .single-article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

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

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

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

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

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

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

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

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

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

    .provider-tabs {
        gap: 6px;
    }

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

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

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

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

    /* Hero */
    .hero-brand-text {
        font-size: 36px;
        letter-spacing: 2px;
    }

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

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

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

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

    .hero-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    /* Section Titles */
    .section-header-light .section-title,
    .section-header-dark .section-title {
        font-size: 22px;
    }

    .section-header-light .section-subtitle,
    .section-header-dark .section-subtitle {
        font-size: 13px;
    }

    /* Games */
    .game-showcase-card {
        padding: 20px 15px;
        min-height: 240px;
    }

    .game-card-icon {
        font-size: 35px;
    }

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

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

    /* Bonuses */
    .bonus-amount {
        font-size: 28px;
    }

    .bonus-amount-label {
        font-size: 10px;
    }

    .bonus-card-right h3 {
        font-size: 15px;
    }

    .bonus-card-right p {
        font-size: 12px;
    }

    .btn-coral-primary {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Winners */
    .winners-total-amount {
        font-size: 26px;
    }

    .winner-item {
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* CTA */
    .cta-main-title {
        font-size: 26px;
    }

    .cta-subtitle {
        font-size: 14px;
    }

    .cta-form {
        padding: 18px;
    }

    .cta-icon {
        font-size: 40px;
    }

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

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

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

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

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

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

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

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

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

    /* Announcement */
    .announcement-header-icon {
        font-size: 30px;
    }

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

    /* Sidebar */
    .sidebar-widget {
        padding: 18px;
    }

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

    .sidebar-cta-box {
        padding: 20px;
    }

    .sidebar-cta-box h3 {
        font-size: 17px;
    }
}

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

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

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

    .cta-main-title {
        font-size: 22px;
    }

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

    .winners-total-amount {
        font-size: 22px;
    }
}

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

    .hero-brand-text {
        font-size: 96px;
    }

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

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

    .section-header-light .section-title,
    .section-header-dark .section-title {
        font-size: 42px;
    }

    .winners-total-amount {
        font-size: 56px;
    }

    .cta-main-title {
        font-size: 60px;
    }

    .game-showcase-card {
        padding: 50px 40px;
        min-height: 360px;
    }

    .bonus-amount {
        font-size: 52px;
    }

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

/* ===================== PRINT ===================== */
@media print {
    .site-header,
    .story-progress-bar,
    .swipe-hint,
    .announcement-modal,
    .notification-bar,
    .site-footer {
        display: none !important;
    }

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

    .story-slide {
        page-break-after: always;
        min-height: auto;
    }
}

/* ===================== LANDSCAPE ORIENTATION ===================== */
@media (orientation: landscape) and (max-height: 600px) {
    .story-slide {
        min-height: auto;
        padding: 80px 0;
    }

    .story-slide-inner {
        padding: 20px;
    }

    .hero-brand-text {
        font-size: 40px;
    }

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

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

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

    .bonuses-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bonus-card {
        flex-direction: column;
        max-width: 300px;
    }

    .cta-main-title {
        font-size: 32px;
    }

    .winners-total-amount {
        font-size: 28px;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .winners-ticker-track {
        animation: none;
    }

    .notification-content {
        animation: none;
    }
}

/* === Mobile Optimization Additions === */
@media (max-width: 768px) {
  .nav-link, .btn-login, .btn-register, .btn-demo,
  a, button, .sidebar-btn {
    min-height: 44px;
    min-width: 44px;
  }
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  .article-card {
    margin-bottom: 20px;
  }
  .content-area {
    padding: 10px;
  }
}
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  h1, .hero-title {
    font-size: 24px !important;
  }
  h2 {
    font-size: 20px !important;
  }
}
