* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: #0a0a0a;
}

.hidden {
    display: none !important;
}

/* ============================================
   TELA DE LOGIN/REGISTRO
   ============================================ */

.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 50%, #1a3a2a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

.login-box {
    background: rgba(0, 0, 0, 0.85);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    border: 3px solid rgba(139, 69, 19, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    text-align: center;
}

.login-title {
    font-size: 42px;
    color: #8B4513;
    margin-bottom: 8px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    font-weight: bold;
}

.login-subtitle {
    font-size: 18px;
    color: #4a7c59;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.login-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.login-form.active {
    display: flex;
}

.login-form h3 {
    font-size: 24px;
    color: #8B4513;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    color: #ecf0f1;
    font-size: 14px;
    font-weight: bold;
}

.form-group input {
    padding: 12px;
    border: 2px solid rgba(139, 69, 19, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #8B4513;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.5);
}

.login-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
    margin-top: 10px;
}

.login-button:hover {
    background: linear-gradient(135deg, #654321 0%, #8B4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.6);
}

.login-button:active {
    transform: translateY(0);
}

.login-switch {
    margin-top: 15px;
    color: #bdc3c7;
    font-size: 14px;
}

.login-switch a {
    color: #8B4513;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.login-switch a:hover {
    color: #D2691E;
    text-decoration: underline;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    display: none;
    text-align: center;
}

.error-message.show {
    display: block;
}

/* ============================================
   MENU INICIAL
   ============================================ */

.menu-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 50%, #1a3a2a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.menu-content {
    background: rgba(0, 0, 0, 0.85);
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 3px solid rgba(139, 69, 19, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    text-align: center;
}

.menu-title {
    font-size: 42px;
    color: #8B4513;
    margin-bottom: 8px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    font-weight: bold;
}

.menu-subtitle {
    font-size: 18px;
    color: #4a7c59;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-info {
    margin-bottom: 20px;
}

.menu-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.menu-section h3 {
    font-size: 16px;
    color: #8B4513;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-controls {
    font-size: 14px;
    line-height: 2;
    text-align: left;
}

.menu-controls div {
    padding: 5px 0;
    color: #ecf0f1;
}

.menu-controls strong {
    color: #D2691E;
    font-weight: bold;
}

.map-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.map-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 69, 19, 0.3);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.map-item:hover {
    background: rgba(139, 69, 19, 0.3);
    border-color: rgba(139, 69, 19, 0.8);
    transform: translateY(-2px);
}

.map-item.selected {
    background: rgba(139, 69, 19, 0.5);
    border-color: #D2691E;
    box-shadow: 0 0 15px rgba(210, 105, 30, 0.5);
}

.map-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.map-name {
    font-size: 14px;
    font-weight: bold;
    color: #D2691E;
    margin-bottom: 4px;
}

.map-desc {
    font-size: 10px;
    color: #bdc3c7;
    line-height: 1.4;
    margin-top: 5px;
    text-align: left;
    padding: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.map-desc strong {
    color: #ecf0f1;
    font-size: 11px;
}

.start-button {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
    margin-top: 10px;
}

.start-button:hover {
    background: linear-gradient(135deg, #654321 0%, #8B4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.6);
}

.start-button:active {
    transform: translateY(0);
}

.logout-button {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}

/* ============================================
   CANVAS
   ============================================ */

#gameCanvas {
    display: block;
    width: 100vw;
    height: 100vh;
    cursor: crosshair;
    position: fixed;
    top: 0;
    left: 0;
}

/* ============================================
   BOTÕES DE INTERFACE
   ============================================ */

.game-interface {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.game-interface-right {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
}

.menu-toggle, .weapon-toggle, .lure-button, .shop-toggle {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(139, 69, 19, 0.5);
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.shop-toggle {
    background: rgba(155, 89, 182, 0.8);
    border-color: #9b59b6;
}

.shop-toggle:hover {
    background: rgba(142, 68, 173, 0.9);
    transform: scale(1.1);
}

.menu-toggle {
    position: relative;
    left: 0;
}

.profile-toggle {
    background: rgba(52, 152, 219, 0.8);
    border-color: #3498db;
}

.profile-toggle:hover {
    background: rgba(41, 128, 185, 0.9);
    transform: scale(1.1);
}

.admin-toggle {
    background: rgba(139, 69, 19, 0.8);
    border-color: #8B4513;
}

.admin-toggle:hover {
    background: rgba(101, 50, 17, 0.9);
    transform: scale(1.1);
}

/* ============================================
   MENU DE PERFIL
   ============================================ */

.profile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.profile-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 3px solid rgba(52, 152, 219, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.5);
}

.profile-title {
    font-size: 28px;
    color: #3498db;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.close-profile {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-profile:hover {
    background: rgba(52, 152, 219, 0.3);
    color: #3498db;
    transform: rotate(90deg);
}

.profile-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.profile-avatar {
    font-size: 64px;
    margin-bottom: 10px;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.profile-level-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.profile-level-label {
    font-size: 14px;
    color: #bdc3c7;
}

.profile-level-value {
    font-size: 32px;
    font-weight: bold;
    color: #f1c40f;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.profile-xp-bar {
    width: 100%;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.profile-xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.profile-xp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.profile-stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.profile-stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
}

.profile-stat-icon {
    font-size: 32px;
}

.profile-stat-info {
    flex: 1;
}

.profile-stat-label {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 5px;
}

.profile-stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-action-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 2px solid rgba(52, 152, 219, 0.8);
    border-radius: 10px;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.profile-action-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.profile-action-btn:active {
    transform: translateY(0);
}

.weapon-toggle {
    position: relative;
    left: 50px;
}

.lure-button {
    position: relative;
    left: 100px;
    background: rgba(155, 89, 182, 0.8);
    border-color: #9b59b6;
}

.menu-toggle:hover, .weapon-toggle:hover, .lure-button:hover {
    background: rgba(139, 69, 19, 0.8);
    transform: scale(1.1);
}

.weapon-toggle.active, .lure-button.active {
    background: rgba(46, 204, 113, 0.8);
    border-color: #27ae60;
}

.lure-button:hover {
    background: rgba(142, 68, 173, 0.9);
}

.lure-button.hidden {
    display: none;
}

/* ============================================
   MENU DE PAUSA
   ============================================ */

.pause-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.pause-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 3px solid rgba(139, 69, 19, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.pause-title {
    font-size: 36px;
    color: #8B4513;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.pause-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.pause-section h3 {
    font-size: 18px;
    color: #8B4513;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pause-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pause-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

.pause-button:hover {
    background: linear-gradient(135deg, #654321 0%, #8B4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.6);
}

.pause-button:active {
    transform: translateY(0);
}

/* ============================================
   MENU DE LOJA
   ============================================ */

.shop-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2001;
    border-left: 3px solid rgba(139, 69, 19, 0.5);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.shop-menu.show {
    transform: translateX(0);
}

.shop-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.5);
}

.shop-title {
    font-size: 28px;
    color: #8B4513;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.close-shop {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-shop:hover {
    background: rgba(139, 69, 19, 0.3);
    color: #8B4513;
    transform: rotate(90deg);
}

.shop-coins {
    background: rgba(241, 196, 15, 0.2);
    border: 2px solid rgba(241, 196, 15, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coins-label {
    font-size: 18px;
    color: #f1c40f;
    font-weight: bold;
}

.coins-value {
    font-size: 24px;
    color: #f1c40f;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.shop-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.shop-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 69, 19, 0.3);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.shop-item:hover {
    background: rgba(139, 69, 19, 0.2);
    border-color: rgba(139, 69, 19, 0.6);
    transform: translateX(-5px);
}

.item-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 69, 19, 0.2);
    border-radius: 8px;
    flex-shrink: 0;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-name {
    font-weight: bold;
    color: #ecf0f1;
    font-size: 14px;
}

.item-price {
    color: #2ecc71;
    font-size: 13px;
    font-weight: bold;
}

.shop-item .buy-button {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.2s;
    white-space: nowrap;
}

.shop-item .buy-button:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.shop-item .buy-button:active {
    transform: translateY(0);
}

.shop-item .buy-button:disabled {
    background: #7f8c8d;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* ============================================
   BOTÃO DE ISCA
   ============================================ */

.game-interface-bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    display: flex;
    justify-content: center;
}

.lure-place-button {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    border: 2px solid rgba(155, 89, 182, 0.8);
    border-radius: 12px;
    padding: 12px 24px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4);
    user-select: none;
}

.lure-place-button:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.6);
}

.lure-place-button:active {
    transform: translateY(0);
}

.lure-place-button:disabled {
    background: #7f8c8d;
    border-color: #7f8c8d;
    cursor: not-allowed;
    opacity: 0.6;
}

.lure-icon {
    font-size: 20px;
}

.lure-text {
    font-size: 14px;
}

.lure-count {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    min-width: 24px;
}

.weapon-ammo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

.weapon-switch-button {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: 2px solid rgba(231, 126, 34, 0.8);
    border-radius: 12px;
    padding: 12px 24px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 126, 34, 0.4);
    user-select: none;
}

.weapon-ammo-display {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border: 2px solid rgba(52, 152, 219, 0.8);
    border-radius: 12px;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    min-width: 80px;
    justify-content: center;
}

.ammo-icon {
    font-size: 18px;
}

.ammo-count {
    font-family: 'Courier New', monospace;
    color: #3498db;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.weapon-switch-button:hover {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 126, 34, 0.6);
}

.weapon-switch-button:active {
    transform: translateY(0);
}

.weapon-icon {
    font-size: 20px;
}

.weapon-name {
    font-size: 14px;
}

.game-interface-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* ============================================
   LOJA
   ============================================ */

.shop-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.shop-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-name {
    font-weight: bold;
    color: #f1c40f;
    font-size: 14px;
}

.item-price {
    color: #2ecc71;
    font-size: 12px;
}

.buy-button {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.buy-button:hover {
    background: linear-gradient(135deg, #219653 0%, #27ae60 100%);
    transform: translateY(-1px);
}

/* ============================================
   CATÁLOGO DE ARMAS
   ============================================ */

.weapon-catalog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.weapon-catalog-modal:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

.weapon-catalog-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid rgba(139, 69, 19, 0.8);
    border-radius: 15px;
    padding: 20px;
    max-width: 90%;
    max-height: 90vh;
    width: 900px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.weapon-catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.5);
}

.weapon-catalog-title {
    color: #f1c40f;
    font-size: 24px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.close-weapon-catalog {
    background: rgba(231, 76, 60, 0.8);
    border: none;
    color: white;
    font-size: 28px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.close-weapon-catalog:hover {
    background: rgba(192, 57, 43, 1);
    transform: scale(1.1);
}

.weapon-catalog-coins {
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.weapon-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.weapon-catalog-item {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(139, 69, 19, 0.5);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.weapon-catalog-item:hover {
    border-color: rgba(241, 196, 15, 0.8);
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.weapon-catalog-item.owned {
    border-color: rgba(46, 204, 113, 0.8);
    background: rgba(46, 204, 113, 0.1);
}

.weapon-catalog-item.owned::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    background: #2ecc71;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.weapon-catalog-icon {
    font-size: 48px;
    margin-bottom: 5px;
}

.weapon-catalog-name {
    font-size: 18px;
    font-weight: bold;
    color: #f1c40f;
    text-align: center;
}

.weapon-catalog-desc {
    font-size: 12px;
    color: #bdc3c7;
    text-align: center;
    min-height: 30px;
}

.weapon-catalog-stats {
    width: 100%;
    font-size: 11px;
    color: #95a5a6;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 5px;
}

.weapon-catalog-stat {
    display: flex;
    justify-content: space-between;
}

.weapon-catalog-price {
    font-size: 20px;
    font-weight: bold;
    color: #2ecc71;
    margin-top: 5px;
}

.weapon-catalog-buy {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.weapon-catalog-buy:hover:not(:disabled) {
    background: linear-gradient(135deg, #219653 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.4);
}

.weapon-catalog-buy:disabled {
    background: #7f8c8d;
    cursor: not-allowed;
    opacity: 0.6;
}

.weapon-catalog-buy.owned {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.weapon-catalog-buy.owned:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

/* ============================================
   MENU DE SELEÇÃO DE ARMAS
   ============================================ */

.weapon-select-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.weapon-select-menu:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

.weapon-select-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid rgba(231, 126, 34, 0.8);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

/* ============================================
   MENU DE SELEÇÃO DE ISCA/CHAMARIZ
   ============================================ */

.lure-select-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2002;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lure-select-menu:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

.lure-select-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid rgba(231, 126, 34, 0.8);
    border-radius: 15px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.lure-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(231, 126, 34, 0.5);
    padding-bottom: 10px;
}

.lure-select-title {
    color: #e67e22;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-lure-select {
    background: transparent;
    border: none;
    color: #ecf0f1;
    font-size: 32px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-lure-select:hover {
    background: rgba(231, 126, 34, 0.3);
    transform: rotate(90deg);
}

.lure-select-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lure-select-item {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(231, 126, 34, 0.5);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.lure-select-item:hover {
    background: rgba(231, 126, 34, 0.2);
    border-color: #e67e22;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(231, 126, 34, 0.4);
}

.lure-item-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.lure-item-info {
    flex: 1;
}

.lure-item-name {
    font-weight: bold;
    color: #f1c40f;
    font-size: 16px;
    margin-bottom: 5px;
}

.lure-item-desc {
    color: #bdc3c7;
    font-size: 12px;
    line-height: 1.4;
}

.lure-item-count {
    background: rgba(231, 126, 34, 0.3);
    border: 2px solid #e67e22;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1c40f;
    font-weight: bold;
    font-size: 16px;
}

/* Itens de compra (diferentes dos de seleção) */
.lure-buy-item {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(231, 126, 34, 0.5);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.lure-buy-item:hover {
    background: rgba(231, 126, 34, 0.2);
    border-color: #e67e22;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(231, 126, 34, 0.4);
}

.lure-buy-button {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s;
    white-space: nowrap;
}

.lure-buy-button:hover {
    background: linear-gradient(135deg, #219653 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.lure-buy-button:active {
    transform: translateY(0);
}

.close-lure-buy {
    background: transparent;
    border: none;
    color: #ecf0f1;
    font-size: 32px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

/* Botão de Chamariz */
.chamariz-button {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chamariz-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.chamariz-button.chamariz-active {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-color: #ffd700;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: pulse-gold 2s infinite;
}

.chamariz-button.chamariz-inactive {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    border-color: rgba(255, 215, 0, 0.3);
    color: #fff;
}

.chamariz-icon {
    font-size: 18px;
}

.chamariz-text {
    font-size: 13px;
    font-weight: bold;
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
    }
}

.close-lure-buy:hover {
    background: rgba(231, 126, 34, 0.3);
    transform: rotate(90deg);
}

.weapon-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(231, 126, 34, 0.5);
}

.weapon-select-title {
    color: #f1c40f;
    font-size: 20px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.close-weapon-select {
    background: rgba(231, 76, 60, 0.8);
    border: none;
    color: white;
    font-size: 24px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.close-weapon-select:hover {
    background: rgba(192, 57, 43, 1);
    transform: scale(1.1);
}

.weapon-select-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.weapon-select-item {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(139, 69, 19, 0.5);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.weapon-select-item:hover {
    border-color: rgba(241, 196, 15, 0.8);
    background: rgba(0, 0, 0, 0.7);
    transform: translateX(5px);
}

.weapon-select-item.equipped {
    border-color: rgba(46, 204, 113, 0.8);
    background: rgba(46, 204, 113, 0.2);
}

.weapon-select-item-icon {
    font-size: 36px;
    min-width: 40px;
    text-align: center;
}

.weapon-select-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.weapon-select-item-name {
    font-size: 18px;
    font-weight: bold;
    color: #f1c40f;
}

.weapon-select-item-stats {
    font-size: 12px;
    color: #bdc3c7;
    display: flex;
    gap: 15px;
}

.weapon-select-item-stat {
    display: flex;
    gap: 5px;
}

.weapon-select-item-ammo {
    font-size: 14px;
    color: #2ecc71;
    font-weight: bold;
    min-width: 60px;
    text-align: right;
}

.weapon-name {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.weapon-name:hover {
    color: #f1c40f;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.buy-button:active {
    transform: translateY(0);
}

.buy-button:disabled {
    background: #7f8c8d;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   HUD
   ============================================ */

.hud-container {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    transition: left 0.3s ease;
    border-right: 2px solid rgba(139, 69, 19, 0.5);
    overflow-y: auto;
    padding: 20px 0;
}

.hud-container.show {
    left: 0;
}

.hud-panel {
    padding: 0 20px;
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

.hud-title {
    font-size: 20px;
    color: #8B4513;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}

.close-menu {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px 5px;
    transition: color 0.2s;
}

.close-menu:hover {
    color: #8B4513;
}

.hud-stats {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.hud-section {
    margin-bottom: 20px;
}

.hud-section h3 {
    color: #8B4513;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

.hud-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #ecf0f1;
    padding: 10px 0;
}

.hud-controls div {
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hud-controls strong {
    color: #D2691E;
    font-weight: bold;
}

.stat {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: #bdc3c7;
}

.stat-value {
    color: #2ecc71;
    font-weight: bold;
}

.log-panel {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 11px;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.log-panel div {
    margin: 4px 0;
    padding: 4px 8px;
    border-left: 3px solid #8B4513;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 3px;
    color: #ecf0f1;
}

.log-panel div:first-child {
    border-left-color: #2ecc71;
    background: rgba(46, 204, 113, 0.2);
    font-weight: bold;
}

.log-panel::-webkit-scrollbar {
    width: 6px;
}

.log-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.log-panel::-webkit-scrollbar-thumb {
    background: rgba(139, 69, 19, 0.5);
    border-radius: 3px;
}

