/* taticas.css */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffbe6, #ffeec9);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

header {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 0 8px 0;
  position: sticky;
  top: 0;
  text-align: center;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#btnVoltar {
  background: #f94144;
  border: none;
  border-radius: 20px;
  color: white;
  padding: 6px 16px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  user-select: none;
  transition: background 0.3s ease;
}

#btnVoltar:hover {
  background: #f3722c;
}

header h1 {
  margin: 0 0 8px;
  color: #f9844a;
  text-shadow: 1px 1px 4px #f9c74f;
  font-size: 1.8rem;
}

.axe-display {
  font-weight: 700;
  font-size: 1.2rem;
  color: #f9844a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.icon-axe {
  font-size: 1.4rem;
}

main {
  max-width: 360px;
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

#game {
  background-color: #222;
  border-radius: 10px;
  box-shadow: 0 0 15px #f9c74f;
  display: block;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 200px;
  height: 400px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 200px;
}

.controls button {
  flex: 1;
  font-size: 1.5rem;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  background: linear-gradient(45deg, #f9844a, #f9c74f);
  color: white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

.controls button:hover {
  background: linear-gradient(45deg, #f3722c, #f9c74f);
}

#btnRestart {
  padding: 10px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  background: #f94144;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
  user-select: none;
  margin-bottom: 0.5rem;
}

#btnRestart:hover {
  background: #f3722c;
}

#status {
  font-weight: 600;
  font-size: 1.1rem;
  height: 1.5rem;
  color: #e63946;
  user-select: none;
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 400px) {
  #game {
    height: 360px;
  }
  .controls {
    max-width: 100%;
    padding: 0 1rem;
  }
}
