/* ============================================
   NOTIFICAÇÕES
   ============================================ */

#notifications-area {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    z-index: 500;
}

.hud-notification {
    background: rgba(10, 10, 20, 0.92);
    color: #fff;
    padding: 10px 28px;
    border-radius: 30px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    animation: notifIn 0.3s ease-out, notifOut 0.4s ease-in 2.6s forwards;
    white-space: nowrap;
}

@keyframes notifIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes notifOut {
    to { opacity: 0; transform: translateY(-10px); }
}


/* ============================================
   HUD ANTIGO - OCULTAR
   ============================================ */
#game-hud-bottom { display: none !important; }


/* ============================================
   HUD BARRA INFERIOR - CENTRALIZADA
   ============================================ */

#game-hud-bottom {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 480px;
    min-width: 160px;
    height: 52px;
    background: rgba(8, 8, 16, 0.92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-family: 'Ubuntu', sans-serif;
    z-index: 100;
    pointer-events: none;
    gap: 6px;
}

/* Divisor vertical */
#game-hud-bottom .hud-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Seções */
.hud-section {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

/* ---- Level + XP ---- */
.hud-level-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 14px;
    background: rgba(0, 180, 255, 0.08);
    border: 1px solid rgba(0, 180, 255, 0.2);
    border-radius: 10px;
    min-width: 110px;
    gap: 4px;
}

.hud-level-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-level-icon { font-size: 18px; line-height: 1; }

.hud-level-text {
    font-size: 15px;
    font-weight: 700;
    color: #60c8ff;
    letter-spacing: 0.3px;
}

.hud-level-text span {
    font-size: 20px;
    color: #fff;
}

.hud-xp-bar-mini {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.hud-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #0099ff, #00d4ff);
    border-radius: 2px;
    transition: width 0.4s ease;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.7);
}

.hud-xp-text-mini {
    position: absolute;
    top: -13px;
    right: 0;
    font-size: 8px;
    color: #666;
    white-space: nowrap;
}

/* ---- Stat item (moedas, massa) ---- */
.hud-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
}

.hud-icon { font-size: 20px; line-height: 1; }

.hud-data {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hud-label-small {
    font-size: 8px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.hud-value-large {
    font-size: 17px;
    font-weight: 700;
    color: #e8e8e8;
    line-height: 1;
}

/* ---- Poder ativo ---- */
.hud-power-active {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    background: rgba(0, 255, 120, 0.07);
    border: 1px solid rgba(0, 255, 120, 0.25);
    border-radius: 10px;
    animation: powerGlow 2.5s ease-in-out infinite;
}

@keyframes powerGlow {
    0%, 100% { border-color: rgba(0, 255, 120, 0.25); box-shadow: none; }
    50%       { border-color: rgba(0, 255, 120, 0.55); box-shadow: 0 0 14px rgba(0, 255, 120, 0.2); }
}

.hud-power-icon-large { font-size: 28px; line-height: 1; }

.hud-power-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hud-power-name-large {
    font-size: 11px;
    font-weight: 700;
    color: #00ff88;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hud-power-duration-text {
    font-size: 10px;
    color: #666;
}

/* ---- Evento ---- */
.hud-event-mini {
    padding: 7px 16px;
    background: rgba(255, 80, 0, 0.15);
    border: 1px solid rgba(255, 120, 0, 0.4);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    color: #ff9040;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    animation: eventPulse 1.8s ease-in-out infinite;
}

@keyframes eventPulse {
    0%, 100% { opacity: 0.85; }
    50%       { opacity: 1; }
}

/* ---- Stats mini (kills, tempo, fps) ---- */
.hud-stats-mini {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hud-stat-mini {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hud-stat-mini-icon { font-size: 15px; line-height: 1; }

.hud-stat-mini-value {
    font-size: 14px;
    font-weight: 600;
    color: #bbb;
}

/* Responsivo */
@media (max-width: 900px) {
    #game-hud-bottom { min-width: 360px; height: 54px; padding: 0 12px; }
    .hud-level-container { min-width: 88px; padding: 5px 10px; }
    .hud-item { padding: 5px 9px; }
    .hud-value-large { font-size: 15px; }
    .hud-level-text span { font-size: 17px; }
}

@media (max-width: 600px) {
    #game-hud-bottom { min-width: unset; width: calc(100% - 24px); bottom: 10px; border-radius: 12px; }
    .hud-label-small { display: none; }
    .hud-stats-mini .hud-stat-mini:last-child { display: none; }
    #game-hud-bottom { gap: 4px; padding: 0 8px; }
}


/* ============================================
   BOTÃO DA LOJA
   ============================================ */

#shop-button {
    position: fixed;
    top: 50%;
    left: 16px;
    margin-top: -26px;
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1.5px solid rgba(0, 180, 255, 0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 200;
    pointer-events: all;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    flex-direction: column;
    gap: 1px;
}

#shop-button:hover {
    transform: scale(1.08);
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 6px 24px rgba(0, 180, 255, 0.35);
}

.shop-icon { line-height: 1; }

.shop-badge {
    font-size: 9px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    color: #ffd700;
    line-height: 1;
    letter-spacing: 0.3px;
}

#team-quick-button {
    position: fixed;
    top: 50%;
    left: 16px;
    margin-top: 34px;
    width: 52px;
    height: 52px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(8, 10, 24, 0.35);
    color: rgba(255, 255, 255, 0.92);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    pointer-events: all;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#team-quick-button:hover {
    transform: scale(1.08);
    border-color: rgba(0, 212, 255, 0.55);
    background: rgba(8, 10, 24, 0.58);
}

.team-quick-icon {
    position: relative;
    width: 25px;
    height: 25px;
    font-size: 0;
}

.team-quick-icon::before,
.team-quick-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    transform: translateX(-50%);
}

.team-quick-icon::before {
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: -9px 5px 0 -2px rgba(255,255,255,0.92), 9px 5px 0 -2px rgba(255,255,255,0.92);
}

.team-quick-icon::after {
    bottom: 3px;
    width: 20px;
    height: 9px;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

#team-quick-panel {
    position: fixed;
    top: 50%;
    left: 80px;
    margin-top: 28px;
    width: 230px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(8, 10, 24, 0.94);
    color: #eef3ff;
    z-index: 220;
    pointer-events: all;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5);
}

.team-quick-head {
    color: #eaf2ff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.team-quick-empty {
    color: #a7a7b5;
    font-size: 12px;
}

.team-quick-members {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.team-quick-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
}

.team-quick-member span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-quick-member small {
    flex: 0 0 auto;
    color: #8e96ad;
}

.team-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.team-quick-actions button {
    min-height: 30px;
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.08);
    color: #dfefff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.team-quick-actions button:disabled {
    opacity: 0.4;
    cursor: default;
}

#chat-channel-toggle {
    position: fixed;
    left: calc(50% + 208px);
    bottom: 16px;
    min-width: 74px;
    height: 36px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 8px;
    background: rgba(8, 10, 24, 0.88);
    color: #00d4ff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    font-weight: 800;
    z-index: 200;
    pointer-events: all;
    cursor: pointer;
}

#chat-channel-toggle.team {
    border-color: rgba(95, 160, 255, 0.6);
    background: rgba(24, 52, 92, 0.9);
    color: #b8d7ff;
}

#chat-voice-btn {
    position: fixed;
    left: calc(50% + 166px);
    bottom: 16px;
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 201;
    cursor: pointer;
    border-radius: 8px;
    background: rgba(8, 10, 24, 0.88);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #00d4ff;
    font-size: 16px;
    transition: all 0.2s;
}

#chat-voice-btn.recording {
    border-color: #ff4b00;
    color: #ff4b00;
    animation: voicePulse 1s infinite;
}

@keyframes voicePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 0, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 75, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 0, 0); }
}


/* ============================================
   MODAL DA LOJA
   ============================================ */

#shop-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    pointer-events: all;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.shop-modal-content {
    background: #0d0d1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 28px 28px 24px;
    width: min(860px, 92vw);
    max-height: 82vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    font-family: 'Ubuntu', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.shop-modal-content::-webkit-scrollbar { width: 5px; }
.shop-modal-content::-webkit-scrollbar-track { background: transparent; }
.shop-modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

@keyframes modalSlideIn {
    from { transform: translateY(-24px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* Header */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.shop-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-close {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: #888;
    transition: all 0.2s ease;
    line-height: 1;
}

.shop-close:hover {
    background: rgba(255, 60, 60, 0.15);
    border-color: rgba(255, 60, 60, 0.4);
    color: #ff6060;
}

/* Saldo */
.shop-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.07);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
}

.shop-balance-icon { font-size: 20px; }

.shop-balance-text {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.shop-balance-text span {
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
}

/* Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

/* Card de poder */
.shop-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.shop-item:not(.disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

/* Raridade */
.shop-item.common  { border-color: rgba(80, 220, 80, 0.2); }
.shop-item.rare    { border-color: rgba(60, 160, 255, 0.25); }
.shop-item.epic    { border-color: rgba(200, 80, 255, 0.3); }

.shop-item.common:not(.disabled):hover  { border-color: rgba(80, 220, 80, 0.5); box-shadow: 0 8px 28px rgba(80, 220, 80, 0.1); }
.shop-item.rare:not(.disabled):hover    { border-color: rgba(60, 160, 255, 0.5); box-shadow: 0 8px 28px rgba(60, 160, 255, 0.12); }
.shop-item.epic:not(.disabled):hover    { border-color: rgba(200, 80, 255, 0.55); box-shadow: 0 8px 28px rgba(200, 80, 255, 0.15); }

.shop-item.disabled { opacity: 0.45; cursor: not-allowed; }

/* Badge de raridade */
.shop-rarity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.shop-rarity-badge.common { background: rgba(80, 220, 80, 0.15); color: #50dc50; border: 1px solid rgba(80, 220, 80, 0.3); }
.shop-rarity-badge.rare   { background: rgba(60, 160, 255, 0.15); color: #3ca0ff; border: 1px solid rgba(60, 160, 255, 0.3); }
.shop-rarity-badge.epic   { background: rgba(200, 80, 255, 0.15); color: #c850ff; border: 1px solid rgba(200, 80, 255, 0.3); }

/* Ícone */
.shop-item-icon {
    font-size: 44px;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    margin-top: 4px;
}

/* Nome */
.shop-item-name {
    font-size: 15px;
    font-weight: 700;
    color: #e8e8e8;
    text-align: center;
}

/* Descrição */
.shop-item-description {
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.4;
    min-height: 30px;
}

/* Preço */
.shop-item-price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 17px;
    font-weight: 700;
    color: #ffd700;
    margin-top: 2px;
}

.shop-price-icon { font-size: 16px; }

/* Botão comprar */
.shop-buy-button {
    width: 100%;
    padding: 9px 0;
    background: rgba(0, 180, 255, 0.12);
    border: 1px solid rgba(0, 180, 255, 0.3);
    border-radius: 9px;
    color: #60c8ff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.shop-buy-button:not(:disabled):hover {
    background: rgba(0, 180, 255, 0.22);
    border-color: rgba(0, 180, 255, 0.6);
    color: #fff;
}

.shop-buy-button:disabled {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.07);
    color: #444;
    cursor: not-allowed;
}

/* Responsivo */
@media (max-width: 600px) {
    .shop-modal-content { padding: 20px 16px 18px; }
    .shop-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .shop-item { padding: 14px 12px 12px; }
    .shop-item-icon { font-size: 36px; }
    .shop-header h2 { font-size: 18px; }
}

/* ============================================
   TEAM HUD PANEL
   ============================================ */
.team-hud-panel {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    min-width: 180px;
    pointer-events: auto;
}

.team-hud-header {
    font-weight: 700;
    font-size: 14px;
    color: #00d4ff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 6px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.team-code {
    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.team-member {
    font-size: 13px;
    color: #ddd;
    display: flex;
    align-items: center;
}

.team-actions {
    display: flex;
    gap: 6px;
}

.team-btn {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s;
}

.team-btn:hover {
    background: rgba(0, 212, 255, 0.4);
}

.team-btn-leave {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.team-btn-leave:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* ============================================
   EVENT SYSTEM
   ============================================ */

/* Painel de Evento no HUD */
#event-hud {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 240px;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    z-index: 150;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    gap: 8px;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.event-hud-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
    margin-bottom: 2px;
}

.event-hud-icon {
    font-size: 20px;
}

.event-hud-name {
    font-weight: 700;
    font-size: 14px;
    color: #00f2fe;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-hud-timer {
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-hud-objective {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-hud-label {
    color: #777;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-hud-progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 2px;
}

.event-hud-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    transition: width 0.3s ease;
}

.event-hud-reward {
    margin-top: 4px;
    padding: 6px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 6px;
    border: 1px dashed rgba(0, 242, 254, 0.3);
}

.event-hud-reward-text {
    font-size: 12px;
    color: #ffd700;
    font-weight: 600;
}

/* Banner Grande de Evento */
#event-announcement {
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
    pointer-events: none;
    width: 100%;
    display: none;
}

.announcement-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.8), 0 0 40px rgba(0, 242, 254, 0.4);
    margin: 0;
    letter-spacing: 4px;
    animation: titleIn 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.announcement-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #00f2fe;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: subtitleIn 0.8s ease-out;
}

@keyframes titleIn {
    from { transform: scale(0.5); opacity: 0; letter-spacing: 20px; }
    to { transform: scale(1); opacity: 1; letter-spacing: 4px; }
}

@keyframes subtitleIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Banner de Caça ao Líder (Bounty) */
.bounty-announcement .announcement-title {
    color: #ff3e3e;
    text-shadow: 0 0 20px rgba(255, 62, 62, 0.8), 0 0 40px rgba(255, 62, 62, 0.4);
}

.bounty-announcement .announcement-subtitle {
    color: #ff8e8e;
}

/* Toast de Recompensa */
.reward-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.95);
    border: 1.5px solid #ffd700;
    border-radius: 40px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px rgba(255, 215, 0, 0.3);
    animation: rewardIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), rewardOut 0.5s ease-in 3.5s forwards;
}

@keyframes rewardIn {
    from { transform: translateX(-50%) translateY(50px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes rewardOut {
    to { transform: translateX(-50%) translateY(-20px); opacity: 0; }
}

.reward-toast-icon {
    font-size: 28px;
}

.reward-toast-content {
    display: flex;
    flex-direction: column;
}

.reward-toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.reward-toast-value {
    font-size: 18px;
    font-weight: 800;
    color: #ffd700;
}


/* ============================================
   BATATINHA 123 - EVENTO
   ============================================ */

/* Banner de aviso (countdown / ativo) */
#batatinha-banner {
    display: none !important;
}

@keyframes bannerSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

#batatinha-banner-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
    text-align: center;
}

/* Overlay de freeze (tela vermelha) */
#batatinha-overlay {
    position: fixed;
    inset: 0;
    background: rgba(180, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    z-index: 590;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: freezeFlash 0.3s ease;
}

@keyframes freezeFlash {
    0%   { background: rgba(255, 0, 0, 0.7); }
    100% { background: rgba(180, 0, 0, 0.35); }
}

#batatinha-freeze {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(255, 60, 0, 0.8);
    border-radius: 20px;
    padding: 32px 48px;
    box-shadow: 0 0 60px rgba(255, 0, 0, 0.4);
    animation: freezePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes freezePop {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.batatinha-freeze-icon {
    font-size: 64px;
    line-height: 1;
    animation: iconPulse 0.6s ease-in-out infinite alternate;
}

@keyframes iconPulse {
    from { transform: scale(1); }
    to   { transform: scale(1.15); }
}

.batatinha-freeze-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ff4040;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    text-align: center;
    letter-spacing: 1px;
}

.batatinha-freeze-sub {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #ffaaaa;
    text-align: center;
    opacity: 0.85;
}


/* ============================================
   BATATINHA - TELA VOCÊ MORREU
   ============================================ */

#batatinha-dead {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 595;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: freezeFlash 0.4s ease;
}

.batatinha-dead-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(255, 60, 60, 0.7);
    border-radius: 20px;
    padding: 36px 52px;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.3);
    animation: freezePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.batatinha-dead-icon {
    font-size: 72px;
    line-height: 1;
}

.batatinha-dead-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ff4040;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    letter-spacing: 1px;
}

.batatinha-dead-sub {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #ffaaaa;
    opacity: 0.8;
}

/* ============================================
   BATATINHA - TELA VENCEDOR
   ============================================ */

#batatinha-winner {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 596;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.5s ease;
}

.batatinha-winner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: rgba(10, 10, 20, 0.92);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 24px;
    padding: 44px 64px;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.25);
    animation: freezePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.batatinha-winner-icon {
    font-size: 80px;
    line-height: 1;
    animation: iconPulse 1s ease-in-out infinite alternate;
}

.batatinha-winner-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.8);
    text-align: center;
    letter-spacing: 1px;
}

#game-hud { display: none !important; }


/* ============================================
   SLOT DE PODER
   ============================================ */
#power-slot-ui {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(8,8,20,0.85);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 12px;
    padding: 8px 18px;
    font-family: 'Ubuntu', sans-serif;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

#power-slot-icon {
    font-size: 26px;
    line-height: 1;
}

#power-slot-label {
    font-size: 13px;
    font-weight: 700;
    color: #00ff88;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#power-slot-hint {
    font-size: 10px;
    color: #555;
}

#power-slot-ui.active {
    border-color: rgba(0,255,136,0.5);
    animation: powerGlow 2s ease-in-out infinite;
}

#power-slot-ui.activating {
    border-color: rgba(255,200,0,0.7);
    animation: none;
}


/* ============================================
   BARRA DE NÍVEL ACIMA DO CHAT
   ============================================ */
#level-bar-ui {
    position: fixed;
    bottom: 62px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(8,8,20,0.82);
    border: 1px solid rgba(0,180,255,0.2);
    border-radius: 10px;
    padding: 5px 14px;
    font-family: 'Ubuntu', sans-serif;
    pointer-events: none;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

#level-bar-label {
    font-size: 12px;
    font-weight: 700;
    color: #60c8ff;
    min-width: 40px;
}

#level-bar-track {
    width: 120px;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

#level-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0099ff, #00d4ff);
    border-radius: 3px;
    transition: width 0.4s ease;
    box-shadow: 0 0 6px rgba(0,212,255,0.6);
}

#level-bar-xp {
    font-size: 10px;
    color: #555;
    min-width: 50px;
    text-align: right;
}
