/* Apex Legends Notification Styles */
.apex-notification {
    position: fixed;
    z-index: 10000;
    width: 350px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid #ff6347;
    padding: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(100px);
    opacity: 0;
}

.apex-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.apex-notification.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.apex-notification.bottom-left {
    bottom: 30px;
    left: 30px;
}

.apex-notification.bottom-right {
    bottom: 30px;
    right: 30px;
}

.apex-notification.top-left {
    top: 30px;
    left: 30px;
}

.apex-notification.top-right {
    top: 30px;
    right: 30px;
}

.apex-notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.notification-close {
    position: absolute;
    top: -10px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.notification-avatar {
    flex-shrink: 0;
}

.booster-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6347;
}

.notification-details {
    flex: 1;
    min-width: 0;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.booster-name {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.status-badge {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.ongoing {
    background: linear-gradient(135deg, #ff6347, #ff4500);
}

.notification-ranks {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rank-from, .rank-to {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.arrow {
    color: #ff6347;
    font-weight: bold;
    font-size: 14px;
}

.notification-meta {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .apex-notification {
        width: calc(100vw - 40px);
        max-width: 320px;
        left: 20px !important;
        right: 20px !important;
    }
    
    .apex-notification.bottom-right,
    .apex-notification.top-right {
        right: 20px;
        left: auto;
    }
    
    .notification-details {
        font-size: 13px;
    }
    
    .booster-name {
        font-size: 13px;
    }
}

/* Hover Effects */
.apex-notification:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* Apex Legends specific styling */
.apex-notification {
    border-image: linear-gradient(45deg, #ff6347, #ff4500) 1;
}

.apex-notification::before {
    content: "🎯";
    position: absolute;
    top: -5px;
    left: 15px;
    font-size: 16px;
    background: white;
    padding: 0 5px;
}