.ui-style-0 { --primary: #2c5aa0; --accent: #4a90e2; }
.ui-style-1 { --primary: #1e7e34; --accent: #28a745; }
.ui-style-2 { --primary: #c82333; --accent: #e74c3c; }
.ui-style-3 { --primary: #e67e22; --accent: #f39c12; }
.ui-style-4 { --primary: #8e44ad; --accent: #9b59b6; }
.ui-style-5 { --primary: #16a085; --accent: #1abc9c; }
.ui-style-6 { --primary: #2980b9; --accent: #3498db; }
.ui-style-7 { --primary: #d35400; --accent: #e67e22; }
.ui-style-8 { --primary: #27ae60; --accent: #2ecc71; }
.ui-style-9 { --primary: #8b4513; --accent: #a0522d; }
.ui-style-10 { --primary: #2f4f4f; --accent: #556b2f; }
.ui-style-11 { --primary: #483d8b; --accent: #6a5acd; }
.ui-style-12 { --primary: #b8860b; --accent: #daa520; }
.ui-style-13 { --primary: #006400; --accent: #228b22; }
.ui-style-14 { --primary: #8b0000; --accent: #dc143c; }
.ui-style-15 { --primary: #191970; --accent: #4169e1; }

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.logo {
  color: var(--primary, #2c5aa0);
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.logo:hover {
  color: var(--accent, #4a90e2);
}

.nav a {
  color: #555;
  font-weight: 500;
  transition: all 0.3s;
}

.nav a:hover {
  background: var(--accent, #4a90e2);
  color: #fff;
  transform: translateY(-2px);
}

.section {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.section-title {
  color: var(--primary, #2c5aa0);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent, #4a90e2);
  border-radius: 2px;
}

.card {
  background: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border-color: var(--accent, #4a90e2);
}

.card-title a {
  color: var(--primary, #2c5aa0);
  font-weight: 600;
  transition: color 0.3s;
}

.card-title a:hover {
  color: var(--accent, #4a90e2);
}

.card-rank {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent, #4a90e2);
  color: #fff;
  padding: 5px 12px;
  border-radius: 0 6px 0 12px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  font-size: 14px;
}

@media (max-width: 768px) {
  .section {
    padding: 20px 15px;
  }

  .card-grid {
    gap: 15px;
  }

  .logo {
    font-size: 20px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeIn 0.6s ease-out;
}

.card {
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }
.card:nth-child(7) { animation-delay: 0.35s; }
.card:nth-child(8) { animation-delay: 0.4s; }
