/* ================================
   Gaming Performance Tool – CSS
   FINAL STABLE VERSION
================================ */

.gpt-wrapper {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

/* Title */
.gpt-wrapper h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 28px;
  font-weight: 700;
}

/* Controls */
.gpt-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 15px;
  align-items: center;
  position: relative;
  z-index: 5; /* keeps selects always on top */
}

/* Selects */
.gpt-controls select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  line-height: 52px;
}

.gpt-controls select:focus {
  outline: none;
  border-color: #007bff;
}

/* Button */
.gpt-controls button {
  height: 52px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gpt-controls button:hover {
  background: #005ecb;
}

.gpt-controls button:disabled {
  background: #9bbcff;
  cursor: not-allowed;
}

/* Result Box */
#gpt-result {
  margin-top: 40px;
  padding: 30px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbff, #f1f5ff);
  border: 1px solid #e1e7f0;
  display: none;
  position: relative;
  z-index: 1;
  clear: both;
}

/* Result Text */
#gpt-result p {
  font-size: 16px;
  margin: 10px 0;
}

/* Verdict Badge */
.gpt-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.gpt-smooth {
  background: #28a745;
  color: #fff;
}

.gpt-playable {
  background: #ffc107;
  color: #000;
}

.gpt-bad {
  background: #dc3545;
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .gpt-controls {
    grid-template-columns: 1fr;
  }

  .gpt-controls button {
    width: 100%;
  }
}
