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

:root {
    --primary: #7c3aed;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --background: #FFDBB6;
    --foreground: #1f2937;
    --muted: #f3f4f6;
    --muted-foreground: #6b7280;
    --card: #FFDBB6;
    --card-border: #e5e7eb;
    --border: #e5e7eb;
    --destructive: #ef4444;
    --font-display: 'Andika', 'ABeeZee', 'Chalkboard SE', 'Comic Sans', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

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

html,
body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    background: linear-gradient(135deg, var(--background) 0%, var(--muted) 50%, rgba(245, 158, 11, 0.1) 100%);
    min-height: 100vh;
    color: var(--foreground);
}


.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-bottom: 80px;
}

.page-container {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 16px;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--muted-foreground);
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.nav-item:hover {
    color: var(--foreground);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.nav-icon {
    font-size: 24px;
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
}

/* Scan Page */
.scan-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 32px;
}

.explorer-image-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100px;
    min-height: 100px;
    margin-bottom: 30px;
}

.explorer-image {
    position: absolute;
    top: 0;
    left: 20%;
    width: 33%;
    height: auto;
    z-index: 1;
    border-radius: 12px;
}

.explorer-image-overlay {
    position: absolute;
    top: 0;
    left: 55%;
    width: 33%;
    height: auto;
    z-index: 1;
    border-radius: 12px;
}

.app-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 14vw, 100px);
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    margin: 0;
    display: block;
    width: 100%;
    align-self: stretch;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, rgba(245, 158, 11, 0.8) 100%);
    background-size: 100% 100%;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-subtitle {
    color: var(--muted-foreground);
    text-align: center;
    max-width: 320px;
}

.scan-button-container {
    display: flex;
    justify-content: center;
}

.scan-button {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.scan-button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.scan-button:active:not(:disabled) {
    transform: scale(0.95);
}

.scan-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.scan-button.scanning {
    animation: pulse 2s infinite;
}

.scan-button span:first-child {
    font-size: 48px;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
    }

    50% {
        box-shadow: 0 15px 50px rgba(124, 58, 237, 0.6);
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.scan-instructions {
    text-align: center;
}

.scan-instructions p {
    font-size: 12px;
    color: var(--muted-foreground);
    margin: 4px 0;
}

.login-prompt {
    color: var(--accent) !important;
}

/* Page Header & Title */
.page-header {
    text-align: center;
    padding: 16px;
}

.page-title {
    text-align: center;
    margin: 0;
}

/* Collection & Profile Pages */
.auth-required {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 24px;
    text-align: center;
}

.lock-icon {
    font-size: 80px;
}

.collection-content,
.profile-content {
    padding: 24px;
}

.collection-content h1,
.profile-content h1 {
    font-family: var(--font-display);
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 14px;
    margin-bottom: 24px;
}

.loading,
.empty-state {
    text-align: center;
    color: var(--muted-foreground);
    padding: 48px 24px;
}

/* Animal Grid */
.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.animal-card {
    background: var(--card);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.animal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.animal-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.animal-card.locked:hover {
    transform: none;
    box-shadow: none;
}

.locked-overlay {
    font-size: 48px;
    margin-bottom: 8px;
}

.animal-card h3 {
    font-size: 16px;
    margin: 8px 0 4px;
}

.animal-card p {
    font-size: 12px;
    color: var(--muted-foreground);
}

.rarity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rarity-common {
    background: #d1d5db;
    color: #374151;
}

.rarity-rare {
    background: #fbbf24;
    color: #78350f;
}

.rarity-legendary {
    background: #a855f7;
    color: white;
}

/* Profile */
.profile-header {
    text-align: center;
    margin-bottom: 32px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.join-date {
    font-size: 14px;
    color: var(--muted-foreground);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-top: 4px;
}

/* Leaderboard */
.leaderboard {
    margin-bottom: 32px;
}

.leaderboard h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--card);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.2s;
}

.leaderboard-entry.current-user {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.leaderboard-entry .rank {
    font-size: 24px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.leaderboard-entry .explorer-info {
    flex: 1;
}

.leaderboard-entry .explorer-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.leaderboard-entry .explorer-count {
    font-size: 14px;
    color: var(--muted-foreground);
}

.no-data {
    text-align: center;
    color: var(--muted-foreground);
    padding: 24px;
}

.achievements {
    margin-bottom: 32px;
}

.achievements h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(156, 163, 175, 0.1);
}

.achievement.earned {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
}

.achievement-icon {
    font-size: 24px;
    padding: 8px;
    border-radius: 50%;
    background: var(--muted);
}

.achievement.earned .achievement-icon {
    background: var(--primary);
}

.achievement-info {
    flex: 1;
}

.achievement-info h3 {
    font-size: 14px;
    margin-bottom: 2px;
}

.achievement-info p {
    font-size: 12px;
    color: var(--muted-foreground);
}

.badge {
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-text {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-secondary:hover {
    background: var(--muted);
}

.btn-danger {
    background: var(--card);
    border: 1px solid var(--destructive);
    color: var(--destructive);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 8px 16px;
}

.btn-text:hover {
    background: rgba(124, 58, 237, 0.1);
}

/* Animal Images */
.animal-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.animal-card-image {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
}

.animal-card-image.locked-image {
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.5;
}

.animal-detail-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

/* Animal Detail Page */
.animal-detail {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
}

.animal-detail h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--foreground);
    margin-bottom: 8px;
    text-align: center;
}

.collected-status {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin: 24px 0;
}

.collected-status p {
    color: #22c55e;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.auth-prompt {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 24px 0;
}

.auth-prompt p {
    margin-bottom: 16px;
    color: var(--muted-foreground);
}

.error-container {
    text-align: center;
    padding: 40px 24px;
}

.error-container .error {
    font-size: 18px;
    margin-bottom: 24px;
}

.loading {
    text-align: center;
    padding: 60px 24px;
}

.loading p {
    margin-top: 16px;
    color: var(--muted-foreground);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--muted-foreground);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.species {
    font-style: italic;
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.habitat {
    color: var(--foreground);
    margin-bottom: 16px;
}

.facts {
    margin: 24px 0;
}

.facts h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.facts p {
    margin: 8px 0;
    padding-left: 8px;
}

/* Auth Modal */
.auth-modal {
    max-width: 400px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.auth-form input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.error {
    color: var(--destructive);
    font-size: 14px;
    text-align: center;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 8px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider span {
    padding: 0 12px;
    color: var(--muted-foreground);
    font-size: 14px;
}

/* External Auth Buttons */
.external-auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-external-auth {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--foreground);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-external-auth:hover {
    background: var(--muted);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-external-auth img {
    width: 20px;
    height: 20px;
}

.btn-google {
    border-color: #4285f4;
}

.btn-google:hover {
    border-color: #357ae8;
    background: #f1f5ff;
}

.btn-apple {
    border-color: #000;
    color: #000;
}

.btn-apple:hover {
    background: #f5f5f5;
}

/* Responsive */
@media (max-width: 640px) {
    .animals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Blazor Error UI (keep from original) */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code {
    color: #c02d76;
}
/* Achievement Celebration Styles */
.achievement-celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
    padding: 20px;
}

.achievement-celebration-modal {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 24px;
    padding: 48px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: celebrationBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.celebration-sparkles {
    font-size: 48px;
    animation: sparkle 1s ease-in-out infinite;
    margin-bottom: 16px;
}

.achievement-icon-large {
    font-size: 96px;
    margin: 16px 0;
    animation: iconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
}

.celebration-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin: 16px 0 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out 0.3s both;
}

.achievement-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
    margin: 8px 0;
    animation: slideUp 0.4s ease-out 0.4s both;
}

.achievement-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0 24px;
    animation: slideUp 0.4s ease-out 0.5s both;
}

.celebration-button {
    display: block;
    margin: 0 auto;   
    background: white;
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
    padding: 16px 32px;
    border-radius: 12px;    
    border: none;
    cursor: pointer;
    animation: slideUp 0.4s ease-out 0.6s both;
    transition: transform 0.2s ease;
}

.celebration-button:hover {
    transform: scale(1.05);
}

.celebration-button:active {
    transform: scale(0.95);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes celebrationBounce {
    0% {
        transform: scale(0.3) translateY(-50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes iconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}
