.gift-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.gift-modal-content {
    background: #1a1a1a;
    width: 100%;
    max-width: 500px;
    border-radius: 24px 24px 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    max-height: 55vh;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.gift-header {
    padding: 12px 20px;
    background: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.gift-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.gift-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    overflow-y: auto;
    flex: 1;
}

.gift-card {
    background: #262626;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.gift-card:hover {
    transform: scale(1.05);
    background: #333;
}

.gift-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.gift-card .price {
    font-size: 0.75rem;
    color: #fbbf24;
    font-weight: 700;
}

.gift-card.locked {
    opacity: 0.6;
    filter: grayscale(1);
    position: relative;
    cursor: default;
}

.gift-card.locked:hover {
    transform: none;
    background: #262626;
}

.gift-card.locked::before {
    content: "🔒";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    z-index: 5;
}

.gift-card .req-text {
    font-size: 0.55rem;
    color: #ef4444;
    font-weight: 800;
    margin-top: 2px;
}

.player-gifts-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 20;
}

.mini-gift {
    position: absolute;
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    animation: giftBounce 2s infinite ease-in-out;
}

@keyframes giftBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Quick Send Minimalist Overrides */
.gift-modal.quick-mode {
    background: transparent !important;
    backdrop-filter: none !important;
}
.gift-modal.quick-mode .gift-modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
