.game-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    border-radius: 12px;
    padding: 15px;
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: slideInRight 0.5s ease-out;
    min-width: 250px;
    display: flex;

    border: 1px solid #2f6091;
    background: rgba(22, 100, 163, 0.1);
    backdrop-filter: blur(10px);
}

.game-toast.winner { border-color: #4d9ff1; background: rgba(22, 163, 74, 0.1); backdrop-filter: blur(10px); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-content { display: flex; align-items: center; gap: 12px; width: 100%; }
.toast-title { font-weight: 800; color: #fff; font-size: 14px; }
.toast-desc { font-size: 12px; color: var(--text-muted); }
.toast-link {
    margin-left: auto;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
}

/* Other notifications */
.general-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 300px;
    padding: 15px 20px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: toastSlideIn 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    display: flex;
    align-items: center;
}

.general-notification.success { border-left: 4px solid #4ADE80; }
.general-notification.error { border-left: 4px solid #F87171; }

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 600;
}

@keyframes toastSlideIn {
    from { top: -100px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

/* Du har redan fade-out i game-toast, men för säkerhets skull: */
.fade-out {
    opacity: 0;
    transform: translate(-50%, -20px);
    transition: all 0.5s ease;
}

/* champion */
.champion-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.champion-popup-content {
    background: #1a2c38; /* Matchar ditt mörka tema */
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--accent);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.3);
    max-width: 350px;
    animation: popupBounce 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

.confetti-icon { font-size: 60px; }

@keyframes popupBounce {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}



/* NY */
.result-title {
    font-size: 32px;
    font-weight: 800;
    margin: 20px 0 5px 0;
    text-transform: uppercase;
}
.result-sub { font-size: 16px; color: #FBBF24; font-weight: 600; margin-bottom: 20px; }
.result-body { padding: 20px; }
.win-amount { font-size: 32px; color: var(--accent); font-weight: 800; display: block; margin: 10px 0; }

.modal-close {
    position: absolute;
    top: 10px; right: 15px;
    background: none; border: none;
    color: #9CA3AF;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 12px;
    color: #888;
    align-items: center;
}
.icon-box { width: 30px; height: 30px; background: #333; border-radius: 6px; display:flex; align-items:center; justify-content:center;}

.socialmedia-icon { width: 30px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.champion-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Mörkare för mer fokus */
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}

.champion-popup-content {
    background: #111827; /* Samma som dina andra modaler */
    border: 2px solid var(--accent);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.3);
    text-align: center;
    animation: championPopIn 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

@keyframes championPopIn {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.champion-popup-content .modal-close {
    position: absolute;
    top: 10px; right: 15px;
    background: none; border: none;
    color: #9CA3AF;
    font-size: 28px;
    cursor: pointer;
}