* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #e4e6ea;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
}

.app {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  display: flex;
}

.header {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.header h1 {
  text-shadow: 0 2px 4px #0000001a;
  margin-bottom: 10px;
  font-size: 2.5rem;
  font-weight: 700;
}

.header p {
  opacity: .9;
  font-size: 1.1rem;
  font-weight: 300;
}

.progress-bar {
  background: #ffffff1a;
  border-radius: 4px;
  width: 100%;
  max-width: 600px;
  height: 8px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, #00d4aa 0%, #00a8ff 100%);
  border-radius: 4px;
  height: 100%;
  transition: width .3s;
  box-shadow: 0 0 10px #00d4aa4d;
}

.language-toggle {
  justify-content: center;
  margin-bottom: 30px;
  display: flex;
}

.toggle-label {
  cursor: pointer;
  user-select: none;
  align-items: center;
  gap: 15px;
  display: flex;
}

.toggle-label span {
  opacity: .5;
  filter: grayscale();
  font-size: 1.5rem;
  transition: all .3s;
}

.toggle-label span.active {
  opacity: 1;
  filter: grayscale(0%);
  text-shadow: 0 0 15px #fff6;
  transform: scale(1.1);
}

.toggle-switch {
  width: 50px;
  height: 25px;
  position: relative;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  cursor: pointer;
  background: #fff3;
  border: 1px solid #ffffff4d;
  border-radius: 25px;
  transition: all .3s;
  position: absolute;
  inset: 0;
}

.slider:before {
  content: "";
  background: linear-gradient(135deg, #00d4aa 0%, #00a8ff 100%);
  border-radius: 50%;
  width: 19px;
  height: 19px;
  transition: all .3s;
  position: absolute;
  bottom: 2px;
  left: 2px;
  box-shadow: 0 2px 8px #0000004d;
}

input:checked + .slider {
  background: #00a8ff4d;
  border-color: #00a8ff;
}

input:checked + .slider:before {
  background: linear-gradient(135deg, #00a8ff 0%, #0078ff 100%);
  transform: translateX(24px);
}

.card-container {
  perspective: 1000px;
  width: 100%;
  max-width: 500px;
  height: 350px;
  margin-bottom: 30px;
  position: relative;
}

.flash-card {
  cursor: pointer;
  user-select: none;
  transform-origin: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.flash-card.swipe-right {
  opacity: .7;
  transform: translateX(100px)rotate(15deg);
}

.flash-card.swipe-left {
  opacity: .7;
  transform: translateX(-100px)rotate(-15deg);
}

.card-face {
  text-align: center;
  user-select: none;
  border-radius: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 40px 30px;
  display: flex;
  box-shadow: 0 20px 40px #0006;
}

.card-front {
  z-index: 1;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  position: relative;
}

.card-front.english-side {
  border: 2px solid #00d4aa;
  box-shadow: 0 0 30px #00d4aa33;
}

.card-front.swedish-side {
  border: 2px solid #00a8ff;
  box-shadow: 0 0 30px #00a8ff33;
}

.flip-hint {
  color: #718096;
  opacity: .8;
  font-size: .9rem;
  position: absolute;
  bottom: 10px;
}

.word-main {
  color: #f7fafc;
  text-shadow: 0 2px 4px #0000004d;
  margin-bottom: 15px;
  font-size: 2.5rem;
  font-weight: 600;
}

.pronunciation {
  color: #a0aec0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-style: italic;
}

.verb-forms {
  color: #a0aec0;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  max-width: 400px;
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  display: grid;
}

.verb-label {
  text-align: right;
  white-space: nowrap;
  font-style: italic;
}

.verb-value {
  text-align: left;
  font-weight: 500;
}

.word-type {
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  background: #ffffff1a;
  border-radius: 20px;
  margin-bottom: 10px;
  padding: 6px 16px;
  font-size: .9rem;
  font-weight: 500;
}

.controls {
  gap: 20px;
  margin-bottom: 20px;
  display: flex;
}

.control-btn {
  cursor: pointer;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  transition: all .2s;
  display: flex;
  box-shadow: 0 4px 12px #00000026;
}

.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #0003;
}

.control-btn:active {
  transform: translateY(0);
}

.dont-know {
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  box-shadow: 0 4px 15px #ff6b6b4d;
}

.know {
  color: #fff;
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  box-shadow: 0 4px 15px #00d4aa4d;
}

.flip-btn {
  color: #fff;
  background: linear-gradient(135deg, #00a8ff 0%, #0078ff 100%);
  box-shadow: 0 4px 15px #00a8ff4d;
}

.stats {
  color: #fff;
  gap: 30px;
  font-size: 1rem;
  display: flex;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
}

.stat-label {
  opacity: .8;
  font-size: .9rem;
}

.completion-screen {
  text-align: center;
  color: #fff;
  max-width: 500px;
}

.completion-screen h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.completion-screen p {
  opacity: .9;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.restart-btn {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #00d4aa 0%, #00a8ff 100%);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all .2s;
  box-shadow: 0 4px 15px #00d4aa4d;
}

.restart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #00d4aa66;
}

.page-glow {
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  transition: opacity .5s ease-in-out;
  position: fixed;
  top: 0;
}

.page-glow-active {
  opacity: .85;
}

.page-glow-right {
  background: linear-gradient(to left, #2ed573e6 0%, #2ed57399 5%, #2ed5734d 15%, #2ed5731a 30%, #2ed57300 50%);
  right: 0;
}

.page-glow-left {
  background: linear-gradient(to right, #ff6b6be6 0%, #ff6b6b99 5%, #ff6b6b4d 15%, #ff6b6b1a 30%, #ff6b6b00 50%);
  left: 0;
}

.pulse-glow {
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
}

.pulse-glow-right {
  background: linear-gradient(to left, #2ed573f2 0%, #2ed573b3 5%, #2ed57366 15%, #2ed57333 30%, #2ed57300 50%);
  right: 0;
}

.pulse-glow-left {
  background: linear-gradient(to right, #ff6b6bf2 0%, #ff6b6bb3 5%, #ff6b6b66 15%, #ff6b6b33 30%, #ff6b6b00 50%);
  left: 0;
}

.pulse-active {
  animation: .6s ease-out pulseFeedback;
}

@keyframes pulseFeedback {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes cardEnter {
  0% {
    opacity: .8;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cardJiggle {
  0% {
    transform: scale(1)rotate(0);
  }

  20% {
    transform: scale(1.03)rotate(-.8deg);
  }

  40% {
    transform: scale(.97)rotate(.8deg);
  }

  60% {
    transform: scale(1.015)rotate(-.4deg);
  }

  80% {
    transform: scale(.99)rotate(.2deg);
  }

  100% {
    transform: scale(1)rotate(0);
  }
}

@keyframes cardExitLeft {
  0% {
    opacity: 1;
    transform: translateX(0)rotate(0)scale(1);
  }

  60% {
    opacity: .6;
    transform: translateX(-120px)rotate(-12deg)scale(.8);
  }

  100% {
    opacity: 0;
    transform: translateX(-180px)rotate(-18deg)scale(0);
  }
}

@keyframes cardExitRight {
  0% {
    opacity: 1;
    transform: translateX(0)rotate(0)scale(1);
  }

  60% {
    opacity: .6;
    transform: translateX(120px)rotate(12deg)scale(.8);
  }

  100% {
    opacity: 0;
    transform: translateX(180px)rotate(18deg)scale(0);
  }
}

.vocabulary-menu {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px;
  display: flex;
}

.menu-header {
  text-align: center;
  margin-bottom: 40px;
}

.menu-header h1 {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) text;
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.menu-header p {
  color: #fffc;
  margin: 0;
  font-size: 1.1rem;
}

.vocabulary-options {
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
  display: flex;
}

.vocabulary-option {
  cursor: pointer;
  backdrop-filter: blur(10px);
  background: #ffffff1a;
  border: 2px solid #fff3;
  border-radius: 15px;
  align-items: center;
  padding: 25px;
  transition: all .3s;
  display: flex;
}

.vocabulary-option:hover {
  background: #ffffff26;
  border-color: #fff6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #0000004d;
}

.vocabulary-option:active {
  transform: translateY(0);
}

.option-flag {
  flex-shrink: 0;
  margin-right: 20px;
  font-size: 3rem;
}

.option-content {
  flex: 1;
}

.option-content h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.option-description {
  color: #ffffffb3;
  margin: 0 0 10px;
  font-size: 1rem;
}

.option-stats {
  gap: 15px;
  display: flex;
}

.word-count {
  color: #ffffffe6;
  background: #fff3;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .9rem;
}

.option-arrow {
  color: #fff9;
  margin-left: 15px;
  font-size: 1.5rem;
  transition: transform .3s;
}

.vocabulary-option:hover .option-arrow {
  color: #ffffffe6;
  transform: translateX(5px);
}

.menu-footer {
  text-align: center;
}

.menu-footer p {
  color: #fff9;
  margin: 0;
  font-size: .9rem;
}

.back-to-menu {
  cursor: pointer;
  color: #fff;
  backdrop-filter: blur(10px);
  z-index: 10;
  background: #fff3;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  transition: all .3s;
  display: flex;
  position: fixed;
  top: 20px;
  left: 20px;
}

.back-to-menu:hover {
  background: #ffffff4d;
  transform: scale(1.1);
}

@media (hover: none) and (pointer: coarse) {
  .flash-card {
    touch-action: pan-y;
  }

  .control-btn:hover {
    transform: none;
  }
}

@media (width <= 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .card-container {
    max-width: 90vw;
    height: 300px;
  }

  .word-main {
    font-size: 2rem;
  }

  .card-face {
    padding: 30px 20px;
  }
}

@media (width <= 480px) {
  .header h1, .word-main {
    font-size: 1.8rem;
  }

  .stats {
    gap: 20px;
    font-size: .9rem;
  }

  .controls {
    gap: 15px;
  }

  .control-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .toggle-label {
    gap: 10px;
  }

  .toggle-label span {
    font-size: 1.2rem;
  }

  .toggle-switch {
    width: 40px;
    height: 20px;
  }

  .slider:before {
    width: 16px;
    height: 16px;
    bottom: 1px;
    left: 1px;
  }

  input:checked + .slider:before {
    transform: translateX(19px);
  }
}
/*# sourceMappingURL=public.61d3354a.css.map */
