/* src/http/okquizzy/shared/styles/components.css */
.quiz-card {
  display: flex;
  align-items: center;
  position: relative;
  background: #333;
  backdrop-filter: blur(5px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: var(--color-text);
  height: 148px;
  transition: var(--transition);
}
@media (min-width: 768px) {
  .quiz-card {
    height: 180px;
  }
}
.quiz-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.quiz-card__image-container {
  position: relative;
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-card__image {
  width: 134px;
  height: 134px;
  object-fit: cover;
  border-radius: 12px;
  transform: rotate(23deg);
  box-shadow: 2px 5px 40px 10px rgba(224, 0, 149, 0.3);
  position: relative;
  top: 24px;
  right: 24px;
}
@media (min-width: 768px) {
  .quiz-card__image {
    width: 108px;
    height: 108px;
    top: 0;
  }
}
.quiz-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-sm);
  position: relative;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .quiz-card__content {
    padding-left: 0;
  }
}
.quiz-card__header {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.quiz-card__badge {
  flex-shrink: 0;
  padding: 1px 8px 2px;
  background: #e00095;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  position: absolute;
  top: 8px;
  right: 12px;
}
.quiz-card__title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 8px 0;
  color: var(--color-text);
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quiz-card__meta {
  font-size: 12px;
  color: var(--color-text);
  margin: 0;
  line-height: 18px;
}
.quiz-card__completed-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  padding: 1px 8px 2px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
}
@media (max-width: 400px) {
  .quiz-card__completed-badge {
    left: 6px;
    bottom: 6px;
    font-size: 8px;
  }
}
.quizzes-section {
  max-width: var(--section-max-width);
  margin: var(--spacing-xl) auto 0;
}
.quizzes-section__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
@media (max-width: 768px) {
  .quizzes-section__title {
    font-size: 16px;
  }
}
.quiz-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
}
@media (min-width: 768px) {
  .quiz-list {
    grid-template-columns: repeat(auto-fit, minmax(min(303px, 100%), 303px));
  }
}

/* src/http/okquizzy/shared/styles/shared.css */

/* src/http/okquizzy/pages/landing/landing.css */
.landing-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
.landing-page--loading {
  opacity: 0;
}
.landing-page--ready {
  opacity: 1;
  transition: opacity 0.15s ease-in;
}
.category-toggle {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-toggle::-webkit-scrollbar {
  display: none;
}
.category-toggle-wrapper {
  position: relative;
}
.category-toggle-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: calc(100% - var(--spacing-sm));
  background:
    linear-gradient(
      to right,
      transparent,
      var(--color-bg, #1a1a1a));
  pointer-events: none;
  z-index: 1;
}
.category-pill {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #666;
  background: transparent;
  color: white;
  transition: var(--transition);
  flex-shrink: 0;
}
.category-pill:hover {
  border-color: #999;
}
.category-pill.active {
  color: var(--color-bg);
  border: none;
  background:
    linear-gradient(
      105deg,
      #fff 81.5%,
      #f17ec6 106.78%);
}
.category-pill:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}
.badge {
  padding: 1px 8px 2px;
  background: #e00095;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.no-quizzes-message {
  color: var(--color-text-secondary);
  font-size: 14px;
  text-align: center;
  padding: var(--spacing-lg);
}
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  width: 100%;
}
.loading-spinner--medium {
  min-height: 200px;
}
.loading-spinner--small {
  padding: 0;
  min-height: auto;
}
.loading-spinner__circle {
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-primary, #e00095);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-spinner--medium .loading-spinner__circle {
  width: 40px;
  height: 40px;
}
.loading-spinner--small .loading-spinner__circle {
  width: 20px;
  height: 20px;
  border-width: 2px;
}
.loading-spinner__message {
  margin-top: var(--spacing-md);
  color: var(--color-text-secondary);
  font-size: 14px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: var(--spacing-lg) 0 0;
  padding: 16px 40px;
  background: transparent;
  border: 2px solid white;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.load-more-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}
.load-more-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.load-more-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}
.load-more-button__icon {
  width: 10px;
  height: 5px;
  flex-shrink: 0;
}
.load-more-button {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .landing-page {
    padding-bottom: 40px;
  }
}
.qotd-carousel {
  position: relative;
  width: calc(100% + var(--spacing-md) * 2);
  max-width: none;
  margin: 0 calc(-1 * var(--spacing-md));
  margin-bottom: var(--spacing-xl);
  overflow: hidden;
  touch-action: pan-y;
}
.qotd-carousel:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}
.qotd-carousel__track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.3s ease-out;
}
.qotd-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qotd-carousel__slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #333;
  z-index: 0;
}
.qotd-carousel__slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 191, 0.6) 35%,
      rgba(255, 0, 170, 0.6) 100%),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}
.qotd-carousel__slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  text-align: center;
  width: 100%;
  max-width: 100%;
}
.qotd-carousel__badge-container {
  display: flex;
  gap: 10px;
}
.qotd-carousel__badge-completed-badge {
  padding: 1px 8px 2px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
  flex-shrink: 0;
}
.qotd-carousel__badge {
  padding: 1px 8px 2px;
  background: #e00095;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.qotd-carousel__title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  color: white;
  margin: 0;
  max-width: 90%;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.qotd-carousel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 32px;
  text-decoration: none;
  min-width: 160px;
  height: 48px;
}
.qotd-carousel__button-text {
  line-height: 26px;
}
.qotd-carousel__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}
.qotd-carousel__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}
.qotd-carousel__button:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
}
.qotd-carousel__meta {
  font-size: 12px;
  font-weight: 400;
  color: white;
  opacity: 0.9;
}
.qotd-carousel__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.qotd-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.qotd-carousel__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.qotd-carousel__dot.active {
  width: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 1);
}
.qotd-carousel__dot.small {
  width: 6px;
  height: 6px;
  opacity: 0.4;
}
.qotd-carousel__dot:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .qotd-carousel {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-bottom: var(--spacing-xl);
  }
  .qotd-carousel__slide {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 60px 80px;
    height: 500px;
  }
  .qotd-carousel__slide {
    background-image: var(--slide-bg-image);
    background-size: cover;
    background-position: center;
  }
  .qotd-carousel__slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 191, 0.6) 35%,
        rgba(255, 0, 170, 0.6) 100%),
      linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.2) 100%);
    z-index: 0;
  }
  .qotd-carousel__slide-bg {
    position: relative;
    width: 480px;
    height: 350px;
    min-width: 480px;
    border-radius: 16px;
    box-shadow: 0 0 50px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
  }
  .qotd-carousel__slide-overlay {
    display: none;
  }
  .qotd-carousel__slide-content {
    position: relative;
    z-index: 1;
    align-items: center;
    text-align: center;
    max-width: 400px;
    gap: 20px;
    padding: 0;
  }
  .qotd-carousel__title {
    max-width: 100%;
  }
  .qotd-carousel__dots {
    position: absolute;
    bottom: 80px;
    right: 80px;
    left: auto;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qotd-carousel__track {
    transition: none;
  }
  .qotd-carousel__dot {
    transition: none;
  }
  .qotd-carousel__button {
    transition: none;
  }
}
