/* =========================================
   🃏 CARD.CSS - SIMPLE VERSION (No Shop)
   ========================================= */

/* --- 1. Main Modal & Card Structure --- */
.card-modal {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.artist-card {
    width: 300px;
    height: 480px;
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 20px;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #333;
    text-align: center;
    
    transform-style: preserve-3d;
    opacity: 0; 

    /* Simple Pop Animation */
    animation: popInCard 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Holographic Glow Effect */
.artist-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    background: linear-gradient(125deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0) 60%);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.artist-card:hover::before { opacity: 1; }

@keyframes popInCard {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- 2. Header & Avatar --- */
.card-header { position: relative; margin-bottom: 20px; }

.avatar-frame {
    position: relative;
    width: 110px; height: 110px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    background: #222;
}

.card-profile-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.frame-base {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
}

.frame-wood { border-color: #8d6e63; box-shadow: inset 0 0 5px rgba(0,0,0,0.5); }
.frame-silver { border-color: #cfd8dc; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%); box-shadow: 0 0 10px rgba(207, 216, 220, 0.5); }
.frame-gold { 
    border-color: #ffd700;
    background: linear-gradient(135deg, transparent 40%, rgba(255,236,179,0.6) 50%, transparent 60%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: shineGold 3s infinite linear;
}

@keyframes shineGold {
    0% { box-shadow: 0 0 10px #ffd700; }
    50% { box-shadow: 0 0 25px #ffecb3; }
    100% { box-shadow: 0 0 10px #ffd700; }
}

.card-badge {
    position: absolute; bottom: 0; right: 5px;
    background: #ff4444; color: white;
    font-size: 0.7rem; padding: 2px 8px;
    border-radius: 10px; border: 2px solid #1e1e1e;
    z-index: 5; font-weight: bold;
}

/* --- 3. Text & Stats --- */
.card-name { font-size: 1.4rem; font-weight: bold; margin: 5px 0 0; color: white; }
.card-title { font-size: 0.8rem; color: var(--accent-color); letter-spacing: 1px; text-transform: uppercase; }

.card-stats {
    display: flex; justify-content: space-around;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 10px; margin-bottom: 20px;
}
.stat-box h4 { margin: 0; font-size: 1.1rem; color: white; }
.stat-box p { margin: 0; font-size: 0.7rem; color: #888; text-transform: uppercase; }

/* --- 4. Bio Box --- */
.card-bio-box {
    background: #2a2a2a;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px dashed #444;
    position: relative;
    cursor: pointer;
    transition: 0.2s;
}
.card-bio-box:hover { border-color: var(--accent-color); background: #333; }
.card-bio-text { 
    font-family: 'Courier New', monospace; 
    font-size: 0.9rem; color: #ccc; 
    word-wrap: break-word; overflow-wrap: break-word;
}
.copy-hint { position: absolute; right: 5px; bottom: 5px; font-size: 0.7rem; color: var(--accent-color); opacity: 0.5; }

/* --- 5. Controls --- */
.card-close {
    position: absolute; top: 15px; right: 15px;
    background: none; border: none; color: #666; font-size: 1.5rem;
    cursor: pointer; z-index: 20; transition: 0.2s;
}
.card-close:hover { color: #ff6b6b; transform: scale(1.1); }

/* --- 6. Edit Inputs --- */
.card-input-name {
    background: transparent; border: none; border-bottom: 2px dashed #666;
    color: white; font-size: 1.2rem; font-weight: bold; text-align: center; width: 80%; margin-top: 10px; outline: none; transition: 0.3s;
}
.card-input-name:focus { border-bottom-color: var(--accent-color); }

.card-input-bio {
    background: transparent; border: none; color: #ccc; font-family: 'Courier New', monospace;
    font-size: 0.9rem; width: 100%; text-align: center; resize: none; outline: none;
}
.edit-photo-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5);
    border-radius: 50%; display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; cursor: pointer; z-index: 10; font-size: 1.5rem;
}
.avatar-frame:hover .edit-photo-overlay { opacity: 1; }