 :root {
  --bg: #0d0d0f;
  --panel: #1a1a1d;
  --text: #e6e6e6;
  --muted: #9a9a9a;
  --accent: #4da3ff;
  --radius: 12px;
  --font: 'Inter', Arial, sans-serif;
}

.dark-mode {
  --bg: #f5f5f5;
  --panel: #ffffff;
  --text: #1a1a1a;
  --muted: #555;
  --accent: #0077ff;
}

body {
  background: radial-gradient(circle at top, #121214, var(--bg));
  color: var(--text);
  font-family: var(--font);
  padding: 40px;
}

.practice-wrapper {
  width: 100%;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.practice-title {
  font-size: 42px;
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent);
}

.practice-subtitle {
  color: var(--muted);
  margin-bottom: 20px;
}

.practice-panel {
  background: var(--panel);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid #2a2a2d;
  box-shadow: 0 0 25px rgba(0,0,0,0.55);
}

.practice-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.stat-box {
  background: #141416;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid #2a2a2d;
}

.word-display {
  background: #121214;
  padding: 25px;
  border-radius: var(--radius);
  min-height: 150px;
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.practice-input {
  width: 100%;
  padding: 14px;
  font-size: 20px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  background: #0f0f11;
  color: var(--text);
  outline: none;
  margin-bottom: 20px;
}

.retry-btn {
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 18px;
  border: none;
  cursor: pointer;
}
