/* Intro/welcome screen styles with modern purple gradient design */

.intro-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.display-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  text-align: center;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.title {
  color: var(--text-light);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.875rem, 3vw, 1.125rem);
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.mode-selection {
  margin: 2rem 0 3rem 0;
  text-align: center;
}

.mode-selection h3 {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mode-btn {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-elevated) 100%);
  color: var(--text-dark);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.875rem 2.5rem;
  border-radius: var(--border-radius);
  margin: 0.5rem;
  box-shadow: var(--shadow-md);
  min-width: 200px;
  display: inline-block;
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 375px) {
  .mode-btn {
    min-width: 150px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

.mode-btn:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--card-bg) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--bg-primary-light);
}

.study-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.study-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.settings-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.settings-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.privacy-toggle-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  text-decoration: underline;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.2s ease;
}

.privacy-toggle-btn:hover {
  color: white;
}

.privacy-policy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  padding: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-policy.visible {
  max-height: 50vh;
  overflow-y: auto;
}

.privacy-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 600px) {
  .display-card {
    padding: 3rem;
  }
}
