* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: radial-gradient(circle at top, #1a233a 0%, #0a0d18 100%);
  color: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.app-card {
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 28px 24px;
  position: relative;
  backdrop-filter: blur(10px);
}

.lang-selector {
  position: absolute;
  top: 20px;
  right: 20px;
}

.lang-selector select {
  background: rgba(255, 255, 255, 0.08);
  color: #ffd700;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.lang-selector select:hover {
  background: rgba(212, 175, 55, 0.2);
}

.logo-container {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 24px;
}

.logo-svg {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

h1 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.required {
  color: #ff5252;
}

.sub-label {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

textarea.form-control {
  resize: vertical;
}

.rating-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.stars {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 10px 0;
}

.star {
  font-size: 32px;
  color: #475569;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  user-select: none;
}

.star:hover,
.star.active {
  color: #ffd700;
  transform: scale(1.15);
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.error-msg {
  color: #ff5252;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  color: #0b0f19;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.anonym-note {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin-top: 16px;
}

.success-screen {
  text-align: center;
  padding: 30px 10px;
}

.check-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ffd700, #d4af37);
  color: #0b0f19;
  font-size: 38px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Ensure .hidden always overrides display styles */
.hidden {
  display: none !important;
}

/* Footer & Links */
.footer-links {
  text-align: center;
  font-size: 13px;
  margin-top: 18px;
  color: #64748b;
}

.footer-links a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: #121826;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  color: #e2e8f0;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  color: #ffd700;
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: #ffffff;
}

.modal-body {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
}
