* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; background: #0a0e17; color: #e8eaf0; min-height: 100vh; }
.bg-gradient { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #0a0e17 0%, #1a2332 50%, #0a0e17 100%); background-size: 400% 400%; animation: gradientShift 15s ease infinite; z-index: -1; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.accent-glow-blue, .accent-glow-red { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.accent-glow-blue { background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%); }
.accent-glow-red { background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 70%); }
.container { max-width: 1400px; margin: 0 auto; padding: 20px; position: relative; }
header { text-align: center; padding: 60px 20px 40px; position: relative; }
.logo-container { margin-bottom: 20px; }
.duck-icon { font-size: 3rem; filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4)); }
h1 { font-size: 3rem; margin-bottom: 10px; background: linear-gradient(135deg, #3b82f6 0%, #dc2626 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; letter-spacing: -0.5px; }
.subtitle { font-size: 1.1rem; color: #94a3b8; font-weight: 400; }
.fan-project-notice { display: inline-block; margin-top: 15px; padding: 6px 18px; background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.25); border-radius: 20px; font-size: 0.8rem; color: #60a5fa; font-weight: 500; }
nav { display: flex; justify-content: center; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.nav-btn { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); color: #e8eaf0; padding: 12px 30px; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); font-weight: 500; }
.nav-btn:hover { background: rgba(59, 130, 246, 0.15); border-color: #3b82f6; transform: translateY(-2px); }
.nav-btn.active { background: linear-gradient(135deg, #3b82f6 0%, #dc2626 100%); border-color: transparent; }
.section { display: none; }
.section.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.about-content { max-width: 800px; margin: 0 auto; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 40px; backdrop-filter: blur(10px); }
.about-content h2 { font-size: 1.8rem; margin-bottom: 20px; background: linear-gradient(135deg, #3b82f6 0%, #dc2626 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 600; }
.about-content p { line-height: 1.7; margin-bottom: 15px; color: #cbd5e1; font-weight: 400; }
.sets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 40px; }
.set-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; backdrop-filter: blur(10px); }
.set-card:hover { transform: translateY(-8px); border-color: #3b82f6; box-shadow: 0 12px 35px rgba(59, 130, 246, 0.25); }
.set-cover { width: 100%; height: 38rem; object-fit: cover; background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #dc2626 100%); }
.set-info { padding: 24px; }
.set-name { font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; color: #f1f5f9; }
.set-count { color: #94a3b8; font-size: 0.9rem; font-weight: 400; }
.back-button { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); color: #e8eaf0; padding: 12px 24px; border-radius: 8px; font-size: 1rem; cursor: pointer; margin-bottom: 30px; transition: all 0.3s ease; backdrop-filter: blur(10px); font-weight: 500; }
.back-button:hover { background: rgba(59, 130, 246, 0.15); border-color: #3b82f6; transform: translateY(-2px); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.card-item { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; backdrop-filter: blur(10px); }
.card-item:hover { transform: scale(1.05); border-color: #dc2626; box-shadow: 0 10px 30px rgba(220, 38, 38, 0.25); }
.card-image { width: 100%; height: auto; display: block; }
.card-name { padding: 15px; text-align: center; font-weight: 500; color: #f1f5f9; }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 1000; justify-content: center; align-items: center; padding: 40px; backdrop-filter: blur(10px); }
.modal.active { display: flex; }
.modal-content { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.modal-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; background: none; border: none; transition: transform 0.3s ease; font-weight: 300; }
.modal-close:hover { transform: scale(1.1); }
footer { margin-top: 100px; padding: 40px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
.social-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; flex-wrap: wrap; }
.social-link { color: #94a3b8; text-decoration: none; font-size: 1.3rem; transition: all 0.3s ease; display: inline-block; }
.social-link:hover { color: #3b82f6; transform: translateY(-3px); }
.footer-text { color: #64748b; font-size: 0.85rem; font-weight: 400; }
.loading { text-align: center; color: #94a3b8; font-size: 1.3rem; padding: 40px; }
.error { background: rgba(220, 38, 38, 0.1); border: 1px solid rgba(220, 38, 38, 0.3); color: #fca5a5; padding: 20px; border-radius: 8px; margin: 20px 0; }
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; } .duck-icon { font-size: 2.5rem; }
  .sets-grid, .cards-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
  .about-content { padding: 30px 20px; } nav { gap: 15px; }
  .nav-btn { padding: 10px 20px; font-size: 0.9rem; } .modal { padding: 20px; }
}
@media (max-width: 480px) { .sets-grid, .cards-grid { grid-template-columns: 1fr; } }
