/* mobile.css */
/* Mobile Viewport Adjustment */
@viewport {
  width: device-width;
  zoom: 1.0;
}

/* Touch Optimization */
.game-card {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Responsive Breakpoints */
@media screen and (max-width: 768px) {
  .cyber-container {
    padding: 1rem;
  }
  
  .cyber-title {
    font-size: 1.5rem;
    line-height: 1.3;
    padding: 0 1rem;
  }
  
  .game-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .game-card {
    padding: 1rem;
    margin: 0.5rem;
  }
  
  .game-image {
    height: 200px;
  }
  
  .rtp-badge {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
  
  .time-indicator {
    font-size: 0.8rem;
  }
  
  .update-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .brand-logo {
    width: 250px;
  }
  
  .cyber-header {
    padding: 1rem 0;
  }
  
  .game-card h3 {
    font-size: 1.1rem;
  }
  
  .game-card p {
    font-size: 0.85rem;
  }
  
  .modal-content {
    width: 95%;
    margin: 1rem auto;
    padding: 1rem;
  }
  
  .modal-body {
    grid-template-columns: 1fr;
  }
  
  .modal-image-container {
    height: 180px;
  }
}

/* Portrait Orientation */
@media (orientation: portrait) {
  .game-card {
    max-width: 100vw;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* High Density Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
  .brand-logo {
    background-image: url('images/logo@2x.webp');
    background-size: contain;
  }
}