/* Main CSS Variables */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #4a90e2;
  --accent-color: #f39c12;
  --success-color: #27ae60;
  --danger-color: #e74c3c;
  --warning-color: #f1c40f;
  --info-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --white: #ffffff;
  --black: #000000;
  
  --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-family-mono: 'Courier New', Courier, monospace;
  
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-primary);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Canvas Styling */
#gameCanvas {
  display: block;
  background: var(--dark-color);
  cursor: crosshair;
}

/* Responsive Design */
@media (max-width: 768px) {
  #gameCanvas {
    cursor: pointer;
  }
  
  body {
    position: fixed; /* Ngăn scroll trên thiết bị di động */
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .game-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}