/* =========================================
   VIEW 1: DASHBOARD LOBBY (KASTIL & MONSTER)
   ========================================= */
.dashboard-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: 
    linear-gradient(180deg, rgba(10,14,22,0.85) 0%, rgba(10,14,22,0.15) 22%, rgba(0,0,0,0) 65%, rgba(12,18,14,0.9) 100%),
    radial-gradient(circle at 72% 32%, rgba(255, 255, 255, 0.5) 0%, rgba(135, 206, 250, 0.2) 35%, transparent 60%),
    linear-gradient(180deg, #4da6ff 0%, #99d6ff 48%, #4b8b3b 52%, #234d1e 82%, #132615 100%);
  overflow: hidden;
}

.scenery-castle {
  position: absolute;
  top: 12%;
  right: 12%;
  width: 120px;
  height: 170px;
  background: linear-gradient(180deg, rgba(120, 155, 195, 0.55), rgba(90, 125, 165, 0.25));
  clip-path: polygon(20% 100%, 20% 45%, 10% 45%, 25% 25%, 35% 45%, 35% 30%, 50% 5%, 65% 30%, 65% 40%, 78% 20%, 90% 40%, 82% 40%, 82% 100%);
  pointer-events: none;
}

.scenery-ruins-left {
  position: absolute;
  top: 38%;
  left: 0;
  width: 95px;
  height: 75px;
  background: rgba(58, 74, 58, 0.85);
  clip-path: polygon(0 20%, 85% 20%, 100% 35%, 90% 35%, 90% 100%, 75% 100%, 75% 55%, 60% 55%, 60% 100%, 45% 100%, 45% 55%, 30% 55%, 30% 100%, 0 100%);
  pointer-events: none;
}

.main-stage {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  z-index: 5;
}

.stage-top-overlays {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 20;
}

.left-overlay {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.player-banner {
  display: flex;
  align-items: center;
  background: rgba(15, 18, 25, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 5px 12px 5px 6px;
  gap: 8px;
  position: relative;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: transform 0.1s, border-color 0.2s;
}
.player-banner:hover { border-color: #fbbf24; }
.player-banner:active { transform: scale(0.97); }

.guild-shield {
  width: 34px;
  height: 38px;
  background: linear-gradient(135deg, #dc2626 50%, #f8fafc 50%);
  border: 2px solid #fbbf24;
  border-radius: 4px 4px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.player-names { line-height: 1.25; }
.guild-tag { font-size: 12px; font-weight: 800; color: #4ade80; text-shadow: 0 1px 2px #000; }
.warlord-name { font-size: 13px; font-weight: 700; color: #facc15; text-shadow: 0 1px 2px #000; }

.notif-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 6px;
  border: 1px solid #fff;
}

/* MENU VERTIKAL KIRI */
.menu-side-container {
  position: absolute;
  top: 56px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  z-index: 25;
}

.side-menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  animation: slideDownMenu 0.18s ease-out;
}

@keyframes slideDownMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.side-icon-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; position: relative; }
.side-icon-item:active { transform: scale(0.92); }

.side-icon-art {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  box-shadow: 0 3px 6px rgba(0,0,0,0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.art-event { background: radial-gradient(circle, #f472b6, #831843); }
.art-mission { background: radial-gradient(circle, #fef08a, #a16207); }
.art-giftbox { background: radial-gradient(circle, #fb923c, #9a3412); }
.art-roulette { background: conic-gradient(#ef4444, #eab308, #22c55e, #3b82f6, #ef4444); border-radius: 50%; border: 2px solid #fde047; }
.art-mines { background: radial-gradient(circle, #94a3b8, #334155); }
.art-vip { background: linear-gradient(180deg, #38bdf8 0%, #1d4ed8 100%); border-radius: 6px 6px 20px 20px; border: 2px solid #fde047; flex-direction: column; line-height: 1; }
.art-logout { background: radial-gradient(circle, #ef4444, #7f1d1d); }
.vip-top-text { font-size: 9px; font-weight: 900; color: #fef08a; text-shadow: 0 1px 2px #000; letter-spacing: 0.5px; }

.side-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 5px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-icon-label {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  line-height: 1.05;
  margin-top: 2px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0px 2px 3px #000;
}

.menu-toggle-wrap { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.menu-label { font-size: 11px; font-weight: 800; color: #fff; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; margin-bottom: 2px; }
.menu-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #374151, #111827);
  border: 2px solid #9ca3af;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  position: relative;
  box-shadow: 0 3px 8px rgba(0,0,0,0.75);
}
.menu-dot { position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; background: #ef4444; border-radius: 50%; border: 1px solid #fff; }

/* KANAN ATAS */
.right-overlay { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.limited-banner {
  width: 118px;
  height: 46px;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border: 2px solid #fef08a;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}
.limited-tag { position: absolute; top: 3px; left: 3px; background: #b91c1c; color: #fff; font-size: 8px; font-weight: 800; padding: 1px 4px; border-radius: 3px; border: 1px solid #fca5a5; }
.gift-pill { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 20px; font-size: 11px; font-weight: 800; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,0.5); }
.gift-pill.free { background: linear-gradient(180deg, #fef08a 0%, #eab308 100%); border: 2px solid #713f12; color: #422006; }
.gift-pill.ad { background: linear-gradient(180deg, #9ca3af 0%, #4b5563 100%); border: 2px solid #e5e7eb; color: #ffffff; }
.gift-clock { width: 20px; height: 20px; border-radius: 50%; background: #1e1b4b; color: #c084fc; display: flex; align-items: center; justify-content: center; font-size: 11px; border: 1px solid #fbbf24; }

/* SHOWCASE MONSTER */
.monster-showcase { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; margin-top: -10px; z-index: 5; }
.monster-sprite { animation: floatMonster 3s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(244, 114, 182, 0.65)); cursor: pointer; }
@keyframes floatMonster { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.monster-shadow { width: 75px; height: 16px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%); border-radius: 50%; margin-top: 8px; }
.carousel-dots { display: flex; gap: 8px; margin-top: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.dot.active { background: #ffffff; box-shadow: 0 0 6px #fff; }
.chat-fab { position: absolute; right: 12px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(17, 24, 39, 0.85); border: 1px solid #6b7280; color: #e5e7eb; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; }
