body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(145deg, #1f1f2e, #2c2c3d); color: #ffffff; margin: 0; padding: 0; } .achievements-container { max-width: 1400px; margin: 2rem auto; padding: 2rem; display: flex; flex-direction: column; gap: 2rem; animation: fadeInUp 0.8s ease-out; } h1, h2 { color: #00e5ff; text-shadow: 0 0 5px rgba(0, 229, 255, 0.2); text-align: center; } .slogan { text-align: center; color: #ccc; margin-bottom: 2rem; font-style: italic; } /* === Zurück-Button === */ .back-button { position: absolute; top: 20px; left: 20px; background-color: #00d9ff; color: #0d1117; padding: 10px 18px; border-radius: 10px; font-weight: bold; text-decoration: none; box-shadow: 0 0 10px rgba(0, 217, 255, 0.5); transition: background-color 0.3s ease, transform 0.3s ease; font-size: 1rem; z-index: 1000; } .back-button:hover { background-color: #00aacc; transform: scale(1.05); } /* Responsives Verhalten */ @media (max-width: 768px) { .back-button { top: 10px; left: 10px; padding: 8px 14px; font-size: 0.9rem; } } .achievements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; } .achievement-card { background-color: rgba(10, 15, 25, 0.95); padding: 2rem; border-radius: 20px; text-align: center; box-shadow: 0 0 15px rgba(0, 229, 255, 0.07), 0 4px 10px rgba(0, 0, 0, 0.3); backdrop-filter: blur(4px); transition: transform 0.3s ease, box-shadow 0.3s ease; } .achievement-card:hover { transform: scale(1.02); box-shadow: 0 0 20px rgba(0, 229, 255, 0.2); } .trophy-icon { font-size: 3rem; margin-bottom: 1rem; } .achievement-card h2 { margin-bottom: 0.5rem; } .achievement-card p { margin: 0.5rem 0; } .status { margin-top: 1rem; font-weight: bold; color: #00e5ff; } .locked { opacity: 0.6; filter: grayscale(70%); } /* === Unlock-Effekt für freigeschaltete Achievements === */ .achievement-card.unlocked { animation: unlock-glow 1s ease-out; } /* Animation für Unlock-Glow */ @keyframes unlock-glow { 0% { box-shadow: 0 0 0 rgba(0, 229, 255, 0); transform: scale(1); } 50% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.7); transform: scale(1.05); } 100% { box-shadow: 0 0 10px rgba(0, 229, 255, 0.2); transform: scale(1); } } /* Sanftes Pulsieren beim Hover über freigeschaltete Achievements */ .achievement-card.unlocked:hover { animation: pulse 1.5s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 10px rgba(0, 229, 255, 0.2); } 50% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.5); } 100% { box-shadow: 0 0 10px rgba(0, 229, 255, 0.2); } } /* === Footer === */ footer { background-color: #111122; padding: 1rem; text-align: center; font-size: 0.9rem; color: #aaa; } footer a { color: #66d9ef; text-decoration: none; margin: 0 0.5rem; } footer a:hover { text-decoration: underline;