/* Riyazi Sürət Oyunu Xüsusi Stilləri */

.rush-container {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Config Section */
.config-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.config-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.config-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #C7D2FE;
}

.chips-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  flex: 1;
  min-width: 70px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.16);
}

.chip.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* Game Playing View */
.rush-game-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 480px;
  width: 100%;
  gap: 1.5rem;
}

.timer-bar-container {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.timer-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-full);
  transition: width 0.05s linear, background-color 0.2s ease;
}

.timer-bar-fill.urgent {
  background: linear-gradient(90deg, #F59E0B, var(--error-color));
}

/* Equation Display */
.equation-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.equation-text {
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: white;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Action Buttons */
.rush-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.btn-rush {
  flex: 1;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: none;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-lg);
}

.btn-true {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-true:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.btn-false {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-false:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

.btn-rush:active,
.btn-rush.active {
  transform: scale(0.95);
  filter: brightness(1.2);
}

@media (max-width: 480px) {
  .equation-text { font-size: 2.25rem; }
  .btn-rush { font-size: 1.25rem; padding: 1rem; }
}
