:root {
  --primary: #6c63ff;
  --secondary: #4c46b6;
  --dark: #1e1a42;
  --light: #f5f5ff;
  --accent: #00ff9d;
  --danger: #ff446b;
  --text: #e0e0ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--dark);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(108, 99, 255, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(0, 255, 157, 0.1) 0%,
      transparent 20%
    );
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

header {
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

h2 {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.card {
  background: rgba(30, 26, 66, 0.8);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(108, 99, 255, 0.2);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--accent);
}

input,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(108, 99, 255, 0.3);
  background: rgba(30, 26, 66, 0.6);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

input::placeholder {
  color: rgba(224, 224, 255, 0.4);
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 12px rgba(76, 70, 182, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 70, 182, 0.4);
}

.btn-measure {
  margin-right: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.btn-submit {
  background: linear-gradient(90deg, var(--accent), #00c077);
  color: var(--dark);
}

.buttons {
  display: flex;
  margin-top: 2rem;
}

.profile-status {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(108, 99, 255, 0.2);
}

.status-title {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.profile-highlight {
  font-size: 1.2rem;
  line-height: 1.6;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-col {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  color: var(--dark);
}

.badge-beginner {
  background: linear-gradient(90deg, #ff8860, #ff6b6b);
}

.badge-intermediate {
  background: linear-gradient(90deg, #ffd460, #ffb340);
}

.badge-advanced {
  background: linear-gradient(90deg, #60d394, #30b577);
}

.badge-expert {
  background: linear-gradient(90deg, var(--accent), #00c077);
}

.glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.2;
  z-index: -1;
}

.glow-1 {
  top: -50px;
  left: 10%;
}

.glow-2 {
  bottom: -50px;
  right: 10%;
  background: var(--accent);
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }
}
