/* ---- Angel Card shimmer effect on regular card ---- */
.angel-card-glow-li {
    z-index: 50 !important;
    position: relative;
}
img.angel-card-glow {
    animation: angel-pulse 1.8s ease-in-out infinite;
    border: 3px solid #FFD700 !important;
    border-radius: 6px;
}
@keyframes angel-pulse {
    0%, 100% { box-shadow: 0 0 15px 6px rgba(255, 215, 0, 0.6); }
    50% { box-shadow: 0 0 35px 12px rgba(255, 215, 0, 1); }
}

/* ---- Angel Card discovery overlay ---- */
.angel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}
.angel-overlay.visible {
    display: flex;
    animation: angel-fade-in 0.5s ease;
}
@keyframes angel-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.angel-overlay .angel-card-reveal {
    animation: angel-zoom-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes angel-zoom-in {
    0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
    60% { transform: scale(1.1) rotate(2deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.angel-overlay .angel-card-img {
    width: 160px;
    border-radius: 8px;
    border: 3px solid #FFD700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5), 0 0 80px rgba(255, 215, 0, 0.2);
}

.angel-overlay .angel-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.angel-overlay .angel-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFD700;
    border-radius: 50%;
    animation: angel-float 3s ease-out infinite;
}
@keyframes angel-float {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-200px) scale(0); opacity: 0; }
}

.angel-overlay .angel-text {
    margin-top: 28px;
    animation: angel-text-in 0.6s ease 0.5s both;
}
@keyframes angel-text-in {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.angel-overlay .angel-title {
    font-size: 14px;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 12px;
}
.angel-overlay .angel-card-name {
    font-size: 28px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 8px;
}
.angel-overlay .angel-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}
.angel-overlay .angel-message {
    font-size: 16px;
    color: #ccc;
    font-style: italic;
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 28px;
}
.angel-overlay .angel-btn {
    display: inline-block;
    background: #FFD700;
    color: #1a1a2e;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background .2s;
}
.angel-overlay .angel-btn:hover {
    background: #ffe44d;
}
.angel-overlay .angel-btn-secondary {
    display: block;
    margin-top: 12px;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

/* ---- Angel Cards collection page ---- */
.angel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
    margin: 30px 0;
}
.angel-grid-card {
    text-align: center;
    position: relative;
}
.angel-grid-card img {
    width: 100%;
    border-radius: 6px;
    transition: transform .2s;
}
.angel-grid-card.found img {
    border: 2px solid #FFD700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
    cursor: pointer;
}
.angel-grid-card.found img:hover {
    transform: scale(1.05);
}
.angel-grid-card.locked img {
    filter: grayscale(1) brightness(0.3);
    opacity: 0.5;
}
.angel-grid-card .angel-grid-name {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
}
.angel-grid-card.found .angel-grid-name {
    color: #FBF5D2;
}
.angel-grid-card .angel-grid-date {
    font-size: 10px;
    color: #666;
}

.angel-progress {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    height: 12px;
    margin: 20px 0;
    overflow: hidden;
}
.angel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 20px;
    transition: width 1s ease;
}

@media (max-width: 640px) {
    .angel-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .angel-overlay .angel-card-img { width: 120px; }
    .angel-overlay .angel-card-name { font-size: 22px; }
    .angel-overlay .angel-message { font-size: 14px; }
}
