:root {
  --bg-color: #fcf9f2;
  --card-dark: #1e3a34;
  --card-gold: #c5a363;
  --card-blue: #b4c6d0;
  --text-main: #0b1a16;
}

.container {
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.stream-logo {
  height: 35px;
  width: auto;
}
.support-icon {
  width: 45px;
  height: 45px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.support-icon i {
  color: var(--card-dark);
  font-size: 22px;
}

/* PROFILE SECTION */
.dashboard-profile {
  background: white;
  padding: 18px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}
.welcome-msg h2 {
  margin: 0;
  font-size: 16px;
  color: #777;
  font-weight: 500;
}
.welcome-msg p {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 700;
}
.user-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.status-inactive {
  background: #ffeded;
  color: #d32f2f;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid #ffcdd2;
}

/* WALLET STACK */
.wallet-stack {
  position: relative;
  height: 320px;
  margin-bottom: 10px;
}
.wallet-card {
  position: absolute;
  width: 100%;
  border-radius: 25px;
  padding: 22px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.c-collab {
  background: var(--card-gold);
  top: 0;
  height: 160px;
  z-index: 1;
  color: #fff;
}
.c-partner {
  background: var(--card-blue);
  top: 45px;
  height: 160px;
  z-index: 2;
  color: #fff;
}
.c-main {
  background: var(--card-dark);
  top: 95px;
  height: 200px;
  z-index: 3;
  color: #fff;
  box-shadow: 0 15px 35px rgba(30, 58, 52, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.card-val {
  font-size: 20px;
  font-weight: bold;
  text-align: right;
}
.main-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}
.main-val {
  font-size: 32px;
  font-weight: bold;
}
.eye-toggle {
  cursor: pointer;
  font-size: 22px;
  opacity: 0.7;
  padding: 5px;
}

/* ACTIVATION ALERT */
.activation-alert {
  background: rgba(244, 166, 34, 0.1);
  padding: 15px;
  border: 1px dashed #f4a622;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 25px;
}
.alert-text {
  font-size: 13px;
  margin-bottom: 10px;
  color: #555;
  line-height: 1.4;
}
.alert-btn {
  background: #f4a622;
  color: #0b1a16;
  border: none;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  font-weight: bold;
  cursor: pointer;
}

/* QUICK ACTIONS */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.action-item {
  background: white;
  padding: 15px 10px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.action-item i {
  font-size: 28px;
  color: #0a3d62;
  margin-bottom: 8px;
}
.action-item p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

/* MODALS & NAV */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  z-index: 9999;
}
.modal-box {
  background: #fff;
  width: 85%;
  max-width: 380px;
  padding: 20px;
  border-radius: 20px;
}
.modal-box.fortune-style {
  background-color: #fdf59c;
  border-radius: 30px;
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.fortune-style h3 {
  color: #5d140b;
  font-size: 26px;
  font-weight: 800;
}
.activate-btn.fortune-btn {
  background-color: #a30e0e;
  color: #ffffff;
  border-radius: 25px;
  padding: 18px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  width: 100%;
  cursor: pointer;
  margin-top: 15px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #1e3a34;
  padding: 12px 0;
  display: flex;
  justify-content: space-around;
  z-index: 9000;
}
.nav-item {
  color: white;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
}
.nav-item i {
  font-size: 22px;
}
.nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 12px;
}

/* LIVE NOTIFICATION */
.stream-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 92%;
  max-width: 380px;
  background: #fff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1.5px solid #1e3a34;
}
.stream-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}
.live-tag {
  position: absolute;
  top: -10px;
  left: 20px;
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 5px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
