/* ================================================================
   WARRIOR88 - Responsive Stylesheet (moban-155)
   ================================================================ */

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

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

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

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

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

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

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

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

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

  .nav-link {
    padding: 10px 14px;
    font-size: 13px;
  }
}

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

  .header-time {
    order: 3;
    width: 100%;
    text-align: center;
    font-size: 12px;
  }

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

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(198, 40, 40, 0.1);
    border-left: 3px solid transparent;
  }

  .nav-link:hover {
    border-bottom-color: rgba(198, 40, 40, 0.1);
    border-left-color: #FFD700;
  }

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

  .warrior88-hero {
    min-height: 500px;
    padding: 40px 15px;
  }

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

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

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

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

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

  .battle-promos-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .floating-sidebar {
    right: 5px;
  }

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

  .single-article {
    padding: 20px;
  }

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

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

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

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

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

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

  .logo img {
    height: 40px;
  }

  .warrior88-hero {
    min-height: 450px;
    padding: 30px 15px;
  }

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

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

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

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

  .warrior-star-games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .armor-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

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

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

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

  .battle-node-icon i {
    font-size: 26px;
  }

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

  .article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .home-news-placeholder {
    grid-template-columns: 1fr;
  }

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

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

  .footer-col {
    text-align: center;
  }

  .footer-brand-logo img {
    margin: 0 auto 15px;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-col ul {
    display: inline-block;
    text-align: left;
  }

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

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

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

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

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

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

  .provider-tabs {
    gap: 6px;
    padding: 10px;
  }

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

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

  .single-article {
    padding: 15px;
  }

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

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

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

  .article-nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .page-article {
    padding: 20px;
  }

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

  .announcement-content {
    padding: 20px;
    max-width: 95%;
  }

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

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

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

  .floating-sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    background: linear-gradient(0deg, #0D0D0D, rgba(13, 13, 13, 0.95));
    border-top: 1px solid rgba(198, 40, 40, 0.3);
    padding: 8px 0;
    gap: 5px;
  }

  .sidebar-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .site-footer {
    padding-bottom: 70px;
  }

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

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

  .error-shield-emblem {
    width: 70px;
    height: 70px;
  }

  .license-icons {
    gap: 20px;
  }

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

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

  .container {
    padding: 0 12px;
  }

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

  .logo img {
    height: 35px;
  }

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

  .warrior88-hero {
    min-height: 380px;
    padding: 25px 10px;
  }

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

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

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

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

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

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

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

  .btn-gold-primary,
  .btn-outline-gold {
    padding: 10px 20px;
    font-size: 13px;
    max-width: 250px;
  }

  .warrior-shield {
    width: 200px;
    height: 200px;
  }

  .shield-plate-1 { width: 200px; height: 200px; }
  .shield-plate-2 { width: 160px; height: 160px; top: 20px; left: 20px; }
  .shield-plate-3 { width: 120px; height: 120px; top: 40px; left: 40px; }
  .shield-plate-4 { width: 80px; height: 80px; top: 60px; left: 60px; }

  .shield-emblem {
    width: 50px;
    height: 50px;
  }

  .flame {
    width: 40px;
    height: 80px;
  }

  .flame-2 { height: 100px; }
  .flame-3 { height: 90px; }
  .flame-4 { height: 95px; }

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

  .section-title::after {
    width: 60px;
  }

  .warrior-star-game-icon i {
    font-size: 36px;
  }

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

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

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

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

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

  .armor-feature-icon i {
    font-size: 32px;
  }

  .armor-feature-card h3 {
    font-size: 14px;
  }

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

  .warrior-stats {
    padding: 40px 0;
  }

  .warrior-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 10px;
  }

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

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

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

  .stat-shield-decoration i {
    font-size: 18px;
  }

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

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

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

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

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

  .footer-cta-section {
    padding: 40px 15px;
  }

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

  .cta-shield-emblem {
    width: 45px;
    height: 45px;
  }

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

  .article-card-title {
    font-size: 14px;
    padding: 12px 12px 6px;
    min-height: 42px;
  }

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

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

  .article-card-more {
    padding: 8px 12px;
    font-size: 12px;
  }

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

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

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

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

  .single-article {
    padding: 12px;
    border-radius: 12px;
  }

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

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

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

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

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

  .article-tags {
    gap: 6px;
  }

  .article-tags span {
    padding: 4px 8px;
    font-size: 11px;
  }

  .page-article {
    padding: 15px;
  }

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

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

  .error-page {
    padding: 40px 10px;
  }

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

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

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

  .error-shield-emblem {
    width: 60px;
    height: 60px;
  }

  .announcement-content {
    padding: 15px;
  }

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

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

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

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

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

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

  .notification-content {
    font-size: 12px;
    gap: 30px;
  }

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

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

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

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

  .license-icons {
    gap: 15px;
  }

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

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

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

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

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

  .category-header {
    padding: 15px;
    margin-bottom: 20px;
  }

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

  .no-posts {
    padding: 40px 15px;
    font-size: 14px;
  }
}

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

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

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

  .hero-stat {
    width: 40%;
  }

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

  .armor-feature-card {
    padding: 20px 15px;
  }

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

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

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

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

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

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

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

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

  .warrior-star-games-grid {
    gap: 30px;
  }

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

  .article-grid {
    gap: 30px;
  }

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

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

  body {
    background: white;
    color: black;
  }

  .article-content {
    color: black;
  }

  .article-title,
  .page-title {
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}

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

/* === HIGH CONTRAST === */
@media (prefers-contrast: high) {
  .article-card,
  .warrior-star-game-card,
  .armor-feature-card,
  .battle-promo-card,
  .single-article,
  .page-article {
    border-width: 2px;
    border-color: #FFD700;
  }

  .nav-link:hover,
  .article-card:hover {
    border-color: #FFD700;
  }
}

/* === DARK MODE ENHANCEMENT === */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0D0D0D;
  }
}
