/* Explore::SmoothcompComponent Styles */

.smoothcomp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: var(--section-spacing-lg) var(--size-4);
  /* Add component spacing */
  margin-bottom: var(--section-spacing-sm);
}

.smoothcomp-header {
  text-align: center;
  margin-bottom: var(--section-spacing-lg);
  max-width: 800px;
}

.smoothcomp-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: var(--size-4);
  line-height: var(--line-height-tight);
}

.smoothcomp-subtitle {
  font-size: var(--text-lg);
  line-height: var(--line-height-normal);
  margin: 0;
}

.smoothcomp-card {
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary);
  border-radius: var(--rounded-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--size-8);
  max-width: 800px;
  width: 100%;
  transition: all 0.3s ease;
}

.smoothcomp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.smoothcomp-card-header {
  margin-bottom: var(--size-6);
}

.smoothcomp-stats {
  margin-bottom: var(--section-spacing-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--size-6);
  margin-bottom: var(--size-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--size-4);
  background: var(--color-primary-light);
  border-radius: var(--rounded-lg);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--color-selected);
}

.stat-icon-wrapper {
  margin-bottom: var(--size-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-medal-icon {
  width: clamp(48px, 6vw, 80px) !important;
  height: clamp(48px, 6vw, 80px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover .stat-medal-icon {
  transform: scale(1.1);
  color: var(--color-accent);
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--size-1);
}

.stat-number {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: var(--line-height-normal);
}

.smoothcomp-cta {
  text-align: center;
  margin-top: var(--size-6);
}

.smoothcomp-cta .btn {
  width: 100%; 
  max-width: none; 
  padding: var(--section-spacing-xs); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-bg-dark);
}

.smoothcomp-cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.smoothcomp-container:focus-within {
  outline: 2px solid var(--color-selected-light);
  outline-offset: 2px;
}

/* Responsive Design - Mobile First */
@media (min-width: 768px) {
  .smoothcomp-container {
    padding: var(--section-spacing-2xl) var(--size-10); /* Reduced from xl to md */
    margin-bottom: var(--size-16); /* Reduced from md to sm */
  }

  .smoothcomp-title {
    font-size: var(--text-3xl);
  }

  .smoothcomp-subtitle {
    font-size: var(--text-xl);
  }

  .smoothcomp-card {
    padding: var(--size-8); /* Reduced from 12 to 8 */
  }

  .stats-grid {
    gap: var(--size-6); /* Reduced from 8 to 6 */
  }

  .stat-item {
    padding: var(--size-4); /* Reduced from 6 to 4 */
  }

  .stat-number {
    font-size: var(--text-3xl);
  }

  .stat-label {
    font-size: var(--text-base);
  }

}

@media (min-width: 1024px) {
  .smoothcomp-container {
    padding: var(--section-spacing-lg) var(--size-8); /* Reduced from xl to lg */
  }

  .smoothcomp-title {
    font-size: var(--text-4xl);
  }

  .smoothcomp-card {
    padding: var(--size-12); /* Reduced from 16 to 12 */
  }

  .stats-grid {
    gap: var(--size-8); /* Reduced from 10 to 8 */
  }

  .stat-item {
    padding: var(--size-6); /* Reduced from 8 to 6 */
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  .stat-label {
    font-size: var(--text-lg);
  }
}

@media (min-width: 1440px) {
  .smoothcomp-container {
    padding: var(--section-spacing-2xl) var(--size-8);
  }

  .smoothcomp-card {
    padding: var(--size-20);
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .smoothcomp-card,
  .stat-item {
    transition: none;
  }

  .smoothcomp-card:hover,
  .stat-item:hover {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  .smoothcomp-card {
    border: 2px solid var(--color-border-dark);
  }

  .stat-item {
    border: 1px solid var(--color-border);
  }

} 