/* LIVE DROPS TICKER - ULTRA PREMIUM */
.live-drops-container { flex: 1; overflow: hidden; position: relative; margin-right: 24px; padding: 4px 0; }

/* Edge fades so drops seem to appear/disappear smoothly into the background */
.live-drops-container::before { 
  content: ''; position: absolute; left: 0; top:0; bottom:0; width: 80px; 
  background: linear-gradient(to right, var(--bg-panel) 0%, transparent 100%); z-index: 2; pointer-events: none;
}
.live-drops-container::after { 
  content: ''; position: absolute; right: 0; top:0; bottom:0; width: 80px; 
  background: linear-gradient(to left, var(--bg-panel) 0%, transparent 100%); z-index: 2; pointer-events: none;
}

.live-drops-track { display: flex; width: max-content; animation: scroll-left 180s linear infinite; }
.drops-group { display: flex; gap: 16px; padding-right: 16px; }
.live-drops-container:hover .live-drops-track { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Professional Drop Item Card */
.drop-item {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 16px 8px 8px; border-radius: 8px; 
  min-width: max-content;
  cursor: pointer; transition: var(--transition-fast);
  /* removed overflow: hidden so tooltip can show */
}
.drop-item:hover { 
  background: rgba(255, 255, 255, 0.05); 
  border-color: rgba(255, 255, 255, 0.1); 
  transform: translateY(-1px);
}

/* Subtle glow inside the drop item based on rarity */
.drop-glow {
  position: absolute; top: 0; bottom: 0; left: 0; width: 40px;
  opacity: 0.15; filter: blur(10px); z-index: 0;
}
.drop-item.rarity-legendary .drop-glow { background: var(--accent-pink); }
.drop-item.rarity-mythical .drop-glow { background: var(--accent-purple); }
.drop-item.rarity-rare .drop-glow { background: var(--accent-blue); }
.drop-item.rarity-immortal .drop-glow { background: var(--accent-gold); }

/* The icon box */
.drop-img {
  position: relative; z-index: 1;
  width: 38px; height: 38px; border-radius: 6px; 
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.2);
}
.drop-img i { font-size: 20px; opacity: 0.9; }

/* Rarity specific colors on icon */
.drop-item.rarity-legendary .drop-img i { color: var(--accent-pink); filter: drop-shadow(0 0 5px var(--accent-pink)); }
.drop-item.rarity-mythical .drop-img i { color: var(--accent-purple); filter: drop-shadow(0 0 5px var(--accent-purple)); }
.drop-item.rarity-rare .drop-img i { color: var(--accent-blue); }
.drop-item.rarity-immortal .drop-img i { color: var(--accent-gold); filter: drop-shadow(0 0 5px var(--accent-gold));}

.drop-info { display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.drop-name { font-size: 13px; font-weight: 700; color: #E2E8F0; letter-spacing: 0.2px;}
.drop-price { font-size: 11px; color: #94A3B8; font-weight: 500; font-family: var(--font-secondary); margin-top: 2px;}



.sidebar, .topbar, .chat-sidebar {
  border-color: rgba(255,255,255,0.03) !important;
}

/* Chat Admin Styles */
.msg-name.admin-text {
  color: #ff3366 !important;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}
.msg-name .lvl-badge.ADMIN {
  background: linear-gradient(135deg, #ff3366, #ff0044);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 51, 102, 0.5);
  margin-left: 6px;
}

/* Mod Styles */
.msg-name.mod-text {
  color: #00d2ff !important;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}
.msg-name .lvl-badge.MOD {
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 210, 255, 0.5);
  margin-left: 6px;
}

/* Bot Styles */
.msg-name.bot-text {
  color: #c7d2fe !important;
  font-weight: 700;
}
.msg-name .lvl-badge.BOT {
  background: #312e81;
  color: #c7d2fe;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 6px;
}

/* Chat Context Menu */
.chat-context-menu {
  position: fixed;
  background: #111520;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 1000;
  min-width: 150px;
}
.chat-context-menu button, .chat-context-menu a {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 8px 16px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-main);
}
.chat-context-menu button:hover, .chat-context-menu a:hover {
  background: rgba(255,255,255,0.05);
}
.chat-context-menu .ban-btn {
  color: #ff3366;
}


/* GIVEAWAYS SECTION - ULTRA COMPACT NARROW CARD & LARGER SKIN IMAGE */
.giveaways-section {
    margin-top: -24px !important;
    margin-bottom: -24px !important;
}
.giveaways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 1200px) {
    .giveaways-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .giveaways-grid { grid-template-columns: 1fr; }
}

.giveaway-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 8px 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.giveaway-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7), 0 0 15px rgba(124, 58, 237, 0.12);
}

.giveaway-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.giveaway-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}
.giveaway-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.giveaway-type-free .giveaway-badge { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border-color: rgba(59, 130, 246, 0.25); }
.giveaway-type-daily .giveaway-badge { background: rgba(34, 197, 94, 0.12); color: #4ade80; border-color: rgba(34, 197, 94, 0.25); }
.giveaway-type-weekly .giveaway-badge { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border-color: rgba(245, 158, 11, 0.25); }
.giveaway-type-monthly .giveaway-badge { background: rgba(236, 72, 153, 0.12); color: #f472b6; border-color: rgba(236, 72, 153, 0.25); }

.giveaway-entries-count {
    font-size: 10px;
    color: #64748b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}

.giveaway-body {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 4px 0;
    z-index: 2;
}
.giveaway-img-wrap {
    width: 95px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.giveaway-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
    transition: transform 0.25s ease;
}
.giveaway-card:hover .giveaway-img {
    transform: scale(1.08) rotate(-2deg);
}

.giveaway-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.giveaway-item-name {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.giveaway-price-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.giveaway-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    z-index: 2;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.giveaway-timer-grid {
    display: flex;
    gap: 3px;
}
.timer-box {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2px 5px;
    text-align: center;
    min-width: 22px;
}
.timer-val {
    color: #f8fafc;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    display: block;
}
.timer-lbl {
    color: #64748b;
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1px;
    display: block;
}

/* BUTTON STYLING - ELEGANT DEEP PURPLE (NOT SCREAMING NEON) */
.btn-giveaway-action {
    flex: 1;
    height: 28px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.btn-giveaway-action:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}
.btn-giveaway-action.joined {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
    box-shadow: none;
    cursor: default;
}
.giveaway-winner-badge {
    flex: 1;
    padding: 4px 6px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    font-size: 9px;
    font-weight: 800;
    border-radius: 6px;
    text-align: center;
}
