/* ==========================================================================
   1. OYUN İÇİ BİLDİRİM SİSTEMİ (HUD TOAST NOTIFICATIONS)
   ========================================================================== */
.game-toast-container {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10000000 !important;
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
  max-width: 480px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.game-toast-item {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(26, 38, 64, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.75), 0 0 20px rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  color: #f8fafc;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: gameToastSlideIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.game-toast-item.toast-out {
  opacity: 0;
  transform: translateX(110%);
}

@keyframes gameToastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Toast Type Accents */
.game-toast-item.type-match {
  border-left: 5px solid #10b981;
}
.game-toast-item.type-sponsor {
  border-left: 5px solid #f59e0b;
}
.game-toast-item.type-transfer {
  border-left: 5px solid #8b5cf6;
}
.game-toast-item.type-warning {
  border-left: 5px solid #ef4444;
}
.game-toast-item.type-info {
  border-left: 5px solid #38bdf8;
}
.game-toast-item.type-treat {
  border-left: 5px solid #ec4899;
}

.toast-icon-wrap {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.toast-content-wrap {
  flex: 1;
  min-width: 0;
}

.toast-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.toast-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.toast-time-tag {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.toast-message {
  font-size: 13.5px;
  line-height: 1.45;
  color: #e2e8f0;
  margin: 0 0 8px 0;
  word-break: break-word;
}

.toast-action-btn {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.toast-action-btn:hover {
  background: rgba(56, 189, 248, 0.28);
  color: #ffffff;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}
.toast-close-btn:hover {
  color: #ffffff;
}

.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  width: 100%;
  transform-origin: left center;
}
