@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  touch-action: manipulation;
}

.font-geist-mono {
  font-family: var(--font-mono);
}

img {
  max-width: 100%;
  height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Transitions */
.transition {
  transition: all 0.2s ease;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 基础样式 */
@keyframes blink-j-league {
    0%, 100% { background-color: #818cf8; }
    50% { background-color: #6366f1; }
}

@keyframes blink-champions {
    0%, 100% { background-color: #3b82f6; }
    50% { background-color: #2563eb; }
}

@keyframes blink-europa {
    0%, 100% { background-color: #f97316; }
    50% { background-color: #ea580c; }
}

@keyframes blink-conference {
    0%, 100% { background-color: #a855f7; }
    50% { background-color: #9333ea; }
}

/* 进度条动画类 */
.progress-bar-j-league {
    animation: blink-j-league 2s infinite;
}

.progress-bar-champions {
    animation: blink-champions 2s infinite;
}

.progress-bar-europa {
    animation: blink-europa 2s infinite;
}

.progress-bar-conference {
    animation: blink-conference 2s infinite;
}
